080063b4 <IMFS_Set_handlers>:                                         
#define MAXSYMLINK 5                                                  
                                                                      
int IMFS_Set_handlers(                                                
  rtems_filesystem_location_info_t   *loc                             
)                                                                     
{                                                                     
 80063b4:	37 9c ff f0 	addi sp,sp,-16                                 
 80063b8:	5b 8b 00 10 	sw (sp+16),r11                                 
 80063bc:	5b 8c 00 0c 	sw (sp+12),r12                                 
 80063c0:	5b 8d 00 08 	sw (sp+8),r13                                  
 80063c4:	5b 9d 00 04 	sw (sp+4),ra                                   
 80063c8:	b8 20 58 00 	mv r11,r1                                      
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
  switch( node->type ) {                                              
 80063cc:	28 21 00 00 	lw r1,(r1+0)                                   
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
 80063d0:	29 62 00 10 	lw r2,(r11+16)                                 
  switch( node->type ) {                                              
 80063d4:	28 21 00 4c 	lw r1,(r1+76)                                  
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
 80063d8:	28 4d 00 34 	lw r13,(r2+52)                                 
  switch( node->type ) {                                              
 80063dc:	34 02 00 07 	mvi r2,7                                       
 80063e0:	54 22 00 0a 	bgu r1,r2,8006408 <IMFS_Set_handlers+0x54>     <== NEVER TAKEN
 80063e4:	78 0c 08 01 	mvhi r12,0x801                                 
 80063e8:	34 02 00 02 	mvi r2,2                                       
 80063ec:	fb ff e7 81 	calli 80001f0 <__ashlsi3>                      
 80063f0:	39 8c b2 3c 	ori r12,r12,0xb23c                             
 80063f4:	b5 81 08 00 	add r1,r12,r1                                  
 80063f8:	28 21 00 00 	lw r1,(r1+0)                                   
 80063fc:	c0 20 00 00 	b r1                                           
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
 8006400:	29 ad 00 08 	lw r13,(r13+8)                                 
 8006404:	59 6d 00 08 	sw (r11+8),r13                                 
      loc->handlers = &IMFS_fifo_handlers;                            
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 8006408:	34 01 00 00 	mvi r1,0                                       
 800640c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8006410:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8006414:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8006418:	2b 8d 00 08 	lw r13,(sp+8)                                  
 800641c:	37 9c 00 10 	addi sp,sp,16                                  
 8006420:	c3 a0 00 00 	ret                                            
      break;                                                          
    case IMFS_LINEAR_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
 8006424:	29 ad 00 04 	lw r13,(r13+4)                                 
      loc->handlers = &IMFS_fifo_handlers;                            
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 8006428:	34 01 00 00 	mvi r1,0                                       
      break;                                                          
    case IMFS_LINEAR_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
 800642c:	59 6d 00 08 	sw (r11+8),r13                                 
      loc->handlers = &IMFS_fifo_handlers;                            
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 8006430:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8006434:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8006438:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 800643c:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8006440:	37 9c 00 10 	addi sp,sp,16                                  
 8006444:	c3 a0 00 00 	ret                                            
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
      break;                                                          
    case IMFS_SYM_LINK:                                               
    case IMFS_HARD_LINK:                                              
      loc->handlers = &IMFS_link_handlers;                            
 8006448:	78 01 08 01 	mvhi r1,0x801                                  
 800644c:	38 21 b3 4c 	ori r1,r1,0xb34c                               
 8006450:	59 61 00 08 	sw (r11+8),r1                                  
      loc->handlers = &IMFS_fifo_handlers;                            
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 8006454:	34 01 00 00 	mvi r1,0                                       
 8006458:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800645c:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8006460:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8006464:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8006468:	37 9c 00 10 	addi sp,sp,16                                  
 800646c:	c3 a0 00 00 	ret                                            
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_FIFO:                                                   
      loc->handlers = &IMFS_fifo_handlers;                            
 8006470:	78 01 08 01 	mvhi r1,0x801                                  
 8006474:	38 21 b2 5c 	ori r1,r1,0xb25c                               
 8006478:	59 61 00 08 	sw (r11+8),r1                                  
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 800647c:	34 01 00 00 	mvi r1,0                                       
 8006480:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8006484:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8006488:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 800648c:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8006490:	37 9c 00 10 	addi sp,sp,16                                  
 8006494:	c3 a0 00 00 	ret                                            
  switch( node->type ) {                                              
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
      break;                                                          
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
 8006498:	78 01 08 01 	mvhi r1,0x801                                  
 800649c:	38 21 b3 14 	ori r1,r1,0xb314                               
 80064a0:	59 61 00 08 	sw (r11+8),r1                                  
      loc->handlers = &IMFS_fifo_handlers;                            
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 80064a4:	34 01 00 00 	mvi r1,0                                       
 80064a8:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80064ac:	2b 8b 00 10 	lw r11,(sp+16)                                 
 80064b0:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 80064b4:	2b 8d 00 08 	lw r13,(sp+8)                                  
 80064b8:	37 9c 00 10 	addi sp,sp,16                                  
 80064bc:	c3 a0 00 00 	ret                                            
                                                                      
0800a78c <IMFS_allocate_node>:                                        
IMFS_jnode_t *IMFS_allocate_node(                                     
  IMFS_jnode_types_t                type,                             
  const char                       *name,                             
  mode_t                            mode                              
)                                                                     
{                                                                     
 800a78c:	37 9c ff e0 	addi sp,sp,-32                                 
 800a790:	5b 8b 00 18 	sw (sp+24),r11                                 
 800a794:	5b 8c 00 14 	sw (sp+20),r12                                 
 800a798:	5b 8d 00 10 	sw (sp+16),r13                                 
 800a79c:	5b 8e 00 0c 	sw (sp+12),r14                                 
 800a7a0:	5b 8f 00 08 	sw (sp+8),r15                                  
 800a7a4:	5b 9d 00 04 	sw (sp+4),ra                                   
 800a7a8:	b8 20 70 00 	mv r14,r1                                      
 800a7ac:	b8 40 78 00 	mv r15,r2                                      
  struct timeval       tv;                                            
                                                                      
  /*                                                                  
   *  Allocate an IMFS jnode                                          
   */                                                                 
  node = calloc( 1, sizeof( IMFS_jnode_t ) );                         
 800a7b0:	34 01 00 01 	mvi r1,1                                       
 800a7b4:	34 02 00 68 	mvi r2,104                                     
IMFS_jnode_t *IMFS_allocate_node(                                     
  IMFS_jnode_types_t                type,                             
  const char                       *name,                             
  mode_t                            mode                              
)                                                                     
{                                                                     
 800a7b8:	b8 60 68 00 	mv r13,r3                                      
                                                                      
  /*                                                                  
   *  Allocate an IMFS jnode                                          
   */                                                                 
  node = calloc( 1, sizeof( IMFS_jnode_t ) );                         
  if ( !node )                                                        
 800a7bc:	34 0c 00 00 	mvi r12,0                                      
  struct timeval       tv;                                            
                                                                      
  /*                                                                  
   *  Allocate an IMFS jnode                                          
   */                                                                 
  node = calloc( 1, sizeof( IMFS_jnode_t ) );                         
 800a7c0:	fb ff f3 cc 	calli 80076f0 <calloc>                         
 800a7c4:	b8 20 58 00 	mv r11,r1                                      
  if ( !node )                                                        
 800a7c8:	44 2c 00 12 	be r1,r12,800a810 <IMFS_allocate_node+0x84>    <== NEVER TAKEN
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Fill in the basic information                                   
   */                                                                 
  node->st_nlink = 1;                                                 
 800a7cc:	34 04 00 01 	mvi r4,1                                       
  node->type     = type;                                              
  strncpy( node->name, name, IMFS_NAME_MAX );                         
 800a7d0:	b9 e0 10 00 	mv r2,r15                                      
 800a7d4:	34 03 00 20 	mvi r3,32                                      
 800a7d8:	34 21 00 0c 	addi r1,r1,12                                  
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Fill in the basic information                                   
   */                                                                 
  node->st_nlink = 1;                                                 
 800a7dc:	0d 64 00 34 	sh (r11+52),r4                                 
  node->type     = type;                                              
 800a7e0:	59 6e 00 4c 	sw (r11+76),r14                                
  strncpy( node->name, name, IMFS_NAME_MAX );                         
 800a7e4:	f8 00 0a 03 	calli 800cff0 <strncpy>                        
  #endif                                                              
                                                                      
  /*                                                                  
   *  Now set all the times.                                          
   */                                                                 
  gettimeofday( &tv, 0 );                                             
 800a7e8:	b9 80 10 00 	mv r2,r12                                      
 800a7ec:	37 81 00 1c 	addi r1,sp,28                                  
  strncpy( node->name, name, IMFS_NAME_MAX );                         
                                                                      
  /*                                                                  
   *  Fill in the mode and permission information for the jnode structure.
   */                                                                 
  node->st_mode = mode;                                               
 800a7f0:	59 6d 00 30 	sw (r11+48),r13                                
  #if defined(RTEMS_POSIX_API)                                        
    node->st_uid = geteuid();                                         
    node->st_gid = getegid();                                         
  #else                                                               
    node->st_uid = 0;                                                 
 800a7f4:	0d 6c 00 3c 	sh (r11+60),r12                                
    node->st_gid = 0;                                                 
 800a7f8:	0d 6c 00 3e 	sh (r11+62),r12                                
  #endif                                                              
                                                                      
  /*                                                                  
   *  Now set all the times.                                          
   */                                                                 
  gettimeofday( &tv, 0 );                                             
 800a7fc:	fb ff f4 92 	calli 8007a44 <gettimeofday>                   
                                                                      
  node->stat_atime  = (time_t) tv.tv_sec;                             
 800a800:	2b 81 00 1c 	lw r1,(sp+28)                                  
  node->stat_mtime  = (time_t) tv.tv_sec;                             
  node->stat_ctime  = (time_t) tv.tv_sec;                             
 800a804:	59 61 00 48 	sw (r11+72),r1                                 
  /*                                                                  
   *  Now set all the times.                                          
   */                                                                 
  gettimeofday( &tv, 0 );                                             
                                                                      
  node->stat_atime  = (time_t) tv.tv_sec;                             
 800a808:	59 61 00 40 	sw (r11+64),r1                                 
  node->stat_mtime  = (time_t) tv.tv_sec;                             
 800a80c:	59 61 00 44 	sw (r11+68),r1                                 
  node->stat_ctime  = (time_t) tv.tv_sec;                             
                                                                      
  return node;                                                        
}                                                                     
 800a810:	b9 60 08 00 	mv r1,r11                                      
 800a814:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800a818:	2b 8b 00 18 	lw r11,(sp+24)                                 
 800a81c:	2b 8c 00 14 	lw r12,(sp+20)                                 
 800a820:	2b 8d 00 10 	lw r13,(sp+16)                                 
 800a824:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 800a828:	2b 8f 00 08 	lw r15,(sp+8)                                  
 800a82c:	37 9c 00 20 	addi sp,sp,32                                  
 800a830:	c3 a0 00 00 	ret                                            
                                                                      
0800a878 <IMFS_create_node>:                                          
  IMFS_jnode_types_t                type,                             
  const char                       *name,                             
  mode_t                            mode,                             
  const IMFS_types_union           *info                              
)                                                                     
{                                                                     
 800a878:	37 9c ff ec 	addi sp,sp,-20                                 
 800a87c:	5b 8b 00 10 	sw (sp+16),r11                                 
 800a880:	5b 8c 00 0c 	sw (sp+12),r12                                 
 800a884:	5b 8d 00 08 	sw (sp+8),r13                                  
 800a888:	5b 9d 00 04 	sw (sp+4),ra                                   
 800a88c:	b8 20 60 00 	mv r12,r1                                      
 800a890:	b8 40 68 00 	mv r13,r2                                      
  IMFS_fs_info_t      *fs_info;                                       
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
 800a894:	b8 20 58 00 	mv r11,r1                                      
 800a898:	5c 20 00 08 	bne r1,r0,800a8b8 <IMFS_create_node+0x40>      <== ALWAYS TAKEN
  node->st_ino = ++fs_info->ino_count;                                
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
}                                                                     
 800a89c:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 800a8a0:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 800a8a4:	2b 8b 00 10 	lw r11,(sp+16)                                 <== NOT EXECUTED
 800a8a8:	2b 8c 00 0c 	lw r12,(sp+12)                                 <== NOT EXECUTED
 800a8ac:	2b 8d 00 08 	lw r13,(sp+8)                                  <== NOT EXECUTED
 800a8b0:	37 9c 00 14 	addi sp,sp,20                                  <== NOT EXECUTED
 800a8b4:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Allocate filesystem node and fill in basic information          
   */                                                                 
  node  = IMFS_allocate_node( type, name, mode & ~rtems_filesystem_umask );
 800a8b8:	78 01 08 01 	mvhi r1,0x801                                  
 800a8bc:	38 21 c1 10 	ori r1,r1,0xc110                               
 800a8c0:	28 26 00 00 	lw r6,(r1+0)                                   
 800a8c4:	b8 60 10 00 	mv r2,r3                                       
 800a8c8:	b9 a0 08 00 	mv r1,r13                                      
 800a8cc:	28 c3 00 2c 	lw r3,(r6+44)                                  
 800a8d0:	5b 85 00 14 	sw (sp+20),r5                                  
 800a8d4:	a4 60 18 00 	not r3,r3                                      
 800a8d8:	a0 83 18 00 	and r3,r4,r3                                   
 800a8dc:	fb ff ff ac 	calli 800a78c <IMFS_allocate_node>             
 800a8e0:	b8 20 58 00 	mv r11,r1                                      
  if ( !node )                                                        
 800a8e4:	44 20 ff ee 	be r1,r0,800a89c <IMFS_create_node+0x24>       <== NEVER TAKEN
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Set the type specific information                               
   */                                                                 
  switch (type) {                                                     
 800a8e8:	34 01 00 07 	mvi r1,7                                       
 800a8ec:	55 a1 00 35 	bgu r13,r1,800a9c0 <IMFS_create_node+0x148>    <== NEVER TAKEN
 800a8f0:	b9 a0 08 00 	mv r1,r13                                      
 800a8f4:	34 02 00 02 	mvi r2,2                                       
 800a8f8:	78 0d 08 01 	mvhi r13,0x801                                 
 800a8fc:	fb ff d6 3d 	calli 80001f0 <__ashlsi3>                      
 800a900:	39 ad b5 ac 	ori r13,r13,0xb5ac                             
 800a904:	b5 a1 08 00 	add r1,r13,r1                                  
 800a908:	28 21 00 00 	lw r1,(r1+0)                                   
 800a90c:	2b 85 00 14 	lw r5,(sp+20)                                  
 800a910:	c0 20 00 00 	b r1                                           
      node->info.sym_link.name = info->sym_link.name;                 
      break;                                                          
                                                                      
    case IMFS_DEVICE:                                                 
      node->info.device.major = info->device.major;                   
      node->info.device.minor = info->device.minor;                   
 800a914:	28 a1 00 04 	lw r1,(r5+4)                                   
 800a918:	59 61 00 54 	sw (r11+84),r1                                 
    case IMFS_SYM_LINK:                                               
      node->info.sym_link.name = info->sym_link.name;                 
      break;                                                          
                                                                      
    case IMFS_DEVICE:                                                 
      node->info.device.major = info->device.major;                   
 800a91c:	28 a5 00 00 	lw r5,(r5+0)                                   
 800a920:	59 65 00 50 	sw (r11+80),r5                                 
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  parent       = parent_loc->node_access;                             
  fs_info      = parent_loc->mt_entry->fs_info;                       
 800a924:	29 83 00 10 	lw r3,(r12+16)                                 
  }                                                                   
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  parent       = parent_loc->node_access;                             
 800a928:	29 81 00 00 	lw r1,(r12+0)                                  
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
 800a92c:	b9 60 10 00 	mv r2,r11                                      
  fs_info      = parent_loc->mt_entry->fs_info;                       
 800a930:	28 63 00 34 	lw r3,(r3+52)                                  
                                                                      
  node->Parent = parent;                                              
 800a934:	59 61 00 08 	sw (r11+8),r1                                  
 800a938:	34 21 00 50 	addi r1,r1,80                                  
  node->st_ino = ++fs_info->ino_count;                                
 800a93c:	28 64 00 00 	lw r4,(r3+0)                                   
 800a940:	34 84 00 01 	addi r4,r4,1                                   
 800a944:	58 64 00 00 	sw (r3+0),r4                                   
 800a948:	59 64 00 38 	sw (r11+56),r4                                 
 800a94c:	fb ff e1 12 	calli 8002d94 <_Chain_Append>                  
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
}                                                                     
 800a950:	b9 60 08 00 	mv r1,r11                                      
 800a954:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800a958:	2b 8b 00 10 	lw r11,(sp+16)                                 
 800a95c:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 800a960:	2b 8d 00 08 	lw r13,(sp+8)                                  
 800a964:	37 9c 00 14 	addi sp,sp,20                                  
 800a968:	c3 a0 00 00 	ret                                            
      node->info.device.major = info->device.major;                   
      node->info.device.minor = info->device.minor;                   
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      node->info.linearfile.size      = 0;                            
 800a96c:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
      node->info.linearfile.direct    = 0;                            
 800a970:	59 61 00 58 	sw (r11+88),r1                                 <== NOT EXECUTED
      node->info.device.major = info->device.major;                   
      node->info.device.minor = info->device.minor;                   
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      node->info.linearfile.size      = 0;                            
 800a974:	59 61 00 50 	sw (r11+80),r1                                 <== NOT EXECUTED
 800a978:	59 61 00 54 	sw (r11+84),r1                                 <== NOT EXECUTED
      node->info.linearfile.direct    = 0;                            
                                                                      
    case IMFS_MEMORY_FILE:                                            
      node->info.file.size            = 0;                            
 800a97c:	34 01 00 00 	mvi r1,0                                       
      node->info.file.indirect        = 0;                            
      node->info.file.doubly_indirect = 0;                            
      node->info.file.triply_indirect = 0;                            
 800a980:	59 61 00 60 	sw (r11+96),r1                                 
    case IMFS_LINEAR_FILE:                                            
      node->info.linearfile.size      = 0;                            
      node->info.linearfile.direct    = 0;                            
                                                                      
    case IMFS_MEMORY_FILE:                                            
      node->info.file.size            = 0;                            
 800a984:	59 61 00 50 	sw (r11+80),r1                                 
 800a988:	59 61 00 54 	sw (r11+84),r1                                 
      node->info.file.indirect        = 0;                            
 800a98c:	59 61 00 58 	sw (r11+88),r1                                 
      node->info.file.doubly_indirect = 0;                            
 800a990:	59 61 00 5c 	sw (r11+92),r1                                 
      node->info.file.triply_indirect = 0;                            
      break;                                                          
 800a994:	e3 ff ff e4 	bi 800a924 <IMFS_create_node+0xac>             
                                                                      
    case IMFS_FIFO:                                                   
      node->info.fifo.pipe = NULL;                                    
 800a998:	34 01 00 00 	mvi r1,0                                       
 800a99c:	59 61 00 50 	sw (r11+80),r1                                 
      break;                                                          
 800a9a0:	e3 ff ff e1 	bi 800a924 <IMFS_create_node+0xac>             
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 800a9a4:	35 62 00 54 	addi r2,r11,84                                 
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
 800a9a8:	35 61 00 50 	addi r1,r11,80                                 
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 800a9ac:	59 62 00 50 	sw (r11+80),r2                                 
  the_chain->permanent_null = NULL;                                   
 800a9b0:	34 02 00 00 	mvi r2,0                                       
 800a9b4:	59 62 00 54 	sw (r11+84),r2                                 
  the_chain->last           = _Chain_Head(the_chain);                 
 800a9b8:	59 61 00 58 	sw (r11+88),r1                                 
 800a9bc:	e3 ff ff da 	bi 800a924 <IMFS_create_node+0xac>             
                                                                      
    default:                                                          
      assert(0);                                                      
 800a9c0:	78 01 08 01 	mvhi r1,0x801                                  <== NOT EXECUTED
 800a9c4:	78 03 08 01 	mvhi r3,0x801                                  <== NOT EXECUTED
 800a9c8:	78 04 08 01 	mvhi r4,0x801                                  <== NOT EXECUTED
 800a9cc:	38 21 b5 5c 	ori r1,r1,0xb55c                               <== NOT EXECUTED
 800a9d0:	38 63 b5 cc 	ori r3,r3,0xb5cc                               <== NOT EXECUTED
 800a9d4:	38 84 b5 a8 	ori r4,r4,0xb5a8                               <== NOT EXECUTED
 800a9d8:	34 02 00 5c 	mvi r2,92                                      <== NOT EXECUTED
 800a9dc:	fb ff f3 32 	calli 80076a4 <__assert_func>                  <== NOT EXECUTED
                                                                      
0800a834 <IMFS_create_root_node>:                                     
                                                                      
IMFS_jnode_t *IMFS_create_root_node(void)                             
{                                                                     
 800a834:	37 9c ff fc 	addi sp,sp,-4                                  
 800a838:	5b 9d 00 04 	sw (sp+4),ra                                   
  IMFS_jnode_t        *node;                                          
                                                                      
  /*                                                                  
   *  Allocate filesystem node and fill in basic information          
   */                                                                 
  node = IMFS_allocate_node( IMFS_DIRECTORY, "", (S_IFDIR | 0755) );  
 800a83c:	78 02 08 01 	mvhi r2,0x801                                  
 800a840:	38 42 b0 48 	ori r2,r2,0xb048                               
 800a844:	34 01 00 01 	mvi r1,1                                       
 800a848:	34 03 41 ed 	mvi r3,16877                                   
 800a84c:	fb ff ff d0 	calli 800a78c <IMFS_allocate_node>             
  if ( !node )                                                        
 800a850:	44 20 00 07 	be r1,r0,800a86c <IMFS_create_root_node+0x38>  <== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 800a854:	34 23 00 54 	addi r3,r1,84                                  
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
 800a858:	34 22 00 50 	addi r2,r1,80                                  
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 800a85c:	58 23 00 50 	sw (r1+80),r3                                  
  the_chain->permanent_null = NULL;                                   
 800a860:	34 03 00 00 	mvi r3,0                                       
 800a864:	58 23 00 54 	sw (r1+84),r3                                  
  the_chain->last           = _Chain_Head(the_chain);                 
 800a868:	58 22 00 58 	sw (r1+88),r2                                  
   *  NOTE: Root node is always a directory.                          
   */                                                                 
  rtems_chain_initialize_empty(&node->info.directory.Entries);        
                                                                      
  return node;                                                        
}                                                                     
 800a86c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800a870:	37 9c 00 04 	addi sp,sp,4                                   
 800a874:	c3 a0 00 00 	ret                                            
                                                                      
08002ef8 <IMFS_dump_directory>:                                       
                                                                      
void IMFS_dump_directory(                                             
  IMFS_jnode_t  *the_directory,                                       
  int            level                                                
)                                                                     
{                                                                     
 8002ef8:	37 9c ff dc 	addi sp,sp,-36                                 
 8002efc:	5b 8b 00 24 	sw (sp+36),r11                                 
 8002f00:	5b 8c 00 20 	sw (sp+32),r12                                 
 8002f04:	5b 8d 00 1c 	sw (sp+28),r13                                 
 8002f08:	5b 8e 00 18 	sw (sp+24),r14                                 
 8002f0c:	5b 8f 00 14 	sw (sp+20),r15                                 
 8002f10:	5b 90 00 10 	sw (sp+16),r16                                 
 8002f14:	5b 91 00 0c 	sw (sp+12),r17                                 
 8002f18:	5b 92 00 08 	sw (sp+8),r18                                  
 8002f1c:	5b 9d 00 04 	sw (sp+4),ra                                   
 8002f20:	b8 40 68 00 	mv r13,r2                                      
  rtems_chain_node     *the_node;                                     
  rtems_chain_control  *the_chain;                                    
  IMFS_jnode_t         *the_jnode;                                    
  int                   i;                                            
                                                                      
  assert( the_directory );                                            
 8002f24:	44 20 00 33 	be r1,r0,8002ff0 <IMFS_dump_directory+0xf8>    <== NEVER TAKEN
                                                                      
  assert( level >= 0 );                                               
 8002f28:	4c 40 00 09 	bge r2,r0,8002f4c <IMFS_dump_directory+0x54>   <== ALWAYS TAKEN
 8002f2c:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8002f30:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8002f34:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 8002f38:	38 21 4c 58 	ori r1,r1,0x4c58                               <== NOT EXECUTED
 8002f3c:	38 63 4e 20 	ori r3,r3,0x4e20                               <== NOT EXECUTED
 8002f40:	38 84 4d 2c 	ori r4,r4,0x4d2c                               <== NOT EXECUTED
 8002f44:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 8002f48:	f8 00 02 66 	calli 80038e0 <__assert_func>                  <== NOT EXECUTED
                                                                      
  assert( the_directory->type == IMFS_DIRECTORY );                    
 8002f4c:	28 31 00 4c 	lw r17,(r1+76)                                 
 8002f50:	34 02 00 01 	mvi r2,1                                       
 8002f54:	5e 22 00 2f 	bne r17,r2,8003010 <IMFS_dump_directory+0x118> <== NEVER TAKEN
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = the_chain->first;                                  
 8002f58:	28 2e 00 50 	lw r14,(r1+80)                                 
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 8002f5c:	34 30 00 54 	addi r16,r1,84                                 
 8002f60:	45 d0 00 15 	be r14,r16,8002fb4 <IMFS_dump_directory+0xbc>  
 8002f64:	78 0c 08 02 	mvhi r12,0x802                                 
 8002f68:	39 8c 71 90 	ori r12,r12,0x7190                             
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
 8002f6c:	78 0f 08 02 	mvhi r15,0x802                                 
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
 8002f70:	35 b2 00 01 	addi r18,r13,1                                 
                                                                      
  for ( the_node = the_chain->first;                                  
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
 8002f74:	34 0b 00 00 	mvi r11,0                                      
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
 8002f78:	29 83 00 00 	lw r3,(r12+0)                                  
 8002f7c:	b9 e0 08 00 	mv r1,r15                                      
        !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++ )                                      
 8002f80:	35 6b 00 01 	addi r11,r11,1                                 
      fprintf(stdout, "...." );                                       
 8002f84:	28 64 00 08 	lw r4,(r3+8)                                   
 8002f88:	38 21 4d 60 	ori r1,r1,0x4d60                               
 8002f8c:	34 02 00 01 	mvi r2,1                                       
 8002f90:	34 03 00 04 	mvi r3,4                                       
 8002f94:	f8 00 3d 58 	calli 80124f4 <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++ )                                      
 8002f98:	4d ab ff f8 	bge r13,r11,8002f78 <IMFS_dump_directory+0x80> 
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
 8002f9c:	b9 c0 08 00 	mv r1,r14                                      
 8002fa0:	fb ff ff 55 	calli 8002cf4 <IMFS_print_jnode>               
    if ( the_jnode->type == IMFS_DIRECTORY )                          
 8002fa4:	29 c1 00 4c 	lw r1,(r14+76)                                 
 8002fa8:	44 31 00 0e 	be r1,r17,8002fe0 <IMFS_dump_directory+0xe8>   
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = the_chain->first;                                  
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
 8002fac:	29 ce 00 00 	lw r14,(r14+0)                                 
                                                                      
  assert( the_directory->type == IMFS_DIRECTORY );                    
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = the_chain->first;                                  
 8002fb0:	5d d0 ff f1 	bne r14,r16,8002f74 <IMFS_dump_directory+0x7c> 
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
  }                                                                   
}                                                                     
 8002fb4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8002fb8:	2b 8b 00 24 	lw r11,(sp+36)                                 
 8002fbc:	2b 8c 00 20 	lw r12,(sp+32)                                 
 8002fc0:	2b 8d 00 1c 	lw r13,(sp+28)                                 
 8002fc4:	2b 8e 00 18 	lw r14,(sp+24)                                 
 8002fc8:	2b 8f 00 14 	lw r15,(sp+20)                                 
 8002fcc:	2b 90 00 10 	lw r16,(sp+16)                                 
 8002fd0:	2b 91 00 0c 	lw r17,(sp+12)                                 
 8002fd4:	2b 92 00 08 	lw r18,(sp+8)                                  
 8002fd8:	37 9c 00 24 	addi sp,sp,36                                  
 8002fdc:	c3 a0 00 00 	ret                                            
                                                                      
    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 );                    
 8002fe0:	b9 c0 08 00 	mv r1,r14                                      
 8002fe4:	ba 40 10 00 	mv r2,r18                                      
 8002fe8:	fb ff ff c4 	calli 8002ef8 <IMFS_dump_directory>            
 8002fec:	e3 ff ff f0 	bi 8002fac <IMFS_dump_directory+0xb4>          
  rtems_chain_node     *the_node;                                     
  rtems_chain_control  *the_chain;                                    
  IMFS_jnode_t         *the_jnode;                                    
  int                   i;                                            
                                                                      
  assert( the_directory );                                            
 8002ff0:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8002ff4:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8002ff8:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 8002ffc:	38 21 4c 58 	ori r1,r1,0x4c58                               <== NOT EXECUTED
 8003000:	38 63 4e 20 	ori r3,r3,0x4e20                               <== NOT EXECUTED
 8003004:	38 84 4d 1c 	ori r4,r4,0x4d1c                               <== NOT EXECUTED
 8003008:	34 02 00 84 	mvi r2,132                                     <== NOT EXECUTED
 800300c:	f8 00 02 35 	calli 80038e0 <__assert_func>                  <== NOT EXECUTED
                                                                      
  assert( level >= 0 );                                               
                                                                      
  assert( the_directory->type == IMFS_DIRECTORY );                    
 8003010:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8003014:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8003018:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 800301c:	38 21 4c 58 	ori r1,r1,0x4c58                               <== NOT EXECUTED
 8003020:	38 63 4e 20 	ori r3,r3,0x4e20                               <== NOT EXECUTED
 8003024:	38 84 4d 38 	ori r4,r4,0x4d38                               <== NOT EXECUTED
 8003028:	34 02 00 88 	mvi r2,136                                     <== NOT EXECUTED
 800302c:	f8 00 02 2d 	calli 80038e0 <__assert_func>                  <== NOT EXECUTED
                                                                      
080066b8 <IMFS_eval_path>:                                            
  const char                        *pathname,     /* IN     */       
  int                                pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
)                                                                     
{                                                                     
 80066b8:	37 9c ff 98 	addi sp,sp,-104                                
 80066bc:	5b 8b 00 40 	sw (sp+64),r11                                 
 80066c0:	5b 8c 00 3c 	sw (sp+60),r12                                 
 80066c4:	5b 8d 00 38 	sw (sp+56),r13                                 
 80066c8:	5b 8e 00 34 	sw (sp+52),r14                                 
 80066cc:	5b 8f 00 30 	sw (sp+48),r15                                 
 80066d0:	5b 90 00 2c 	sw (sp+44),r16                                 
 80066d4:	5b 91 00 28 	sw (sp+40),r17                                 
 80066d8:	5b 92 00 24 	sw (sp+36),r18                                 
 80066dc:	5b 93 00 20 	sw (sp+32),r19                                 
 80066e0:	5b 94 00 1c 	sw (sp+28),r20                                 
 80066e4:	5b 95 00 18 	sw (sp+24),r21                                 
 80066e8:	5b 96 00 14 	sw (sp+20),r22                                 
 80066ec:	5b 97 00 10 	sw (sp+16),r23                                 
 80066f0:	5b 98 00 0c 	sw (sp+12),r24                                 
 80066f4:	5b 99 00 08 	sw (sp+8),r25                                  
 80066f8:	5b 9d 00 04 	sw (sp+4),ra                                   
  /*                                                                  
   *  This was filled in by the caller and is valid in the            
   *  mount table.                                                    
   */                                                                 
                                                                      
  node = pathloc->node_access;                                        
 80066fc:	28 8b 00 00 	lw r11,(r4+0)                                  
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
 8006700:	78 10 08 01 	mvhi r16,0x801                                 
  const char                        *pathname,     /* IN     */       
  int                                pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
)                                                                     
{                                                                     
 8006704:	b8 80 68 00 	mv r13,r4                                      
 8006708:	b8 20 88 00 	mv r17,r1                                      
 800670c:	b8 40 70 00 	mv r14,r2                                      
 8006710:	b8 60 b8 00 	mv r23,r3                                      
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
 8006714:	3a 10 c1 10 	ori r16,r16,0xc110                             
  /*                                                                  
   *  This was filled in by the caller and is valid in the            
   *  mount table.                                                    
   */                                                                 
                                                                      
  node = pathloc->node_access;                                        
 8006718:	34 0f 00 00 	mvi r15,0                                      
 800671c:	37 92 00 44 	addi r18,sp,68                                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
 8006720:	34 13 00 01 	mvi r19,1                                      
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
 8006724:	34 18 00 40 	mvi r24,64                                     
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
 8006728:	34 14 00 03 	mvi r20,3                                      
                                                                      
          node = pathloc->node_access;                                
          if ( !node )                                                
            rtems_set_errno_and_return_minus_one( ENOTDIR );          
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
 800672c:	34 15 00 04 	mvi r21,4                                      
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
                                                                      
          node = pathloc->node_access;                                
          if ( result == -1 )                                         
 8006730:	34 19 ff ff 	mvi r25,-1                                     
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
 8006734:	34 16 00 02 	mvi r22,2                                      
   *  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 );  
 8006738:	37 84 00 68 	addi r4,sp,104                                 
 800673c:	b6 2f 08 00 	add r1,r17,r15                                 
 8006740:	b9 c0 10 00 	mv r2,r14                                      
 8006744:	ba 40 18 00 	mv r3,r18                                      
 8006748:	f8 00 02 84 	calli 8007158 <IMFS_get_token>                 
    pathnamelen -= len;                                               
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
 800674c:	29 a5 00 00 	lw r5,(r13+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 );  
 8006750:	b8 20 60 00 	mv r12,r1                                      
    pathnamelen -= len;                                               
 8006754:	2b 84 00 68 	lw r4,(sp+104)                                 
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
 8006758:	44 a0 00 53 	be r5,r0,80068a4 <IMFS_eval_path+0x1ec>        <== NEVER TAKEN
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    pathnamelen -= len;                                               
 800675c:	c9 c4 70 00 	sub r14,r14,r4                                 
    i += len;                                                         
 8006760:	b5 e4 78 00 	add r15,r15,r4                                 
      rtems_set_errno_and_return_minus_one( ENOENT );                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
 8006764:	5c 20 00 0f 	bne r1,r0,80067a0 <IMFS_eval_path+0xe8>        
   *  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 ) {                               
 8006768:	28 a2 00 4c 	lw r2,(r5+76)                                  
 800676c:	34 01 00 01 	mvi r1,1                                       
 8006770:	44 41 00 59 	be r2,r1,80068d4 <IMFS_eval_path+0x21c>        
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
 8006774:	b9 a0 08 00 	mv r1,r13                                      
 8006778:	fb ff ff 0f 	calli 80063b4 <IMFS_Set_handlers>              
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
 800677c:	34 02 00 06 	mvi r2,6                                       
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
 8006780:	b8 20 60 00 	mv r12,r1                                      
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
 8006784:	ba e0 08 00 	mv r1,r23                                      
 8006788:	fb ff e6 9a 	calli 80001f0 <__ashlsi3>                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    assert( 0 );                                                      
    rtems_set_errno_and_return_minus_one( EIO );                      
  }                                                                   
                                                                      
  jnode = node->node_access;                                          
 800678c:	29 a2 00 00 	lw r2,(r13+0)                                  
 8006790:	28 42 00 30 	lw r2,(r2+48)                                  
 8006794:	a0 22 10 00 	and r2,r1,r2                                   
 8006798:	5c 41 00 3e 	bne r2,r1,8006890 <IMFS_eval_path+0x1d8>       
 800679c:	e0 00 00 27 	bi 8006838 <IMFS_eval_path+0x180>              
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
 80067a0:	29 62 00 4c 	lw r2,(r11+76)                                 
 80067a4:	b8 a0 58 00 	mv r11,r5                                      
 80067a8:	44 53 00 37 	be r2,r19,8006884 <IMFS_eval_path+0x1cc>       
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
 80067ac:	45 94 00 06 	be r12,r20,80067c4 <IMFS_eval_path+0x10c>      
 80067b0:	45 95 00 1e 	be r12,r21,8006828 <IMFS_eval_path+0x170>      
 80067b4:	45 96 00 11 	be r12,r22,80067f8 <IMFS_eval_path+0x140>      
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
 80067b8:	7d 8c 00 04 	cmpnei r12,r12,4                               
 80067bc:	5d 80 ff df 	bne r12,r0,8006738 <IMFS_eval_path+0x80>       <== ALWAYS TAKEN
 80067c0:	e3 ff ff ea 	bi 8006768 <IMFS_eval_path+0xb0>               <== NOT EXECUTED
      case IMFS_NAME:                                                 
	/*                                                                   
	 *  If we are at a link follow it.                                   
	 */                                                                  
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
 80067c4:	28 a2 00 4c 	lw r2,(r5+76)                                  
 80067c8:	44 54 00 3c 	be r2,r20,80068b8 <IMFS_eval_path+0x200>       
                                                                      
          node = pathloc->node_access;                                
          if ( !node )                                                
            rtems_set_errno_and_return_minus_one( ENOTDIR );          
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
 80067cc:	44 55 00 57 	be r2,r21,8006928 <IMFS_eval_path+0x270>       
                                                                      
       /*                                                             
        *  Only a directory can be decended into.                     
        */                                                            
                                                                      
       if ( node->type != IMFS_DIRECTORY )                            
 80067d0:	5c 53 00 5e 	bne r2,r19,8006948 <IMFS_eval_path+0x290>      
	/*                                                                   
	 *  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 ) {                   
 80067d4:	29 6c 00 5c 	lw r12,(r11+92)                                
 80067d8:	5d 80 00 61 	bne r12,r0,800695c <IMFS_eval_path+0x2a4>      
                                                                      
	/*                                                                   
	 *  Otherwise find the token name in the present location.           
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
 80067dc:	b9 60 08 00 	mv r1,r11                                      
 80067e0:	ba 40 10 00 	mv r2,r18                                      
 80067e4:	f8 00 02 26 	calli 800707c <IMFS_find_match_in_dir>         
 80067e8:	b8 20 58 00 	mv r11,r1                                      
        if ( !node )                                                  
 80067ec:	44 2c 00 2e 	be r1,r12,80068a4 <IMFS_eval_path+0x1ec>       
                                                                      
	/*                                                                   
	 *  Set the node access to the point we have found.                  
	 */                                                                  
                                                                      
        pathloc->node_access = node;                                  
 80067f0:	59 ab 00 00 	sw (r13+0),r11                                 
        break;                                                        
 80067f4:	e3 ff ff d1 	bi 8006738 <IMFS_eval_path+0x80>               
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
 80067f8:	2a 01 00 00 	lw r1,(r16+0)                                  
 80067fc:	28 21 00 18 	lw r1,(r1+24)                                  
 8006800:	44 a1 ff ce 	be r5,r1,8006738 <IMFS_eval_path+0x80>         
	/*                                                                   
	 *  Am I at the root of this mounted filesystem?                     
	 */                                                                  
                                                                      
        if (pathloc->node_access ==                                   
            pathloc->mt_entry->mt_fs_root.node_access) {              
 8006804:	29 a2 00 10 	lw r2,(r13+16)                                 
                                                                      
	/*                                                                   
	 *  Am I at the root of this mounted filesystem?                     
	 */                                                                  
                                                                      
        if (pathloc->node_access ==                                   
 8006808:	28 41 00 1c 	lw r1,(r2+28)                                  
 800680c:	44 a1 00 63 	be r5,r1,8006998 <IMFS_eval_path+0x2e0>        
                                               pathnamelen+len,       
                                               flags,pathloc);        
	  }                                                                  
	} else {                                                             
                                                                      
          if ( !node->Parent )                                        
 8006810:	28 ab 00 08 	lw r11,(r5+8)                                  
 8006814:	5d 60 ff f7 	bne r11,r0,80067f0 <IMFS_eval_path+0x138>      
            rtems_set_errno_and_return_minus_one( ENOENT );           
 8006818:	f8 00 14 fb 	calli 800bc04 <__errno>                        
 800681c:	58 2c 00 00 	sw (r1+0),r12                                  
 8006820:	34 0c ff ff 	mvi r12,-1                                     
 8006824:	e0 00 00 05 	bi 8006838 <IMFS_eval_path+0x180>              
      case IMFS_NO_MORE_PATH:                                         
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
 8006828:	f8 00 14 f7 	calli 800bc04 <__errno>                        
 800682c:	34 02 00 5b 	mvi r2,91                                      
 8006830:	58 22 00 00 	sw (r1+0),r2                                   
 8006834:	34 0c ff ff 	mvi r12,-1                                     
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
 8006838:	b9 80 08 00 	mv r1,r12                                      
 800683c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8006840:	2b 8b 00 40 	lw r11,(sp+64)                                 
 8006844:	2b 8c 00 3c 	lw r12,(sp+60)                                 
 8006848:	2b 8d 00 38 	lw r13,(sp+56)                                 
 800684c:	2b 8e 00 34 	lw r14,(sp+52)                                 
 8006850:	2b 8f 00 30 	lw r15,(sp+48)                                 
 8006854:	2b 90 00 2c 	lw r16,(sp+44)                                 
 8006858:	2b 91 00 28 	lw r17,(sp+40)                                 
 800685c:	2b 92 00 24 	lw r18,(sp+36)                                 
 8006860:	2b 93 00 20 	lw r19,(sp+32)                                 
 8006864:	2b 94 00 1c 	lw r20,(sp+28)                                 
 8006868:	2b 95 00 18 	lw r21,(sp+24)                                 
 800686c:	2b 96 00 14 	lw r22,(sp+20)                                 
 8006870:	2b 97 00 10 	lw r23,(sp+16)                                 
 8006874:	2b 98 00 0c 	lw r24,(sp+12)                                 
 8006878:	2b 99 00 08 	lw r25,(sp+8)                                  
 800687c:	37 9c 00 68 	addi sp,sp,104                                 
 8006880:	c3 a0 00 00 	ret                                            
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
 8006884:	28 a1 00 30 	lw r1,(r5+48)                                  
 8006888:	20 21 00 40 	andi r1,r1,0x40                                
 800688c:	44 38 ff c8 	be r1,r24,80067ac <IMFS_eval_path+0xf4>        
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
 8006890:	f8 00 14 dd 	calli 800bc04 <__errno>                        
 8006894:	34 02 00 0d 	mvi r2,13                                      
 8006898:	58 22 00 00 	sw (r1+0),r2                                   
 800689c:	34 0c ff ff 	mvi r12,-1                                     
 80068a0:	e3 ff ff e6 	bi 8006838 <IMFS_eval_path+0x180>              
	 *  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 );             
 80068a4:	f8 00 14 d8 	calli 800bc04 <__errno>                        
 80068a8:	34 02 00 02 	mvi r2,2                                       
 80068ac:	58 22 00 00 	sw (r1+0),r2                                   
 80068b0:	34 0c ff ff 	mvi r12,-1                                     
 80068b4:	e3 ff ff e1 	bi 8006838 <IMFS_eval_path+0x180>              
	 *  If we are at a link follow it.                                   
	 */                                                                  
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
                                                                      
          IMFS_evaluate_hard_link( pathloc, 0 );                      
 80068b8:	b9 a0 08 00 	mv r1,r13                                      
 80068bc:	34 02 00 00 	mvi r2,0                                       
 80068c0:	fb ff ff 0f 	calli 80064fc <IMFS_evaluate_hard_link>        
                                                                      
          node = pathloc->node_access;                                
 80068c4:	29 ab 00 00 	lw r11,(r13+0)                                 
          if ( !node )                                                
 80068c8:	45 60 00 20 	be r11,r0,8006948 <IMFS_eval_path+0x290>       <== NEVER TAKEN
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
                                                                      
          node = pathloc->node_access;                                
 80068cc:	29 62 00 4c 	lw r2,(r11+76)                                 
 80068d0:	e3 ff ff c0 	bi 80067d0 <IMFS_eval_path+0x118>              
   *                                                                  
   *  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 ) {                       
 80068d4:	28 a1 00 5c 	lw r1,(r5+92)                                  
 80068d8:	44 20 ff a7 	be r1,r0,8006774 <IMFS_eval_path+0xbc>         
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
 80068dc:	28 23 00 28 	lw r3,(r1+40)                                  
 80068e0:	28 27 00 24 	lw r7,(r1+36)                                  
 80068e4:	28 26 00 20 	lw r6,(r1+32)                                  
 80068e8:	28 22 00 1c 	lw r2,(r1+28)                                  
      *pathloc = newloc;                                              
 80068ec:	28 21 00 2c 	lw r1,(r1+44)                                  
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
 80068f0:	28 65 00 00 	lw r5,(r3+0)                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
      *pathloc = newloc;                                              
 80068f4:	59 a7 00 08 	sw (r13+8),r7                                  
 80068f8:	59 a1 00 10 	sw (r13+16),r1                                 
 80068fc:	59 a6 00 04 	sw (r13+4),r6                                  
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
 8006900:	c9 e4 08 00 	sub r1,r15,r4                                  
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
      *pathloc = newloc;                                              
 8006904:	59 a2 00 00 	sw (r13+0),r2                                  
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
 8006908:	b6 21 08 00 	add r1,r17,r1                                  
 800690c:	b5 c4 10 00 	add r2,r14,r4                                  
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
      *pathloc = newloc;                                              
 8006910:	59 a3 00 0c 	sw (r13+12),r3                                 
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
 8006914:	b9 a0 20 00 	mv r4,r13                                      
 8006918:	ba e0 18 00 	mv r3,r23                                      
 800691c:	d8 a0 00 00 	call r5                                        
 8006920:	b8 20 60 00 	mv r12,r1                                      
 8006924:	e3 ff ff c5 	bi 8006838 <IMFS_eval_path+0x180>              
          if ( !node )                                                
            rtems_set_errno_and_return_minus_one( ENOTDIR );          
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
 8006928:	b9 a0 08 00 	mv r1,r13                                      
 800692c:	34 02 00 00 	mvi r2,0                                       
 8006930:	fb ff ff 19 	calli 8006594 <IMFS_evaluate_sym_link>         
 8006934:	b8 20 60 00 	mv r12,r1                                      
                                                                      
          node = pathloc->node_access;                                
 8006938:	29 ab 00 00 	lw r11,(r13+0)                                 
          if ( result == -1 )                                         
 800693c:	44 39 ff bf 	be r1,r25,8006838 <IMFS_eval_path+0x180>       <== NEVER TAKEN
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
                                                                      
          node = pathloc->node_access;                                
 8006940:	29 62 00 4c 	lw r2,(r11+76)                                 
 8006944:	e3 ff ff a3 	bi 80067d0 <IMFS_eval_path+0x118>              
       /*                                                             
        *  Only a directory can be decended into.                     
        */                                                            
                                                                      
       if ( node->type != IMFS_DIRECTORY )                            
          rtems_set_errno_and_return_minus_one( ENOTDIR );            
 8006948:	f8 00 14 af 	calli 800bc04 <__errno>                        
 800694c:	34 02 00 14 	mvi r2,20                                      
 8006950:	58 22 00 00 	sw (r1+0),r2                                   
 8006954:	34 0c ff ff 	mvi r12,-1                                     
 8006958:	e3 ff ff b8 	bi 8006838 <IMFS_eval_path+0x180>              
	 */                                                                  
                                                                      
        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],       
 800695c:	2b 82 00 68 	lw r2,(sp+104)                                 
	 *  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;          
 8006960:	29 83 00 28 	lw r3,(r12+40)                                 
 8006964:	29 87 00 24 	lw r7,(r12+36)                                 
 8006968:	29 86 00 20 	lw r6,(r12+32)                                 
 800696c:	29 84 00 1c 	lw r4,(r12+28)                                 
          *pathloc = newloc;                                          
 8006970:	29 8c 00 2c 	lw r12,(r12+44)                                
          return (*pathloc->ops->evalpath_h)( &pathname[i-len],       
 8006974:	c9 e2 08 00 	sub r1,r15,r2                                  
 8006978:	28 65 00 00 	lw r5,(r3+0)                                   
	 *  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;                                          
 800697c:	59 ac 00 10 	sw (r13+16),r12                                
 8006980:	59 a7 00 08 	sw (r13+8),r7                                  
 8006984:	59 a6 00 04 	sw (r13+4),r6                                  
 8006988:	59 a4 00 00 	sw (r13+0),r4                                  
          return (*pathloc->ops->evalpath_h)( &pathname[i-len],       
 800698c:	b6 21 08 00 	add r1,r17,r1                                  
 8006990:	b5 c2 10 00 	add r2,r14,r2                                  
 8006994:	e3 ff ff df 	bi 8006910 <IMFS_eval_path+0x258>              
	   */                                                                
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
 8006998:	28 43 00 14 	lw r3,(r2+20)                                  
 800699c:	28 48 00 10 	lw r8,(r2+16)                                  
 80069a0:	28 47 00 0c 	lw r7,(r2+12)                                  
 80069a4:	28 46 00 08 	lw r6,(r2+8)                                   
            *pathloc = newloc;                                        
 80069a8:	28 42 00 18 	lw r2,(r2+24)                                  
            return (*pathloc->ops->evalpath_h)(&(pathname[i-len]),    
 80069ac:	28 65 00 00 	lw r5,(r3+0)                                   
 80069b0:	c9 e4 08 00 	sub r1,r15,r4                                  
                                                                      
          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;                                        
 80069b4:	59 a2 00 10 	sw (r13+16),r2                                 
 80069b8:	59 a8 00 08 	sw (r13+8),r8                                  
 80069bc:	59 a7 00 04 	sw (r13+4),r7                                  
 80069c0:	59 a6 00 00 	sw (r13+0),r6                                  
 80069c4:	e3 ff ff d1 	bi 8006908 <IMFS_eval_path+0x250>              
                                                                      
08006ac8 <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    */       
)                                                                     
{                                                                     
 8006ac8:	37 9c ff 98 	addi sp,sp,-104                                
 8006acc:	5b 8b 00 40 	sw (sp+64),r11                                 
 8006ad0:	5b 8c 00 3c 	sw (sp+60),r12                                 
 8006ad4:	5b 8d 00 38 	sw (sp+56),r13                                 
 8006ad8:	5b 8e 00 34 	sw (sp+52),r14                                 
 8006adc:	5b 8f 00 30 	sw (sp+48),r15                                 
 8006ae0:	5b 90 00 2c 	sw (sp+44),r16                                 
 8006ae4:	5b 91 00 28 	sw (sp+40),r17                                 
 8006ae8:	5b 92 00 24 	sw (sp+36),r18                                 
 8006aec:	5b 93 00 20 	sw (sp+32),r19                                 
 8006af0:	5b 94 00 1c 	sw (sp+28),r20                                 
 8006af4:	5b 95 00 18 	sw (sp+24),r21                                 
 8006af8:	5b 96 00 14 	sw (sp+20),r22                                 
 8006afc:	5b 97 00 10 	sw (sp+16),r23                                 
 8006b00:	5b 98 00 0c 	sw (sp+12),r24                                 
 8006b04:	5b 99 00 08 	sw (sp+8),r25                                  
 8006b08:	5b 9d 00 04 	sw (sp+4),ra                                   
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
 8006b0c:	78 10 08 01 	mvhi r16,0x801                                 
int IMFS_evaluate_for_make(                                           
   const char                         *path,       /* IN     */       
   rtems_filesystem_location_info_t   *pathloc,    /* IN/OUT */       
   const char                        **name        /* OUT    */       
)                                                                     
{                                                                     
 8006b10:	b8 40 68 00 	mv r13,r2                                      
                                                                      
  /*                                                                  
   * This was filled in by the caller and is valid in the             
   * mount table.                                                     
   */                                                                 
  node = pathloc->node_access;                                        
 8006b14:	28 4b 00 00 	lw r11,(r2+0)                                  
int IMFS_evaluate_for_make(                                           
   const char                         *path,       /* IN     */       
   rtems_filesystem_location_info_t   *pathloc,    /* IN/OUT */       
   const char                        **name        /* OUT    */       
)                                                                     
{                                                                     
 8006b18:	b8 60 b8 00 	mv r23,r3                                      
 8006b1c:	b8 20 88 00 	mv r17,r1                                      
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
 8006b20:	f8 00 19 09 	calli 800cf44 <strlen>                         
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
 8006b24:	3a 10 c1 10 	ori r16,r16,0xc110                             
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
 8006b28:	34 0f 00 00 	mvi r15,0                                      
 8006b2c:	37 92 00 44 	addi r18,sp,68                                 
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
 8006b30:	34 14 00 01 	mvi r20,1                                      
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
 8006b34:	34 18 00 40 	mvi r24,64                                     
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
 8006b38:	34 13 00 02 	mvi r19,2                                      
 8006b3c:	34 15 00 03 	mvi r21,3                                      
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
 8006b40:	34 16 00 04 	mvi r22,4                                      
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
                                                                      
          if ( result == -1 )                                         
 8006b44:	34 19 ff ff 	mvi r25,-1                                     
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
 8006b48:	b8 20 70 00 	mv r14,r1                                      
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
 8006b4c:	b9 c0 10 00 	mv r2,r14                                      
 8006b50:	37 84 00 68 	addi r4,sp,104                                 
 8006b54:	b6 2f 08 00 	add r1,r17,r15                                 
 8006b58:	ba 40 18 00 	mv r3,r18                                      
 8006b5c:	f8 00 01 7f 	calli 8007158 <IMFS_get_token>                 
    pathlen -= len;                                                   
 8006b60:	2b 85 00 68 	lw r5,(sp+104)                                 
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
 8006b64:	29 a4 00 00 	lw r4,(r13+0)                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
 8006b68:	b8 20 60 00 	mv r12,r1                                      
    pathlen -= len;                                                   
 8006b6c:	c9 c5 70 00 	sub r14,r14,r5                                 
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
 8006b70:	44 80 00 5c 	be r4,r0,8006ce0 <IMFS_evaluate_for_make+0x218><== NEVER TAKEN
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
 8006b74:	5c 20 00 17 	bne r1,r0,8006bd0 <IMFS_evaluate_for_make+0x108>
          pathloc->node_access = node;                                
                                                                      
        break;                                                        
                                                                      
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
 8006b78:	f8 00 14 23 	calli 800bc04 <__errno>                        
 8006b7c:	34 02 00 11 	mvi r2,17                                      
 8006b80:	58 22 00 00 	sw (r1+0),r2                                   
 8006b84:	34 01 ff ff 	mvi r1,-1                                      
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
 8006b88:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8006b8c:	2b 8b 00 40 	lw r11,(sp+64)                                 
 8006b90:	2b 8c 00 3c 	lw r12,(sp+60)                                 
 8006b94:	2b 8d 00 38 	lw r13,(sp+56)                                 
 8006b98:	2b 8e 00 34 	lw r14,(sp+52)                                 
 8006b9c:	2b 8f 00 30 	lw r15,(sp+48)                                 
 8006ba0:	2b 90 00 2c 	lw r16,(sp+44)                                 
 8006ba4:	2b 91 00 28 	lw r17,(sp+40)                                 
 8006ba8:	2b 92 00 24 	lw r18,(sp+36)                                 
 8006bac:	2b 93 00 20 	lw r19,(sp+32)                                 
 8006bb0:	2b 94 00 1c 	lw r20,(sp+28)                                 
 8006bb4:	2b 95 00 18 	lw r21,(sp+24)                                 
 8006bb8:	2b 96 00 14 	lw r22,(sp+20)                                 
 8006bbc:	2b 97 00 10 	lw r23,(sp+16)                                 
 8006bc0:	2b 98 00 0c 	lw r24,(sp+12)                                 
 8006bc4:	2b 99 00 08 	lw r25,(sp+8)                                  
 8006bc8:	37 9c 00 68 	addi sp,sp,104                                 
 8006bcc:	c3 a0 00 00 	ret                                            
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
 8006bd0:	29 61 00 4c 	lw r1,(r11+76)                                 
 8006bd4:	b8 80 58 00 	mv r11,r4                                      
 8006bd8:	44 34 00 28 	be r1,r20,8006c78 <IMFS_evaluate_for_make+0x1b0>
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
    i +=  len;                                                        
 8006bdc:	b5 e5 78 00 	add r15,r15,r5                                 
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
 8006be0:	45 93 00 1a 	be r12,r19,8006c48 <IMFS_evaluate_for_make+0x180>
 8006be4:	55 93 00 03 	bgu r12,r19,8006bf0 <IMFS_evaluate_for_make+0x128>
 8006be8:	5d 80 ff d9 	bne r12,r0,8006b4c <IMFS_evaluate_for_make+0x84><== ALWAYS TAKEN
 8006bec:	e3 ff ff e3 	bi 8006b78 <IMFS_evaluate_for_make+0xb0>       <== NOT EXECUTED
 8006bf0:	45 95 00 07 	be r12,r21,8006c0c <IMFS_evaluate_for_make+0x144>
 8006bf4:	5d 96 ff d6 	bne r12,r22,8006b4c <IMFS_evaluate_for_make+0x84><== 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 );         
 8006bf8:	f8 00 14 03 	calli 800bc04 <__errno>                        
 8006bfc:	34 02 00 5b 	mvi r2,91                                      
 8006c00:	58 22 00 00 	sw (r1+0),r2                                   
 8006c04:	34 01 ff ff 	mvi r1,-1                                      
 8006c08:	e3 ff ff e0 	bi 8006b88 <IMFS_evaluate_for_make+0xc0>       
        pathloc->node_access = node;                                  
        break;                                                        
                                                                      
      case IMFS_NAME:                                                 
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
 8006c0c:	28 81 00 4c 	lw r1,(r4+76)                                  
 8006c10:	44 35 00 39 	be r1,r21,8006cf4 <IMFS_evaluate_for_make+0x22c>
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
 8006c14:	44 36 00 38 	be r1,r22,8006cf4 <IMFS_evaluate_for_make+0x22c>
          if ( result == -1 )                                         
            return -1;                                                
	}                                                                    
                                                                      
        node = pathloc->node_access;                                  
        if ( !node )                                                  
 8006c18:	45 60 00 48 	be r11,r0,8006d38 <IMFS_evaluate_for_make+0x270><== NEVER TAKEN
                                                                      
        /*                                                            
         * Only a directory can be decended into.                     
	 */                                                                  
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
 8006c1c:	29 61 00 4c 	lw r1,(r11+76)                                 
 8006c20:	5c 34 00 46 	bne r1,r20,8006d38 <IMFS_evaluate_for_make+0x270>
	/*                                                                   
	 * 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 ) {                   
 8006c24:	29 6c 00 5c 	lw r12,(r11+92)                                
 8006c28:	5d 80 00 49 	bne r12,r0,8006d4c <IMFS_evaluate_for_make+0x284>
                                                                      
	/*                                                                   
	 * Otherwise find the token name in the present location.            
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
 8006c2c:	b9 60 08 00 	mv r1,r11                                      
 8006c30:	ba 40 10 00 	mv r2,r18                                      
 8006c34:	f8 00 01 12 	calli 800707c <IMFS_find_match_in_dir>         
 8006c38:	b8 20 58 00 	mv r11,r1                                      
	/*                                                                   
	 * If there is no node we have found the name of the node we         
         * wish to create.                                            
	 */                                                                  
                                                                      
        if ( ! node )                                                 
 8006c3c:	44 2c 00 17 	be r1,r12,8006c98 <IMFS_evaluate_for_make+0x1d0>
          done = true;                                                
        else                                                          
          pathloc->node_access = node;                                
 8006c40:	59 ab 00 00 	sw (r13+0),r11                                 
 8006c44:	e3 ff ff c2 	bi 8006b4c <IMFS_evaluate_for_make+0x84>       
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
 8006c48:	2a 01 00 00 	lw r1,(r16+0)                                  
 8006c4c:	28 21 00 18 	lw r1,(r1+24)                                  
 8006c50:	44 81 ff bf 	be r4,r1,8006b4c <IMFS_evaluate_for_make+0x84> <== NEVER TAKEN
                                                                      
	/*                                                                   
	 * Am I at the root of this mounted filesystem?                      
	 */                                                                  
                                                                      
        if (pathloc->node_access == pathloc->mt_entry->mt_fs_root.node_access){
 8006c54:	29 a1 00 10 	lw r1,(r13+16)                                 
 8006c58:	28 22 00 1c 	lw r2,(r1+28)                                  
 8006c5c:	44 82 00 4e 	be r4,r2,8006d94 <IMFS_evaluate_for_make+0x2cc>
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
	  }                                                                  
	} else {                                                             
                                                                      
          if ( !node->Parent )                                        
 8006c60:	28 8b 00 08 	lw r11,(r4+8)                                  
 8006c64:	5d 60 ff f7 	bne r11,r0,8006c40 <IMFS_evaluate_for_make+0x178>
            rtems_set_errno_and_return_minus_one( ENOENT );           
 8006c68:	f8 00 13 e7 	calli 800bc04 <__errno>                        
 8006c6c:	58 2c 00 00 	sw (r1+0),r12                                  
 8006c70:	34 01 ff ff 	mvi r1,-1                                      
 8006c74:	e3 ff ff c5 	bi 8006b88 <IMFS_evaluate_for_make+0xc0>       
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
 8006c78:	28 81 00 30 	lw r1,(r4+48)                                  
 8006c7c:	20 21 00 40 	andi r1,r1,0x40                                
 8006c80:	44 38 ff d7 	be r1,r24,8006bdc <IMFS_evaluate_for_make+0x114>
  /*                                                                  
   * We must have Write and execute permission on the returned node.  
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
 8006c84:	f8 00 13 e0 	calli 800bc04 <__errno>                        
 8006c88:	34 02 00 0d 	mvi r2,13                                      
 8006c8c:	58 22 00 00 	sw (r1+0),r2                                   
 8006c90:	34 01 ff ff 	mvi r1,-1                                      
 8006c94:	e3 ff ff bd 	bi 8006b88 <IMFS_evaluate_for_make+0xc0>       
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
 8006c98:	2b 81 00 68 	lw r1,(sp+104)                                 
  /*                                                                  
   * 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++) {                                      
 8006c9c:	b6 2f 10 00 	add r2,r17,r15                                 
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
 8006ca0:	c9 e1 78 00 	sub r15,r15,r1                                 
 8006ca4:	b6 2f 88 00 	add r17,r17,r15                                
 8006ca8:	5a f1 00 00 	sw (r23+0),r17                                 
  /*                                                                  
   * 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++) {                                      
 8006cac:	40 41 00 00 	lbu r1,(r2+0)                                  
 8006cb0:	44 2b 00 17 	be r1,r11,8006d0c <IMFS_evaluate_for_make+0x244>
    if ( !IMFS_is_separator( path[ i ] ) )                            
 8006cb4:	7c 23 00 5c 	cmpnei r3,r1,92                                
 8006cb8:	7c 21 00 2f 	cmpnei r1,r1,47                                
 8006cbc:	a0 23 08 00 	and r1,r1,r3                                   
 8006cc0:	5c 2b 00 08 	bne r1,r11,8006ce0 <IMFS_evaluate_for_make+0x218><== NEVER TAKEN
  /*                                                                  
   * 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++) {                                      
 8006cc4:	40 41 00 01 	lbu r1,(r2+1)                                  
    if ( !IMFS_is_separator( path[ i ] ) )                            
 8006cc8:	34 42 00 01 	addi r2,r2,1                                   
 8006ccc:	7c 24 00 2f 	cmpnei r4,r1,47                                
 8006cd0:	7c 23 00 5c 	cmpnei r3,r1,92                                
  /*                                                                  
   * 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++) {                                      
 8006cd4:	44 20 00 0e 	be r1,r0,8006d0c <IMFS_evaluate_for_make+0x244>
    if ( !IMFS_is_separator( path[ i ] ) )                            
 8006cd8:	a0 64 18 00 	and r3,r3,r4                                   
 8006cdc:	44 60 ff fa 	be r3,r0,8006cc4 <IMFS_evaluate_for_make+0x1fc>
      rtems_set_errno_and_return_minus_one( ENOENT );                 
 8006ce0:	f8 00 13 c9 	calli 800bc04 <__errno>                        
 8006ce4:	34 02 00 02 	mvi r2,2                                       
 8006ce8:	58 22 00 00 	sw (r1+0),r2                                   
 8006cec:	34 01 ff ff 	mvi r1,-1                                      
 8006cf0:	e3 ff ff a6 	bi 8006b88 <IMFS_evaluate_for_make+0xc0>       
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
 8006cf4:	b9 a0 08 00 	mv r1,r13                                      
 8006cf8:	34 02 00 00 	mvi r2,0                                       
 8006cfc:	fb ff ff 33 	calli 80069c8 <IMFS_evaluate_link>             
                                                                      
          if ( result == -1 )                                         
 8006d00:	44 39 ff a2 	be r1,r25,8006b88 <IMFS_evaluate_for_make+0xc0><== NEVER TAKEN
 8006d04:	29 ab 00 00 	lw r11,(r13+0)                                 
 8006d08:	e3 ff ff c4 	bi 8006c18 <IMFS_evaluate_for_make+0x150>      
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
 8006d0c:	b9 a0 08 00 	mv r1,r13                                      
 8006d10:	fb ff fd a9 	calli 80063b4 <IMFS_Set_handlers>              
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
 8006d14:	29 a2 00 00 	lw r2,(r13+0)                                  
  if ( node->type != IMFS_DIRECTORY )                                 
 8006d18:	34 03 00 01 	mvi r3,1                                       
 8006d1c:	28 44 00 4c 	lw r4,(r2+76)                                  
 8006d20:	5c 83 00 06 	bne r4,r3,8006d38 <IMFS_evaluate_for_make+0x270><== NEVER TAKEN
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
 8006d24:	28 43 00 30 	lw r3,(r2+48)                                  
 8006d28:	34 02 00 c0 	mvi r2,192                                     
 8006d2c:	20 63 00 c0 	andi r3,r3,0xc0                                
 8006d30:	5c 62 ff d5 	bne r3,r2,8006c84 <IMFS_evaluate_for_make+0x1bc>
 8006d34:	e3 ff ff 95 	bi 8006b88 <IMFS_evaluate_for_make+0xc0>       
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
 8006d38:	f8 00 13 b3 	calli 800bc04 <__errno>                        
 8006d3c:	34 02 00 14 	mvi r2,20                                      
 8006d40:	58 22 00 00 	sw (r1+0),r2                                   
 8006d44:	34 01 ff ff 	mvi r1,-1                                      
 8006d48:	e3 ff ff 90 	bi 8006b88 <IMFS_evaluate_for_make+0xc0>       
	 * 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;           
 8006d4c:	29 82 00 28 	lw r2,(r12+40)                                 
 8006d50:	29 86 00 24 	lw r6,(r12+36)                                 
 8006d54:	29 85 00 20 	lw r5,(r12+32)                                 
 8006d58:	29 83 00 1c 	lw r3,(r12+28)                                 
          *pathloc = newloc;                                          
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
 8006d5c:	2b 81 00 68 	lw r1,(sp+104)                                 
	 * 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;                                          
 8006d60:	29 8c 00 2c 	lw r12,(r12+44)                                
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
 8006d64:	28 44 00 04 	lw r4,(r2+4)                                   
 8006d68:	c9 e1 08 00 	sub r1,r15,r1                                  
	 * 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;                                          
 8006d6c:	59 ac 00 10 	sw (r13+16),r12                                
 8006d70:	59 a6 00 08 	sw (r13+8),r6                                  
 8006d74:	59 a5 00 04 	sw (r13+4),r5                                  
 8006d78:	59 a3 00 00 	sw (r13+0),r3                                  
 8006d7c:	59 a2 00 0c 	sw (r13+12),r2                                 
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
 8006d80:	b6 21 08 00 	add r1,r17,r1                                  
 8006d84:	b9 a0 10 00 	mv r2,r13                                      
 8006d88:	ba e0 18 00 	mv r3,r23                                      
 8006d8c:	d8 80 00 00 	call r4                                        
 8006d90:	e3 ff ff 7e 	bi 8006b88 <IMFS_evaluate_for_make+0xc0>       
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
 8006d94:	28 22 00 14 	lw r2,(r1+20)                                  
 8006d98:	28 27 00 10 	lw r7,(r1+16)                                  
 8006d9c:	28 26 00 0c 	lw r6,(r1+12)                                  
 8006da0:	28 23 00 08 	lw r3,(r1+8)                                   
            *pathloc = newloc;                                        
 8006da4:	28 21 00 18 	lw r1,(r1+24)                                  
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
 8006da8:	28 44 00 04 	lw r4,(r2+4)                                   
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
            *pathloc = newloc;                                        
 8006dac:	59 a7 00 08 	sw (r13+8),r7                                  
 8006db0:	59 a1 00 10 	sw (r13+16),r1                                 
 8006db4:	59 a6 00 04 	sw (r13+4),r6                                  
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
 8006db8:	c9 e5 08 00 	sub r1,r15,r5                                  
 8006dbc:	e3 ff ff ef 	bi 8006d78 <IMFS_evaluate_for_make+0x2b0>      
                                                                      
080064fc <IMFS_evaluate_hard_link>:                                   
                                                                      
int IMFS_evaluate_hard_link(                                          
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
 80064fc:	37 9c ff f4 	addi sp,sp,-12                                 
 8006500:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8006504:	5b 8c 00 08 	sw (sp+8),r12                                  
 8006508:	5b 9d 00 04 	sw (sp+4),ra                                   
  IMFS_jnode_t                     *jnode  = node->node_access;       
 800650c:	28 23 00 00 	lw r3,(r1+0)                                   
                                                                      
int IMFS_evaluate_hard_link(                                          
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
 8006510:	b8 40 60 00 	mv r12,r2                                      
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
 8006514:	34 04 00 03 	mvi r4,3                                       
 8006518:	28 62 00 4c 	lw r2,(r3+76)                                  
                                                                      
int IMFS_evaluate_hard_link(                                          
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
 800651c:	b8 20 58 00 	mv r11,r1                                      
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
 8006520:	5c 44 00 1a 	bne r2,r4,8006588 <IMFS_evaluate_hard_link+0x8c><== NEVER TAKEN
                                                                      
  /*                                                                  
   * Set the hard link value and the handlers.                        
   */                                                                 
                                                                      
  node->node_access = jnode->info.hard_link.link_node;                
 8006524:	28 63 00 50 	lw r3,(r3+80)                                  
 8006528:	58 23 00 00 	sw (r1+0),r3                                   
                                                                      
  IMFS_Set_handlers( node );                                          
 800652c:	fb ff ff a2 	calli 80063b4 <IMFS_Set_handlers>              
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
 8006530:	34 02 00 06 	mvi r2,6                                       
 8006534:	b9 80 08 00 	mv r1,r12                                      
 8006538:	fb ff e7 2e 	calli 80001f0 <__ashlsi3>                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    assert( 0 );                                                      
    rtems_set_errno_and_return_minus_one( EIO );                      
  }                                                                   
                                                                      
  jnode = node->node_access;                                          
 800653c:	29 62 00 00 	lw r2,(r11+0)                                  
 8006540:	28 42 00 30 	lw r2,(r2+48)                                  
 8006544:	a0 22 10 00 	and r2,r1,r2                                   
 8006548:	44 41 00 0a 	be r2,r1,8006570 <IMFS_evaluate_hard_link+0x74><== ALWAYS TAKEN
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
    rtems_set_errno_and_return_minus_one( EACCES );                   
 800654c:	f8 00 15 ae 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 8006550:	34 02 00 0d 	mvi r2,13                                      <== NOT EXECUTED
 8006554:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8006558:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
 800655c:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8006560:	2b 8b 00 0c 	lw r11,(sp+12)                                 <== NOT EXECUTED
 8006564:	2b 8c 00 08 	lw r12,(sp+8)                                  <== NOT EXECUTED
 8006568:	37 9c 00 0c 	addi sp,sp,12                                  <== NOT EXECUTED
 800656c:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    assert( 0 );                                                      
    rtems_set_errno_and_return_minus_one( EIO );                      
  }                                                                   
                                                                      
  jnode = node->node_access;                                          
 8006570:	34 01 00 00 	mvi r1,0                                       
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
 8006574:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8006578:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 800657c:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8006580:	37 9c 00 0c 	addi sp,sp,12                                  
 8006584:	c3 a0 00 00 	ret                                            
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
    rtems_fatal_error_occurred (0xABCD0000);                          
 8006588:	78 01 ab cd 	mvhi r1,0xabcd                                 <== NOT EXECUTED
 800658c:	38 21 00 00 	ori r1,r1,0x0                                  <== NOT EXECUTED
 8006590:	fb ff f0 fb 	calli 800297c <rtems_fatal_error_occurred>     <== NOT EXECUTED
                                                                      
080069c8 <IMFS_evaluate_link>:                                        
                                                                      
int IMFS_evaluate_link(                                               
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
 80069c8:	37 9c ff dc 	addi sp,sp,-36                                 
 80069cc:	5b 8b 00 24 	sw (sp+36),r11                                 
 80069d0:	5b 8c 00 20 	sw (sp+32),r12                                 
 80069d4:	5b 8d 00 1c 	sw (sp+28),r13                                 
 80069d8:	5b 8e 00 18 	sw (sp+24),r14                                 
 80069dc:	5b 8f 00 14 	sw (sp+20),r15                                 
 80069e0:	5b 90 00 10 	sw (sp+16),r16                                 
 80069e4:	5b 91 00 0c 	sw (sp+12),r17                                 
 80069e8:	5b 92 00 08 	sw (sp+8),r18                                  
 80069ec:	5b 9d 00 04 	sw (sp+4),ra                                   
 80069f0:	78 0d 08 01 	mvhi r13,0x801                                 
 80069f4:	39 ad c1 10 	ori r13,r13,0xc110                             
 80069f8:	29 a4 00 00 	lw r4,(r13+0)                                  
 80069fc:	b8 20 60 00 	mv r12,r1                                      
 8006a00:	b8 40 90 00 	mv r18,r2                                      
    /*                                                                
     * Increment and check the link counter.                          
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
 8006a04:	34 0e 00 05 	mvi r14,5                                      
                                                                      
    /*                                                                
     *  Follow the Link node.                                         
     */                                                               
                                                                      
    if ( jnode->type == IMFS_HARD_LINK )                              
 8006a08:	34 0f 00 03 	mvi r15,3                                      
      result = IMFS_evaluate_hard_link( node, flags );                
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
 8006a0c:	34 11 00 04 	mvi r17,4                                      
      result = IMFS_evaluate_sym_link( node, flags );                 
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
                                 ( jnode->type == IMFS_HARD_LINK ) ) );
 8006a10:	34 10 00 01 	mvi r16,1                                      
                                                                      
    /*                                                                
     * Increment and check the link counter.                          
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
 8006a14:	2c 83 00 30 	lhu r3,(r4+48)                                 
{                                                                     
  IMFS_jnode_t                     *jnode;                            
  int                               result = 0;                       
                                                                      
  do {                                                                
    jnode  = node->node_access;                                       
 8006a18:	29 8b 00 00 	lw r11,(r12+0)                                 
                                                                      
    /*                                                                
     * Increment and check the link counter.                          
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
 8006a1c:	34 63 00 01 	addi r3,r3,1                                   
 8006a20:	20 63 ff ff 	andi r3,r3,0xffff                              
 8006a24:	0c 83 00 30 	sh (r4+48),r3                                  
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
 8006a28:	51 c3 00 08 	bgeu r14,r3,8006a48 <IMFS_evaluate_link+0x80>  
      rtems_filesystem_link_counts = 0;                               
 8006a2c:	34 01 00 00 	mvi r1,0                                       
 8006a30:	0c 81 00 30 	sh (r4+48),r1                                  
      rtems_set_errno_and_return_minus_one( ELOOP );                  
 8006a34:	f8 00 14 74 	calli 800bc04 <__errno>                        
 8006a38:	34 02 00 5c 	mvi r2,92                                      
 8006a3c:	58 22 00 00 	sw (r1+0),r2                                   
 8006a40:	34 01 ff ff 	mvi r1,-1                                      
 8006a44:	e0 00 00 09 	bi 8006a68 <IMFS_evaluate_link+0xa0>           
                                                                      
    /*                                                                
     *  Follow the Link node.                                         
     */                                                               
                                                                      
    if ( jnode->type == IMFS_HARD_LINK )                              
 8006a48:	29 63 00 4c 	lw r3,(r11+76)                                 
 8006a4c:	44 6f 00 12 	be r3,r15,8006a94 <IMFS_evaluate_link+0xcc>    
      result = IMFS_evaluate_hard_link( node, flags );                
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
 8006a50:	44 71 00 18 	be r3,r17,8006ab0 <IMFS_evaluate_link+0xe8>    
      result = IMFS_evaluate_sym_link( node, flags );                 
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
                                 ( jnode->type == IMFS_HARD_LINK ) ) );
 8006a54:	34 63 ff fd 	addi r3,r3,-3                                  
 8006a58:	52 03 ff ef 	bgeu r16,r3,8006a14 <IMFS_evaluate_link+0x4c>  
 8006a5c:	34 01 00 00 	mvi r1,0                                       
                                                                      
  /*                                                                  
   * Clear link counter.                                              
   */                                                                 
                                                                      
  rtems_filesystem_link_counts = 0;                                   
 8006a60:	34 02 00 00 	mvi r2,0                                       
 8006a64:	0c 82 00 30 	sh (r4+48),r2                                  
                                                                      
  return result;                                                      
}                                                                     
 8006a68:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8006a6c:	2b 8b 00 24 	lw r11,(sp+36)                                 
 8006a70:	2b 8c 00 20 	lw r12,(sp+32)                                 
 8006a74:	2b 8d 00 1c 	lw r13,(sp+28)                                 
 8006a78:	2b 8e 00 18 	lw r14,(sp+24)                                 
 8006a7c:	2b 8f 00 14 	lw r15,(sp+20)                                 
 8006a80:	2b 90 00 10 	lw r16,(sp+16)                                 
 8006a84:	2b 91 00 0c 	lw r17,(sp+12)                                 
 8006a88:	2b 92 00 08 	lw r18,(sp+8)                                  
 8006a8c:	37 9c 00 24 	addi sp,sp,36                                  
 8006a90:	c3 a0 00 00 	ret                                            
    /*                                                                
     *  Follow the Link node.                                         
     */                                                               
                                                                      
    if ( jnode->type == IMFS_HARD_LINK )                              
      result = IMFS_evaluate_hard_link( node, flags );                
 8006a94:	b9 80 08 00 	mv r1,r12                                      
 8006a98:	ba 40 10 00 	mv r2,r18                                      
 8006a9c:	fb ff fe 98 	calli 80064fc <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 ) ) );
 8006aa0:	5c 20 00 08 	bne r1,r0,8006ac0 <IMFS_evaluate_link+0xf8>    <== NEVER TAKEN
 8006aa4:	29 63 00 4c 	lw r3,(r11+76)                                 
 8006aa8:	29 a4 00 00 	lw r4,(r13+0)                                  
 8006aac:	e3 ff ff ea 	bi 8006a54 <IMFS_evaluate_link+0x8c>           
                                                                      
    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 );                 
 8006ab0:	b9 80 08 00 	mv r1,r12                                      
 8006ab4:	ba 40 10 00 	mv r2,r18                                      
 8006ab8:	fb ff fe b7 	calli 8006594 <IMFS_evaluate_sym_link>         
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
                                 ( jnode->type == IMFS_HARD_LINK ) ) );
 8006abc:	44 20 ff fa 	be r1,r0,8006aa4 <IMFS_evaluate_link+0xdc>     
 8006ac0:	29 a4 00 00 	lw r4,(r13+0)                                  
 8006ac4:	e3 ff ff e7 	bi 8006a60 <IMFS_evaluate_link+0x98>           
                                                                      
080064c0 <IMFS_evaluate_permission>:                                  
                                                                      
int IMFS_evaluate_permission(                                         
  rtems_filesystem_location_info_t  *node,                            
  int                                flags                            
)                                                                     
{                                                                     
 80064c0:	37 9c ff f8 	addi sp,sp,-8                                  <== NOT EXECUTED
 80064c4:	5b 8b 00 08 	sw (sp+8),r11                                  <== NOT EXECUTED
 80064c8:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 80064cc:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
 80064d0:	b8 40 08 00 	mv r1,r2                                       <== NOT EXECUTED
 80064d4:	34 02 00 06 	mvi r2,6                                       <== NOT EXECUTED
 80064d8:	fb ff e7 46 	calli 80001f0 <__ashlsi3>                      <== NOT EXECUTED
 80064dc:	29 62 00 00 	lw r2,(r11+0)                                  <== NOT EXECUTED
 80064e0:	28 42 00 30 	lw r2,(r2+48)                                  <== NOT EXECUTED
 80064e4:	a0 22 10 00 	and r2,r1,r2                                   <== NOT EXECUTED
    return 1;                                                         
                                                                      
  return 0;                                                           
}                                                                     
 80064e8:	e4 41 08 00 	cmpe r1,r2,r1                                  <== NOT EXECUTED
 80064ec:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 80064f0:	2b 8b 00 08 	lw r11,(sp+8)                                  <== NOT EXECUTED
 80064f4:	37 9c 00 08 	addi sp,sp,8                                   <== NOT EXECUTED
 80064f8:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08006594 <IMFS_evaluate_sym_link>:                                    
                                                                      
int IMFS_evaluate_sym_link(                                           
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
 8006594:	37 9c ff f0 	addi sp,sp,-16                                 
 8006598:	5b 8b 00 10 	sw (sp+16),r11                                 
 800659c:	5b 8c 00 0c 	sw (sp+12),r12                                 
 80065a0:	5b 8d 00 08 	sw (sp+8),r13                                  
 80065a4:	5b 9d 00 04 	sw (sp+4),ra                                   
  IMFS_jnode_t                     *jnode  = node->node_access;       
 80065a8:	28 24 00 00 	lw r4,(r1+0)                                   
                                                                      
int IMFS_evaluate_sym_link(                                           
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
 80065ac:	b8 40 60 00 	mv r12,r2                                      
 80065b0:	b8 20 58 00 	mv r11,r1                                      
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
 80065b4:	28 82 00 4c 	lw r2,(r4+76)                                  
 80065b8:	34 01 00 04 	mvi r1,4                                       
 80065bc:	5c 41 00 3c 	bne r2,r1,80066ac <IMFS_evaluate_sym_link+0x118><== NEVER TAKEN
    rtems_fatal_error_occurred (0xABCD0000);                          
                                                                      
  if ( !jnode->Parent )                                               
 80065c0:	28 81 00 08 	lw r1,(r4+8)                                   
 80065c4:	44 20 00 37 	be r1,r0,80066a0 <IMFS_evaluate_sym_link+0x10c><== NEVER TAKEN
  /*                                                                  
   * Move the node_access to either the symbolic links parent or      
   * root depending on the symbolic links path.                       
   */                                                                 
                                                                      
  node->node_access = jnode->Parent;                                  
 80065c8:	59 61 00 00 	sw (r11+0),r1                                  
                                                                      
  rtems_filesystem_get_sym_start_loc(                                 
 80065cc:	28 85 00 50 	lw r5,(r4+80)                                  
 80065d0:	40 a6 00 00 	lbu r6,(r5+0)                                  
 80065d4:	64 c7 00 5c 	cmpei r7,r6,92                                 
 80065d8:	64 c1 00 2f 	cmpei r1,r6,47                                 
 80065dc:	b8 e1 38 00 	or r7,r7,r1                                    
 80065e0:	44 e0 00 2d 	be r7,r0,8006694 <IMFS_evaluate_sym_link+0x100>
 80065e4:	78 05 08 01 	mvhi r5,0x801                                  
 80065e8:	38 a5 c1 10 	ori r5,r5,0xc110                               
 80065ec:	28 a5 00 00 	lw r5,(r5+0)                                   
 80065f0:	34 0d 00 01 	mvi r13,1                                      
 80065f4:	28 a1 00 18 	lw r1,(r5+24)                                  
 80065f8:	59 61 00 00 	sw (r11+0),r1                                  
 80065fc:	28 a1 00 1c 	lw r1,(r5+28)                                  
 8006600:	59 61 00 04 	sw (r11+4),r1                                  
 8006604:	28 a1 00 20 	lw r1,(r5+32)                                  
 8006608:	59 61 00 08 	sw (r11+8),r1                                  
 800660c:	28 a1 00 24 	lw r1,(r5+36)                                  
 8006610:	59 61 00 0c 	sw (r11+12),r1                                 
 8006614:	28 a5 00 28 	lw r5,(r5+40)                                  
 8006618:	59 65 00 10 	sw (r11+16),r5                                 
 800661c:	28 85 00 50 	lw r5,(r4+80)                                  
   * Use eval path to evaluate the path of the symbolic link.         
   */                                                                 
                                                                      
  result = IMFS_eval_path(                                            
    &jnode->info.sym_link.name[i],                                    
    strlen( &jnode->info.sym_link.name[i] ),                          
 8006620:	b4 ad 68 00 	add r13,r5,r13                                 
 8006624:	b9 a0 08 00 	mv r1,r13                                      
 8006628:	f8 00 1a 47 	calli 800cf44 <strlen>                         
 800662c:	b8 20 10 00 	mv r2,r1                                       
                                                                      
  /*                                                                  
   * Use eval path to evaluate the path of the symbolic link.         
   */                                                                 
                                                                      
  result = IMFS_eval_path(                                            
 8006630:	b9 80 18 00 	mv r3,r12                                      
 8006634:	b9 60 20 00 	mv r4,r11                                      
 8006638:	b9 a0 08 00 	mv r1,r13                                      
 800663c:	f8 00 00 1f 	calli 80066b8 <IMFS_eval_path>                 
 8006640:	b8 20 68 00 	mv r13,r1                                      
    strlen( &jnode->info.sym_link.name[i] ),                          
    flags,                                                            
    node                                                              
  );                                                                  
                                                                      
  IMFS_Set_handlers( node );                                          
 8006644:	b9 60 08 00 	mv r1,r11                                      
 8006648:	fb ff ff 5b 	calli 80063b4 <IMFS_Set_handlers>              
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
 800664c:	34 02 00 06 	mvi r2,6                                       
 8006650:	b9 80 08 00 	mv r1,r12                                      
 8006654:	fb ff e6 e7 	calli 80001f0 <__ashlsi3>                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    assert( 0 );                                                      
    rtems_set_errno_and_return_minus_one( EIO );                      
  }                                                                   
                                                                      
  jnode = node->node_access;                                          
 8006658:	29 62 00 00 	lw r2,(r11+0)                                  
 800665c:	28 42 00 30 	lw r2,(r2+48)                                  
 8006660:	a0 22 10 00 	and r2,r1,r2                                   
 8006664:	44 41 00 05 	be r2,r1,8006678 <IMFS_evaluate_sym_link+0xe4> <== ALWAYS TAKEN
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
    rtems_set_errno_and_return_minus_one( EACCES );                   
 8006668:	f8 00 15 67 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 800666c:	34 02 00 0d 	mvi r2,13                                      <== NOT EXECUTED
 8006670:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8006674:	34 0d ff ff 	mvi r13,-1                                     <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
 8006678:	b9 a0 08 00 	mv r1,r13                                      
 800667c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8006680:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8006684:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8006688:	2b 8d 00 08 	lw r13,(sp+8)                                  
 800668c:	37 9c 00 10 	addi sp,sp,16                                  
 8006690:	c3 a0 00 00 	ret                                            
   * root depending on the symbolic links path.                       
   */                                                                 
                                                                      
  node->node_access = jnode->Parent;                                  
                                                                      
  rtems_filesystem_get_sym_start_loc(                                 
 8006694:	b8 e0 68 00 	mv r13,r7                                      
 8006698:	5c c7 ff e2 	bne r6,r7,8006620 <IMFS_evaluate_sym_link+0x8c><== ALWAYS TAKEN
 800669c:	e3 ff ff d2 	bi 80065e4 <IMFS_evaluate_sym_link+0x50>       <== NOT EXECUTED
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
    rtems_fatal_error_occurred (0xABCD0000);                          
                                                                      
  if ( !jnode->Parent )                                               
    rtems_fatal_error_occurred( 0xBAD00000 );                         
 80066a0:	78 01 ba d0 	mvhi r1,0xbad0                                 <== NOT EXECUTED
 80066a4:	38 21 00 00 	ori r1,r1,0x0                                  <== NOT EXECUTED
 80066a8:	fb ff f0 b5 	calli 800297c <rtems_fatal_error_occurred>     <== NOT EXECUTED
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
    rtems_fatal_error_occurred (0xABCD0000);                          
 80066ac:	78 01 ab cd 	mvhi r1,0xabcd                                 <== NOT EXECUTED
 80066b0:	38 21 00 00 	ori r1,r1,0x0                                  <== NOT EXECUTED
 80066b4:	fb ff f0 b2 	calli 800297c <rtems_fatal_error_occurred>     <== NOT EXECUTED
                                                                      
08006fa4 <IMFS_fifo_close>:                                           
}                                                                     
                                                                      
int IMFS_fifo_close(                                                  
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
 8006fa4:	37 9c ff f0 	addi sp,sp,-16                                 <== NOT EXECUTED
 8006fa8:	5b 8b 00 10 	sw (sp+16),r11                                 <== NOT EXECUTED
 8006fac:	5b 8c 00 0c 	sw (sp+12),r12                                 <== NOT EXECUTED
 8006fb0:	5b 8d 00 08 	sw (sp+8),r13                                  <== NOT EXECUTED
 8006fb4:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
 8006fb8:	28 2d 00 3c 	lw r13,(r1+60)                                 <== NOT EXECUTED
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
 8006fbc:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
}                                                                     
                                                                      
int IMFS_fifo_close(                                                  
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
 8006fc0:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
 8006fc4:	35 a1 00 50 	addi r1,r13,80                                 <== NOT EXECUTED
 8006fc8:	f8 00 0c aa 	calli 800a270 <pipe_release>                   <== NOT EXECUTED
 8006fcc:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
                                                                      
  if (! err) {                                                        
 8006fd0:	44 20 00 0d 	be r1,r0,8007004 <IMFS_fifo_close+0x60>        <== NOT EXECUTED
    /* Free jnode if file is already unlinked and no one opens it */  
    if (! rtems_libio_is_file_open(jnode) && jnode->st_nlink < 1)     
      free(jnode);                                                    
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
 8006fd4:	4c 20 00 05 	bge r1,r0,8006fe8 <IMFS_fifo_close+0x44>       <== NOT EXECUTED
 8006fd8:	c8 0b 58 00 	sub r11,r0,r11                                 <== NOT EXECUTED
 8006fdc:	f8 00 13 0a 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 8006fe0:	58 2b 00 00 	sw (r1+0),r11                                  <== NOT EXECUTED
 8006fe4:	34 0b ff ff 	mvi r11,-1                                     <== NOT EXECUTED
}                                                                     
 8006fe8:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8006fec:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8006ff0:	2b 8b 00 10 	lw r11,(sp+16)                                 <== NOT EXECUTED
 8006ff4:	2b 8c 00 0c 	lw r12,(sp+12)                                 <== NOT EXECUTED
 8006ff8:	2b 8d 00 08 	lw r13,(sp+8)                                  <== NOT EXECUTED
 8006ffc:	37 9c 00 10 	addi sp,sp,16                                  <== NOT EXECUTED
 8007000:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
                                                                      
  if (! err) {                                                        
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
 8007004:	29 83 00 18 	lw r3,(r12+24)                                 <== NOT EXECUTED
 8007008:	34 02 fe ff 	mvi r2,-257                                    <== NOT EXECUTED
    /* Free jnode if file is already unlinked and no one opens it */  
    if (! rtems_libio_is_file_open(jnode) && jnode->st_nlink < 1)     
 800700c:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
                                                                      
  if (! err) {                                                        
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
 8007010:	a0 62 10 00 	and r2,r3,r2                                   <== NOT EXECUTED
 8007014:	59 82 00 18 	sw (r12+24),r2                                 <== NOT EXECUTED
    /* Free jnode if file is already unlinked and no one opens it */  
    if (! rtems_libio_is_file_open(jnode) && jnode->st_nlink < 1)     
 8007018:	f8 00 03 6e 	calli 8007dd0 <rtems_libio_is_file_open>       <== NOT EXECUTED
 800701c:	5c 2b ff f3 	bne r1,r11,8006fe8 <IMFS_fifo_close+0x44>      <== NOT EXECUTED
 8007020:	2d a1 00 34 	lhu r1,(r13+52)                                <== NOT EXECUTED
 8007024:	5c 20 ff f1 	bne r1,r0,8006fe8 <IMFS_fifo_close+0x44>       <== NOT EXECUTED
      free(jnode);                                                    
 8007028:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 800702c:	f8 00 02 08 	calli 800784c <free>                           <== NOT EXECUTED
 8007030:	e3 ff ff ee 	bi 8006fe8 <IMFS_fifo_close+0x44>              <== NOT EXECUTED
                                                                      
08006e2c <IMFS_fifo_ioctl>:                                           
int IMFS_fifo_ioctl(                                                  
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
 8006e2c:	37 9c ff f8 	addi sp,sp,-8                                  <== NOT EXECUTED
 8006e30:	5b 8b 00 08 	sw (sp+8),r11                                  <== NOT EXECUTED
 8006e34:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
 8006e38:	78 05 80 04 	mvhi r5,0x8004                                 <== NOT EXECUTED
 8006e3c:	38 a5 66 7e 	ori r5,r5,0x667e                               <== NOT EXECUTED
int IMFS_fifo_ioctl(                                                  
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
 8006e40:	b8 20 20 00 	mv r4,r1                                       <== NOT EXECUTED
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
 8006e44:	44 45 00 0d 	be r2,r5,8006e78 <IMFS_fifo_ioctl+0x4c>        <== NOT EXECUTED
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
      return 0;                                                       
    }                                                                 
  }                                                                   
  else                                                                
    err = pipe_ioctl(LIBIO2PIPE(iop), command, buffer, iop);          
 8006e48:	28 21 00 3c 	lw r1,(r1+60)                                  <== NOT EXECUTED
 8006e4c:	28 21 00 50 	lw r1,(r1+80)                                  <== NOT EXECUTED
 8006e50:	f8 00 0b e8 	calli 8009df0 <pipe_ioctl>                     <== NOT EXECUTED
                                                                      
  IMFS_FIFO_RETURN(err);                                              
 8006e54:	4c 20 00 05 	bge r1,r0,8006e68 <IMFS_fifo_ioctl+0x3c>       <== NOT EXECUTED
 8006e58:	c8 01 58 00 	sub r11,r0,r1                                  <== NOT EXECUTED
 8006e5c:	f8 00 13 6a 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 8006e60:	58 2b 00 00 	sw (r1+0),r11                                  <== NOT EXECUTED
 8006e64:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
}                                                                     
 8006e68:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8006e6c:	2b 8b 00 08 	lw r11,(sp+8)                                  <== NOT EXECUTED
 8006e70:	37 9c 00 08 	addi sp,sp,8                                   <== NOT EXECUTED
 8006e74:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
)                                                                     
{                                                                     
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
    if (buffer == NULL)                                               
 8006e78:	34 0b 00 0e 	mvi r11,14                                     <== NOT EXECUTED
 8006e7c:	44 60 ff f8 	be r3,r0,8006e5c <IMFS_fifo_ioctl+0x30>        <== NOT EXECUTED
      err = -EFAULT;                                                  
    else {                                                            
      if (*(int *)buffer)                                             
 8006e80:	28 61 00 00 	lw r1,(r3+0)                                   <== NOT EXECUTED
 8006e84:	44 20 00 09 	be r1,r0,8006ea8 <IMFS_fifo_ioctl+0x7c>        <== NOT EXECUTED
        iop->flags |= LIBIO_FLAGS_NO_DELAY;                           
 8006e88:	28 82 00 18 	lw r2,(r4+24)                                  <== NOT EXECUTED
 8006e8c:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 8006e90:	38 42 00 01 	ori r2,r2,0x1                                  <== NOT EXECUTED
 8006e94:	58 82 00 18 	sw (r4+24),r2                                  <== NOT EXECUTED
  }                                                                   
  else                                                                
    err = pipe_ioctl(LIBIO2PIPE(iop), command, buffer, iop);          
                                                                      
  IMFS_FIFO_RETURN(err);                                              
}                                                                     
 8006e98:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8006e9c:	2b 8b 00 08 	lw r11,(sp+8)                                  <== NOT EXECUTED
 8006ea0:	37 9c 00 08 	addi sp,sp,8                                   <== NOT EXECUTED
 8006ea4:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
      err = -EFAULT;                                                  
    else {                                                            
      if (*(int *)buffer)                                             
        iop->flags |= LIBIO_FLAGS_NO_DELAY;                           
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
 8006ea8:	28 83 00 18 	lw r3,(r4+24)                                  <== NOT EXECUTED
 8006eac:	34 02 ff fe 	mvi r2,-2                                      <== NOT EXECUTED
 8006eb0:	a0 62 10 00 	and r2,r3,r2                                   <== NOT EXECUTED
 8006eb4:	58 82 00 18 	sw (r4+24),r2                                  <== NOT EXECUTED
  }                                                                   
  else                                                                
    err = pipe_ioctl(LIBIO2PIPE(iop), command, buffer, iop);          
                                                                      
  IMFS_FIFO_RETURN(err);                                              
}                                                                     
 8006eb8:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8006ebc:	2b 8b 00 08 	lw r11,(sp+8)                                  <== NOT EXECUTED
 8006ec0:	37 9c 00 08 	addi sp,sp,8                                   <== NOT EXECUTED
 8006ec4:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08006dc0 <IMFS_fifo_lseek>:                                           
rtems_off64_t IMFS_fifo_lseek(                                        
  rtems_libio_t *iop,                                                 
  rtems_off64_t  offset,                                              
  int            whence                                               
)                                                                     
{                                                                     
 8006dc0:	37 9c ff f8 	addi sp,sp,-8                                  <== NOT EXECUTED
 8006dc4:	5b 8b 00 08 	sw (sp+8),r11                                  <== NOT EXECUTED
 8006dc8:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 8006dcc:	b8 20 28 00 	mv r5,r1                                       <== NOT EXECUTED
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
 8006dd0:	28 21 00 3c 	lw r1,(r1+60)                                  <== NOT EXECUTED
 8006dd4:	b8 60 10 00 	mv r2,r3                                       <== NOT EXECUTED
 8006dd8:	b8 80 18 00 	mv r3,r4                                       <== NOT EXECUTED
 8006ddc:	28 21 00 50 	lw r1,(r1+80)                                  <== NOT EXECUTED
 8006de0:	b8 a0 20 00 	mv r4,r5                                       <== NOT EXECUTED
 8006de4:	f8 00 0b e2 	calli 8009d6c <pipe_lseek>                     <== NOT EXECUTED
 8006de8:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
  IMFS_FIFO_RETURN(err);                                              
 8006dec:	4c 20 00 07 	bge r1,r0,8006e08 <IMFS_fifo_lseek+0x48>       <== NOT EXECUTED
 8006df0:	f8 00 13 85 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 8006df4:	c8 0b 58 00 	sub r11,r0,r11                                 <== NOT EXECUTED
 8006df8:	34 03 ff ff 	mvi r3,-1                                      <== NOT EXECUTED
 8006dfc:	58 2b 00 00 	sw (r1+0),r11                                  <== NOT EXECUTED
 8006e00:	b8 60 58 00 	mv r11,r3                                      <== NOT EXECUTED
 8006e04:	e0 00 00 04 	bi 8006e14 <IMFS_fifo_lseek+0x54>              <== NOT EXECUTED
 8006e08:	34 02 00 1f 	mvi r2,31                                      <== NOT EXECUTED
 8006e0c:	fb ff e5 49 	calli 8000330 <__ashrsi3>                      <== NOT EXECUTED
 8006e10:	b8 20 18 00 	mv r3,r1                                       <== NOT EXECUTED
}                                                                     
 8006e14:	b8 60 08 00 	mv r1,r3                                       <== NOT EXECUTED
 8006e18:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 8006e1c:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8006e20:	2b 8b 00 08 	lw r11,(sp+8)                                  <== NOT EXECUTED
 8006e24:	37 9c 00 08 	addi sp,sp,8                                   <== NOT EXECUTED
 8006e28:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08007034 <IMFS_fifo_open>:                                            
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
 8007034:	37 9c ff f8 	addi sp,sp,-8                                  
 8007038:	5b 8b 00 08 	sw (sp+8),r11                                  
 800703c:	5b 9d 00 04 	sw (sp+4),ra                                   
 8007040:	b8 20 10 00 	mv r2,r1                                       
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = fifo_open(&JNODE2PIPE(jnode), iop);                       
 8007044:	28 21 00 3c 	lw r1,(r1+60)                                  
 8007048:	34 21 00 50 	addi r1,r1,80                                  
 800704c:	f8 00 0c da 	calli 800a3b4 <fifo_open>                      
 8007050:	b8 20 58 00 	mv r11,r1                                      
  IMFS_FIFO_RETURN(err);                                              
 8007054:	4c 20 00 05 	bge r1,r0,8007068 <IMFS_fifo_open+0x34>        <== NEVER TAKEN
 8007058:	c8 0b 58 00 	sub r11,r0,r11                                 
 800705c:	f8 00 12 ea 	calli 800bc04 <__errno>                        
 8007060:	58 2b 00 00 	sw (r1+0),r11                                  
 8007064:	34 0b ff ff 	mvi r11,-1                                     
}                                                                     
 8007068:	b9 60 08 00 	mv r1,r11                                      
 800706c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8007070:	2b 8b 00 08 	lw r11,(sp+8)                                  
 8007074:	37 9c 00 08 	addi sp,sp,8                                   
 8007078:	c3 a0 00 00 	ret                                            
                                                                      
08006f38 <IMFS_fifo_read>:                                            
ssize_t IMFS_fifo_read(                                               
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
 8006f38:	37 9c ff ec 	addi sp,sp,-20                                 <== NOT EXECUTED
 8006f3c:	5b 8b 00 0c 	sw (sp+12),r11                                 <== NOT EXECUTED
 8006f40:	5b 8c 00 08 	sw (sp+8),r12                                  <== NOT EXECUTED
 8006f44:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
 8006f48:	28 2c 00 3c 	lw r12,(r1+60)                                 <== NOT EXECUTED
                                                                      
  int err = pipe_read(JNODE2PIPE(jnode), buffer, count, iop);         
 8006f4c:	b8 20 20 00 	mv r4,r1                                       <== NOT EXECUTED
 8006f50:	29 81 00 50 	lw r1,(r12+80)                                 <== NOT EXECUTED
 8006f54:	f8 00 0c 51 	calli 800a098 <pipe_read>                      <== NOT EXECUTED
 8006f58:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
  if (err > 0)                                                        
 8006f5c:	4c 01 00 0c 	bge r0,r1,8006f8c <IMFS_fifo_read+0x54>        <== NOT EXECUTED
    IMFS_update_atime(jnode);                                         
 8006f60:	37 81 00 10 	addi r1,sp,16                                  <== NOT EXECUTED
 8006f64:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 8006f68:	f8 00 02 b7 	calli 8007a44 <gettimeofday>                   <== NOT EXECUTED
 8006f6c:	2b 81 00 10 	lw r1,(sp+16)                                  <== NOT EXECUTED
 8006f70:	59 81 00 40 	sw (r12+64),r1                                 <== NOT EXECUTED
                                                                      
  IMFS_FIFO_RETURN(err);                                              
}                                                                     
 8006f74:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8006f78:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8006f7c:	2b 8b 00 0c 	lw r11,(sp+12)                                 <== NOT EXECUTED
 8006f80:	2b 8c 00 08 	lw r12,(sp+8)                                  <== NOT EXECUTED
 8006f84:	37 9c 00 14 	addi sp,sp,20                                  <== NOT EXECUTED
 8006f88:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
  int err = pipe_read(JNODE2PIPE(jnode), buffer, count, iop);         
  if (err > 0)                                                        
    IMFS_update_atime(jnode);                                         
                                                                      
  IMFS_FIFO_RETURN(err);                                              
 8006f8c:	44 20 ff fa 	be r1,r0,8006f74 <IMFS_fifo_read+0x3c>         <== NOT EXECUTED
 8006f90:	c8 0b 58 00 	sub r11,r0,r11                                 <== NOT EXECUTED
 8006f94:	f8 00 13 1c 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 8006f98:	58 2b 00 00 	sw (r1+0),r11                                  <== NOT EXECUTED
 8006f9c:	34 0b ff ff 	mvi r11,-1                                     <== NOT EXECUTED
 8006fa0:	e3 ff ff f5 	bi 8006f74 <IMFS_fifo_read+0x3c>               <== NOT EXECUTED
                                                                      
08006ec8 <IMFS_fifo_write>:                                           
ssize_t IMFS_fifo_write(                                              
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
 8006ec8:	37 9c ff ec 	addi sp,sp,-20                                 <== NOT EXECUTED
 8006ecc:	5b 8b 00 0c 	sw (sp+12),r11                                 <== NOT EXECUTED
 8006ed0:	5b 8c 00 08 	sw (sp+8),r12                                  <== NOT EXECUTED
 8006ed4:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
 8006ed8:	28 2c 00 3c 	lw r12,(r1+60)                                 <== NOT EXECUTED
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
 8006edc:	b8 20 20 00 	mv r4,r1                                       <== NOT EXECUTED
 8006ee0:	29 81 00 50 	lw r1,(r12+80)                                 <== NOT EXECUTED
 8006ee4:	f8 00 0b e4 	calli 8009e74 <pipe_write>                     <== NOT EXECUTED
 8006ee8:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
  if (err > 0) {                                                      
 8006eec:	4c 01 00 0d 	bge r0,r1,8006f20 <IMFS_fifo_write+0x58>       <== NOT EXECUTED
    IMFS_mtime_ctime_update(jnode);                                   
 8006ef0:	37 81 00 10 	addi r1,sp,16                                  <== NOT EXECUTED
 8006ef4:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 8006ef8:	f8 00 02 d3 	calli 8007a44 <gettimeofday>                   <== NOT EXECUTED
 8006efc:	2b 81 00 10 	lw r1,(sp+16)                                  <== NOT EXECUTED
 8006f00:	59 81 00 48 	sw (r12+72),r1                                 <== NOT EXECUTED
 8006f04:	59 81 00 44 	sw (r12+68),r1                                 <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
}                                                                     
 8006f08:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8006f0c:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8006f10:	2b 8b 00 0c 	lw r11,(sp+12)                                 <== NOT EXECUTED
 8006f14:	2b 8c 00 08 	lw r12,(sp+8)                                  <== NOT EXECUTED
 8006f18:	37 9c 00 14 	addi sp,sp,20                                  <== NOT EXECUTED
 8006f1c:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
  if (err > 0) {                                                      
    IMFS_mtime_ctime_update(jnode);                                   
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
 8006f20:	44 20 ff fa 	be r1,r0,8006f08 <IMFS_fifo_write+0x40>        <== NOT EXECUTED
 8006f24:	c8 0b 58 00 	sub r11,r0,r11                                 <== NOT EXECUTED
 8006f28:	f8 00 13 37 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 8006f2c:	58 2b 00 00 	sw (r1+0),r11                                  <== NOT EXECUTED
 8006f30:	34 0b ff ff 	mvi r11,-1                                     <== NOT EXECUTED
 8006f34:	e3 ff ff f5 	bi 8006f08 <IMFS_fifo_write+0x40>              <== NOT EXECUTED
                                                                      
0800707c <IMFS_find_match_in_dir>:                                    
                                                                      
IMFS_jnode_t *IMFS_find_match_in_dir(                                 
  IMFS_jnode_t *directory,                                            
  char         *name                                                  
)                                                                     
{                                                                     
 800707c:	37 9c ff f0 	addi sp,sp,-16                                 
 8007080:	5b 8b 00 10 	sw (sp+16),r11                                 
 8007084:	5b 8c 00 0c 	sw (sp+12),r12                                 
 8007088:	5b 8d 00 08 	sw (sp+8),r13                                  
 800708c:	5b 9d 00 04 	sw (sp+4),ra                                   
 8007090:	b8 20 58 00 	mv r11,r1                                      
 8007094:	b8 40 60 00 	mv r12,r2                                      
  /*                                                                  
   *  Check for fatal errors.  A NULL directory show a problem in the 
   *  the IMFS code.                                                  
   */                                                                 
                                                                      
  assert( directory );                                                
 8007098:	44 20 00 28 	be r1,r0,8007138 <IMFS_find_match_in_dir+0xbc> <== NEVER TAKEN
  if ( !name )                                                        
 800709c:	44 40 00 13 	be r2,r0,80070e8 <IMFS_find_match_in_dir+0x6c> <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
 80070a0:	78 02 08 01 	mvhi r2,0x801                                  
 80070a4:	38 42 b2 ec 	ori r2,r2,0xb2ec                               
 80070a8:	b9 80 08 00 	mv r1,r12                                      
 80070ac:	f8 00 17 56 	calli 800ce04 <strcmp>                         
 80070b0:	44 20 00 07 	be r1,r0,80070cc <IMFS_find_match_in_dir+0x50> <== NEVER TAKEN
    return directory;                                                 
                                                                      
  if ( !strcmp( name, dotdotname ) )                                  
 80070b4:	78 02 08 01 	mvhi r2,0x801                                  
 80070b8:	38 42 b2 f0 	ori r2,r2,0xb2f0                               
 80070bc:	b9 80 08 00 	mv r1,r12                                      
 80070c0:	f8 00 17 51 	calli 800ce04 <strcmp>                         
 80070c4:	5c 20 00 11 	bne r1,r0,8007108 <IMFS_find_match_in_dir+0x8c><== ALWAYS TAKEN
    return directory->Parent;                                         
 80070c8:	29 6b 00 08 	lw r11,(r11+8)                                 <== NOT EXECUTED
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 80070cc:	b9 60 08 00 	mv r1,r11                                      
 80070d0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80070d4:	2b 8b 00 10 	lw r11,(sp+16)                                 
 80070d8:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 80070dc:	2b 8d 00 08 	lw r13,(sp+8)                                  
 80070e0:	37 9c 00 10 	addi sp,sp,16                                  
 80070e4:	c3 a0 00 00 	ret                                            
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = the_chain->first;                                  
 80070e8:	34 0b 00 00 	mvi r11,0                                      
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 80070ec:	b9 60 08 00 	mv r1,r11                                      
 80070f0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80070f4:	2b 8b 00 10 	lw r11,(sp+16)                                 
 80070f8:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 80070fc:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8007100:	37 9c 00 10 	addi sp,sp,16                                  
 8007104:	c3 a0 00 00 	ret                                            
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = the_chain->first;                                  
 8007108:	29 6d 00 50 	lw r13,(r11+80)                                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 800710c:	35 6b 00 54 	addi r11,r11,84                                
 8007110:	5d ab 00 04 	bne r13,r11,8007120 <IMFS_find_match_in_dir+0xa4>
 8007114:	e3 ff ff f5 	bi 80070e8 <IMFS_find_match_in_dir+0x6c>       
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
 8007118:	29 ad 00 00 	lw r13,(r13+0)                                 
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = the_chain->first;                                  
 800711c:	45 ab ff f3 	be r13,r11,80070e8 <IMFS_find_match_in_dir+0x6c>
        !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 ) )                           
 8007120:	b9 80 08 00 	mv r1,r12                                      
 8007124:	35 a2 00 0c 	addi r2,r13,12                                 
 8007128:	f8 00 17 37 	calli 800ce04 <strcmp>                         
 800712c:	5c 20 ff fb 	bne r1,r0,8007118 <IMFS_find_match_in_dir+0x9c>
 8007130:	b9 a0 58 00 	mv r11,r13                                     
 8007134:	e3 ff ff e6 	bi 80070cc <IMFS_find_match_in_dir+0x50>       
  /*                                                                  
   *  Check for fatal errors.  A NULL directory show a problem in the 
   *  the IMFS code.                                                  
   */                                                                 
                                                                      
  assert( directory );                                                
 8007138:	78 01 08 01 	mvhi r1,0x801                                  <== NOT EXECUTED
 800713c:	78 03 08 01 	mvhi r3,0x801                                  <== NOT EXECUTED
 8007140:	78 04 08 01 	mvhi r4,0x801                                  <== NOT EXECUTED
 8007144:	38 21 b2 94 	ori r1,r1,0xb294                               <== NOT EXECUTED
 8007148:	38 63 b2 f4 	ori r3,r3,0xb2f4                               <== NOT EXECUTED
 800714c:	38 84 b2 e0 	ori r4,r4,0xb2e0                               <== NOT EXECUTED
 8007150:	34 02 00 2a 	mvi r2,42                                      <== NOT EXECUTED
 8007154:	f8 00 01 54 	calli 80076a4 <__assert_func>                  <== NOT EXECUTED
                                                                      
0800d580 <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                 
)                                                                     
{                                                                     
 800d580:	37 9c ff d8 	addi sp,sp,-40                                 
 800d584:	5b 8b 00 14 	sw (sp+20),r11                                 
 800d588:	5b 8c 00 10 	sw (sp+16),r12                                 
 800d58c:	5b 8d 00 0c 	sw (sp+12),r13                                 
 800d590:	5b 8e 00 08 	sw (sp+8),r14                                  
 800d594:	5b 9d 00 04 	sw (sp+4),ra                                   
    * 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;                                   
 800d598:	28 22 00 20 	lw r2,(r1+32)                                  
   /*                                                                 
    * 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;     
 800d59c:	28 2b 00 1c 	lw r11,(r1+28)                                 
 800d5a0:	37 8d 00 18 	addi r13,sp,24                                 
   loc = temp_mt_entry->mt_fs_root;                                   
 800d5a4:	5b 82 00 1c 	sw (sp+28),r2                                  
 800d5a8:	28 22 00 24 	lw r2,(r1+36)                                  
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
 800d5ac:	34 0c 00 01 	mvi r12,1                                      
    * 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;                                   
 800d5b0:	5b 82 00 20 	sw (sp+32),r2                                  
 800d5b4:	28 22 00 28 	lw r2,(r1+40)                                  
 800d5b8:	5b 82 00 24 	sw (sp+36),r2                                  
 800d5bc:	28 22 00 2c 	lw r2,(r1+44)                                  
 800d5c0:	5b 82 00 28 	sw (sp+40),r2                                  
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
 800d5c4:	34 02 00 00 	mvi r2,0                                       
 800d5c8:	58 22 00 1c 	sw (r1+28),r2                                  
    * 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;                                   
 800d5cc:	5b 8b 00 18 	sw (sp+24),r11                                 
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
 800d5d0:	b9 a0 08 00 	mv r1,r13                                      
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
 800d5d4:	5b 8b 00 18 	sw (sp+24),r11                                 
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
 800d5d8:	29 6e 00 08 	lw r14,(r11+8)                                 
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
 800d5dc:	fb ff fc b5 	calli 800c8b0 <IMFS_Set_handlers>              
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
 800d5e0:	29 61 00 4c 	lw r1,(r11+76)                                 
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 800d5e4:	35 63 00 54 	addi r3,r11,84                                 
 800d5e8:	5c 2c 00 13 	bne r1,r12,800d634 <IMFS_fsunmount+0xb4>       
 800d5ec:	29 61 00 50 	lw r1,(r11+80)                                 
 800d5f0:	44 23 00 11 	be r1,r3,800d634 <IMFS_fsunmount+0xb4>         
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     }                                                                
     if ( jnode != NULL ) {                                           
 800d5f4:	45 60 00 08 	be r11,r0,800d614 <IMFS_fsunmount+0x94>        
       if ( jnode->type == IMFS_DIRECTORY ) {                         
 800d5f8:	29 61 00 4c 	lw r1,(r11+76)                                 
 800d5fc:	5c 2c ff f5 	bne r1,r12,800d5d0 <IMFS_fsunmount+0x50>       <== NEVER TAKEN
 800d600:	29 61 00 50 	lw r1,(r11+80)                                 
 800d604:	35 62 00 54 	addi r2,r11,84                                 
 800d608:	44 22 ff f2 	be r1,r2,800d5d0 <IMFS_fsunmount+0x50>         
         if ( jnode_has_children( jnode ) )                           
           jnode = jnode_get_first_child( jnode );                    
 800d60c:	b8 20 58 00 	mv r11,r1                                      
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
 800d610:	5c 20 ff f0 	bne r1,r0,800d5d0 <IMFS_fsunmount+0x50>        <== ALWAYS TAKEN
 800d614:	34 01 00 00 	mvi r1,0                                       
                                                                      
   return 0;                                                          
}                                                                     
 800d618:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800d61c:	2b 8b 00 14 	lw r11,(sp+20)                                 
 800d620:	2b 8c 00 10 	lw r12,(sp+16)                                 
 800d624:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 800d628:	2b 8e 00 08 	lw r14,(sp+8)                                  
 800d62c:	37 9c 00 28 	addi sp,sp,40                                  
 800d630:	c3 a0 00 00 	ret                                            
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
        result = IMFS_unlink( NULL, &loc );                           
 800d634:	34 01 00 00 	mvi r1,0                                       
 800d638:	b9 a0 10 00 	mv r2,r13                                      
 800d63c:	fb ff d3 79 	calli 8002420 <IMFS_unlink>                    
        if (result != 0)                                              
 800d640:	5c 20 00 03 	bne r1,r0,800d64c <IMFS_fsunmount+0xcc>        <== NEVER TAKEN
 800d644:	b9 c0 58 00 	mv r11,r14                                     
 800d648:	e3 ff ff eb 	bi 800d5f4 <IMFS_fsunmount+0x74>               
       if ( jnode->type == IMFS_DIRECTORY ) {                         
         if ( jnode_has_children( jnode ) )                           
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
 800d64c:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 800d650:	e3 ff ff f2 	bi 800d618 <IMFS_fsunmount+0x98>               <== NOT EXECUTED
                                                                      
08007158 <IMFS_get_token>:                                            
  const char       *path,                                             
  int               pathlen,                                          
  char             *token,                                            
  int              *token_len                                         
)                                                                     
{                                                                     
 8007158:	37 9c ff f0 	addi sp,sp,-16                                 
 800715c:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8007160:	5b 8c 00 08 	sw (sp+8),r12                                  
 8007164:	5b 9d 00 04 	sw (sp+4),ra                                   
  register char c;                                                    
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
 8007168:	40 25 00 00 	lbu r5,(r1+0)                                  
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
 800716c:	7c a6 00 5c 	cmpnei r6,r5,92                                
 8007170:	7c a7 00 2f 	cmpnei r7,r5,47                                
 8007174:	a0 e6 38 00 	and r7,r7,r6                                   
 8007178:	7c a6 00 00 	cmpnei r6,r5,0                                 
 800717c:	44 e0 00 38 	be r7,r0,800725c <IMFS_get_token+0x104>        
 8007180:	68 47 00 00 	cmpgi r7,r2,0                                  
 8007184:	a0 c7 38 00 	and r7,r6,r7                                   
 8007188:	44 e0 00 35 	be r7,r0,800725c <IMFS_get_token+0x104>        
                                                                      
     token[i] = c;                                                    
 800718c:	30 65 00 00 	sb (r3+0),r5                                   
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
 8007190:	34 0c 00 20 	mvi r12,32                                     
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
                                                                      
     token[i] = c;                                                    
 8007194:	34 05 00 00 	mvi r5,0                                       
       return IMFS_INVALID_TOKEN;                                     
                                                                      
     if ( !IMFS_is_valid_name_char(c) )                               
       type = IMFS_INVALID_TOKEN;                                     
                                                                      
     c = path [++i];                                                  
 8007198:	34 a5 00 01 	addi r5,r5,1                                   
 800719c:	b4 25 30 00 	add r6,r1,r5                                   
 80071a0:	40 c6 00 00 	lbu r6,(r6+0)                                  
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
 80071a4:	e8 45 48 00 	cmpg r9,r2,r5                                  
                                                                      
     token[i] = c;                                                    
 80071a8:	b4 65 58 00 	add r11,r3,r5                                  
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
 80071ac:	7c ca 00 5c 	cmpnei r10,r6,92                               
 80071b0:	7c c7 00 2f 	cmpnei r7,r6,47                                
 80071b4:	7c c8 00 00 	cmpnei r8,r6,0                                 
 80071b8:	a1 47 38 00 	and r7,r10,r7                                  
 80071bc:	a1 28 40 00 	and r8,r9,r8                                   
 80071c0:	44 e0 00 0b 	be r7,r0,80071ec <IMFS_get_token+0x94>         
 80071c4:	45 00 00 0a 	be r8,r0,80071ec <IMFS_get_token+0x94>         
                                                                      
     token[i] = c;                                                    
 80071c8:	31 66 00 00 	sb (r11+0),r6                                  
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
 80071cc:	5c ac ff f3 	bne r5,r12,8007198 <IMFS_get_token+0x40>       
 80071d0:	34 02 00 04 	mvi r2,4                                       
    else if ( strcmp( token, "." ) == 0 )                             
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
 80071d4:	b8 40 08 00 	mv r1,r2                                       
 80071d8:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80071dc:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 80071e0:	2b 8c 00 08 	lw r12,(sp+8)                                  
 80071e4:	37 9c 00 10 	addi sp,sp,16                                  
 80071e8:	c3 a0 00 00 	ret                                            
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
    }                                                                 
  } else if (token[ i-1 ] != '\0') {                                  
 80071ec:	b4 65 08 00 	add r1,r3,r5                                   
 80071f0:	40 22 ff ff 	lbu r2,(r1+-1)                                 
 80071f4:	44 40 00 03 	be r2,r0,8007200 <IMFS_get_token+0xa8>         <== NEVER TAKEN
    token[i] = '\0';                                                  
 80071f8:	34 02 00 00 	mvi r2,0                                       
 80071fc:	30 22 00 00 	sb (r1+0),r2                                   
   *  If we copied something that was not a seperator see if          
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
 8007200:	78 02 08 01 	mvhi r2,0x801                                  
 8007204:	38 42 b3 10 	ori r2,r2,0xb310                               
 8007208:	b8 60 08 00 	mv r1,r3                                       
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
 800720c:	58 85 00 00 	sw (r4+0),r5                                   
   *  If we copied something that was not a seperator see if          
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
 8007210:	5b 83 00 10 	sw (sp+16),r3                                  
 8007214:	f8 00 16 fc 	calli 800ce04 <strcmp>                         
 8007218:	34 02 00 02 	mvi r2,2                                       
 800721c:	2b 83 00 10 	lw r3,(sp+16)                                  
 8007220:	44 20 ff ed 	be r1,r0,80071d4 <IMFS_get_token+0x7c>         
      type = IMFS_UP_DIR;                                             
    else if ( strcmp( token, "." ) == 0 )                             
 8007224:	78 02 08 01 	mvhi r2,0x801                                  
 8007228:	b8 60 08 00 	mv r1,r3                                       
 800722c:	38 42 b3 0c 	ori r2,r2,0xb30c                               
 8007230:	f8 00 16 f5 	calli 800ce04 <strcmp>                         
 8007234:	7c 21 00 00 	cmpnei r1,r1,0                                 
 8007238:	c8 01 08 00 	sub r1,r0,r1                                   
 800723c:	20 22 00 02 	andi r2,r1,0x2                                 
 8007240:	34 42 00 01 	addi r2,r2,1                                   
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
 8007244:	b8 40 08 00 	mv r1,r2                                       
 8007248:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800724c:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8007250:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8007254:	37 9c 00 10 	addi sp,sp,16                                  
 8007258:	c3 a0 00 00 	ret                                            
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
 800725c:	7c 42 00 00 	cmpnei r2,r2,0                                 
  /*                                                                  
   *  Copy a seperator into token.                                    
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
 8007260:	30 65 00 00 	sb (r3+0),r5                                   
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
 8007264:	a0 c2 10 00 	and r2,r6,r2                                   
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
    }                                                                 
  } else if (token[ i-1 ] != '\0') {                                  
    token[i] = '\0';                                                  
 8007268:	b8 40 08 00 	mv r1,r2                                       
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
 800726c:	44 40 00 03 	be r2,r0,8007278 <IMFS_get_token+0x120>        
 8007270:	34 02 00 01 	mvi r2,1                                       
 8007274:	b8 40 08 00 	mv r1,r2                                       
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
 8007278:	58 81 00 00 	sw (r4+0),r1                                   
    else if ( strcmp( token, "." ) == 0 )                             
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
 800727c:	b8 40 08 00 	mv r1,r2                                       
 8007280:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8007284:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8007288:	2b 8c 00 08 	lw r12,(sp+8)                                  
 800728c:	37 9c 00 10 	addi sp,sp,16                                  
 8007290:	c3 a0 00 00 	ret                                            
                                                                      
08007294 <IMFS_initialize_support>:                                   
  rtems_filesystem_mount_table_entry_t        *temp_mt_entry,         
   const rtems_filesystem_operations_table    *op_table,              
   const rtems_filesystem_file_handlers_r     *memfile_handlers,      
   const rtems_filesystem_file_handlers_r     *directory_handlers     
)                                                                     
{                                                                     
 8007294:	37 9c ff ec 	addi sp,sp,-20                                 
 8007298:	5b 8b 00 14 	sw (sp+20),r11                                 
 800729c:	5b 8c 00 10 	sw (sp+16),r12                                 
 80072a0:	5b 8d 00 0c 	sw (sp+12),r13                                 
 80072a4:	5b 8e 00 08 	sw (sp+8),r14                                  
 80072a8:	5b 9d 00 04 	sw (sp+4),ra                                   
  IMFS_jnode_t                          *jnode;                       
                                                                      
  /*                                                                  
   * determine/check value for imfs_memfile_bytes_per_block           
   */                                                                 
  IMFS_determine_bytes_per_block(&imfs_memfile_bytes_per_block,       
 80072ac:	78 05 08 01 	mvhi r5,0x801                                  
 80072b0:	38 a5 c0 14 	ori r5,r5,0xc014                               
 80072b4:	28 a6 00 00 	lw r6,(r5+0)                                   
  rtems_filesystem_mount_table_entry_t        *temp_mt_entry,         
   const rtems_filesystem_operations_table    *op_table,              
   const rtems_filesystem_file_handlers_r     *memfile_handlers,      
   const rtems_filesystem_file_handlers_r     *directory_handlers     
)                                                                     
{                                                                     
 80072b8:	b8 20 58 00 	mv r11,r1                                      
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
 80072bc:	34 01 00 10 	mvi r1,16                                      
  rtems_filesystem_mount_table_entry_t        *temp_mt_entry,         
   const rtems_filesystem_operations_table    *op_table,              
   const rtems_filesystem_file_handlers_r     *memfile_handlers,      
   const rtems_filesystem_file_handlers_r     *directory_handlers     
)                                                                     
{                                                                     
 80072c0:	b8 40 68 00 	mv r13,r2                                      
 80072c4:	b8 60 70 00 	mv r14,r3                                      
 80072c8:	b8 80 60 00 	mv r12,r4                                      
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
 80072cc:	44 c1 00 09 	be r6,r1,80072f0 <IMFS_initialize_support+0x5c><== NEVER TAKEN
 80072d0:	34 05 00 00 	mvi r5,0                                       
 80072d4:	34 01 00 20 	mvi r1,32                                      
 80072d8:	34 07 00 05 	mvi r7,5                                       
 80072dc:	34 a5 00 01 	addi r5,r5,1                                   
 80072e0:	44 c1 00 04 	be r6,r1,80072f0 <IMFS_initialize_support+0x5c>
 80072e4:	b4 21 08 00 	add r1,r1,r1                                   
 80072e8:	5c a7 ff fd 	bne r5,r7,80072dc <IMFS_initialize_support+0x48><== ALWAYS TAKEN
 80072ec:	34 06 00 80 	mvi r6,128                                     <== NOT EXECUTED
    if (bit_mask == requested_bytes_per_block) {                      
      is_valid = true;                                                
    }                                                                 
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
 80072f0:	78 01 08 01 	mvhi r1,0x801                                  
 80072f4:	38 21 c6 24 	ori r1,r1,0xc624                               
 80072f8:	58 26 00 00 	sw (r1+0),r6                                   
  /*                                                                  
   *  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();
 80072fc:	f8 00 0d 4e 	calli 800a834 <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;
 8007300:	78 05 08 01 	mvhi r5,0x801                                  
 8007304:	38 a5 b5 2c 	ori r5,r5,0xb52c                               
 8007308:	28 a2 00 2c 	lw r2,(r5+44)                                  
  /*                                                                  
   *  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();
 800730c:	59 61 00 1c 	sw (r11+28),r1                                 
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
  temp_mt_entry->mt_fs_root.ops              = op_table;              
 8007310:	59 6d 00 28 	sw (r11+40),r13                                
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
 8007314:	59 62 00 64 	sw (r11+100),r2                                
 8007318:	28 a2 00 00 	lw r2,(r5+0)                                   
   *  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;    
 800731c:	59 6c 00 24 	sw (r11+36),r12                                
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
                                                                      
  /*                                                                  
   * Create custom file system data.                                  
   */                                                                 
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
 8007320:	34 01 00 01 	mvi r1,1                                       
   *  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;              
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
 8007324:	59 62 00 38 	sw (r11+56),r2                                 
 8007328:	28 a2 00 04 	lw r2,(r5+4)                                   
 800732c:	59 62 00 3c 	sw (r11+60),r2                                 
 8007330:	28 a2 00 08 	lw r2,(r5+8)                                   
 8007334:	59 62 00 40 	sw (r11+64),r2                                 
 8007338:	28 a2 00 0c 	lw r2,(r5+12)                                  
 800733c:	59 62 00 44 	sw (r11+68),r2                                 
 8007340:	28 a2 00 10 	lw r2,(r5+16)                                  
 8007344:	59 62 00 48 	sw (r11+72),r2                                 
 8007348:	28 a2 00 14 	lw r2,(r5+20)                                  
 800734c:	59 62 00 4c 	sw (r11+76),r2                                 
 8007350:	28 a2 00 18 	lw r2,(r5+24)                                  
 8007354:	59 62 00 50 	sw (r11+80),r2                                 
 8007358:	28 a2 00 1c 	lw r2,(r5+28)                                  
 800735c:	59 62 00 54 	sw (r11+84),r2                                 
 8007360:	28 a2 00 20 	lw r2,(r5+32)                                  
 8007364:	59 62 00 58 	sw (r11+88),r2                                 
 8007368:	28 a2 00 24 	lw r2,(r5+36)                                  
 800736c:	28 a5 00 28 	lw r5,(r5+40)                                  
 8007370:	59 62 00 5c 	sw (r11+92),r2                                 
 8007374:	59 65 00 60 	sw (r11+96),r5                                 
                                                                      
  /*                                                                  
   * Create custom file system data.                                  
   */                                                                 
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
 8007378:	34 02 00 0c 	mvi r2,12                                      
 800737c:	f8 00 00 dd 	calli 80076f0 <calloc>                         
  if ( !fs_info ) {                                                   
 8007380:	44 20 00 11 	be r1,r0,80073c4 <IMFS_initialize_support+0x130><== NEVER TAKEN
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
 8007384:	29 63 00 1c 	lw r3,(r11+28)                                 
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->ino_count             = 1;                                 
 8007388:	34 02 00 01 	mvi r2,1                                       
 800738c:	58 22 00 00 	sw (r1+0),r2                                   
  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;                                   
 8007390:	59 61 00 34 	sw (r11+52),r1                                 
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
 8007394:	58 2c 00 08 	sw (r1+8),r12                                  
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
 8007398:	58 2e 00 04 	sw (r1+4),r14                                  
  fs_info->directory_handlers    = directory_handlers;                
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
 800739c:	58 62 00 38 	sw (r3+56),r2                                  
                                                                      
  /* Initialize POSIX FIFO/pipe module */                             
  rtems_pipe_initialize();                                            
 80073a0:	f8 00 0a 75 	calli 8009d74 <rtems_pipe_initialize>          
 80073a4:	34 01 00 00 	mvi r1,0                                       
                                                                      
  return 0;                                                           
}                                                                     
 80073a8:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80073ac:	2b 8b 00 14 	lw r11,(sp+20)                                 
 80073b0:	2b 8c 00 10 	lw r12,(sp+16)                                 
 80073b4:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 80073b8:	2b 8e 00 08 	lw r14,(sp+8)                                  
 80073bc:	37 9c 00 14 	addi sp,sp,20                                  
 80073c0:	c3 a0 00 00 	ret                                            
  /*                                                                  
   * 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);                      
 80073c4:	29 61 00 1c 	lw r1,(r11+28)                                 <== NOT EXECUTED
 80073c8:	f8 00 01 21 	calli 800784c <free>                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
 80073cc:	f8 00 12 0e 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 80073d0:	34 02 00 0c 	mvi r2,12                                      <== NOT EXECUTED
 80073d4:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 80073d8:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 80073dc:	e3 ff ff f3 	bi 80073a8 <IMFS_initialize_support+0x114>     <== NOT EXECUTED
                                                                      
08002050 <IMFS_link>:                                                 
int IMFS_link(                                                        
  rtems_filesystem_location_info_t  *to_loc,      /* IN */            
  rtems_filesystem_location_info_t  *parent_loc,  /* IN */            
  const char                        *token        /* IN */            
)                                                                     
{                                                                     
 8002050:	37 9c ff a8 	addi sp,sp,-88                                 
 8002054:	5b 8b 00 10 	sw (sp+16),r11                                 
 8002058:	5b 8c 00 0c 	sw (sp+12),r12                                 
 800205c:	5b 8d 00 08 	sw (sp+8),r13                                  
 8002060:	5b 9d 00 04 	sw (sp+4),ra                                   
  int                i;                                               
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
 8002064:	28 24 00 00 	lw r4,(r1+0)                                   
int IMFS_link(                                                        
  rtems_filesystem_location_info_t  *to_loc,      /* IN */            
  rtems_filesystem_location_info_t  *parent_loc,  /* IN */            
  const char                        *token        /* IN */            
)                                                                     
{                                                                     
 8002068:	b8 60 58 00 	mv r11,r3                                      
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
  if ( info.hard_link.link_node->st_nlink >= LINK_MAX )               
 800206c:	34 03 00 07 	mvi r3,7                                       
  int                i;                                               
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
 8002070:	5b 84 00 38 	sw (sp+56),r4                                  
  if ( info.hard_link.link_node->st_nlink >= LINK_MAX )               
 8002074:	2c 84 00 34 	lhu r4,(r4+52)                                 
int IMFS_link(                                                        
  rtems_filesystem_location_info_t  *to_loc,      /* IN */            
  rtems_filesystem_location_info_t  *parent_loc,  /* IN */            
  const char                        *token        /* IN */            
)                                                                     
{                                                                     
 8002078:	b8 40 68 00 	mv r13,r2                                      
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
  if ( info.hard_link.link_node->st_nlink >= LINK_MAX )               
 800207c:	50 64 00 06 	bgeu r3,r4,8002094 <IMFS_link+0x44>            
    rtems_set_errno_and_return_minus_one( EMLINK );                   
 8002080:	f8 00 41 78 	calli 8012660 <__errno>                        
 8002084:	34 02 00 1f 	mvi r2,31                                      
 8002088:	58 22 00 00 	sw (r1+0),r2                                   
 800208c:	34 01 ff ff 	mvi r1,-1                                      
 8002090:	e0 00 00 1b 	bi 80020fc <IMFS_link+0xac>                    
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
  IMFS_get_token( token, strlen( token ), new_name, &i );             
 8002094:	b9 60 08 00 	mv r1,r11                                      
 8002098:	f8 00 46 23 	calli 8013924 <strlen>                         
 800209c:	37 8c 00 14 	addi r12,sp,20                                 
 80020a0:	b8 20 10 00 	mv r2,r1                                       
 80020a4:	b9 80 18 00 	mv r3,r12                                      
 80020a8:	37 84 00 58 	addi r4,sp,88                                  
 80020ac:	b9 60 08 00 	mv r1,r11                                      
 80020b0:	f8 00 2d a0 	calli 800d730 <IMFS_get_token>                 
   *        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.                                                
   */                                                                 
  new_node = IMFS_create_node(                                        
 80020b4:	b9 a0 08 00 	mv r1,r13                                      
 80020b8:	b9 80 18 00 	mv r3,r12                                      
 80020bc:	34 02 00 03 	mvi r2,3                                       
 80020c0:	38 04 a1 ff 	mvu r4,0xa1ff                                  
 80020c4:	37 85 00 38 	addi r5,sp,56                                  
 80020c8:	f8 00 29 a0 	calli 800c748 <IMFS_create_node>               
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
 80020cc:	44 20 00 12 	be r1,r0,8002114 <IMFS_link+0xc4>              <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  /*                                                                  
   * Increment the link count of the node being pointed to.           
   */                                                                 
  info.hard_link.link_node->st_nlink++;                               
 80020d0:	2b 83 00 38 	lw r3,(sp+56)                                  
  IMFS_update_ctime( info.hard_link.link_node );                      
 80020d4:	34 02 00 00 	mvi r2,0                                       
 80020d8:	37 81 00 50 	addi r1,sp,80                                  
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  /*                                                                  
   * Increment the link count of the node being pointed to.           
   */                                                                 
  info.hard_link.link_node->st_nlink++;                               
 80020dc:	2c 64 00 34 	lhu r4,(r3+52)                                 
 80020e0:	34 84 00 01 	addi r4,r4,1                                   
 80020e4:	0c 64 00 34 	sh (r3+52),r4                                  
  IMFS_update_ctime( info.hard_link.link_node );                      
 80020e8:	f8 00 02 e2 	calli 8002c70 <gettimeofday>                   
 80020ec:	2b 82 00 38 	lw r2,(sp+56)                                  
 80020f0:	2b 83 00 50 	lw r3,(sp+80)                                  
 80020f4:	34 01 00 00 	mvi r1,0                                       
 80020f8:	58 43 00 48 	sw (r2+72),r3                                  
                                                                      
  return 0;                                                           
}                                                                     
 80020fc:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8002100:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8002104:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8002108:	2b 8d 00 08 	lw r13,(sp+8)                                  
 800210c:	37 9c 00 58 	addi sp,sp,88                                  
 8002110:	c3 a0 00 00 	ret                                            
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
 8002114:	f8 00 41 53 	calli 8012660 <__errno>                        <== NOT EXECUTED
 8002118:	34 02 00 0c 	mvi r2,12                                      <== NOT EXECUTED
 800211c:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8002120:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8002124:	e3 ff ff f6 	bi 80020fc <IMFS_link+0xac>                    <== NOT EXECUTED
                                                                      
08010cac <IMFS_memfile_addblock>:                                     
                                                                      
MEMFILE_STATIC int IMFS_memfile_addblock(                             
   IMFS_jnode_t  *the_jnode,                                          
   unsigned int   block                                               
)                                                                     
{                                                                     
 8010cac:	37 9c ff f4 	addi sp,sp,-12                                 
 8010cb0:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8010cb4:	5b 8c 00 08 	sw (sp+8),r12                                  
 8010cb8:	5b 9d 00 04 	sw (sp+4),ra                                   
  block_p  memory;                                                    
  block_p *block_entry_ptr;                                           
                                                                      
  assert( the_jnode );                                                
 8010cbc:	44 20 00 16 	be r1,r0,8010d14 <IMFS_memfile_addblock+0x68>  <== NEVER TAKEN
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
 8010cc0:	28 24 00 4c 	lw r4,(r1+76)                                  
 8010cc4:	34 03 00 05 	mvi r3,5                                       
 8010cc8:	5c 83 00 1b 	bne r4,r3,8010d34 <IMFS_memfile_addblock+0x88> <== NEVER TAKEN
  if ( the_jnode->type != IMFS_MEMORY_FILE )                          
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 1 );
 8010ccc:	34 03 00 01 	mvi r3,1                                       
 8010cd0:	fb ff fe 3f 	calli 80105cc <IMFS_memfile_get_block_pointer> 
  if ( *block_entry_ptr )                                             
 8010cd4:	28 2b 00 00 	lw r11,(r1+0)                                  
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
  if ( the_jnode->type != IMFS_MEMORY_FILE )                          
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 1 );
 8010cd8:	b8 20 60 00 	mv r12,r1                                      
  if ( *block_entry_ptr )                                             
 8010cdc:	34 01 00 00 	mvi r1,0                                       
 8010ce0:	45 61 00 06 	be r11,r1,8010cf8 <IMFS_memfile_addblock+0x4c> 
  if ( !memory )                                                      
    return 1;                                                         
  *block_entry_ptr = memory;                                          
                                                                      
  return 0;                                                           
}                                                                     
 8010ce4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8010ce8:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8010cec:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8010cf0:	37 9c 00 0c 	addi sp,sp,12                                  
 8010cf4:	c3 a0 00 00 	ret                                            
#if 0                                                                 
  fprintf(stdout, "%d %p", block, block_entry_ptr );                  
    fflush(stdout);                                                   
#endif                                                                
                                                                      
  memory = memfile_alloc_block();                                     
 8010cf8:	fb ff fe 25 	calli 801058c <memfile_alloc_block>            
 8010cfc:	b8 20 10 00 	mv r2,r1                                       
  if ( !memory )                                                      
 8010d00:	34 01 00 01 	mvi r1,1                                       
 8010d04:	44 4b ff f8 	be r2,r11,8010ce4 <IMFS_memfile_addblock+0x38> <== NEVER TAKEN
    return 1;                                                         
  *block_entry_ptr = memory;                                          
 8010d08:	59 82 00 00 	sw (r12+0),r2                                  
 8010d0c:	b9 60 08 00 	mv r1,r11                                      
                                                                      
  return 0;                                                           
 8010d10:	e3 ff ff f5 	bi 8010ce4 <IMFS_memfile_addblock+0x38>        
)                                                                     
{                                                                     
  block_p  memory;                                                    
  block_p *block_entry_ptr;                                           
                                                                      
  assert( the_jnode );                                                
 8010d14:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8010d18:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8010d1c:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 8010d20:	38 21 2d 14 	ori r1,r1,0x2d14                               <== NOT EXECUTED
 8010d24:	38 63 2e 98 	ori r3,r3,0x2e98                               <== NOT EXECUTED
 8010d28:	38 84 2d 5c 	ori r4,r4,0x2d5c                               <== NOT EXECUTED
 8010d2c:	34 02 01 69 	mvi r2,361                                     <== NOT EXECUTED
 8010d30:	fb ff f3 3b 	calli 800da1c <__assert_func>                  <== NOT EXECUTED
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
 8010d34:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8010d38:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8010d3c:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 8010d40:	38 21 2d 14 	ori r1,r1,0x2d14                               <== NOT EXECUTED
 8010d44:	38 63 2e 98 	ori r3,r3,0x2e98                               <== NOT EXECUTED
 8010d48:	38 84 2d 68 	ori r4,r4,0x2d68                               <== NOT EXECUTED
 8010d4c:	34 02 01 6d 	mvi r2,365                                     <== NOT EXECUTED
 8010d50:	fb ff f3 33 	calli 800da1c <__assert_func>                  <== NOT EXECUTED
                                                                      
08010d54 <IMFS_memfile_extend>:                                       
                                                                      
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
 8010d54:	37 9c ff e0 	addi sp,sp,-32                                 
 8010d58:	5b 8b 00 20 	sw (sp+32),r11                                 
 8010d5c:	5b 8c 00 1c 	sw (sp+28),r12                                 
 8010d60:	5b 8d 00 18 	sw (sp+24),r13                                 
 8010d64:	5b 8e 00 14 	sw (sp+20),r14                                 
 8010d68:	5b 8f 00 10 	sw (sp+16),r15                                 
 8010d6c:	5b 90 00 0c 	sw (sp+12),r16                                 
 8010d70:	5b 91 00 08 	sw (sp+8),r17                                  
 8010d74:	5b 9d 00 04 	sw (sp+4),ra                                   
 8010d78:	b8 20 60 00 	mv r12,r1                                      
 8010d7c:	b8 40 78 00 	mv r15,r2                                      
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
 8010d80:	44 20 00 59 	be r1,r0,8010ee4 <IMFS_memfile_extend+0x190>   <== NEVER TAKEN
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
 8010d84:	28 22 00 4c 	lw r2,(r1+76)                                  
 8010d88:	34 01 00 05 	mvi r1,5                                       
 8010d8c:	5c 41 00 4e 	bne r2,r1,8010ec4 <IMFS_memfile_extend+0x170>  <== NEVER TAKEN
  if ( the_jnode->type != IMFS_MEMORY_FILE )                          
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
 8010d90:	78 01 08 02 	mvhi r1,0x802                                  
 8010d94:	38 21 46 4c 	ori r1,r1,0x464c                               
 8010d98:	28 2b 00 00 	lw r11,(r1+0)                                  
 8010d9c:	34 02 00 02 	mvi r2,2                                       
 8010da0:	b9 60 08 00 	mv r1,r11                                      
 8010da4:	fb ff bf b8 	calli 8000c84 <__lshrsi3>                      
 8010da8:	b8 20 10 00 	mv r2,r1                                       
 8010dac:	b8 20 68 00 	mv r13,r1                                      
 8010db0:	34 21 00 01 	addi r1,r1,1                                   
 8010db4:	f8 00 41 ec 	calli 8021564 <__mulsi3>                       
 8010db8:	b9 a0 10 00 	mv r2,r13                                      
 8010dbc:	34 21 00 01 	addi r1,r1,1                                   
 8010dc0:	f8 00 41 e9 	calli 8021564 <__mulsi3>                       
 8010dc4:	34 21 ff ff 	addi r1,r1,-1                                  
 8010dc8:	b9 60 10 00 	mv r2,r11                                      
 8010dcc:	f8 00 41 e6 	calli 8021564 <__mulsi3>                       
 8010dd0:	54 2f 00 06 	bgu r1,r15,8010de8 <IMFS_memfile_extend+0x94>  <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 8010dd4:	f8 00 06 23 	calli 8012660 <__errno>                        <== NOT EXECUTED
 8010dd8:	34 02 00 16 	mvi r2,22                                      <== NOT EXECUTED
 8010ddc:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8010de0:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8010de4:	e0 00 00 0a 	bi 8010e0c <IMFS_memfile_extend+0xb8>          <== NOT EXECUTED
                                                                      
  if ( new_length <= the_jnode->info.file.size )                      
 8010de8:	b9 e0 08 00 	mv r1,r15                                      
 8010dec:	34 02 00 1f 	mvi r2,31                                      
 8010df0:	fb ff bf cd 	calli 8000d24 <__ashrsi3>                      
 8010df4:	29 8d 00 50 	lw r13,(r12+80)                                
 8010df8:	b8 20 80 00 	mv r16,r1                                      
 8010dfc:	29 91 00 54 	lw r17,(r12+84)                                
 8010e00:	48 2d 00 0d 	bg r1,r13,8010e34 <IMFS_memfile_extend+0xe0>   <== NEVER TAKEN
 8010e04:	44 2d 00 2e 	be r1,r13,8010ebc <IMFS_memfile_extend+0x168>  <== ALWAYS TAKEN
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
                                                                      
  the_jnode->info.file.size = new_length;                             
 8010e08:	34 01 00 00 	mvi r1,0                                       
  return 0;                                                           
}                                                                     
 8010e0c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8010e10:	2b 8b 00 20 	lw r11,(sp+32)                                 
 8010e14:	2b 8c 00 1c 	lw r12,(sp+28)                                 
 8010e18:	2b 8d 00 18 	lw r13,(sp+24)                                 
 8010e1c:	2b 8e 00 14 	lw r14,(sp+20)                                 
 8010e20:	2b 8f 00 10 	lw r15,(sp+16)                                 
 8010e24:	2b 90 00 0c 	lw r16,(sp+12)                                 
 8010e28:	2b 91 00 08 	lw r17,(sp+8)                                  
 8010e2c:	37 9c 00 20 	addi sp,sp,32                                  
 8010e30:	c3 a0 00 00 	ret                                            
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
 8010e34:	b9 60 10 00 	mv r2,r11                                      
 8010e38:	b9 e0 08 00 	mv r1,r15                                      
 8010e3c:	f8 00 41 ea 	calli 80215e4 <__divsi3>                       
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
 8010e40:	34 02 00 1f 	mvi r2,31                                      
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
 8010e44:	b8 20 70 00 	mv r14,r1                                      
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
 8010e48:	b9 60 08 00 	mv r1,r11                                      
 8010e4c:	fb ff bf b6 	calli 8000d24 <__ashrsi3>                      
 8010e50:	b8 20 18 00 	mv r3,r1                                       
 8010e54:	ba 20 10 00 	mv r2,r17                                      
 8010e58:	b9 a0 08 00 	mv r1,r13                                      
 8010e5c:	b9 60 20 00 	mv r4,r11                                      
 8010e60:	f8 00 2c 90 	calli 801c0a0 <__divdi3>                       
 8010e64:	b8 40 68 00 	mv r13,r2                                      
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
 8010e68:	54 4e 00 08 	bgu r2,r14,8010e88 <IMFS_memfile_extend+0x134> <== NEVER TAKEN
 8010e6c:	b8 40 58 00 	mv r11,r2                                      
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
 8010e70:	b9 80 08 00 	mv r1,r12                                      
 8010e74:	b9 60 10 00 	mv r2,r11                                      
 8010e78:	fb ff ff 8d 	calli 8010cac <IMFS_memfile_addblock>          
 8010e7c:	5c 20 00 0a 	bne r1,r0,8010ea4 <IMFS_memfile_extend+0x150>  <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
 8010e80:	35 6b 00 01 	addi r11,r11,1                                 
 8010e84:	51 cb ff fb 	bgeu r14,r11,8010e70 <IMFS_memfile_extend+0x11c>
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
                                                                      
  the_jnode->info.file.size = new_length;                             
 8010e88:	59 8f 00 54 	sw (r12+84),r15                                
 8010e8c:	59 90 00 50 	sw (r12+80),r16                                
 8010e90:	e3 ff ff de 	bi 8010e08 <IMFS_memfile_extend+0xb4>          
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
       for ( ; block>=old_blocks ; block-- ) {                        
          IMFS_memfile_remove_block( the_jnode, block );              
 8010e94:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 8010e98:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
   *  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-- ) {                        
 8010e9c:	35 6b ff ff 	addi r11,r11,-1                                <== NOT EXECUTED
          IMFS_memfile_remove_block( the_jnode, block );              
 8010ea0:	fb ff fe a2 	calli 8010928 <IMFS_memfile_remove_block>      <== NOT EXECUTED
   *  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-- ) {                        
 8010ea4:	51 6d ff fc 	bgeu r11,r13,8010e94 <IMFS_memfile_extend+0x140><== NOT EXECUTED
          IMFS_memfile_remove_block( the_jnode, block );              
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
 8010ea8:	f8 00 05 ee 	calli 8012660 <__errno>                        <== NOT EXECUTED
 8010eac:	34 02 00 1c 	mvi r2,28                                      <== NOT EXECUTED
 8010eb0:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8010eb4:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8010eb8:	e3 ff ff d5 	bi 8010e0c <IMFS_memfile_extend+0xb8>          <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( new_length <= the_jnode->info.file.size )                      
 8010ebc:	55 f1 ff de 	bgu r15,r17,8010e34 <IMFS_memfile_extend+0xe0> 
 8010ec0:	e3 ff ff d2 	bi 8010e08 <IMFS_memfile_extend+0xb4>          
                                                                      
  assert( the_jnode );                                                
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
 8010ec4:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8010ec8:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8010ecc:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 8010ed0:	38 21 2d 14 	ori r1,r1,0x2d14                               <== NOT EXECUTED
 8010ed4:	38 63 2e b0 	ori r3,r3,0x2eb0                               <== NOT EXECUTED
 8010ed8:	38 84 2d 68 	ori r4,r4,0x2d68                               <== NOT EXECUTED
 8010edc:	34 02 01 35 	mvi r2,309                                     <== NOT EXECUTED
 8010ee0:	fb ff f2 cf 	calli 800da1c <__assert_func>                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
 8010ee4:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8010ee8:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8010eec:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 8010ef0:	38 21 2d 14 	ori r1,r1,0x2d14                               <== NOT EXECUTED
 8010ef4:	38 63 2e b0 	ori r3,r3,0x2eb0                               <== NOT EXECUTED
 8010ef8:	38 84 2d 5c 	ori r4,r4,0x2d5c                               <== NOT EXECUTED
 8010efc:	34 02 01 31 	mvi r2,305                                     <== NOT EXECUTED
 8010f00:	fb ff f2 c7 	calli 800da1c <__assert_func>                  <== NOT EXECUTED
                                                                      
080105cc <IMFS_memfile_get_block_pointer>:                            
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
 80105cc:	37 9c ff e4 	addi sp,sp,-28                                 
 80105d0:	5b 8b 00 1c 	sw (sp+28),r11                                 
 80105d4:	5b 8c 00 18 	sw (sp+24),r12                                 
 80105d8:	5b 8d 00 14 	sw (sp+20),r13                                 
 80105dc:	5b 8e 00 10 	sw (sp+16),r14                                 
 80105e0:	5b 8f 00 0c 	sw (sp+12),r15                                 
 80105e4:	5b 90 00 08 	sw (sp+8),r16                                  
 80105e8:	5b 9d 00 04 	sw (sp+4),ra                                   
 80105ec:	b8 20 58 00 	mv r11,r1                                      
 80105f0:	b8 40 60 00 	mv r12,r2                                      
 80105f4:	b8 60 70 00 	mv r14,r3                                      
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
 80105f8:	44 20 00 88 	be r1,r0,8010818 <IMFS_memfile_get_block_pointer+0x24c><== NEVER TAKEN
  if ( !the_jnode )                                                   
    return NULL;                                                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
 80105fc:	28 22 00 4c 	lw r2,(r1+76)                                  
 8010600:	34 01 00 05 	mvi r1,5                                       
 8010604:	5c 41 00 8d 	bne r2,r1,8010838 <IMFS_memfile_get_block_pointer+0x26c><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_INDIRECT ) {                                  
 8010608:	78 01 08 02 	mvhi r1,0x802                                  
 801060c:	38 21 46 4c 	ori r1,r1,0x464c                               
 8010610:	28 21 00 00 	lw r1,(r1+0)                                   
 8010614:	34 02 00 02 	mvi r2,2                                       
 8010618:	fb ff c1 9b 	calli 8000c84 <__lshrsi3>                      
 801061c:	b8 20 68 00 	mv r13,r1                                      
 8010620:	34 21 ff ff 	addi r1,r1,-1                                  
 8010624:	55 81 00 09 	bgu r12,r1,8010648 <IMFS_memfile_get_block_pointer+0x7c><== NEVER TAKEN
#if 0                                                                 
fprintf(stdout, "(s %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
    p = info->indirect;                                               
 8010628:	29 6d 00 58 	lw r13,(r11+88)                                
                                                                      
    if ( malloc_it ) {                                                
 801062c:	45 c0 00 5d 	be r14,r0,80107a0 <IMFS_memfile_get_block_pointer+0x1d4>
                                                                      
      if ( !p ) {                                                     
 8010630:	45 a0 00 5f 	be r13,r0,80107ac <IMFS_memfile_get_block_pointer+0x1e0>
    }                                                                 
                                                                      
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return &info->indirect[ my_block ];                               
 8010634:	b9 80 08 00 	mv r1,r12                                      
 8010638:	34 02 00 02 	mvi r2,2                                       
 801063c:	fb ff c1 6a 	calli 8000be4 <__ashlsi3>                      
 8010640:	b5 a1 08 00 	add r1,r13,r1                                  
 8010644:	e0 00 00 1d 	bi 80106b8 <IMFS_memfile_get_block_pointer+0xec>
                                                                      
  /*                                                                  
   *  Is the block number in the doubly indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
 8010648:	35 a1 00 01 	addi r1,r13,1                                  <== NOT EXECUTED
 801064c:	b9 a0 10 00 	mv r2,r13                                      <== NOT EXECUTED
 8010650:	f8 00 43 c5 	calli 8021564 <__mulsi3>                       <== NOT EXECUTED
 8010654:	b8 20 78 00 	mv r15,r1                                      <== NOT EXECUTED
 8010658:	34 21 ff ff 	addi r1,r1,-1                                  <== NOT EXECUTED
 801065c:	55 81 00 20 	bgu r12,r1,80106dc <IMFS_memfile_get_block_pointer+0x110><== NOT EXECUTED
#if 0                                                                 
fprintf(stdout, "(d %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
 8010660:	c9 8d 60 00 	sub r12,r12,r13                                <== NOT EXECUTED
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
 8010664:	b9 a0 10 00 	mv r2,r13                                      <== NOT EXECUTED
 8010668:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 801066c:	f8 00 44 4d 	calli 80217a0 <__umodsi3>                      <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
 8010670:	b9 a0 10 00 	mv r2,r13                                      <== NOT EXECUTED
fflush(stdout);                                                       
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
 8010674:	b8 20 78 00 	mv r15,r1                                      <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
 8010678:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 801067c:	f8 00 44 39 	calli 8021760 <__udivsi3>                      <== NOT EXECUTED
 8010680:	b8 20 68 00 	mv r13,r1                                      <== NOT EXECUTED
                                                                      
    p = info->doubly_indirect;                                        
 8010684:	29 6c 00 5c 	lw r12,(r11+92)                                <== NOT EXECUTED
    if ( malloc_it ) {                                                
 8010688:	45 c0 00 3e 	be r14,r0,8010780 <IMFS_memfile_get_block_pointer+0x1b4><== NOT EXECUTED
                                                                      
      if ( !p ) {                                                     
 801068c:	45 80 00 4d 	be r12,r0,80107c0 <IMFS_memfile_get_block_pointer+0x1f4><== NOT EXECUTED
        if ( !p )                                                     
           return 0;                                                  
        info->doubly_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
 8010690:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 8010694:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 8010698:	fb ff c1 53 	calli 8000be4 <__ashlsi3>                      <== NOT EXECUTED
 801069c:	b5 81 60 00 	add r12,r12,r1                                 <== NOT EXECUTED
 80106a0:	29 8b 00 00 	lw r11,(r12+0)                                 <== NOT EXECUTED
      if ( !p1 ) {                                                    
 80106a4:	45 60 00 32 	be r11,r0,801076c <IMFS_memfile_get_block_pointer+0x1a0><== NOT EXECUTED
        p2 = memfile_alloc_block();                                   
        if ( !p2 )                                                    
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
      }                                                               
      return (block_p *)&p2[ singly ];                                
 80106a8:	b9 e0 08 00 	mv r1,r15                                      <== NOT EXECUTED
 80106ac:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 80106b0:	fb ff c1 4d 	calli 8000be4 <__ashlsi3>                      <== NOT EXECUTED
 80106b4:	b5 61 08 00 	add r1,r11,r1                                  <== NOT EXECUTED
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
 80106b8:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80106bc:	2b 8b 00 1c 	lw r11,(sp+28)                                 
 80106c0:	2b 8c 00 18 	lw r12,(sp+24)                                 
 80106c4:	2b 8d 00 14 	lw r13,(sp+20)                                 
 80106c8:	2b 8e 00 10 	lw r14,(sp+16)                                 
 80106cc:	2b 8f 00 0c 	lw r15,(sp+12)                                 
 80106d0:	2b 90 00 08 	lw r16,(sp+8)                                  
 80106d4:	37 9c 00 1c 	addi sp,sp,28                                  
 80106d8:	c3 a0 00 00 	ret                                            
#endif                                                                
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
 80106dc:	35 e1 00 01 	addi r1,r15,1                                  <== NOT EXECUTED
 80106e0:	b9 a0 10 00 	mv r2,r13                                      <== NOT EXECUTED
 80106e4:	f8 00 43 a0 	calli 8021564 <__mulsi3>                       <== NOT EXECUTED
 80106e8:	34 21 ff ff 	addi r1,r1,-1                                  <== NOT EXECUTED
 80106ec:	55 81 00 2b 	bgu r12,r1,8010798 <IMFS_memfile_get_block_pointer+0x1cc><== NOT EXECUTED
    my_block -= FIRST_TRIPLY_INDIRECT;                                
 80106f0:	c9 8f 60 00 	sub r12,r12,r15                                <== NOT EXECUTED
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
 80106f4:	b9 a0 10 00 	mv r2,r13                                      <== NOT EXECUTED
 80106f8:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 80106fc:	f8 00 44 29 	calli 80217a0 <__umodsi3>                      <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
 8010700:	b9 a0 10 00 	mv r2,r13                                      <== NOT EXECUTED
   */                                                                 
                                                                      
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
 8010704:	b8 20 78 00 	mv r15,r1                                      <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
 8010708:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 801070c:	f8 00 44 15 	calli 8021760 <__udivsi3>                      <== NOT EXECUTED
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
 8010710:	b9 a0 10 00 	mv r2,r13                                      <== NOT EXECUTED
                                                                      
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
 8010714:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
 8010718:	f8 00 44 12 	calli 8021760 <__udivsi3>                      <== NOT EXECUTED
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
 801071c:	b9 a0 10 00 	mv r2,r13                                      <== NOT EXECUTED
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
 8010720:	b8 20 80 00 	mv r16,r1                                      <== NOT EXECUTED
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
 8010724:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8010728:	f8 00 44 1e 	calli 80217a0 <__umodsi3>                      <== NOT EXECUTED
 801072c:	b8 20 68 00 	mv r13,r1                                      <== NOT EXECUTED
                                                                      
    p = info->triply_indirect;                                        
 8010730:	29 6c 00 60 	lw r12,(r11+96)                                <== NOT EXECUTED
                                                                      
    if ( malloc_it ) {                                                
 8010734:	45 c0 00 28 	be r14,r0,80107d4 <IMFS_memfile_get_block_pointer+0x208><== NOT EXECUTED
      if ( !p ) {                                                     
 8010738:	45 80 00 48 	be r12,r0,8010858 <IMFS_memfile_get_block_pointer+0x28c><== NOT EXECUTED
        if ( !p )                                                     
           return 0;                                                  
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
 801073c:	ba 00 08 00 	mv r1,r16                                      <== NOT EXECUTED
 8010740:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 8010744:	fb ff c1 28 	calli 8000be4 <__ashlsi3>                      <== NOT EXECUTED
 8010748:	b5 81 60 00 	add r12,r12,r1                                 <== NOT EXECUTED
 801074c:	29 8b 00 00 	lw r11,(r12+0)                                 <== NOT EXECUTED
      if ( !p1 ) {                                                    
 8010750:	45 60 00 47 	be r11,r0,801086c <IMFS_memfile_get_block_pointer+0x2a0><== NOT EXECUTED
        if ( !p1 )                                                    
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
 8010754:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 8010758:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 801075c:	fb ff c1 22 	calli 8000be4 <__ashlsi3>                      <== NOT EXECUTED
 8010760:	b5 61 60 00 	add r12,r11,r1                                 <== NOT EXECUTED
 8010764:	29 8b 00 00 	lw r11,(r12+0)                                 <== NOT EXECUTED
      if ( !p2 ) {                                                    
 8010768:	5d 60 ff d0 	bne r11,r0,80106a8 <IMFS_memfile_get_block_pointer+0xdc><== NOT EXECUTED
        p2 = memfile_alloc_block();                                   
 801076c:	fb ff ff 88 	calli 801058c <memfile_alloc_block>            <== NOT EXECUTED
 8010770:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
        if ( !p2 )                                                    
 8010774:	44 20 00 09 	be r1,r0,8010798 <IMFS_memfile_get_block_pointer+0x1cc><== NOT EXECUTED
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
 8010778:	59 81 00 00 	sw (r12+0),r1                                  <== NOT EXECUTED
 801077c:	e3 ff ff cb 	bi 80106a8 <IMFS_memfile_get_block_pointer+0xdc><== NOT EXECUTED
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
 8010780:	45 8e 00 06 	be r12,r14,8010798 <IMFS_memfile_get_block_pointer+0x1cc><== NOT EXECUTED
      return 0;                                                       
                                                                      
    p = (block_p *)p[ doubly ];                                       
 8010784:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 8010788:	fb ff c1 17 	calli 8000be4 <__ashlsi3>                      <== NOT EXECUTED
 801078c:	b5 81 08 00 	add r1,r12,r1                                  <== NOT EXECUTED
 8010790:	28 2b 00 00 	lw r11,(r1+0)                                  <== NOT EXECUTED
    if ( !p )                                                         
 8010794:	5d 60 ff c5 	bne r11,r0,80106a8 <IMFS_memfile_get_block_pointer+0xdc><== NOT EXECUTED
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
 8010798:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 801079c:	e3 ff ff c7 	bi 80106b8 <IMFS_memfile_get_block_pointer+0xec><== NOT EXECUTED
        info->indirect = p;                                           
      }                                                               
      return &info->indirect[ my_block ];                             
    }                                                                 
                                                                      
    if ( !p )                                                         
 80107a0:	5d ae ff a5 	bne r13,r14,8010634 <IMFS_memfile_get_block_pointer+0x68><== ALWAYS TAKEN
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
 80107a4:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 80107a8:	e3 ff ff c4 	bi 80106b8 <IMFS_memfile_get_block_pointer+0xec><== NOT EXECUTED
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
 80107ac:	fb ff ff 78 	calli 801058c <memfile_alloc_block>            
 80107b0:	b8 20 68 00 	mv r13,r1                                      
        if ( !p )                                                     
 80107b4:	44 20 ff f9 	be r1,r0,8010798 <IMFS_memfile_get_block_pointer+0x1cc><== NEVER TAKEN
           return 0;                                                  
        info->indirect = p;                                           
 80107b8:	59 61 00 58 	sw (r11+88),r1                                 
 80107bc:	e3 ff ff 9e 	bi 8010634 <IMFS_memfile_get_block_pointer+0x68>
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
 80107c0:	fb ff ff 73 	calli 801058c <memfile_alloc_block>            <== NOT EXECUTED
 80107c4:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
        if ( !p )                                                     
 80107c8:	44 20 ff f4 	be r1,r0,8010798 <IMFS_memfile_get_block_pointer+0x1cc><== NOT EXECUTED
           return 0;                                                  
        info->doubly_indirect = p;                                    
 80107cc:	59 61 00 5c 	sw (r11+92),r1                                 <== NOT EXECUTED
 80107d0:	e3 ff ff b0 	bi 8010690 <IMFS_memfile_get_block_pointer+0xc4><== NOT EXECUTED
        p1[ doubly ] = (block_p) p2;                                  
      }                                                               
      return (block_p *)&p2[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
 80107d4:	45 8e ff f1 	be r12,r14,8010798 <IMFS_memfile_get_block_pointer+0x1cc><== NOT EXECUTED
                                                                      
#if 0                                                                 
fprintf(stdout, "(t %d %d %d %d %d) ", block, my_block, triply, doubly, singly );
fflush(stdout);                                                       
#endif                                                                
    p1 = (block_p *) p[ triply ];                                     
 80107d8:	ba 00 08 00 	mv r1,r16                                      <== NOT EXECUTED
 80107dc:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 80107e0:	fb ff c1 01 	calli 8000be4 <__ashlsi3>                      <== NOT EXECUTED
 80107e4:	b5 81 08 00 	add r1,r12,r1                                  <== NOT EXECUTED
 80107e8:	28 2b 00 00 	lw r11,(r1+0)                                  <== NOT EXECUTED
    if ( !p1 )                                                        
 80107ec:	45 60 ff eb 	be r11,r0,8010798 <IMFS_memfile_get_block_pointer+0x1cc><== NOT EXECUTED
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
 80107f0:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 80107f4:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 80107f8:	fb ff c0 fb 	calli 8000be4 <__ashlsi3>                      <== NOT EXECUTED
 80107fc:	b5 61 58 00 	add r11,r11,r1                                 <== NOT EXECUTED
 8010800:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 8010804:	b9 e0 08 00 	mv r1,r15                                      <== NOT EXECUTED
 8010808:	fb ff c0 f7 	calli 8000be4 <__ashlsi3>                      <== NOT EXECUTED
 801080c:	29 62 00 00 	lw r2,(r11+0)                                  <== NOT EXECUTED
 8010810:	b4 41 08 00 	add r1,r2,r1                                   <== NOT EXECUTED
 8010814:	e3 ff ff a9 	bi 80106b8 <IMFS_memfile_get_block_pointer+0xec><== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
 8010818:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 801081c:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8010820:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 8010824:	38 21 2d 14 	ori r1,r1,0x2d14                               <== NOT EXECUTED
 8010828:	38 63 2e 00 	ori r3,r3,0x2e00                               <== NOT EXECUTED
 801082c:	38 84 2d 5c 	ori r4,r4,0x2d5c                               <== NOT EXECUTED
 8010830:	34 02 03 88 	mvi r2,904                                     <== NOT EXECUTED
 8010834:	fb ff f4 7a 	calli 800da1c <__assert_func>                  <== NOT EXECUTED
  if ( !the_jnode )                                                   
    return NULL;                                                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
 8010838:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 801083c:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8010840:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 8010844:	38 21 2d 14 	ori r1,r1,0x2d14                               <== NOT EXECUTED
 8010848:	38 63 2e 00 	ori r3,r3,0x2e00                               <== NOT EXECUTED
 801084c:	38 84 2d 68 	ori r4,r4,0x2d68                               <== NOT EXECUTED
 8010850:	34 02 03 8c 	mvi r2,908                                     <== NOT EXECUTED
 8010854:	fb ff f4 72 	calli 800da1c <__assert_func>                  <== NOT EXECUTED
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
 8010858:	fb ff ff 4d 	calli 801058c <memfile_alloc_block>            <== NOT EXECUTED
 801085c:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
        if ( !p )                                                     
 8010860:	44 20 ff ce 	be r1,r0,8010798 <IMFS_memfile_get_block_pointer+0x1cc><== NOT EXECUTED
           return 0;                                                  
        info->triply_indirect = p;                                    
 8010864:	59 61 00 60 	sw (r11+96),r1                                 <== NOT EXECUTED
 8010868:	e3 ff ff b5 	bi 801073c <IMFS_memfile_get_block_pointer+0x170><== NOT EXECUTED
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
 801086c:	fb ff ff 48 	calli 801058c <memfile_alloc_block>            <== NOT EXECUTED
 8010870:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
        if ( !p1 )                                                    
 8010874:	44 20 ff c9 	be r1,r0,8010798 <IMFS_memfile_get_block_pointer+0x1cc><== NOT EXECUTED
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
 8010878:	59 81 00 00 	sw (r12+0),r1                                  <== NOT EXECUTED
 801087c:	e3 ff ff b6 	bi 8010754 <IMFS_memfile_get_block_pointer+0x188><== NOT EXECUTED
                                                                      
08011420 <IMFS_memfile_read>:                                         
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
 8011420:	37 9c ff cc 	addi sp,sp,-52                                 
 8011424:	5b 8b 00 28 	sw (sp+40),r11                                 
 8011428:	5b 8c 00 24 	sw (sp+36),r12                                 
 801142c:	5b 8d 00 20 	sw (sp+32),r13                                 
 8011430:	5b 8e 00 1c 	sw (sp+28),r14                                 
 8011434:	5b 8f 00 18 	sw (sp+24),r15                                 
 8011438:	5b 90 00 14 	sw (sp+20),r16                                 
 801143c:	5b 91 00 10 	sw (sp+16),r17                                 
 8011440:	5b 92 00 0c 	sw (sp+12),r18                                 
 8011444:	5b 93 00 08 	sw (sp+8),r19                                  
 8011448:	5b 9d 00 04 	sw (sp+4),ra                                   
 801144c:	b8 20 80 00 	mv r16,r1                                      
 8011450:	b8 40 68 00 	mv r13,r2                                      
 8011454:	b8 60 90 00 	mv r18,r3                                      
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
 8011458:	44 20 00 a5 	be r1,r0,80116ec <IMFS_memfile_read+0x2cc>     <== NEVER TAKEN
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE ||                      
 801145c:	28 21 00 4c 	lw r1,(r1+76)                                  
 8011460:	34 03 00 01 	mvi r3,1                                       
 8011464:	34 22 ff fb 	addi r2,r1,-5                                  
 8011468:	50 62 00 09 	bgeu r3,r2,801148c <IMFS_memfile_read+0x6c>    <== ALWAYS TAKEN
 801146c:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8011470:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8011474:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 8011478:	38 21 2d 14 	ori r1,r1,0x2d14                               <== NOT EXECUTED
 801147c:	38 63 2e 34 	ori r3,r3,0x2e34                               <== NOT EXECUTED
 8011480:	38 84 2d ac 	ori r4,r4,0x2dac                               <== NOT EXECUTED
 8011484:	34 02 02 51 	mvi r2,593                                     <== NOT EXECUTED
 8011488:	fb ff f1 65 	calli 800da1c <__assert_func>                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Error checks on arguments                                       
   */                                                                 
                                                                      
  assert( dest );                                                     
 801148c:	46 40 00 88 	be r18,r0,80116ac <IMFS_memfile_read+0x28c>    <== NEVER TAKEN
  /*                                                                  
   *  If there is nothing to read, then quick exit.                   
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
 8011490:	44 80 00 72 	be r4,r0,8011658 <IMFS_memfile_read+0x238>     <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
 8011494:	34 02 00 06 	mvi r2,6                                       
 8011498:	44 22 00 56 	be r1,r2,80115f0 <IMFS_memfile_read+0x1d0>     <== NEVER TAKEN
   *  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 )                        
 801149c:	2a 01 00 50 	lw r1,(r16+80)                                 
 80114a0:	2a 0c 00 54 	lw r12,(r16+84)                                
 80114a4:	b4 8d 10 00 	add r2,r4,r13                                  
 80114a8:	48 01 00 04 	bg r0,r1,80114b8 <IMFS_memfile_read+0x98>      <== NEVER TAKEN
 80114ac:	44 01 00 65 	be r0,r1,8011640 <IMFS_memfile_read+0x220>     <== ALWAYS TAKEN
 80114b0:	b8 80 60 00 	mv r12,r4                                      <== NOT EXECUTED
 80114b4:	e0 00 00 02 	bi 80114bc <IMFS_memfile_read+0x9c>            <== NOT EXECUTED
    my_length = the_jnode->info.file.size - start;                    
 80114b8:	c9 8d 60 00 	sub r12,r12,r13                                
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
 80114bc:	78 0f 08 02 	mvhi r15,0x802                                 
 80114c0:	39 ef 46 4c 	ori r15,r15,0x464c                             
 80114c4:	29 eb 00 00 	lw r11,(r15+0)                                 
 80114c8:	b9 a0 08 00 	mv r1,r13                                      
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
 80114cc:	ba 40 70 00 	mv r14,r18                                     
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
 80114d0:	b9 60 10 00 	mv r2,r11                                      
 80114d4:	f8 00 40 77 	calli 80216b0 <__modsi3>                       
 80114d8:	b8 20 98 00 	mv r19,r1                                      
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
 80114dc:	b9 60 10 00 	mv r2,r11                                      
 80114e0:	b9 a0 08 00 	mv r1,r13                                      
 80114e4:	f8 00 40 40 	calli 80215e4 <__divsi3>                       
 80114e8:	b8 20 68 00 	mv r13,r1                                      
  if ( start_offset )  {                                              
 80114ec:	ba 60 88 00 	mv r17,r19                                     
 80114f0:	46 60 00 13 	be r19,r0,801153c <IMFS_memfile_read+0x11c>    
    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 );
 80114f4:	ba 00 08 00 	mv r1,r16                                      
 80114f8:	b9 a0 10 00 	mv r2,r13                                      
 80114fc:	34 03 00 00 	mvi r3,0                                       
 8011500:	fb ff fc 33 	calli 80105cc <IMFS_memfile_get_block_pointer> 
    assert( block_ptr );                                              
 8011504:	44 20 00 72 	be r1,r0,80116cc <IMFS_memfile_read+0x2ac>     <== NEVER TAKEN
   */                                                                 
                                                                      
  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;            
 8011508:	c9 73 58 00 	sub r11,r11,r19                                
 801150c:	b9 80 88 00 	mv r17,r12                                     
 8011510:	51 6c 00 02 	bgeu r11,r12,8011518 <IMFS_memfile_read+0xf8>  
 8011514:	b9 60 88 00 	mv r17,r11                                     
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    assert( block_ptr );                                              
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
 8011518:	28 22 00 00 	lw r2,(r1+0)                                   
 801151c:	ba 20 18 00 	mv r3,r17                                      
 8011520:	ba 40 08 00 	mv r1,r18                                      
 8011524:	b4 53 10 00 	add r2,r2,r19                                  
 8011528:	f8 00 06 f4 	calli 80130f8 <memcpy>                         
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
 801152c:	29 eb 00 00 	lw r11,(r15+0)                                 
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    assert( block_ptr );                                              
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
    dest += to_copy;                                                  
 8011530:	b6 51 70 00 	add r14,r18,r17                                
    block++;                                                          
 8011534:	35 ad 00 01 	addi r13,r13,1                                 
    my_length -= to_copy;                                             
 8011538:	c9 91 60 00 	sub r12,r12,r17                                
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
 801153c:	55 6c 00 10 	bgu r11,r12,801157c <IMFS_memfile_read+0x15c>  
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
 8011540:	ba 00 08 00 	mv r1,r16                                      
 8011544:	b9 a0 10 00 	mv r2,r13                                      
 8011548:	34 03 00 00 	mvi r3,0                                       
 801154c:	fb ff fc 20 	calli 80105cc <IMFS_memfile_get_block_pointer> 
    assert( block_ptr );                                              
 8011550:	44 20 00 47 	be r1,r0,801166c <IMFS_memfile_read+0x24c>     <== NEVER TAKEN
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
 8011554:	28 22 00 00 	lw r2,(r1+0)                                   
 8011558:	b9 60 18 00 	mv r3,r11                                      
 801155c:	b9 c0 08 00 	mv r1,r14                                      
 8011560:	f8 00 06 e6 	calli 80130f8 <memcpy>                         
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
 8011564:	29 e1 00 00 	lw r1,(r15+0)                                  
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
 8011568:	c9 8b 60 00 	sub r12,r12,r11                                
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    assert( block_ptr );                                              
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
    dest += to_copy;                                                  
 801156c:	b5 cb 70 00 	add r14,r14,r11                                
    block++;                                                          
 8011570:	35 ad 00 01 	addi r13,r13,1                                 
    my_length -= to_copy;                                             
    copied += to_copy;                                                
 8011574:	b6 2b 88 00 	add r17,r17,r11                                
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
 8011578:	51 81 ff f2 	bgeu r12,r1,8011540 <IMFS_memfile_read+0x120>  
   *  Phase 3: possibly the first part of one block                   
   */                                                                 
                                                                      
  assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );                 
                                                                      
  if ( my_length ) {                                                  
 801157c:	45 80 00 0b 	be r12,r0,80115a8 <IMFS_memfile_read+0x188>    
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
 8011580:	b9 a0 10 00 	mv r2,r13                                      
 8011584:	ba 00 08 00 	mv r1,r16                                      
 8011588:	34 03 00 00 	mvi r3,0                                       
 801158c:	fb ff fc 10 	calli 80105cc <IMFS_memfile_get_block_pointer> 
    assert( block_ptr );                                              
 8011590:	44 20 00 3f 	be r1,r0,801168c <IMFS_memfile_read+0x26c>     <== NEVER TAKEN
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
 8011594:	28 22 00 00 	lw r2,(r1+0)                                   
 8011598:	b9 80 18 00 	mv r3,r12                                      
 801159c:	b9 c0 08 00 	mv r1,r14                                      
 80115a0:	f8 00 06 d6 	calli 80130f8 <memcpy>                         
    copied += my_length;                                              
 80115a4:	b6 2c 88 00 	add r17,r17,r12                                
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
 80115a8:	37 81 00 30 	addi r1,sp,48                                  
 80115ac:	34 02 00 00 	mvi r2,0                                       
 80115b0:	fb ff c5 b0 	calli 8002c70 <gettimeofday>                   
 80115b4:	2b 81 00 30 	lw r1,(sp+48)                                  
 80115b8:	5a 01 00 40 	sw (r16+64),r1                                 
                                                                      
  return copied;                                                      
 80115bc:	ba 20 08 00 	mv r1,r17                                      
}                                                                     
 80115c0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80115c4:	2b 8b 00 28 	lw r11,(sp+40)                                 
 80115c8:	2b 8c 00 24 	lw r12,(sp+36)                                 
 80115cc:	2b 8d 00 20 	lw r13,(sp+32)                                 
 80115d0:	2b 8e 00 1c 	lw r14,(sp+28)                                 
 80115d4:	2b 8f 00 18 	lw r15,(sp+24)                                 
 80115d8:	2b 90 00 14 	lw r16,(sp+20)                                 
 80115dc:	2b 91 00 10 	lw r17,(sp+16)                                 
 80115e0:	2b 92 00 0c 	lw r18,(sp+12)                                 
 80115e4:	2b 93 00 08 	lw r19,(sp+8)                                  
 80115e8:	37 9c 00 34 	addi sp,sp,52                                  
 80115ec:	c3 a0 00 00 	ret                                            
  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))        
 80115f0:	2a 0b 00 54 	lw r11,(r16+84)                                <== NOT EXECUTED
 80115f4:	2a 0c 00 50 	lw r12,(r16+80)                                <== NOT EXECUTED
 80115f8:	34 02 00 1f 	mvi r2,31                                      <== NOT EXECUTED
 80115fc:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 8011600:	5b 84 00 2c 	sw (sp+44),r4                                  <== NOT EXECUTED
 8011604:	c9 6d 88 00 	sub r17,r11,r13                                <== NOT EXECUTED
 8011608:	fb ff bd c7 	calli 8000d24 <__ashrsi3>                      <== NOT EXECUTED
 801160c:	f6 2b 10 00 	cmpgu r2,r17,r11                               <== NOT EXECUTED
 8011610:	c9 81 08 00 	sub r1,r12,r1                                  <== NOT EXECUTED
 8011614:	c8 22 08 00 	sub r1,r1,r2                                   <== NOT EXECUTED
 8011618:	2b 84 00 2c 	lw r4,(sp+44)                                  <== NOT EXECUTED
   *  than block files).                                              
   */                                                                 
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
 801161c:	2a 02 00 58 	lw r2,(r16+88)                                 <== NOT EXECUTED
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
 8011620:	48 01 00 03 	bg r0,r1,801162c <IMFS_memfile_read+0x20c>     <== NOT EXECUTED
 8011624:	44 01 00 0a 	be r0,r1,801164c <IMFS_memfile_read+0x22c>     <== NOT EXECUTED
 8011628:	b8 80 88 00 	mv r17,r4                                      <== NOT EXECUTED
      my_length = the_jnode->info.linearfile.size - start;            
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
 801162c:	b4 4d 10 00 	add r2,r2,r13                                  <== NOT EXECUTED
 8011630:	ba 40 08 00 	mv r1,r18                                      <== NOT EXECUTED
 8011634:	ba 20 18 00 	mv r3,r17                                      <== NOT EXECUTED
 8011638:	f8 00 06 b0 	calli 80130f8 <memcpy>                         <== NOT EXECUTED
 801163c:	e3 ff ff db 	bi 80115a8 <IMFS_memfile_read+0x188>           <== 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 )                        
 8011640:	54 4c ff 9e 	bgu r2,r12,80114b8 <IMFS_memfile_read+0x98>    
 8011644:	b8 80 60 00 	mv r12,r4                                      
 8011648:	e3 ff ff 9d 	bi 80114bc <IMFS_memfile_read+0x9c>            
  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))        
 801164c:	54 91 ff f8 	bgu r4,r17,801162c <IMFS_memfile_read+0x20c>   <== NOT EXECUTED
 8011650:	b8 80 88 00 	mv r17,r4                                      <== NOT EXECUTED
 8011654:	e3 ff ff f6 	bi 801162c <IMFS_memfile_read+0x20c>           <== NOT EXECUTED
   *  If there is nothing to read, then quick exit.                   
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 8011658:	f8 00 04 02 	calli 8012660 <__errno>                        <== NOT EXECUTED
 801165c:	34 02 00 16 	mvi r2,22                                      <== NOT EXECUTED
 8011660:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8011664:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8011668:	e3 ff ff d6 	bi 80115c0 <IMFS_memfile_read+0x1a0>           <== NOT EXECUTED
   */                                                                 
                                                                      
  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 );
    assert( block_ptr );                                              
 801166c:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8011670:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8011674:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 8011678:	38 21 2d 14 	ori r1,r1,0x2d14                               <== NOT EXECUTED
 801167c:	38 63 2e 34 	ori r3,r3,0x2e34                               <== NOT EXECUTED
 8011680:	38 84 2d 98 	ori r4,r4,0x2d98                               <== NOT EXECUTED
 8011684:	34 02 02 a7 	mvi r2,679                                     <== NOT EXECUTED
 8011688:	fb ff f0 e5 	calli 800da1c <__assert_func>                  <== NOT EXECUTED
                                                                      
  assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );                 
                                                                      
  if ( my_length ) {                                                  
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    assert( block_ptr );                                              
 801168c:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8011690:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8011694:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 8011698:	38 21 2d 14 	ori r1,r1,0x2d14                               <== NOT EXECUTED
 801169c:	38 63 2e 34 	ori r3,r3,0x2e34                               <== NOT EXECUTED
 80116a0:	38 84 2d 98 	ori r4,r4,0x2d98                               <== NOT EXECUTED
 80116a4:	34 02 02 b9 	mvi r2,697                                     <== NOT EXECUTED
 80116a8:	fb ff f0 dd 	calli 800da1c <__assert_func>                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Error checks on arguments                                       
   */                                                                 
                                                                      
  assert( dest );                                                     
 80116ac:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 80116b0:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 80116b4:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 80116b8:	38 21 2d 14 	ori r1,r1,0x2d14                               <== NOT EXECUTED
 80116bc:	38 63 2e 34 	ori r3,r3,0x2e34                               <== NOT EXECUTED
 80116c0:	38 84 2d f8 	ori r4,r4,0x2df8                               <== NOT EXECUTED
 80116c4:	34 02 02 5a 	mvi r2,602                                     <== NOT EXECUTED
 80116c8:	fb ff f0 d5 	calli 800da1c <__assert_func>                  <== NOT EXECUTED
  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 );
    assert( block_ptr );                                              
 80116cc:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 80116d0:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 80116d4:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 80116d8:	38 21 2d 14 	ori r1,r1,0x2d14                               <== NOT EXECUTED
 80116dc:	38 63 2e 34 	ori r3,r3,0x2e34                               <== NOT EXECUTED
 80116e0:	38 84 2d 98 	ori r4,r4,0x2d98                               <== NOT EXECUTED
 80116e4:	34 02 02 96 	mvi r2,662                                     <== NOT EXECUTED
 80116e8:	fb ff f0 cd 	calli 800da1c <__assert_func>                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
 80116ec:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 80116f0:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 80116f4:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 80116f8:	38 21 2d 14 	ori r1,r1,0x2d14                               <== NOT EXECUTED
 80116fc:	38 63 2e 34 	ori r3,r3,0x2e34                               <== NOT EXECUTED
 8011700:	38 84 2d 5c 	ori r4,r4,0x2d5c                               <== NOT EXECUTED
 8011704:	34 02 02 4c 	mvi r2,588                                     <== NOT EXECUTED
 8011708:	fb ff f0 c5 	calli 800da1c <__assert_func>                  <== NOT EXECUTED
                                                                      
08010980 <IMFS_memfile_remove>:                                       
 */                                                                   
                                                                      
int IMFS_memfile_remove(                                              
 IMFS_jnode_t  *the_jnode                                             
)                                                                     
{                                                                     
 8010980:	37 9c ff d8 	addi sp,sp,-40                                 
 8010984:	5b 8b 00 28 	sw (sp+40),r11                                 
 8010988:	5b 8c 00 24 	sw (sp+36),r12                                 
 801098c:	5b 8d 00 20 	sw (sp+32),r13                                 
 8010990:	5b 8e 00 1c 	sw (sp+28),r14                                 
 8010994:	5b 8f 00 18 	sw (sp+24),r15                                 
 8010998:	5b 90 00 14 	sw (sp+20),r16                                 
 801099c:	5b 91 00 10 	sw (sp+16),r17                                 
 80109a0:	5b 92 00 0c 	sw (sp+12),r18                                 
 80109a4:	5b 93 00 08 	sw (sp+8),r19                                  
 80109a8:	5b 9d 00 04 	sw (sp+4),ra                                   
 80109ac:	b8 20 80 00 	mv r16,r1                                      
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
 80109b0:	44 20 00 6c 	be r1,r0,8010b60 <IMFS_memfile_remove+0x1e0>   <== NEVER TAKEN
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
 80109b4:	28 22 00 4c 	lw r2,(r1+76)                                  
 80109b8:	34 01 00 05 	mvi r1,5                                       
 80109bc:	5c 41 00 71 	bne r2,r1,8010b80 <IMFS_memfile_remove+0x200>  <== NEVER TAKEN
  /*                                                                  
   *  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;                                 
 80109c0:	78 0d 08 02 	mvhi r13,0x802                                 
 80109c4:	39 ad 46 4c 	ori r13,r13,0x464c                             
 80109c8:	29 a1 00 00 	lw r1,(r13+0)                                  
 80109cc:	34 02 00 02 	mvi r2,2                                       
 80109d0:	fb ff c0 ad 	calli 8000c84 <__lshrsi3>                      
 80109d4:	b8 20 78 00 	mv r15,r1                                      
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
 80109d8:	2a 01 00 58 	lw r1,(r16+88)                                 
 80109dc:	44 20 00 04 	be r1,r0,80109ec <IMFS_memfile_remove+0x6c>    
                                                                      
  if ( info->indirect ) {                                             
    memfile_free_blocks_in_table( &info->indirect, to_free );         
 80109e0:	36 01 00 58 	addi r1,r16,88                                 
 80109e4:	b9 e0 10 00 	mv r2,r15                                      
 80109e8:	fb ff ff a6 	calli 8010880 <memfile_free_blocks_in_table>   
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
 80109ec:	2a 0e 00 5c 	lw r14,(r16+92)                                
 80109f0:	45 c0 00 1a 	be r14,r0,8010a58 <IMFS_memfile_remove+0xd8>   <== ALWAYS TAKEN
                                                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
 80109f4:	29 a1 00 00 	lw r1,(r13+0)                                  <== NOT EXECUTED
 80109f8:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 80109fc:	34 0c 00 00 	mvi r12,0                                      <== NOT EXECUTED
 8010a00:	fb ff c0 a1 	calli 8000c84 <__lshrsi3>                      <== NOT EXECUTED
 8010a04:	b9 80 58 00 	mv r11,r12                                     <== NOT EXECUTED
 8010a08:	44 2c 00 11 	be r1,r12,8010a4c <IMFS_memfile_remove+0xcc>   <== NOT EXECUTED
      if ( info->doubly_indirect[i] ) {                               
 8010a0c:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 8010a10:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8010a14:	fb ff c0 74 	calli 8000be4 <__ashlsi3>                      <== NOT EXECUTED
 8010a18:	b5 c1 08 00 	add r1,r14,r1                                  <== NOT EXECUTED
 8010a1c:	28 22 00 00 	lw r2,(r1+0)                                   <== NOT EXECUTED
 8010a20:	44 40 00 03 	be r2,r0,8010a2c <IMFS_memfile_remove+0xac>    <== NOT EXECUTED
        memfile_free_blocks_in_table(                                 
 8010a24:	b9 e0 10 00 	mv r2,r15                                      <== NOT EXECUTED
 8010a28:	fb ff ff 96 	calli 8010880 <memfile_free_blocks_in_table>   <== NOT EXECUTED
    memfile_free_blocks_in_table( &info->indirect, to_free );         
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
                                                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
 8010a2c:	29 a1 00 00 	lw r1,(r13+0)                                  <== NOT EXECUTED
 8010a30:	35 6b 00 01 	addi r11,r11,1                                 <== NOT EXECUTED
 8010a34:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 8010a38:	b9 60 60 00 	mv r12,r11                                     <== NOT EXECUTED
 8010a3c:	fb ff c0 92 	calli 8000c84 <__lshrsi3>                      <== NOT EXECUTED
 8010a40:	51 61 00 03 	bgeu r11,r1,8010a4c <IMFS_memfile_remove+0xcc> <== NOT EXECUTED
 8010a44:	2a 0e 00 5c 	lw r14,(r16+92)                                <== NOT EXECUTED
 8010a48:	e3 ff ff f1 	bi 8010a0c <IMFS_memfile_remove+0x8c>          <== NOT EXECUTED
      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 );  
 8010a4c:	36 01 00 5c 	addi r1,r16,92                                 <== NOT EXECUTED
 8010a50:	b9 e0 10 00 	mv r2,r15                                      <== NOT EXECUTED
 8010a54:	fb ff ff 8b 	calli 8010880 <memfile_free_blocks_in_table>   <== NOT EXECUTED
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
 8010a58:	2a 0b 00 60 	lw r11,(r16+96)                                
 8010a5c:	45 60 00 2c 	be r11,r0,8010b0c <IMFS_memfile_remove+0x18c>  <== ALWAYS TAKEN
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
 8010a60:	29 ac 00 00 	lw r12,(r13+0)                                 <== NOT EXECUTED
 8010a64:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 8010a68:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8010a6c:	fb ff c0 86 	calli 8000c84 <__lshrsi3>                      <== NOT EXECUTED
 8010a70:	44 20 00 24 	be r1,r0,8010b00 <IMFS_memfile_remove+0x180>   <== NOT EXECUTED
      p = (block_p *) info->triply_indirect[i];                       
 8010a74:	29 6e 00 00 	lw r14,(r11+0)                                 <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
 8010a78:	34 13 00 00 	mvi r19,0                                      <== NOT EXECUTED
 8010a7c:	34 11 00 04 	mvi r17,4                                      <== NOT EXECUTED
 8010a80:	ba 60 90 00 	mv r18,r19                                     <== NOT EXECUTED
 8010a84:	45 d3 00 1f 	be r14,r19,8010b00 <IMFS_memfile_remove+0x180> <== NOT EXECUTED
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
 8010a88:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8010a8c:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 8010a90:	fb ff c0 7d 	calli 8000c84 <__lshrsi3>                      <== NOT EXECUTED
 8010a94:	44 20 00 12 	be r1,r0,8010adc <IMFS_memfile_remove+0x15c>   <== NOT EXECUTED
 8010a98:	34 0c 00 00 	mvi r12,0                                      <== NOT EXECUTED
 8010a9c:	b9 80 58 00 	mv r11,r12                                     <== NOT EXECUTED
        if ( p[j] ) {                                                 
 8010aa0:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 8010aa4:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8010aa8:	fb ff c0 4f 	calli 8000be4 <__ashlsi3>                      <== NOT EXECUTED
 8010aac:	b5 c1 08 00 	add r1,r14,r1                                  <== NOT EXECUTED
 8010ab0:	28 22 00 00 	lw r2,(r1+0)                                   <== NOT EXECUTED
 8010ab4:	44 40 00 03 	be r2,r0,8010ac0 <IMFS_memfile_remove+0x140>   <== NOT EXECUTED
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
 8010ab8:	b9 e0 10 00 	mv r2,r15                                      <== NOT EXECUTED
 8010abc:	fb ff ff 71 	calli 8010880 <memfile_free_blocks_in_table>   <== NOT EXECUTED
  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++ ) {                
 8010ac0:	29 a1 00 00 	lw r1,(r13+0)                                  <== NOT EXECUTED
 8010ac4:	35 6b 00 01 	addi r11,r11,1                                 <== NOT EXECUTED
 8010ac8:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 8010acc:	b9 60 60 00 	mv r12,r11                                     <== NOT EXECUTED
 8010ad0:	fb ff c0 6d 	calli 8000c84 <__lshrsi3>                      <== NOT EXECUTED
 8010ad4:	54 2b ff f3 	bgu r1,r11,8010aa0 <IMFS_memfile_remove+0x120> <== NOT EXECUTED
 8010ad8:	2a 0b 00 60 	lw r11,(r16+96)                                <== NOT EXECUTED
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
 8010adc:	b5 73 08 00 	add r1,r11,r19                                 <== NOT EXECUTED
 8010ae0:	b9 e0 10 00 	mv r2,r15                                      <== NOT EXECUTED
 8010ae4:	fb ff ff 67 	calli 8010880 <memfile_free_blocks_in_table>   <== NOT EXECUTED
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
 8010ae8:	29 ac 00 00 	lw r12,(r13+0)                                 <== NOT EXECUTED
 8010aec:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 8010af0:	36 52 00 01 	addi r18,r18,1                                 <== NOT EXECUTED
 8010af4:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8010af8:	fb ff c0 63 	calli 8000c84 <__lshrsi3>                      <== NOT EXECUTED
 8010afc:	54 32 00 11 	bgu r1,r18,8010b40 <IMFS_memfile_remove+0x1c0> <== NOT EXECUTED
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
        (block_p **)&info->triply_indirect[i], to_free );             
    }                                                                 
    memfile_free_blocks_in_table(                                     
 8010b00:	36 01 00 60 	addi r1,r16,96                                 <== NOT EXECUTED
 8010b04:	b9 e0 10 00 	mv r2,r15                                      <== NOT EXECUTED
 8010b08:	fb ff ff 5e 	calli 8010880 <memfile_free_blocks_in_table>   <== NOT EXECUTED
        (block_p **)&info->triply_indirect, to_free );                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 8010b0c:	34 01 00 00 	mvi r1,0                                       
 8010b10:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8010b14:	2b 8b 00 28 	lw r11,(sp+40)                                 
 8010b18:	2b 8c 00 24 	lw r12,(sp+36)                                 
 8010b1c:	2b 8d 00 20 	lw r13,(sp+32)                                 
 8010b20:	2b 8e 00 1c 	lw r14,(sp+28)                                 
 8010b24:	2b 8f 00 18 	lw r15,(sp+24)                                 
 8010b28:	2b 90 00 14 	lw r16,(sp+20)                                 
 8010b2c:	2b 91 00 10 	lw r17,(sp+16)                                 
 8010b30:	2b 92 00 0c 	lw r18,(sp+12)                                 
 8010b34:	2b 93 00 08 	lw r19,(sp+8)                                  
 8010b38:	37 9c 00 28 	addi sp,sp,40                                  
 8010b3c:	c3 a0 00 00 	ret                                            
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
 8010b40:	2a 0b 00 60 	lw r11,(r16+96)                                <== NOT EXECUTED
 8010b44:	36 22 00 04 	addi r2,r17,4                                  <== NOT EXECUTED
 8010b48:	b5 71 08 00 	add r1,r11,r17                                 <== NOT EXECUTED
 8010b4c:	28 2e 00 00 	lw r14,(r1+0)                                  <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
 8010b50:	45 c0 ff ec 	be r14,r0,8010b00 <IMFS_memfile_remove+0x180>  <== NOT EXECUTED
 8010b54:	ba 20 98 00 	mv r19,r17                                     <== NOT EXECUTED
 8010b58:	b8 40 88 00 	mv r17,r2                                      <== NOT EXECUTED
 8010b5c:	e3 ff ff cb 	bi 8010a88 <IMFS_memfile_remove+0x108>         <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
 8010b60:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8010b64:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8010b68:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 8010b6c:	38 21 2d 14 	ori r1,r1,0x2d14                               <== NOT EXECUTED
 8010b70:	38 63 2e 48 	ori r3,r3,0x2e48                               <== NOT EXECUTED
 8010b74:	38 84 2d 5c 	ori r4,r4,0x2d5c                               <== NOT EXECUTED
 8010b78:	34 02 01 ee 	mvi r2,494                                     <== NOT EXECUTED
 8010b7c:	fb ff f3 a8 	calli 800da1c <__assert_func>                  <== NOT EXECUTED
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
 8010b80:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8010b84:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8010b88:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 8010b8c:	38 21 2d 14 	ori r1,r1,0x2d14                               <== NOT EXECUTED
 8010b90:	38 63 2e 48 	ori r3,r3,0x2e48                               <== NOT EXECUTED
 8010b94:	38 84 2d 68 	ori r4,r4,0x2d68                               <== NOT EXECUTED
 8010b98:	34 02 01 f2 	mvi r2,498                                     <== NOT EXECUTED
 8010b9c:	fb ff f3 a0 	calli 800da1c <__assert_func>                  <== NOT EXECUTED
                                                                      
08010928 <IMFS_memfile_remove_block>:                                 
                                                                      
MEMFILE_STATIC int IMFS_memfile_remove_block(                         
   IMFS_jnode_t  *the_jnode,                                          
   unsigned int   block                                               
)                                                                     
{                                                                     
 8010928:	37 9c ff fc 	addi sp,sp,-4                                  <== NOT EXECUTED
 801092c:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  block_p *block_ptr;                                                 
  block_p  ptr;                                                       
                                                                      
  block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );  
 8010930:	34 03 00 00 	mvi r3,0                                       <== NOT EXECUTED
 8010934:	fb ff ff 26 	calli 80105cc <IMFS_memfile_get_block_pointer> <== NOT EXECUTED
  assert( block_ptr );                                                
 8010938:	44 20 00 0a 	be r1,r0,8010960 <IMFS_memfile_remove_block+0x38><== NOT EXECUTED
  if ( block_ptr ) {                                                  
    ptr = *block_ptr;                                                 
 801093c:	28 22 00 00 	lw r2,(r1+0)                                   <== NOT EXECUTED
    *block_ptr = 0;                                                   
 8010940:	34 03 00 00 	mvi r3,0                                       <== NOT EXECUTED
 8010944:	58 23 00 00 	sw (r1+0),r3                                   <== NOT EXECUTED
    memfile_free_block( ptr );                                        
 8010948:	b8 40 08 00 	mv r1,r2                                       <== NOT EXECUTED
 801094c:	fb ff ff 05 	calli 8010560 <memfile_free_block>             <== NOT EXECUTED
  }                                                                   
                                                                      
  return 1;                                                           
}                                                                     
 8010950:	34 01 00 01 	mvi r1,1                                       <== NOT EXECUTED
 8010954:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8010958:	37 9c 00 04 	addi sp,sp,4                                   <== NOT EXECUTED
 801095c:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
{                                                                     
  block_p *block_ptr;                                                 
  block_p  ptr;                                                       
                                                                      
  block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );  
  assert( block_ptr );                                                
 8010960:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8010964:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8010968:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 801096c:	38 21 2d 14 	ori r1,r1,0x2d14                               <== NOT EXECUTED
 8010970:	38 63 2e 7c 	ori r3,r3,0x2e7c                               <== NOT EXECUTED
 8010974:	38 84 2d 98 	ori r4,r4,0x2d98                               <== NOT EXECUTED
 8010978:	34 02 01 96 	mvi r2,406                                     <== NOT EXECUTED
 801097c:	fb ff f4 28 	calli 800da1c <__assert_func>                  <== NOT EXECUTED
                                                                      
0801105c <IMFS_memfile_write>:                                        
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
 801105c:	37 9c ff cc 	addi sp,sp,-52                                 
 8011060:	5b 8b 00 2c 	sw (sp+44),r11                                 
 8011064:	5b 8c 00 28 	sw (sp+40),r12                                 
 8011068:	5b 8d 00 24 	sw (sp+36),r13                                 
 801106c:	5b 8e 00 20 	sw (sp+32),r14                                 
 8011070:	5b 8f 00 1c 	sw (sp+28),r15                                 
 8011074:	5b 90 00 18 	sw (sp+24),r16                                 
 8011078:	5b 91 00 14 	sw (sp+20),r17                                 
 801107c:	5b 92 00 10 	sw (sp+16),r18                                 
 8011080:	5b 93 00 0c 	sw (sp+12),r19                                 
 8011084:	5b 94 00 08 	sw (sp+8),r20                                  
 8011088:	5b 9d 00 04 	sw (sp+4),ra                                   
 801108c:	b8 20 88 00 	mv r17,r1                                      
 8011090:	b8 40 60 00 	mv r12,r2                                      
 8011094:	b8 60 98 00 	mv r19,r3                                      
 8011098:	b8 80 90 00 	mv r18,r4                                      
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
 801109c:	44 20 00 79 	be r1,r0,8011280 <IMFS_memfile_write+0x224>    <== NEVER TAKEN
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
 80110a0:	28 22 00 4c 	lw r2,(r1+76)                                  
 80110a4:	34 01 00 05 	mvi r1,5                                       
 80110a8:	5c 41 00 86 	bne r2,r1,80112c0 <IMFS_memfile_write+0x264>   <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Error check arguments                                           
   */                                                                 
                                                                      
  assert( source );                                                   
 80110ac:	44 60 00 7d 	be r3,r0,80112a0 <IMFS_memfile_write+0x244>    <== NEVER TAKEN
  /*                                                                  
   *  If there is nothing to write, then quick exit.                  
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
 80110b0:	44 80 00 5f 	be r4,r0,801122c <IMFS_memfile_write+0x1d0>    <== NEVER TAKEN
   *  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 + length;                                         
  if ( last_byte > the_jnode->info.file.size ) {                      
 80110b4:	2a 21 00 50 	lw r1,(r17+80)                                 
  /*                                                                  
   *  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 + length;                                         
 80110b8:	b4 8c 10 00 	add r2,r4,r12                                  
  if ( last_byte > the_jnode->info.file.size ) {                      
 80110bc:	48 01 00 51 	bg r0,r1,8011200 <IMFS_memfile_write+0x1a4>    <== NEVER TAKEN
 80110c0:	44 20 00 58 	be r1,r0,8011220 <IMFS_memfile_write+0x1c4>    <== ALWAYS TAKEN
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
 80110c4:	78 10 08 02 	mvhi r16,0x802                                 
 80110c8:	3a 10 46 4c 	ori r16,r16,0x464c                             
 80110cc:	2a 0b 00 00 	lw r11,(r16+0)                                 
 80110d0:	b9 80 08 00 	mv r1,r12                                      
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
 80110d4:	ba 60 70 00 	mv r14,r19                                     
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
 80110d8:	b9 60 10 00 	mv r2,r11                                      
 80110dc:	f8 00 41 75 	calli 80216b0 <__modsi3>                       
 80110e0:	b8 20 a0 00 	mv r20,r1                                      
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
 80110e4:	b9 60 10 00 	mv r2,r11                                      
 80110e8:	b9 80 08 00 	mv r1,r12                                      
 80110ec:	f8 00 41 3e 	calli 80215e4 <__divsi3>                       
 80110f0:	b8 20 68 00 	mv r13,r1                                      
  if ( start_offset )  {                                              
 80110f4:	ba 40 60 00 	mv r12,r18                                     
 80110f8:	ba 80 78 00 	mv r15,r20                                     
 80110fc:	46 80 00 12 	be r20,r0,8011144 <IMFS_memfile_write+0xe8>    
    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 );
 8011100:	ba 20 08 00 	mv r1,r17                                      
 8011104:	b9 a0 10 00 	mv r2,r13                                      
 8011108:	34 03 00 00 	mvi r3,0                                       
 801110c:	fb ff fd 30 	calli 80105cc <IMFS_memfile_get_block_pointer> 
    assert( block_ptr );                                              
 8011110:	44 20 00 74 	be r1,r0,80112e0 <IMFS_memfile_write+0x284>    <== NEVER TAKEN
   */                                                                 
                                                                      
  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;            
 8011114:	c9 74 78 00 	sub r15,r11,r20                                
 8011118:	52 4f 00 02 	bgeu r18,r15,8011120 <IMFS_memfile_write+0xc4> 
 801111c:	ba 40 78 00 	mv r15,r18                                     
    if ( !block_ptr )                                                 
      return copied;                                                  
#if 0                                                                 
fprintf(stdout, "write %d at %d in %d: %*s\n", to_copy, start_offset, block, to_copy, src );
#endif                                                                
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
 8011120:	28 21 00 00 	lw r1,(r1+0)                                   
 8011124:	ba 60 10 00 	mv r2,r19                                      
 8011128:	b9 e0 18 00 	mv r3,r15                                      
 801112c:	b4 34 08 00 	add r1,r1,r20                                  
 8011130:	f8 00 07 f2 	calli 80130f8 <memcpy>                         
    src += to_copy;                                                   
    block++;                                                          
    my_length -= to_copy;                                             
    copied += to_copy;                                                
 8011134:	2a 0b 00 00 	lw r11,(r16+0)                                 
      return copied;                                                  
#if 0                                                                 
fprintf(stdout, "write %d at %d in %d: %*s\n", to_copy, start_offset, block, to_copy, src );
#endif                                                                
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
    src += to_copy;                                                   
 8011138:	b6 6f 70 00 	add r14,r19,r15                                
    block++;                                                          
 801113c:	35 ad 00 01 	addi r13,r13,1                                 
    my_length -= to_copy;                                             
 8011140:	ca 4f 60 00 	sub r12,r18,r15                                
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
 8011144:	55 6c 00 10 	bgu r11,r12,8011184 <IMFS_memfile_write+0x128> 
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
 8011148:	ba 20 08 00 	mv r1,r17                                      
 801114c:	b9 a0 10 00 	mv r2,r13                                      
 8011150:	34 03 00 00 	mvi r3,0                                       
 8011154:	fb ff fd 1e 	calli 80105cc <IMFS_memfile_get_block_pointer> 
    assert( block_ptr );                                              
 8011158:	44 20 00 3a 	be r1,r0,8011240 <IMFS_memfile_write+0x1e4>    <== NEVER TAKEN
    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 );                       
 801115c:	28 21 00 00 	lw r1,(r1+0)                                   
 8011160:	b9 c0 10 00 	mv r2,r14                                      
 8011164:	b9 60 18 00 	mv r3,r11                                      
 8011168:	f8 00 07 e4 	calli 80130f8 <memcpy>                         
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
 801116c:	2a 01 00 00 	lw r1,(r16+0)                                  
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;                                             
 8011170:	c9 8b 60 00 	sub r12,r12,r11                                
      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 );                       
    src += to_copy;                                                   
 8011174:	b5 cb 70 00 	add r14,r14,r11                                
    block++;                                                          
 8011178:	35 ad 00 01 	addi r13,r13,1                                 
 *                                                                    
 *  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(                            
 801117c:	b5 eb 78 00 	add r15,r15,r11                                
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
 8011180:	51 81 ff f2 	bgeu r12,r1,8011148 <IMFS_memfile_write+0xec>  
   */                                                                 
                                                                      
  assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );                 
                                                                      
  to_copy = my_length;                                                
  if ( my_length ) {                                                  
 8011184:	45 80 00 0b 	be r12,r0,80111b0 <IMFS_memfile_write+0x154>   
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
 8011188:	b9 a0 10 00 	mv r2,r13                                      
 801118c:	ba 20 08 00 	mv r1,r17                                      
 8011190:	34 03 00 00 	mvi r3,0                                       
 8011194:	fb ff fd 0e 	calli 80105cc <IMFS_memfile_get_block_pointer> 
    assert( block_ptr );                                              
 8011198:	44 20 00 32 	be r1,r0,8011260 <IMFS_memfile_write+0x204>    <== NEVER TAKEN
    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, my_length );                     
 801119c:	28 21 00 00 	lw r1,(r1+0)                                   
 80111a0:	b9 c0 10 00 	mv r2,r14                                      
 80111a4:	b9 80 18 00 	mv r3,r12                                      
 80111a8:	f8 00 07 d4 	calli 80130f8 <memcpy>                         
    my_length = 0;                                                    
    copied += to_copy;                                                
 80111ac:	b5 ec 78 00 	add r15,r15,r12                                
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
 80111b0:	37 81 00 30 	addi r1,sp,48                                  
 80111b4:	34 02 00 00 	mvi r2,0                                       
 80111b8:	fb ff c6 ae 	calli 8002c70 <gettimeofday>                   
 80111bc:	2b 81 00 30 	lw r1,(sp+48)                                  
 80111c0:	5a 21 00 48 	sw (r17+72),r1                                 
 80111c4:	5a 21 00 44 	sw (r17+68),r1                                 
                                                                      
  return copied;                                                      
}                                                                     
 80111c8:	b9 e0 08 00 	mv r1,r15                                      
 80111cc:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80111d0:	2b 8b 00 2c 	lw r11,(sp+44)                                 
 80111d4:	2b 8c 00 28 	lw r12,(sp+40)                                 
 80111d8:	2b 8d 00 24 	lw r13,(sp+36)                                 
 80111dc:	2b 8e 00 20 	lw r14,(sp+32)                                 
 80111e0:	2b 8f 00 1c 	lw r15,(sp+28)                                 
 80111e4:	2b 90 00 18 	lw r16,(sp+24)                                 
 80111e8:	2b 91 00 14 	lw r17,(sp+20)                                 
 80111ec:	2b 92 00 10 	lw r18,(sp+16)                                 
 80111f0:	2b 93 00 0c 	lw r19,(sp+12)                                 
 80111f4:	2b 94 00 08 	lw r20,(sp+8)                                  
 80111f8:	37 9c 00 34 	addi sp,sp,52                                  
 80111fc:	c3 a0 00 00 	ret                                            
   *  in memory file, then extend the length.                         
   */                                                                 
                                                                      
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size ) {                      
    status = IMFS_memfile_extend( the_jnode, last_byte );             
 8011200:	ba 20 08 00 	mv r1,r17                                      
 8011204:	fb ff fe d4 	calli 8010d54 <IMFS_memfile_extend>            
    if ( status )                                                     
 8011208:	44 20 ff af 	be r1,r0,80110c4 <IMFS_memfile_write+0x68>     <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
 801120c:	f8 00 05 15 	calli 8012660 <__errno>                        <== NOT EXECUTED
 8011210:	34 02 00 1c 	mvi r2,28                                      <== NOT EXECUTED
 8011214:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8011218:	34 0f ff ff 	mvi r15,-1                                     <== NOT EXECUTED
 801121c:	e3 ff ff eb 	bi 80111c8 <IMFS_memfile_write+0x16c>          <== NOT EXECUTED
   *  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 + length;                                         
  if ( last_byte > the_jnode->info.file.size ) {                      
 8011220:	2a 21 00 54 	lw r1,(r17+84)                                 
 8011224:	54 41 ff f7 	bgu r2,r1,8011200 <IMFS_memfile_write+0x1a4>   <== ALWAYS TAKEN
 8011228:	e3 ff ff a7 	bi 80110c4 <IMFS_memfile_write+0x68>           <== NOT EXECUTED
   *  If there is nothing to write, then quick exit.                  
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 801122c:	f8 00 05 0d 	calli 8012660 <__errno>                        <== NOT EXECUTED
 8011230:	34 02 00 16 	mvi r2,22                                      <== NOT EXECUTED
 8011234:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8011238:	34 0f ff ff 	mvi r15,-1                                     <== NOT EXECUTED
 801123c:	e3 ff ff e3 	bi 80111c8 <IMFS_memfile_write+0x16c>          <== NOT EXECUTED
   */                                                                 
                                                                      
  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 );
    assert( block_ptr );                                              
 8011240:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8011244:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8011248:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 801124c:	38 21 2d 14 	ori r1,r1,0x2d14                               <== NOT EXECUTED
 8011250:	38 63 2e 20 	ori r3,r3,0x2e20                               <== NOT EXECUTED
 8011254:	38 84 2d 98 	ori r4,r4,0x2d98                               <== NOT EXECUTED
 8011258:	34 02 03 30 	mvi r2,816                                     <== NOT EXECUTED
 801125c:	fb ff f1 f0 	calli 800da1c <__assert_func>                  <== NOT EXECUTED
  assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );                 
                                                                      
  to_copy = my_length;                                                
  if ( my_length ) {                                                  
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    assert( block_ptr );                                              
 8011260:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8011264:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8011268:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 801126c:	38 21 2d 14 	ori r1,r1,0x2d14                               <== NOT EXECUTED
 8011270:	38 63 2e 20 	ori r3,r3,0x2e20                               <== NOT EXECUTED
 8011274:	38 84 2d 98 	ori r4,r4,0x2d98                               <== NOT EXECUTED
 8011278:	34 02 03 46 	mvi r2,838                                     <== NOT EXECUTED
 801127c:	fb ff f1 e8 	calli 800da1c <__assert_func>                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
 8011280:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8011284:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8011288:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 801128c:	38 21 2d 14 	ori r1,r1,0x2d14                               <== NOT EXECUTED
 8011290:	38 63 2e 20 	ori r3,r3,0x2e20                               <== NOT EXECUTED
 8011294:	38 84 2d 5c 	ori r4,r4,0x2d5c                               <== NOT EXECUTED
 8011298:	34 02 02 e3 	mvi r2,739                                     <== NOT EXECUTED
 801129c:	fb ff f1 e0 	calli 800da1c <__assert_func>                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Error check arguments                                           
   */                                                                 
                                                                      
  assert( source );                                                   
 80112a0:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 80112a4:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 80112a8:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 80112ac:	38 21 2d 14 	ori r1,r1,0x2d14                               <== NOT EXECUTED
 80112b0:	38 63 2e 20 	ori r3,r3,0x2e20                               <== NOT EXECUTED
 80112b4:	38 84 2d a4 	ori r4,r4,0x2da4                               <== NOT EXECUTED
 80112b8:	34 02 02 ef 	mvi r2,751                                     <== NOT EXECUTED
 80112bc:	fb ff f1 d8 	calli 800da1c <__assert_func>                  <== NOT EXECUTED
                                                                      
  assert( the_jnode );                                                
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
 80112c0:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 80112c4:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 80112c8:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 80112cc:	38 21 2d 14 	ori r1,r1,0x2d14                               <== NOT EXECUTED
 80112d0:	38 63 2e 20 	ori r3,r3,0x2e20                               <== NOT EXECUTED
 80112d4:	38 84 2d 68 	ori r4,r4,0x2d68                               <== NOT EXECUTED
 80112d8:	34 02 02 e7 	mvi r2,743                                     <== NOT EXECUTED
 80112dc:	fb ff f1 d0 	calli 800da1c <__assert_func>                  <== NOT EXECUTED
  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 );
    assert( block_ptr );                                              
 80112e0:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 80112e4:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 80112e8:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 80112ec:	38 21 2d 14 	ori r1,r1,0x2d14                               <== NOT EXECUTED
 80112f0:	38 63 2e 20 	ori r3,r3,0x2e20                               <== NOT EXECUTED
 80112f4:	38 84 2d 98 	ori r4,r4,0x2d98                               <== NOT EXECUTED
 80112f8:	34 02 03 1c 	mvi r2,796                                     <== NOT EXECUTED
 80112fc:	fb ff f1 c8 	calli 800da1c <__assert_func>                  <== NOT EXECUTED
                                                                      
080073e0 <IMFS_mknod>:                                                
  const char                        *token,      /* IN */             
  mode_t                             mode,       /* IN */             
  dev_t                              dev,        /* IN */             
  rtems_filesystem_location_info_t  *pathloc     /* IN/OUT */         
)                                                                     
{                                                                     
 80073e0:	37 9c ff a4 	addi sp,sp,-92                                 
 80073e4:	5b 8b 00 1c 	sw (sp+28),r11                                 
 80073e8:	5b 8c 00 18 	sw (sp+24),r12                                 
 80073ec:	5b 8d 00 14 	sw (sp+20),r13                                 
 80073f0:	5b 8e 00 10 	sw (sp+16),r14                                 
 80073f4:	5b 8f 00 0c 	sw (sp+12),r15                                 
 80073f8:	5b 90 00 08 	sw (sp+8),r16                                  
 80073fc:	5b 9d 00 04 	sw (sp+4),ra                                   
 8007400:	b8 40 58 00 	mv r11,r2                                      
 8007404:	b8 60 80 00 	mv r16,r3                                      
 8007408:	b8 80 78 00 	mv r15,r4                                      
 800740c:	b8 a0 70 00 	mv r14,r5                                      
 8007410:	b8 20 68 00 	mv r13,r1                                      
  IMFS_jnode_t      *new_node;                                        
  int                result;                                          
  char               new_name[ IMFS_NAME_MAX + 1 ];                   
  IMFS_types_union   info;                                            
                                                                      
  IMFS_get_token( token, strlen( token ), new_name, &result );        
 8007414:	37 8c 00 20 	addi r12,sp,32                                 
 8007418:	f8 00 16 cb 	calli 800cf44 <strlen>                         
 800741c:	b8 20 10 00 	mv r2,r1                                       
 8007420:	b9 80 18 00 	mv r3,r12                                      
 8007424:	b9 a0 08 00 	mv r1,r13                                      
 8007428:	37 84 00 5c 	addi r4,sp,92                                  
 800742c:	fb ff ff 4b 	calli 8007158 <IMFS_get_token>                 
                                                                      
  /*                                                                  
   *  Figure out what type of IMFS node this is.                      
   */                                                                 
  if ( S_ISDIR(mode) )                                                
 8007430:	21 66 f0 00 	andi r6,r11,0xf000                             
 8007434:	34 02 40 00 	mvi r2,16384                                   
 8007438:	44 c2 00 25 	be r6,r2,80074cc <IMFS_mknod+0xec>             
    type = IMFS_DIRECTORY;                                            
  else if ( S_ISREG(mode) )                                           
 800743c:	38 01 80 00 	mvu r1,0x8000                                  
 8007440:	34 07 00 05 	mvi r7,5                                       
 8007444:	44 c1 00 08 	be r6,r1,8007464 <IMFS_mknod+0x84>             
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
 8007448:	64 c2 20 00 	cmpei r2,r6,8192                               
 800744c:	64 c1 60 00 	cmpei r1,r6,24576                              
 8007450:	b8 41 08 00 	or r1,r2,r1                                    
 8007454:	44 20 00 16 	be r1,r0,80074ac <IMFS_mknod+0xcc>             
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
 8007458:	5b 90 00 44 	sw (sp+68),r16                                 
 800745c:	5b 8f 00 48 	sw (sp+72),r15                                 
 8007460:	34 07 00 02 	mvi r7,2                                       
   *        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.                                                
   */                                                                 
  new_node = IMFS_create_node(                                        
 8007464:	b8 e0 10 00 	mv r2,r7                                       
 8007468:	b9 c0 08 00 	mv r1,r14                                      
 800746c:	b9 80 18 00 	mv r3,r12                                      
 8007470:	b9 60 20 00 	mv r4,r11                                      
 8007474:	37 85 00 44 	addi r5,sp,68                                  
 8007478:	f8 00 0d 00 	calli 800a878 <IMFS_create_node>               
    new_name,                                                         
    mode,                                                             
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
 800747c:	34 02 00 00 	mvi r2,0                                       
 8007480:	44 22 00 15 	be r1,r2,80074d4 <IMFS_mknod+0xf4>             <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  return 0;                                                           
}                                                                     
 8007484:	b8 40 08 00 	mv r1,r2                                       
 8007488:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800748c:	2b 8b 00 1c 	lw r11,(sp+28)                                 
 8007490:	2b 8c 00 18 	lw r12,(sp+24)                                 
 8007494:	2b 8d 00 14 	lw r13,(sp+20)                                 
 8007498:	2b 8e 00 10 	lw r14,(sp+16)                                 
 800749c:	2b 8f 00 0c 	lw r15,(sp+12)                                 
 80074a0:	2b 90 00 08 	lw r16,(sp+8)                                  
 80074a4:	37 9c 00 5c 	addi sp,sp,92                                  
 80074a8:	c3 a0 00 00 	ret                                            
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
  }                                                                   
  else if (S_ISFIFO(mode))                                            
 80074ac:	34 01 10 00 	mvi r1,4096                                    
 80074b0:	34 07 00 07 	mvi r7,7                                       
 80074b4:	44 c1 ff ec 	be r6,r1,8007464 <IMFS_mknod+0x84>             <== ALWAYS TAKEN
    type = IMFS_FIFO;                                                 
  else  {                                                             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 80074b8:	f8 00 11 d3 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 80074bc:	34 02 00 16 	mvi r2,22                                      <== NOT EXECUTED
 80074c0:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 80074c4:	34 02 ff ff 	mvi r2,-1                                      <== NOT EXECUTED
 80074c8:	e3 ff ff ef 	bi 8007484 <IMFS_mknod+0xa4>                   <== NOT EXECUTED
 80074cc:	34 07 00 01 	mvi r7,1                                       
 80074d0:	e3 ff ff e5 	bi 8007464 <IMFS_mknod+0x84>                   
    mode,                                                             
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
 80074d4:	f8 00 11 cc 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 80074d8:	34 02 00 0c 	mvi r2,12                                      <== NOT EXECUTED
 80074dc:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 80074e0:	34 02 ff ff 	mvi r2,-1                                      <== NOT EXECUTED
 80074e4:	e3 ff ff e8 	bi 8007484 <IMFS_mknod+0xa4>                   <== NOT EXECUTED
                                                                      
08002230 <IMFS_mount>:                                                
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_mount(                                                       
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
 8002230:	37 9c ff fc 	addi sp,sp,-4                                  
 8002234:	5b 9d 00 04 	sw (sp+4),ra                                   
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
 8002238:	28 22 00 08 	lw r2,(r1+8)                                   
                                                                      
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
 800223c:	34 03 00 01 	mvi r3,1                                       
 8002240:	28 44 00 4c 	lw r4,(r2+76)                                  
 8002244:	5c 83 00 06 	bne r4,r3,800225c <IMFS_mount+0x2c>            <== 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;                              
 8002248:	58 41 00 5c 	sw (r2+92),r1                                  
 800224c:	34 01 00 00 	mvi r1,0                                       
  return 0;                                                           
}                                                                     
 8002250:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8002254:	37 9c 00 04 	addi sp,sp,4                                   
 8002258:	c3 a0 00 00 	ret                                            
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
 800225c:	f8 00 41 01 	calli 8012660 <__errno>                        <== NOT EXECUTED
 8002260:	34 02 00 14 	mvi r2,20                                      <== NOT EXECUTED
 8002264:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8002268:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 800226c:	e3 ff ff f9 	bi 8002250 <IMFS_mount+0x20>                   <== NOT EXECUTED
                                                                      
08002cf4 <IMFS_print_jnode>:                                          
 */                                                                   
                                                                      
void IMFS_print_jnode(                                                
  IMFS_jnode_t *the_jnode                                             
)                                                                     
{                                                                     
 8002cf4:	37 9c ff ec 	addi sp,sp,-20                                 
 8002cf8:	5b 8b 00 14 	sw (sp+20),r11                                 
 8002cfc:	5b 8c 00 10 	sw (sp+16),r12                                 
 8002d00:	5b 8d 00 0c 	sw (sp+12),r13                                 
 8002d04:	5b 8e 00 08 	sw (sp+8),r14                                  
 8002d08:	5b 9d 00 04 	sw (sp+4),ra                                   
 8002d0c:	b8 20 60 00 	mv r12,r1                                      
  assert( the_jnode );                                                
 8002d10:	44 20 00 72 	be r1,r0,8002ed8 <IMFS_print_jnode+0x1e4>      <== NEVER TAKEN
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
 8002d14:	78 0b 08 02 	mvhi r11,0x802                                 
 8002d18:	39 6b 71 90 	ori r11,r11,0x7190                             
 8002d1c:	29 62 00 00 	lw r2,(r11+0)                                  
 8002d20:	34 21 00 0c 	addi r1,r1,12                                  
 8002d24:	28 42 00 08 	lw r2,(r2+8)                                   
 8002d28:	f8 00 3a c2 	calli 8011830 <fputs>                          
  switch( the_jnode->type ) {                                         
 8002d2c:	29 8d 00 4c 	lw r13,(r12+76)                                
 8002d30:	34 01 00 07 	mvi r1,7                                       
 8002d34:	55 a1 00 09 	bgu r13,r1,8002d58 <IMFS_print_jnode+0x64>     <== NEVER TAKEN
 8002d38:	78 0e 08 02 	mvhi r14,0x802                                 
 8002d3c:	b9 a0 08 00 	mv r1,r13                                      
 8002d40:	34 02 00 02 	mvi r2,2                                       
 8002d44:	fb ff fd bc 	calli 8002434 <__ashlsi3>                      
 8002d48:	39 ce 4e 00 	ori r14,r14,0x4e00                             
 8002d4c:	b5 c1 08 00 	add r1,r14,r1                                  
 8002d50:	28 21 00 00 	lw r1,(r1+0)                                   
 8002d54:	c0 20 00 00 	b r1                                           
      fprintf(stdout, " FIFO not printed\n" );                        
      assert(0);                                                      
      break;                                                          
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
 8002d58:	29 61 00 00 	lw r1,(r11+0)                                  <== NOT EXECUTED
 8002d5c:	78 02 08 02 	mvhi r2,0x802                                  <== NOT EXECUTED
 8002d60:	38 42 4d 0c 	ori r2,r2,0x4d0c                               <== NOT EXECUTED
 8002d64:	28 21 00 08 	lw r1,(r1+8)                                   <== NOT EXECUTED
 8002d68:	b9 a0 18 00 	mv r3,r13                                      <== NOT EXECUTED
 8002d6c:	f8 00 3a 3a 	calli 8011654 <fprintf>                        <== NOT EXECUTED
      assert(0);                                                      
 8002d70:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8002d74:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8002d78:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 8002d7c:	38 21 4c 58 	ori r1,r1,0x4c58                               <== NOT EXECUTED
 8002d80:	38 63 4e 34 	ori r3,r3,0x4e34                               <== NOT EXECUTED
 8002d84:	38 84 4c f4 	ori r4,r4,0x4cf4                               <== NOT EXECUTED
 8002d88:	34 02 00 6c 	mvi r2,108                                     <== NOT EXECUTED
 8002d8c:	f8 00 02 d5 	calli 80038e0 <__assert_func>                  <== NOT EXECUTED
      fprintf(stdout, " links not printed\n" );                       
      assert(0);                                                      
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
 8002d90:	29 62 00 00 	lw r2,(r11+0)                                  <== NOT EXECUTED
 8002d94:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8002d98:	34 03 00 12 	mvi r3,18                                      <== NOT EXECUTED
 8002d9c:	28 44 00 08 	lw r4,(r2+8)                                   <== NOT EXECUTED
 8002da0:	38 21 4c f8 	ori r1,r1,0x4cf8                               <== NOT EXECUTED
 8002da4:	34 02 00 01 	mvi r2,1                                       <== NOT EXECUTED
 8002da8:	f8 00 3d d3 	calli 80124f4 <fwrite>                         <== NOT EXECUTED
      assert(0);                                                      
 8002dac:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8002db0:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8002db4:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 8002db8:	38 21 4c 58 	ori r1,r1,0x4c58                               <== NOT EXECUTED
 8002dbc:	38 63 4e 34 	ori r3,r3,0x4e34                               <== NOT EXECUTED
 8002dc0:	38 84 4c f4 	ori r4,r4,0x4cf4                               <== NOT EXECUTED
 8002dc4:	34 02 00 67 	mvi r2,103                                     <== NOT EXECUTED
 8002dc8:	f8 00 02 c6 	calli 80038e0 <__assert_func>                  <== NOT EXECUTED
      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)",                       
 8002dcc:	29 61 00 00 	lw r1,(r11+0)                                  <== NOT EXECUTED
 8002dd0:	29 84 00 58 	lw r4,(r12+88)                                 <== NOT EXECUTED
 8002dd4:	29 83 00 54 	lw r3,(r12+84)                                 <== NOT EXECUTED
 8002dd8:	28 21 00 08 	lw r1,(r1+8)                                   <== NOT EXECUTED
 8002ddc:	78 02 08 02 	mvhi r2,0x802                                  <== NOT EXECUTED
 8002de0:	38 42 4c c4 	ori r2,r2,0x4cc4                               <== NOT EXECUTED
 8002de4:	f8 00 3a 1c 	calli 8011654 <fprintf>                        <== NOT EXECUTED
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      assert(0);                                                      
      break;                                                          
  }                                                                   
  puts("");                                                           
 8002de8:	78 01 08 02 	mvhi r1,0x802                                  
 8002dec:	38 21 46 c4 	ori r1,r1,0x46c4                               
 8002df0:	f8 00 42 8b 	calli 801381c <puts>                           
}                                                                     
 8002df4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8002df8:	2b 8b 00 14 	lw r11,(sp+20)                                 
 8002dfc:	2b 8c 00 10 	lw r12,(sp+16)                                 
 8002e00:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 8002e04:	2b 8e 00 08 	lw r14,(sp+8)                                  
 8002e08:	37 9c 00 14 	addi sp,sp,20                                  
 8002e0c:	c3 a0 00 00 	ret                                            
        the_jnode->info.file.indirect,                                
        the_jnode->info.file.doubly_indirect,                         
        the_jnode->info.file.triply_indirect                          
      );                                                              
#else                                                                 
      fprintf(stdout, " (file %" PRId32 ")",                          
 8002e10:	29 61 00 00 	lw r1,(r11+0)                                  
 8002e14:	29 83 00 54 	lw r3,(r12+84)                                 
 8002e18:	78 02 08 02 	mvhi r2,0x802                                  
 8002e1c:	28 21 00 08 	lw r1,(r1+8)                                   
 8002e20:	38 42 4c d4 	ori r2,r2,0x4cd4                               
 8002e24:	f8 00 3a 0c 	calli 8011654 <fprintf>                        
        (uint32_t)the_jnode->info.file.size );                        
#endif                                                                
      break;                                                          
 8002e28:	e3 ff ff f0 	bi 8002de8 <IMFS_print_jnode+0xf4>             
      fprintf(stdout, " links not printed\n" );                       
      assert(0);                                                      
      break;                                                          
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
 8002e2c:	29 62 00 00 	lw r2,(r11+0)                                  <== NOT EXECUTED
 8002e30:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8002e34:	34 03 00 13 	mvi r3,19                                      <== NOT EXECUTED
 8002e38:	28 44 00 08 	lw r4,(r2+8)                                   <== NOT EXECUTED
 8002e3c:	38 21 4c e0 	ori r1,r1,0x4ce0                               <== NOT EXECUTED
 8002e40:	34 02 00 01 	mvi r2,1                                       <== NOT EXECUTED
 8002e44:	f8 00 3d ac 	calli 80124f4 <fwrite>                         <== NOT EXECUTED
      assert(0);                                                      
 8002e48:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8002e4c:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8002e50:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 8002e54:	38 21 4c 58 	ori r1,r1,0x4c58                               <== NOT EXECUTED
 8002e58:	38 63 4e 34 	ori r3,r3,0x4e34                               <== NOT EXECUTED
 8002e5c:	38 84 4c f4 	ori r4,r4,0x4cf4                               <== NOT EXECUTED
 8002e60:	34 02 00 62 	mvi r2,98                                      <== NOT EXECUTED
 8002e64:	f8 00 02 9f 	calli 80038e0 <__assert_func>                  <== NOT EXECUTED
        (uint32_t)the_jnode->info.file.size );                        
#endif                                                                
      break;                                                          
                                                                      
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
 8002e68:	29 62 00 00 	lw r2,(r11+0)                                  <== NOT EXECUTED
 8002e6c:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8002e70:	34 03 00 13 	mvi r3,19                                      <== NOT EXECUTED
 8002e74:	28 44 00 08 	lw r4,(r2+8)                                   <== NOT EXECUTED
 8002e78:	38 21 4c e0 	ori r1,r1,0x4ce0                               <== NOT EXECUTED
 8002e7c:	34 02 00 01 	mvi r2,1                                       <== NOT EXECUTED
 8002e80:	f8 00 3d 9d 	calli 80124f4 <fwrite>                         <== NOT EXECUTED
      assert(0);                                                      
 8002e84:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8002e88:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8002e8c:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 8002e90:	38 21 4c 58 	ori r1,r1,0x4c58                               <== NOT EXECUTED
 8002e94:	38 63 4e 34 	ori r3,r3,0x4e34                               <== NOT EXECUTED
 8002e98:	38 84 4c f4 	ori r4,r4,0x4cf4                               <== NOT EXECUTED
 8002e9c:	34 02 00 5d 	mvi r2,93                                      <== NOT EXECUTED
 8002ea0:	f8 00 02 90 	calli 80038e0 <__assert_func>                  <== NOT EXECUTED
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
      break;                                                          
                                                                      
    case IMFS_DEVICE:                                                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
 8002ea4:	29 61 00 00 	lw r1,(r11+0)                                  
 8002ea8:	29 84 00 54 	lw r4,(r12+84)                                 
 8002eac:	29 83 00 50 	lw r3,(r12+80)                                 
 8002eb0:	28 21 00 08 	lw r1,(r1+8)                                   
 8002eb4:	78 02 08 02 	mvhi r2,0x802                                  
 8002eb8:	38 42 4c b0 	ori r2,r2,0x4cb0                               
 8002ebc:	f8 00 39 e6 	calli 8011654 <fprintf>                        
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
 8002ec0:	e3 ff ff ca 	bi 8002de8 <IMFS_print_jnode+0xf4>             
  assert( the_jnode );                                                
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  switch( the_jnode->type ) {                                         
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
 8002ec4:	29 62 00 00 	lw r2,(r11+0)                                  
 8002ec8:	34 01 00 2f 	mvi r1,47                                      
 8002ecc:	28 42 00 08 	lw r2,(r2+8)                                   
 8002ed0:	f8 00 3a 02 	calli 80116d8 <fputc>                          
      break;                                                          
 8002ed4:	e3 ff ff c5 	bi 8002de8 <IMFS_print_jnode+0xf4>             
                                                                      
void IMFS_print_jnode(                                                
  IMFS_jnode_t *the_jnode                                             
)                                                                     
{                                                                     
  assert( the_jnode );                                                
 8002ed8:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8002edc:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8002ee0:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 8002ee4:	38 21 4c 58 	ori r1,r1,0x4c58                               <== NOT EXECUTED
 8002ee8:	38 63 4e 34 	ori r3,r3,0x4e34                               <== NOT EXECUTED
 8002eec:	38 84 4c a4 	ori r4,r4,0x4ca4                               <== NOT EXECUTED
 8002ef0:	34 02 00 38 	mvi r2,56                                      <== NOT EXECUTED
 8002ef4:	f8 00 02 7b 	calli 80038e0 <__assert_func>                  <== NOT EXECUTED
                                                                      
0800227c <IMFS_readlink>:                                             
int IMFS_readlink(                                                    
  rtems_filesystem_location_info_t  *loc,                             
 char                               *buf,         /* OUT */           
 size_t                             bufsize                           
)                                                                     
{                                                                     
 800227c:	37 9c ff fc 	addi sp,sp,-4                                  
 8002280:	5b 9d 00 04 	sw (sp+4),ra                                   
  IMFS_jnode_t      *node;                                            
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
 8002284:	28 25 00 00 	lw r5,(r1+0)                                   
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
 8002288:	34 01 00 04 	mvi r1,4                                       
 800228c:	28 a4 00 4c 	lw r4,(r5+76)                                  
 8002290:	5c 81 00 15 	bne r4,r1,80022e4 <IMFS_readlink+0x68>         <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
 8002294:	44 60 00 12 	be r3,r0,80022dc <IMFS_readlink+0x60>          <== NEVER TAKEN
 8002298:	28 a4 00 50 	lw r4,(r5+80)                                  
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 800229c:	34 06 00 00 	mvi r6,0                                       
 80022a0:	b8 c0 08 00 	mv r1,r6                                       
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
 80022a4:	40 84 00 00 	lbu r4,(r4+0)                                  
 80022a8:	44 86 00 0d 	be r4,r6,80022dc <IMFS_readlink+0x60>          <== NEVER TAKEN
    buf[i] = node->info.sym_link.name[i];                             
 80022ac:	b4 46 30 00 	add r6,r2,r6                                   
 80022b0:	30 c4 00 00 	sb (r6+0),r4                                   
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
 80022b4:	34 21 00 01 	addi r1,r1,1                                   
 80022b8:	b8 20 30 00 	mv r6,r1                                       
 80022bc:	50 23 00 05 	bgeu r1,r3,80022d0 <IMFS_readlink+0x54>        
 80022c0:	28 a4 00 50 	lw r4,(r5+80)                                  
 80022c4:	b4 81 20 00 	add r4,r4,r1                                   
 80022c8:	40 84 00 00 	lbu r4,(r4+0)                                  
 80022cc:	5c 80 ff f8 	bne r4,r0,80022ac <IMFS_readlink+0x30>         
    buf[i] = node->info.sym_link.name[i];                             
                                                                      
  return i;                                                           
}                                                                     
 80022d0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80022d4:	37 9c 00 04 	addi sp,sp,4                                   
 80022d8:	c3 a0 00 00 	ret                                            
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
 80022dc:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 80022e0:	e3 ff ff fc 	bi 80022d0 <IMFS_readlink+0x54>                <== NOT EXECUTED
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 80022e4:	f8 00 40 df 	calli 8012660 <__errno>                        <== NOT EXECUTED
 80022e8:	34 02 00 16 	mvi r2,22                                      <== NOT EXECUTED
 80022ec:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 80022f0:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 80022f4:	e3 ff ff f7 	bi 80022d0 <IMFS_readlink+0x54>                <== NOT EXECUTED
                                                                      
080022f8 <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 */        
)                                                                     
{                                                                     
 80022f8:	37 9c ff ec 	addi sp,sp,-20                                 <== NOT EXECUTED
 80022fc:	5b 8b 00 0c 	sw (sp+12),r11                                 <== NOT EXECUTED
 8002300:	5b 8c 00 08 	sw (sp+8),r12                                  <== NOT EXECUTED
 8002304:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
 8002308:	28 4b 00 00 	lw r11,(r2+0)                                  <== NOT EXECUTED
  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 */        
)                                                                     
{                                                                     
 800230c:	b8 60 60 00 	mv r12,r3                                      <== NOT EXECUTED
  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 );                
 8002310:	b8 80 10 00 	mv r2,r4                                       <== NOT EXECUTED
 8002314:	35 61 00 0c 	addi r1,r11,12                                 <== NOT EXECUTED
 8002318:	34 03 00 20 	mvi r3,32                                      <== NOT EXECUTED
 800231c:	f8 00 45 ad 	calli 80139d0 <strncpy>                        <== NOT EXECUTED
                                                                      
  if ( the_jnode->Parent != NULL )                                    
 8002320:	29 61 00 08 	lw r1,(r11+8)                                  <== NOT EXECUTED
 8002324:	44 20 00 03 	be r1,r0,8002330 <IMFS_rename+0x38>            <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
 8002328:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 800232c:	f8 00 0b e8 	calli 80052cc <_Chain_Extract>                 <== NOT EXECUTED
    rtems_chain_extract( (rtems_chain_node *) the_jnode );            
                                                                      
  new_parent = new_parent_loc->node_access;                           
 8002330:	29 83 00 00 	lw r3,(r12+0)                                  <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
 8002334:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 8002338:	34 61 00 50 	addi r1,r3,80                                  <== NOT EXECUTED
  the_jnode->Parent = new_parent;                                     
 800233c:	59 63 00 08 	sw (r11+8),r3                                  <== NOT EXECUTED
 8002340:	f8 00 0b d7 	calli 800529c <_Chain_Append>                  <== NOT EXECUTED
  rtems_chain_append( &new_parent->info.directory.Entries, &the_jnode->Node );
                                                                      
  /*                                                                  
   * Update the time.                                                 
   */                                                                 
  IMFS_update_ctime( the_jnode );                                     
 8002344:	37 81 00 10 	addi r1,sp,16                                  <== NOT EXECUTED
 8002348:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 800234c:	f8 00 02 49 	calli 8002c70 <gettimeofday>                   <== NOT EXECUTED
 8002350:	2b 81 00 10 	lw r1,(sp+16)                                  <== NOT EXECUTED
 8002354:	59 61 00 48 	sw (r11+72),r1                                 <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
 8002358:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 800235c:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8002360:	2b 8b 00 0c 	lw r11,(sp+12)                                 <== NOT EXECUTED
 8002364:	2b 8c 00 08 	lw r12,(sp+8)                                  <== NOT EXECUTED
 8002368:	37 9c 00 14 	addi sp,sp,20                                  <== NOT EXECUTED
 800236c:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
080074f4 <IMFS_rmnod>:                                                
                                                                      
int IMFS_rmnod(                                                       
  rtems_filesystem_location_info_t  *parent_pathloc, /* IN */         
  rtems_filesystem_location_info_t  *pathloc         /* IN */         
)                                                                     
{                                                                     
 80074f4:	37 9c ff ec 	addi sp,sp,-20                                 
 80074f8:	5b 8b 00 0c 	sw (sp+12),r11                                 
 80074fc:	5b 8c 00 08 	sw (sp+8),r12                                  
 8007500:	5b 9d 00 04 	sw (sp+4),ra                                   
  IMFS_jnode_t *the_jnode;                                            
                                                                      
  the_jnode = (IMFS_jnode_t *) pathloc->node_access;                  
 8007504:	28 4b 00 00 	lw r11,(r2+0)                                  
                                                                      
int IMFS_rmnod(                                                       
  rtems_filesystem_location_info_t  *parent_pathloc, /* IN */         
  rtems_filesystem_location_info_t  *pathloc         /* IN */         
)                                                                     
{                                                                     
 8007508:	b8 40 60 00 	mv r12,r2                                      
                                                                      
  /*                                                                  
   * Take the node out of the parent's chain that contains this node  
   */                                                                 
                                                                      
  if ( the_jnode->Parent != NULL ) {                                  
 800750c:	29 61 00 08 	lw r1,(r11+8)                                  
 8007510:	44 20 00 05 	be r1,r0,8007524 <IMFS_rmnod+0x30>             <== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
 8007514:	b9 60 08 00 	mv r1,r11                                      
 8007518:	f8 00 05 2a 	calli 80089c0 <_Chain_Extract>                 
    rtems_chain_extract( (rtems_chain_node *) the_jnode );            
    the_jnode->Parent = NULL;                                         
 800751c:	34 01 00 00 	mvi r1,0                                       
 8007520:	59 61 00 08 	sw (r11+8),r1                                  
                                                                      
  /*                                                                  
   * Decrement the link counter and see if we can free the space.     
   */                                                                 
                                                                      
  the_jnode->st_nlink--;                                              
 8007524:	2d 63 00 34 	lhu r3,(r11+52)                                
  IMFS_update_ctime( the_jnode );                                     
 8007528:	34 02 00 00 	mvi r2,0                                       
 800752c:	37 81 00 10 	addi r1,sp,16                                  
                                                                      
  /*                                                                  
   * Decrement the link counter and see if we can free the space.     
   */                                                                 
                                                                      
  the_jnode->st_nlink--;                                              
 8007530:	34 63 ff ff 	addi r3,r3,-1                                  
 8007534:	0d 63 00 34 	sh (r11+52),r3                                 
  IMFS_update_ctime( the_jnode );                                     
 8007538:	f8 00 01 43 	calli 8007a44 <gettimeofday>                   
 800753c:	2b 81 00 10 	lw r1,(sp+16)                                  
 8007540:	59 61 00 48 	sw (r11+72),r1                                 
                                                                      
  /*                                                                  
   * The file cannot be open and the link must be less than 1 to free.
   */                                                                 
                                                                      
  if ( !rtems_libio_is_file_open( the_jnode ) && (the_jnode->st_nlink < 1) ) {
 8007544:	b9 60 08 00 	mv r1,r11                                      
 8007548:	f8 00 02 22 	calli 8007dd0 <rtems_libio_is_file_open>       
 800754c:	5c 20 00 0e 	bne r1,r0,8007584 <IMFS_rmnod+0x90>            <== NEVER TAKEN
 8007550:	2d 62 00 34 	lhu r2,(r11+52)                                
 8007554:	5c 41 00 0c 	bne r2,r1,8007584 <IMFS_rmnod+0x90>            <== NEVER TAKEN
                                                                      
    /*                                                                
     * Is rtems_filesystem_current this node?                         
     */                                                               
                                                                      
    if ( rtems_filesystem_current.node_access == pathloc->node_access )
 8007558:	78 01 08 01 	mvhi r1,0x801                                  
 800755c:	38 21 c1 10 	ori r1,r1,0xc110                               
 8007560:	28 21 00 00 	lw r1,(r1+0)                                   
 8007564:	29 83 00 00 	lw r3,(r12+0)                                  
 8007568:	28 24 00 04 	lw r4,(r1+4)                                   
 800756c:	44 83 00 10 	be r4,r3,80075ac <IMFS_rmnod+0xb8>             <== NEVER TAKEN
                                                                      
    /*                                                                
     * Free memory associated with a memory file.                     
     */                                                               
                                                                      
    if ( the_jnode->type == IMFS_SYM_LINK ) {                         
 8007570:	29 62 00 4c 	lw r2,(r11+76)                                 
 8007574:	34 01 00 04 	mvi r1,4                                       
 8007578:	44 41 00 09 	be r2,r1,800759c <IMFS_rmnod+0xa8>             
      if ( the_jnode->info.sym_link.name )                            
        free( (void*) the_jnode->info.sym_link.name );                
    }                                                                 
    free( the_jnode );                                                
 800757c:	b9 60 08 00 	mv r1,r11                                      
 8007580:	f8 00 00 b3 	calli 800784c <free>                           
  }                                                                   
                                                                      
  return 0;                                                           
                                                                      
}                                                                     
 8007584:	34 01 00 00 	mvi r1,0                                       
 8007588:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800758c:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8007590:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8007594:	37 9c 00 14 	addi sp,sp,20                                  
 8007598:	c3 a0 00 00 	ret                                            
    /*                                                                
     * Free memory associated with a memory file.                     
     */                                                               
                                                                      
    if ( the_jnode->type == IMFS_SYM_LINK ) {                         
      if ( the_jnode->info.sym_link.name )                            
 800759c:	29 61 00 50 	lw r1,(r11+80)                                 
 80075a0:	44 20 ff f7 	be r1,r0,800757c <IMFS_rmnod+0x88>             <== NEVER TAKEN
        free( (void*) the_jnode->info.sym_link.name );                
 80075a4:	f8 00 00 aa 	calli 800784c <free>                           
 80075a8:	e3 ff ff f5 	bi 800757c <IMFS_rmnod+0x88>                   
    /*                                                                
     * Is rtems_filesystem_current this node?                         
     */                                                               
                                                                      
    if ( rtems_filesystem_current.node_access == pathloc->node_access )
       rtems_filesystem_current.node_access = NULL;                   
 80075ac:	58 22 00 04 	sw (r1+4),r2                                   <== NOT EXECUTED
 80075b0:	e3 ff ff f0 	bi 8007570 <IMFS_rmnod+0x7c>                   <== NOT EXECUTED
                                                                      
080075b4 <IMFS_stat>:                                                 
                                                                      
int IMFS_stat(                                                        
  rtems_filesystem_location_info_t *loc,                              
  struct stat                      *buf                               
)                                                                     
{                                                                     
 80075b4:	37 9c ff f0 	addi sp,sp,-16                                 
 80075b8:	5b 8b 00 10 	sw (sp+16),r11                                 
 80075bc:	5b 8c 00 0c 	sw (sp+12),r12                                 
 80075c0:	5b 8d 00 08 	sw (sp+8),r13                                  
 80075c4:	5b 9d 00 04 	sw (sp+4),ra                                   
  IMFS_jnode_t   *the_jnode;                                          
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
 80075c8:	28 2b 00 00 	lw r11,(r1+0)                                  
                                                                      
int IMFS_stat(                                                        
  rtems_filesystem_location_info_t *loc,                              
  struct stat                      *buf                               
)                                                                     
{                                                                     
 80075cc:	b8 40 60 00 	mv r12,r2                                      
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
 80075d0:	34 02 00 07 	mvi r2,7                                       
 80075d4:	29 61 00 4c 	lw r1,(r11+76)                                 
 80075d8:	54 22 00 26 	bgu r1,r2,8007670 <IMFS_stat+0xbc>             <== NEVER TAKEN
 80075dc:	78 0d 08 01 	mvhi r13,0x801                                 
 80075e0:	34 02 00 02 	mvi r2,2                                       
 80075e4:	fb ff e3 03 	calli 80001f0 <__ashlsi3>                      
 80075e8:	39 ad b3 84 	ori r13,r13,0xb384                             
 80075ec:	b5 a1 08 00 	add r1,r13,r1                                  
 80075f0:	28 21 00 00 	lw r1,(r1+0)                                   
 80075f4:	c0 20 00 00 	b r1                                           
    case IMFS_SYM_LINK:                                               
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
 80075f8:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 80075fc:	59 81 00 20 	sw (r12+32),r1                                 <== NOT EXECUTED
      break;                                                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
 8007600:	29 62 00 38 	lw r2,(r11+56)                                 
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
      break;                                                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
 8007604:	2d 61 00 34 	lhu r1,(r11+52)                                
  buf->st_ino   = the_jnode->st_ino;                                  
 8007608:	59 82 00 08 	sw (r12+8),r2                                  
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
      break;                                                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
 800760c:	29 62 00 30 	lw r2,(r11+48)                                 
  buf->st_nlink = the_jnode->st_nlink;                                
 8007610:	0d 81 00 10 	sh (r12+16),r1                                 
  buf->st_ino   = the_jnode->st_ino;                                  
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
 8007614:	29 61 00 40 	lw r1,(r11+64)                                 
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
      break;                                                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
 8007618:	59 82 00 0c 	sw (r12+12),r2                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
  buf->st_uid   = the_jnode->st_uid;                                  
 800761c:	2d 62 00 3c 	lhu r2,(r11+60)                                
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
 8007620:	59 81 00 24 	sw (r12+36),r1                                 
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
 8007624:	34 01 00 00 	mvi r1,0                                       
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
  buf->st_uid   = the_jnode->st_uid;                                  
 8007628:	0d 82 00 12 	sh (r12+18),r2                                 
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
 800762c:	29 62 00 44 	lw r2,(r11+68)                                 
 8007630:	59 82 00 2c 	sw (r12+44),r2                                 
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
 8007634:	2d 62 00 3e 	lhu r2,(r11+62)                                
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
 8007638:	29 6b 00 48 	lw r11,(r11+72)                                
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
 800763c:	0d 82 00 14 	sh (r12+20),r2                                 
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
 8007640:	59 8b 00 34 	sw (r12+52),r11                                
                                                                      
  return 0;                                                           
}                                                                     
 8007644:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8007648:	2b 8b 00 10 	lw r11,(sp+16)                                 
 800764c:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8007650:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8007654:	37 9c 00 10 	addi sp,sp,16                                  
 8007658:	c3 a0 00 00 	ret                                            
                                                                      
  switch ( the_jnode->type ) {                                        
                                                                      
    case IMFS_DEVICE:                                                 
      io           = &the_jnode->info.device;                         
      buf->st_rdev = rtems_filesystem_make_dev_t( io->major, io->minor );
 800765c:	29 61 00 54 	lw r1,(r11+84)                                 
 8007660:	29 62 00 50 	lw r2,(r11+80)                                 
 8007664:	59 81 00 1c 	sw (r12+28),r1                                 
 8007668:	59 82 00 18 	sw (r12+24),r2                                 
      break;                                                          
 800766c:	e3 ff ff e5 	bi 8007600 <IMFS_stat+0x4c>                    
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
 8007670:	f8 00 11 65 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 8007674:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 8007678:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 800767c:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
                                                                      
  return 0;                                                           
}                                                                     
 8007680:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8007684:	2b 8b 00 10 	lw r11,(sp+16)                                 <== NOT EXECUTED
 8007688:	2b 8c 00 0c 	lw r12,(sp+12)                                 <== NOT EXECUTED
 800768c:	2b 8d 00 08 	lw r13,(sp+8)                                  <== NOT EXECUTED
 8007690:	37 9c 00 10 	addi sp,sp,16                                  <== NOT EXECUTED
 8007694:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
      buf->st_rdev = rtems_filesystem_make_dev_t( io->major, io->minor );
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
    case IMFS_MEMORY_FILE:                                            
      buf->st_size = the_jnode->info.file.size;                       
 8007698:	29 61 00 54 	lw r1,(r11+84)                                 
 800769c:	59 81 00 20 	sw (r12+32),r1                                 
      break;                                                          
 80076a0:	e3 ff ff d8 	bi 8007600 <IMFS_stat+0x4c>                    
                                                                      
08002370 <IMFS_symlink>:                                              
int IMFS_symlink(                                                     
  rtems_filesystem_location_info_t  *parent_loc,                      
  const char                        *link_name,                       
  const char                        *node_name                        
)                                                                     
{                                                                     
 8002370:	37 9c ff ac 	addi sp,sp,-84                                 
 8002374:	5b 8b 00 14 	sw (sp+20),r11                                 
 8002378:	5b 8c 00 10 	sw (sp+16),r12                                 
 800237c:	5b 8d 00 0c 	sw (sp+12),r13                                 
 8002380:	5b 8e 00 08 	sw (sp+8),r14                                  
 8002384:	5b 9d 00 04 	sw (sp+4),ra                                   
 8002388:	b8 20 70 00 	mv r14,r1                                      
  int                i;                                               
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
  IMFS_get_token( node_name, strlen( node_name ), new_name, &i );     
 800238c:	b8 60 08 00 	mv r1,r3                                       
int IMFS_symlink(                                                     
  rtems_filesystem_location_info_t  *parent_loc,                      
  const char                        *link_name,                       
  const char                        *node_name                        
)                                                                     
{                                                                     
 8002390:	b8 60 58 00 	mv r11,r3                                      
 8002394:	b8 40 68 00 	mv r13,r2                                      
  int                i;                                               
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
  IMFS_get_token( node_name, strlen( node_name ), new_name, &i );     
 8002398:	37 8c 00 18 	addi r12,sp,24                                 
 800239c:	f8 00 45 62 	calli 8013924 <strlen>                         
 80023a0:	b8 20 10 00 	mv r2,r1                                       
 80023a4:	b9 80 18 00 	mv r3,r12                                      
 80023a8:	37 84 00 54 	addi r4,sp,84                                  
 80023ac:	b9 60 08 00 	mv r1,r11                                      
 80023b0:	f8 00 2c e0 	calli 800d730 <IMFS_get_token>                 
                                                                      
  /*                                                                  
   * Duplicate link name                                              
   */                                                                 
  info.sym_link.name = strdup(link_name);                             
 80023b4:	b9 a0 08 00 	mv r1,r13                                      
 80023b8:	f8 00 45 38 	calli 8013898 <strdup>                         
 80023bc:	5b 81 00 3c 	sw (sp+60),r1                                  
  if (info.sym_link.name == NULL) {                                   
 80023c0:	44 20 00 13 	be r1,r0,800240c <IMFS_symlink+0x9c>           <== NEVER TAKEN
   *        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.                                                
   */                                                                 
  new_node = IMFS_create_node(                                        
 80023c4:	34 02 00 04 	mvi r2,4                                       
 80023c8:	b9 c0 08 00 	mv r1,r14                                      
 80023cc:	b9 80 18 00 	mv r3,r12                                      
 80023d0:	38 04 a1 ff 	mvu r4,0xa1ff                                  
 80023d4:	37 85 00 3c 	addi r5,sp,60                                  
 80023d8:	f8 00 28 dc 	calli 800c748 <IMFS_create_node>               
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if (new_node == NULL) {                                             
 80023dc:	34 02 00 00 	mvi r2,0                                       
 80023e0:	44 22 00 09 	be r1,r2,8002404 <IMFS_symlink+0x94>           <== NEVER TAKEN
    free(info.sym_link.name);                                         
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 80023e4:	b8 40 08 00 	mv r1,r2                                       
 80023e8:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80023ec:	2b 8b 00 14 	lw r11,(sp+20)                                 
 80023f0:	2b 8c 00 10 	lw r12,(sp+16)                                 
 80023f4:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 80023f8:	2b 8e 00 08 	lw r14,(sp+8)                                  
 80023fc:	37 9c 00 54 	addi sp,sp,84                                  
 8002400:	c3 a0 00 00 	ret                                            
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if (new_node == NULL) {                                             
    free(info.sym_link.name);                                         
 8002404:	2b 81 00 3c 	lw r1,(sp+60)                                  <== NOT EXECUTED
 8002408:	f8 00 01 ec 	calli 8002bb8 <free>                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
 800240c:	f8 00 40 95 	calli 8012660 <__errno>                        <== NOT EXECUTED
 8002410:	34 02 00 0c 	mvi r2,12                                      <== NOT EXECUTED
 8002414:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8002418:	34 02 ff ff 	mvi r2,-1                                      <== NOT EXECUTED
 800241c:	e3 ff ff f2 	bi 80023e4 <IMFS_symlink+0x74>                 <== NOT EXECUTED
                                                                      
08002420 <IMFS_unlink>:                                               
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
 8002420:	37 9c ff d0 	addi sp,sp,-48                                 
 8002424:	5b 8b 00 14 	sw (sp+20),r11                                 
 8002428:	5b 8c 00 10 	sw (sp+16),r12                                 
 800242c:	5b 8d 00 0c 	sw (sp+12),r13                                 
 8002430:	5b 8e 00 08 	sw (sp+8),r14                                  
 8002434:	5b 9d 00 04 	sw (sp+4),ra                                   
  IMFS_jnode_t                      *node;                            
  rtems_filesystem_location_info_t   the_link;                        
  int                                result = 0;                      
                                                                      
  node = loc->node_access;                                            
 8002438:	28 4c 00 00 	lw r12,(r2+0)                                  
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
 800243c:	b8 40 58 00 	mv r11,r2                                      
 8002440:	b8 20 68 00 	mv r13,r1                                      
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
 8002444:	29 82 00 4c 	lw r2,(r12+76)                                 
 8002448:	34 01 00 03 	mvi r1,3                                       
 800244c:	44 41 00 0f 	be r2,r1,8002488 <IMFS_unlink+0x68>            
                                                                      
  /*                                                                  
   *  Now actually free the node we were asked to free.               
   */                                                                 
                                                                      
  result = (*loc->handlers->rmnod_h)( parentloc, loc );               
 8002450:	29 63 00 08 	lw r3,(r11+8)                                  
 8002454:	b9 60 10 00 	mv r2,r11                                      
 8002458:	b9 a0 08 00 	mv r1,r13                                      
 800245c:	28 63 00 34 	lw r3,(r3+52)                                  
 8002460:	d8 60 00 00 	call r3                                        
 8002464:	b8 20 10 00 	mv r2,r1                                       
                                                                      
  return result;                                                      
}                                                                     
 8002468:	b8 40 08 00 	mv r1,r2                                       
 800246c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8002470:	2b 8b 00 14 	lw r11,(sp+20)                                 
 8002474:	2b 8c 00 10 	lw r12,(sp+16)                                 
 8002478:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 800247c:	2b 8e 00 08 	lw r14,(sp+8)                                  
 8002480:	37 9c 00 30 	addi sp,sp,48                                  
 8002484:	c3 a0 00 00 	ret                                            
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
 8002488:	29 83 00 50 	lw r3,(r12+80)                                 
 800248c:	44 60 00 22 	be r3,r0,8002514 <IMFS_unlink+0xf4>            <== NEVER TAKEN
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    the_link = *loc;                                                  
    the_link.node_access = node->info.hard_link.link_node;            
 8002490:	5b 83 00 18 	sw (sp+24),r3                                  
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    the_link = *loc;                                                  
 8002494:	29 62 00 04 	lw r2,(r11+4)                                  
    the_link.node_access = node->info.hard_link.link_node;            
    IMFS_Set_handlers( &the_link );                                   
 8002498:	37 8e 00 18 	addi r14,sp,24                                 
 800249c:	b9 c0 08 00 	mv r1,r14                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    the_link = *loc;                                                  
 80024a0:	5b 82 00 1c 	sw (sp+28),r2                                  
 80024a4:	29 62 00 08 	lw r2,(r11+8)                                  
 80024a8:	5b 82 00 20 	sw (sp+32),r2                                  
 80024ac:	29 62 00 0c 	lw r2,(r11+12)                                 
 80024b0:	5b 82 00 24 	sw (sp+36),r2                                  
 80024b4:	29 62 00 10 	lw r2,(r11+16)                                 
 80024b8:	5b 82 00 28 	sw (sp+40),r2                                  
    the_link.node_access = node->info.hard_link.link_node;            
    IMFS_Set_handlers( &the_link );                                   
 80024bc:	f8 00 28 fd 	calli 800c8b0 <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)               
 80024c0:	29 83 00 50 	lw r3,(r12+80)                                 
 80024c4:	34 01 00 01 	mvi r1,1                                       
 80024c8:	2c 64 00 34 	lhu r4,(r3+52)                                 
 80024cc:	44 81 00 0a 	be r4,r1,80024f4 <IMFS_unlink+0xd4>            
        if ( result != 0 )                                            
            return -1;                                                
    }                                                                 
    else                                                              
    {                                                                 
        node->info.hard_link.link_node->st_nlink --;                  
 80024d0:	34 84 ff ff 	addi r4,r4,-1                                  
        IMFS_update_ctime( node->info.hard_link.link_node );          
 80024d4:	34 02 00 00 	mvi r2,0                                       
        if ( result != 0 )                                            
            return -1;                                                
    }                                                                 
    else                                                              
    {                                                                 
        node->info.hard_link.link_node->st_nlink --;                  
 80024d8:	0c 64 00 34 	sh (r3+52),r4                                  
        IMFS_update_ctime( node->info.hard_link.link_node );          
 80024dc:	37 81 00 2c 	addi r1,sp,44                                  
 80024e0:	f8 00 01 e4 	calli 8002c70 <gettimeofday>                   
 80024e4:	29 81 00 50 	lw r1,(r12+80)                                 
 80024e8:	2b 82 00 2c 	lw r2,(sp+44)                                  
 80024ec:	58 22 00 48 	sw (r1+72),r2                                  
 80024f0:	e3 ff ff d8 	bi 8002450 <IMFS_unlink+0x30>                  
     *  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 );
 80024f4:	2b 83 00 20 	lw r3,(sp+32)                                  
 80024f8:	b9 c0 10 00 	mv r2,r14                                      
 80024fc:	b9 a0 08 00 	mv r1,r13                                      
 8002500:	28 63 00 34 	lw r3,(r3+52)                                  
 8002504:	d8 60 00 00 	call r3                                        
        if ( result != 0 )                                            
 8002508:	34 02 ff ff 	mvi r2,-1                                      
 800250c:	44 20 ff d1 	be r1,r0,8002450 <IMFS_unlink+0x30>            
 8002510:	e3 ff ff d6 	bi 8002468 <IMFS_unlink+0x48>                  
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 8002514:	f8 00 40 53 	calli 8012660 <__errno>                        <== NOT EXECUTED
 8002518:	34 02 00 16 	mvi r2,22                                      <== NOT EXECUTED
 800251c:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8002520:	34 02 ff ff 	mvi r2,-1                                      <== NOT EXECUTED
 8002524:	e3 ff ff d1 	bi 8002468 <IMFS_unlink+0x48>                  <== NOT EXECUTED
                                                                      
08002528 <IMFS_unmount>:                                              
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_unmount(                                                     
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
 8002528:	37 9c ff fc 	addi sp,sp,-4                                  
 800252c:	5b 9d 00 04 	sw (sp+4),ra                                   
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
 8002530:	28 22 00 08 	lw r2,(r1+8)                                   
                                                                      
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
 8002534:	34 01 00 01 	mvi r1,1                                       
 8002538:	28 43 00 4c 	lw r3,(r2+76)                                  
 800253c:	5c 61 00 08 	bne r3,r1,800255c <IMFS_unmount+0x34>          <== NEVER TAKEN
                                                                      
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
 8002540:	28 43 00 5c 	lw r3,(r2+92)                                  
 8002544:	34 01 00 00 	mvi r1,0                                       
 8002548:	44 61 00 0a 	be r3,r1,8002570 <IMFS_unmount+0x48>           <== 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;                                  
 800254c:	58 41 00 5c 	sw (r2+92),r1                                  
                                                                      
  return 0;                                                           
}                                                                     
 8002550:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8002554:	37 9c 00 04 	addi sp,sp,4                                   
 8002558:	c3 a0 00 00 	ret                                            
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
 800255c:	f8 00 40 41 	calli 8012660 <__errno>                        <== NOT EXECUTED
 8002560:	34 02 00 14 	mvi r2,20                                      <== NOT EXECUTED
 8002564:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8002568:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 800256c:	e3 ff ff f9 	bi 8002550 <IMFS_unmount+0x28>                 <== 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 */        
 8002570:	f8 00 40 3c 	calli 8012660 <__errno>                        <== NOT EXECUTED
 8002574:	34 02 00 16 	mvi r2,22                                      <== NOT EXECUTED
 8002578:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 800257c:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8002580:	e3 ff ff f4 	bi 8002550 <IMFS_unmount+0x28>                 <== NOT EXECUTED
                                                                      
080010e0 <RTEMS_Malloc_Initialize>:                                   
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
 80010e0:	37 9c ff f0 	addi sp,sp,-16                                 
 80010e4:	5b 8b 00 10 	sw (sp+16),r11                                 
 80010e8:	5b 8c 00 0c 	sw (sp+12),r12                                 
 80010ec:	5b 8d 00 08 	sw (sp+8),r13                                  
 80010f0:	5b 9d 00 04 	sw (sp+4),ra                                   
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
 80010f4:	78 04 08 01 	mvhi r4,0x801                                  
 80010f8:	38 84 c6 10 	ori r4,r4,0xc610                               
 80010fc:	28 84 00 00 	lw r4,(r4+0)                                   
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
 8001100:	b8 20 60 00 	mv r12,r1                                      
 8001104:	b8 40 68 00 	mv r13,r2                                      
 8001108:	b8 60 58 00 	mv r11,r3                                      
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
 800110c:	44 80 00 03 	be r4,r0,8001118 <RTEMS_Malloc_Initialize+0x38><== ALWAYS TAKEN
    (*rtems_malloc_statistics_helpers->initialize)();                 
 8001110:	28 81 00 00 	lw r1,(r4+0)                                   <== NOT EXECUTED
 8001114:	d8 20 00 00 	call r1                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize the garbage collection list to start with nothing on it.
   */                                                                 
  malloc_deferred_frees_initialize();                                 
 8001118:	f8 00 1b 66 	calli 8007eb0 <malloc_deferred_frees_initialize>
                                                                      
  /*                                                                  
   *  Initialize the optional sbrk support for extending the heap     
   */                                                                 
  if ( rtems_malloc_sbrk_helpers != NULL ) {                          
 800111c:	78 04 08 01 	mvhi r4,0x801                                  
 8001120:	38 84 c6 14 	ori r4,r4,0xc614                               
 8001124:	28 81 00 00 	lw r1,(r4+0)                                   
 8001128:	44 20 00 08 	be r1,r0,8001148 <RTEMS_Malloc_Initialize+0x68><== ALWAYS TAKEN
    void *new_heap_begin = (*rtems_malloc_sbrk_helpers->initialize)(  
 800112c:	28 23 00 00 	lw r3,(r1+0)                                   <== NOT EXECUTED
 8001130:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 8001134:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8001138:	d8 60 00 00 	call r3                                        <== NOT EXECUTED
      heap_begin,                                                     
      sbrk_amount                                                     
    );                                                                
                                                                      
    heap_size -= (uintptr_t) new_heap_begin - (uintptr_t) heap_begin; 
 800113c:	b5 8d 68 00 	add r13,r12,r13                                <== NOT EXECUTED
 8001140:	c9 a1 68 00 	sub r13,r13,r1                                 <== NOT EXECUTED
 8001144:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
   *  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 (                                                                
 8001148:	78 0b 08 01 	mvhi r11,0x801                                 
 800114c:	39 6b c6 0d 	ori r11,r11,0xc60d                             
 8001150:	41 62 00 00 	lbu r2,(r11+0)                                 
 8001154:	5c 40 00 1f 	bne r2,r0,80011d0 <RTEMS_Malloc_Initialize+0xf0>
    !rtems_unified_work_area                                          
      && rtems_configuration_get_do_zero_of_workspace()               
 8001158:	78 01 08 01 	mvhi r1,0x801                                  
 800115c:	38 21 c0 c4 	ori r1,r1,0xc0c4                               
 8001160:	40 21 00 28 	lbu r1,(r1+40)                                 
 8001164:	5c 22 00 16 	bne r1,r2,80011bc <RTEMS_Malloc_Initialize+0xdc>
  void *area_begin,                                                   
  uintptr_t area_size,                                                
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return _Heap_Initialize( heap, area_begin, area_size, page_size );  
 8001168:	78 0b 08 01 	mvhi r11,0x801                                 
 800116c:	39 6b c0 1c 	ori r11,r11,0xc01c                             
 8001170:	29 61 00 00 	lw r1,(r11+0)                                  
 8001174:	b9 80 10 00 	mv r2,r12                                      
 8001178:	b9 a0 18 00 	mv r3,r13                                      
 800117c:	34 04 00 08 	mvi r4,8                                       
 8001180:	f8 00 08 41 	calli 8003284 <_Heap_Initialize>               
      RTEMS_Malloc_Heap,                                              
      heap_begin,                                                     
      heap_size,                                                      
      CPU_HEAP_ALIGNMENT                                              
    );                                                                
    if ( status == 0 ) {                                              
 8001184:	44 20 00 16 	be r1,r0,80011dc <RTEMS_Malloc_Initialize+0xfc><== NEVER TAKEN
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size(RTEMS_Malloc_Heap) );
 8001188:	78 0c 08 01 	mvhi r12,0x801                                 
 800118c:	39 8c c6 a8 	ori r12,r12,0xc6a8                             
 8001190:	29 61 00 00 	lw r1,(r11+0)                                  
 8001194:	29 8b 00 00 	lw r11,(r12+0)                                 
 8001198:	f8 00 0b c0 	calli 8004098 <_Protected_heap_Get_size>       
 800119c:	b4 2b 08 00 	add r1,r1,r11                                  
 80011a0:	59 81 00 00 	sw (r12+0),r1                                  
      printk( "\n" );                                                 
      rtems_print_buffer( (heap_begin + heap_size) - 48, 48 );        
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  #endif                                                              
}                                                                     
 80011a4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80011a8:	2b 8b 00 10 	lw r11,(sp+16)                                 
 80011ac:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 80011b0:	2b 8d 00 08 	lw r13,(sp+8)                                  
 80011b4:	37 9c 00 10 	addi sp,sp,16                                  
 80011b8:	c3 a0 00 00 	ret                                            
                                                                      
  if (                                                                
    !rtems_unified_work_area                                          
      && rtems_configuration_get_do_zero_of_workspace()               
  ) {                                                                 
     memset( heap_begin, 0, heap_size );                              
 80011bc:	b9 80 08 00 	mv r1,r12                                      
 80011c0:	b9 a0 18 00 	mv r3,r13                                      
 80011c4:	f8 00 2d 94 	calli 800c814 <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 ) {                                   
 80011c8:	41 61 00 00 	lbu r1,(r11+0)                                 
 80011cc:	44 20 ff e7 	be r1,r0,8001168 <RTEMS_Malloc_Initialize+0x88><== ALWAYS TAKEN
 80011d0:	78 0b 08 01 	mvhi r11,0x801                                 
 80011d4:	39 6b c0 1c 	ori r11,r11,0xc01c                             
 80011d8:	e3 ff ff ec 	bi 8001188 <RTEMS_Malloc_Initialize+0xa8>      
      heap_begin,                                                     
      heap_size,                                                      
      CPU_HEAP_ALIGNMENT                                              
    );                                                                
    if ( status == 0 ) {                                              
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
 80011dc:	34 01 00 1a 	mvi r1,26                                      <== NOT EXECUTED
 80011e0:	f8 00 05 e7 	calli 800297c <rtems_fatal_error_occurred>     <== NOT EXECUTED
                                                                      
0800417c <Stack_check_Dump_threads_usage>:                            
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
 800417c:	37 9c ff d0 	addi sp,sp,-48                                 <== NOT EXECUTED
 8004180:	5b 8b 00 28 	sw (sp+40),r11                                 <== NOT EXECUTED
 8004184:	5b 8c 00 24 	sw (sp+36),r12                                 <== NOT EXECUTED
 8004188:	5b 8d 00 20 	sw (sp+32),r13                                 <== NOT EXECUTED
 800418c:	5b 8e 00 1c 	sw (sp+28),r14                                 <== NOT EXECUTED
 8004190:	5b 8f 00 18 	sw (sp+24),r15                                 <== NOT EXECUTED
 8004194:	5b 90 00 14 	sw (sp+20),r16                                 <== NOT EXECUTED
 8004198:	5b 91 00 10 	sw (sp+16),r17                                 <== NOT EXECUTED
 800419c:	5b 92 00 0c 	sw (sp+12),r18                                 <== NOT EXECUTED
 80041a0:	5b 93 00 08 	sw (sp+8),r19                                  <== NOT EXECUTED
 80041a4:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 80041a8:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
  void           *high_water_mark;                                    
  void           *current;                                            
  Stack_Control  *stack;                                              
  char            name[5];                                            
                                                                      
  if ( !the_thread )                                                  
 80041ac:	44 20 00 37 	be r1,r0,8004288 <Stack_check_Dump_threads_usage+0x10c><== NOT EXECUTED
    return;                                                           
                                                                      
  if ( !print_handler )                                               
 80041b0:	78 0d 08 07 	mvhi r13,0x807                                 <== NOT EXECUTED
 80041b4:	39 ad 24 b0 	ori r13,r13,0x24b0                             <== NOT EXECUTED
 80041b8:	29 b0 00 00 	lw r16,(r13+0)                                 <== NOT EXECUTED
 80041bc:	46 00 00 33 	be r16,r0,8004288 <Stack_check_Dump_threads_usage+0x10c><== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
                                                                      
  if (the_thread == (Thread_Control *) -1) {                          
 80041c0:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 80041c4:	45 61 00 4d 	be r11,r1,80042f8 <Stack_check_Dump_threads_usage+0x17c><== NOT EXECUTED
    }                                                                 
    else                                                              
      return;                                                         
  } else {                                                            
    stack  = &the_thread->Start.Initial_stack;                        
    current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );  
 80041c8:	29 71 01 10 	lw r17,(r11+272)                               <== NOT EXECUTED
      current = 0;                                                    
    }                                                                 
    else                                                              
      return;                                                         
  } else {                                                            
    stack  = &the_thread->Start.Initial_stack;                        
 80041cc:	35 6e 00 c0 	addi r14,r11,192                               <== NOT EXECUTED
    current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );  
  }                                                                   
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
 80041d0:	29 cc 00 04 	lw r12,(r14+4)                                 <== NOT EXECUTED
  size = Stack_check_usable_stack_size(stack);                        
 80041d4:	29 cf 00 00 	lw r15,(r14+0)                                 <== NOT EXECUTED
  } else {                                                            
    stack  = &the_thread->Start.Initial_stack;                        
    current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );  
  }                                                                   
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
 80041d8:	35 8c 00 10 	addi r12,r12,16                                <== NOT EXECUTED
  size = Stack_check_usable_stack_size(stack);                        
 80041dc:	35 ef ff f0 	addi r15,r15,-16                               <== NOT EXECUTED
                                                                      
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
 80041e0:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 80041e4:	b9 e0 10 00 	mv r2,r15                                      <== NOT EXECUTED
 80041e8:	fb ff ff c3 	calli 80040f4 <Stack_check_find_high_water_mark><== NOT EXECUTED
                                                                      
  if ( high_water_mark )                                              
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
 80041ec:	b5 8f 60 00 	add r12,r12,r15                                <== NOT EXECUTED
 80041f0:	c9 81 90 00 	sub r18,r12,r1                                 <== NOT EXECUTED
  low  = Stack_check_usable_stack_start(stack);                       
  size = Stack_check_usable_stack_size(stack);                        
                                                                      
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
                                                                      
  if ( high_water_mark )                                              
 80041f4:	44 20 00 37 	be r1,r0,80042d0 <Stack_check_Dump_threads_usage+0x154><== NOT EXECUTED
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
  else                                                                
    used = 0;                                                         
                                                                      
  if ( the_thread ) {                                                 
 80041f8:	45 60 00 38 	be r11,r0,80042d8 <Stack_check_Dump_threads_usage+0x15c><== NOT EXECUTED
    (*print_handler)(                                                 
 80041fc:	29 6b 00 08 	lw r11,(r11+8)                                 <== NOT EXECUTED
 8004200:	78 0c 08 07 	mvhi r12,0x807                                 <== NOT EXECUTED
 8004204:	39 8c 24 ac 	ori r12,r12,0x24ac                             <== NOT EXECUTED
 8004208:	29 93 00 00 	lw r19,(r12+0)                                 <== NOT EXECUTED
 800420c:	37 83 00 2c 	addi r3,sp,44                                  <== NOT EXECUTED
 8004210:	34 02 00 05 	mvi r2,5                                       <== NOT EXECUTED
 8004214:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8004218:	f8 00 12 0c 	calli 8008a48 <rtems_object_get_name>          <== NOT EXECUTED
 800421c:	78 02 08 06 	mvhi r2,0x806                                  <== NOT EXECUTED
 8004220:	b8 20 20 00 	mv r4,r1                                       <== NOT EXECUTED
 8004224:	38 42 50 00 	ori r2,r2,0x5000                               <== NOT EXECUTED
 8004228:	ba 60 08 00 	mv r1,r19                                      <== NOT EXECUTED
 800422c:	b9 60 18 00 	mv r3,r11                                      <== NOT EXECUTED
 8004230:	da 00 00 00 	call r16                                       <== NOT EXECUTED
    );                                                                
  } else {                                                            
    (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );   
  }                                                                   
                                                                      
  (*print_handler)(                                                   
 8004234:	29 c4 00 00 	lw r4,(r14+0)                                  <== NOT EXECUTED
 8004238:	29 c3 00 04 	lw r3,(r14+4)                                  <== NOT EXECUTED
 800423c:	29 a7 00 00 	lw r7,(r13+0)                                  <== NOT EXECUTED
 8004240:	29 81 00 00 	lw r1,(r12+0)                                  <== NOT EXECUTED
 8004244:	34 84 ff ff 	addi r4,r4,-1                                  <== NOT EXECUTED
 8004248:	78 02 08 06 	mvhi r2,0x806                                  <== NOT EXECUTED
 800424c:	38 42 50 20 	ori r2,r2,0x5020                               <== NOT EXECUTED
 8004250:	b4 64 20 00 	add r4,r3,r4                                   <== NOT EXECUTED
 8004254:	ba 20 28 00 	mv r5,r17                                      <== NOT EXECUTED
 8004258:	b9 e0 30 00 	mv r6,r15                                      <== NOT EXECUTED
 800425c:	d8 e0 00 00 	call r7                                        <== NOT EXECUTED
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
 8004260:	78 02 08 07 	mvhi r2,0x807                                  <== NOT EXECUTED
 8004264:	38 42 24 a8 	ori r2,r2,0x24a8                               <== NOT EXECUTED
 8004268:	28 41 00 00 	lw r1,(r2+0)                                   <== NOT EXECUTED
 800426c:	44 20 00 13 	be r1,r0,80042b8 <Stack_check_Dump_threads_usage+0x13c><== NOT EXECUTED
    (*print_handler)( print_context, "Unavailable\n" );               
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
 8004270:	29 a4 00 00 	lw r4,(r13+0)                                  <== NOT EXECUTED
 8004274:	29 81 00 00 	lw r1,(r12+0)                                  <== NOT EXECUTED
 8004278:	78 02 08 06 	mvhi r2,0x806                                  <== NOT EXECUTED
 800427c:	38 42 50 50 	ori r2,r2,0x5050                               <== NOT EXECUTED
 8004280:	ba 40 18 00 	mv r3,r18                                      <== NOT EXECUTED
 8004284:	d8 80 00 00 	call r4                                        <== NOT EXECUTED
  }                                                                   
                                                                      
                                                                      
}                                                                     
 8004288:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 800428c:	2b 8b 00 28 	lw r11,(sp+40)                                 <== NOT EXECUTED
 8004290:	2b 8c 00 24 	lw r12,(sp+36)                                 <== NOT EXECUTED
 8004294:	2b 8d 00 20 	lw r13,(sp+32)                                 <== NOT EXECUTED
 8004298:	2b 8e 00 1c 	lw r14,(sp+28)                                 <== NOT EXECUTED
 800429c:	2b 8f 00 18 	lw r15,(sp+24)                                 <== NOT EXECUTED
 80042a0:	2b 90 00 14 	lw r16,(sp+20)                                 <== NOT EXECUTED
 80042a4:	2b 91 00 10 	lw r17,(sp+16)                                 <== NOT EXECUTED
 80042a8:	2b 92 00 0c 	lw r18,(sp+12)                                 <== NOT EXECUTED
 80042ac:	2b 93 00 08 	lw r19,(sp+8)                                  <== NOT EXECUTED
 80042b0:	37 9c 00 30 	addi sp,sp,48                                  <== NOT EXECUTED
 80042b4:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
    (*print_handler)( print_context, "Unavailable\n" );               
 80042b8:	29 a3 00 00 	lw r3,(r13+0)                                  <== NOT EXECUTED
 80042bc:	29 81 00 00 	lw r1,(r12+0)                                  <== NOT EXECUTED
 80042c0:	78 02 08 06 	mvhi r2,0x806                                  <== NOT EXECUTED
 80042c4:	38 42 50 40 	ori r2,r2,0x5040                               <== NOT EXECUTED
 80042c8:	d8 60 00 00 	call r3                                        <== NOT EXECUTED
 80042cc:	e3 ff ff ef 	bi 8004288 <Stack_check_Dump_threads_usage+0x10c><== NOT EXECUTED
  low  = Stack_check_usable_stack_start(stack);                       
  size = Stack_check_usable_stack_size(stack);                        
                                                                      
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
                                                                      
  if ( high_water_mark )                                              
 80042d0:	b8 20 90 00 	mv r18,r1                                      <== NOT EXECUTED
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
  else                                                                
    used = 0;                                                         
                                                                      
  if ( the_thread ) {                                                 
 80042d4:	5d 60 ff ca 	bne r11,r0,80041fc <Stack_check_Dump_threads_usage+0x80><== NOT EXECUTED
      "0x%08" PRIx32 "  %4s",                                         
      the_thread->Object.id,                                          
      rtems_object_get_name( the_thread->Object.id, sizeof(name), name )
    );                                                                
  } else {                                                            
    (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );   
 80042d8:	78 0c 08 07 	mvhi r12,0x807                                 <== NOT EXECUTED
 80042dc:	39 8c 24 ac 	ori r12,r12,0x24ac                             <== NOT EXECUTED
 80042e0:	29 81 00 00 	lw r1,(r12+0)                                  <== NOT EXECUTED
 80042e4:	78 02 08 06 	mvhi r2,0x806                                  <== NOT EXECUTED
 80042e8:	38 42 50 10 	ori r2,r2,0x5010                               <== NOT EXECUTED
 80042ec:	34 03 ff ff 	mvi r3,-1                                      <== NOT EXECUTED
 80042f0:	da 00 00 00 	call r16                                       <== NOT EXECUTED
 80042f4:	e3 ff ff d0 	bi 8004234 <Stack_check_Dump_threads_usage+0xb8><== NOT EXECUTED
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
                                                                      
  if (the_thread == (Thread_Control *) -1) {                          
    if (Stack_check_Interrupt_stack.area) {                           
 80042f8:	78 0e 08 07 	mvhi r14,0x807                                 <== NOT EXECUTED
 80042fc:	39 ce 4e 88 	ori r14,r14,0x4e88                             <== NOT EXECUTED
 8004300:	29 c1 00 04 	lw r1,(r14+4)                                  <== NOT EXECUTED
 8004304:	34 0b 00 00 	mvi r11,0                                      <== NOT EXECUTED
 8004308:	b9 60 88 00 	mv r17,r11                                     <== NOT EXECUTED
 800430c:	5c 2b ff b1 	bne r1,r11,80041d0 <Stack_check_Dump_threads_usage+0x54><== NOT EXECUTED
 8004310:	e3 ff ff de 	bi 8004288 <Stack_check_Dump_threads_usage+0x10c><== NOT EXECUTED
                                                                      
080045a4 <Stack_check_Initialize>:                                    
                                                                      
/*                                                                    
 *  Stack_check_Initialize                                            
 */                                                                   
void Stack_check_Initialize( void )                                   
{                                                                     
 80045a4:	37 9c ff e8 	addi sp,sp,-24                                 
 80045a8:	5b 8b 00 18 	sw (sp+24),r11                                 
 80045ac:	5b 8c 00 14 	sw (sp+20),r12                                 
 80045b0:	5b 8d 00 10 	sw (sp+16),r13                                 
 80045b4:	5b 8e 00 0c 	sw (sp+12),r14                                 
 80045b8:	5b 8f 00 08 	sw (sp+8),r15                                  
 80045bc:	5b 9d 00 04 	sw (sp+4),ra                                   
  static    uint32_t pattern[ 4 ] = {                                 
    0xFEEDF00D, 0x0BAD0D06,  /* FEED FOOD to  BAD DOG */              
    0xDEADF00D, 0x600D0D06   /* DEAD FOOD but GOOD DOG */             
  };                                                                  
                                                                      
  if (Stack_check_Initialized)                                        
 80045c0:	78 0d 08 07 	mvhi r13,0x807                                 
 80045c4:	39 ad 24 a8 	ori r13,r13,0x24a8                             
 80045c8:	29 ab 00 00 	lw r11,(r13+0)                                 
 80045cc:	5d 60 00 22 	bne r11,r0,8004654 <Stack_check_Initialize+0xb0>
 80045d0:	78 0c 08 07 	mvhi r12,0x807                                 
 80045d4:	78 0e 08 06 	mvhi r14,0x806                                 
 80045d8:	39 8c 4e 78 	ori r12,r12,0x4e78                             
 80045dc:	39 ce 51 98 	ori r14,r14,0x5198                             
                                                                      
  /*                                                                  
   * Dope the pattern and fill areas                                  
   */                                                                 
  p = Stack_check_Pattern.pattern;                                    
  for ( i = 0; i < PATTERN_SIZE_WORDS; i++ ) {                        
 80045e0:	34 0f 00 04 	mvi r15,4                                      
      p[i] = pattern[ i%4 ];                                          
 80045e4:	21 61 00 03 	andi r1,r11,0x3                                
 80045e8:	34 02 00 02 	mvi r2,2                                       
 80045ec:	fb ff f2 dd 	calli 8001160 <__ashlsi3>                      
 80045f0:	b5 c1 08 00 	add r1,r14,r1                                  
 80045f4:	28 21 00 00 	lw r1,(r1+0)                                   
                                                                      
  /*                                                                  
   * Dope the pattern and fill areas                                  
   */                                                                 
  p = Stack_check_Pattern.pattern;                                    
  for ( i = 0; i < PATTERN_SIZE_WORDS; i++ ) {                        
 80045f8:	35 6b 00 01 	addi r11,r11,1                                 
      p[i] = pattern[ i%4 ];                                          
 80045fc:	59 81 00 00 	sw (r12+0),r1                                  
                                                                      
  /*                                                                  
   * Dope the pattern and fill areas                                  
   */                                                                 
  p = Stack_check_Pattern.pattern;                                    
  for ( i = 0; i < PATTERN_SIZE_WORDS; i++ ) {                        
 8004600:	35 8c 00 04 	addi r12,r12,4                                 
 8004604:	5d 6f ff f8 	bne r11,r15,80045e4 <Stack_check_Initialize+0x40>
  /*                                                                  
   * If appropriate, setup the interrupt stack for high water testing 
   * also.                                                            
   */                                                                 
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (_CPU_Interrupt_stack_low && _CPU_Interrupt_stack_high) {      
 8004608:	78 01 08 07 	mvhi r1,0x807                                  
 800460c:	38 21 50 34 	ori r1,r1,0x5034                               
 8004610:	28 24 00 00 	lw r4,(r1+0)                                   
 8004614:	44 80 00 0e 	be r4,r0,800464c <Stack_check_Initialize+0xa8> <== NEVER TAKEN
 8004618:	78 01 08 07 	mvhi r1,0x807                                  
 800461c:	38 21 4f b8 	ori r1,r1,0x4fb8                               
 8004620:	28 23 00 00 	lw r3,(r1+0)                                   
 8004624:	44 60 00 0a 	be r3,r0,800464c <Stack_check_Initialize+0xa8> <== NEVER TAKEN
      Stack_check_Interrupt_stack.area = _CPU_Interrupt_stack_low;    
 8004628:	78 05 08 07 	mvhi r5,0x807                                  
      Stack_check_Interrupt_stack.size = (char *) _CPU_Interrupt_stack_high -
 800462c:	c8 64 30 00 	sub r6,r3,r4                                   
   * If appropriate, setup the interrupt stack for high water testing 
   * also.                                                            
   */                                                                 
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (_CPU_Interrupt_stack_low && _CPU_Interrupt_stack_high) {      
      Stack_check_Interrupt_stack.area = _CPU_Interrupt_stack_low;    
 8004630:	38 a5 4e 88 	ori r5,r5,0x4e88                               
      Stack_check_Interrupt_stack.size = (char *) _CPU_Interrupt_stack_high -
                                  (char *) _CPU_Interrupt_stack_low;  
      Stack_check_Dope_stack(&Stack_check_Interrupt_stack);           
 8004634:	b8 80 08 00 	mv r1,r4                                       
 8004638:	b8 c0 18 00 	mv r3,r6                                       
 800463c:	34 02 00 a5 	mvi r2,165                                     
   * also.                                                            
   */                                                                 
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (_CPU_Interrupt_stack_low && _CPU_Interrupt_stack_high) {      
      Stack_check_Interrupt_stack.area = _CPU_Interrupt_stack_low;    
      Stack_check_Interrupt_stack.size = (char *) _CPU_Interrupt_stack_high -
 8004640:	58 a6 00 00 	sw (r5+0),r6                                   
   * If appropriate, setup the interrupt stack for high water testing 
   * also.                                                            
   */                                                                 
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (_CPU_Interrupt_stack_low && _CPU_Interrupt_stack_high) {      
      Stack_check_Interrupt_stack.area = _CPU_Interrupt_stack_low;    
 8004644:	58 a4 00 04 	sw (r5+4),r4                                   
      Stack_check_Interrupt_stack.size = (char *) _CPU_Interrupt_stack_high -
                                  (char *) _CPU_Interrupt_stack_low;  
      Stack_check_Dope_stack(&Stack_check_Interrupt_stack);           
 8004648:	f8 01 1a c4 	calli 804b158 <memset>                         
  }                                                                   
  #endif                                                              
                                                                      
  Stack_check_Initialized = 1;                                        
 800464c:	34 01 00 01 	mvi r1,1                                       
 8004650:	59 a1 00 00 	sw (r13+0),r1                                  
}                                                                     
 8004654:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8004658:	2b 8b 00 18 	lw r11,(sp+24)                                 
 800465c:	2b 8c 00 14 	lw r12,(sp+20)                                 
 8004660:	2b 8d 00 10 	lw r13,(sp+16)                                 
 8004664:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 8004668:	2b 8f 00 08 	lw r15,(sp+8)                                  
 800466c:	37 9c 00 18 	addi sp,sp,24                                  
 8004670:	c3 a0 00 00 	ret                                            
                                                                      
080040f4 <Stack_check_find_high_water_mark>:                          
 */                                                                   
void *Stack_check_find_high_water_mark(                               
  const void *s,                                                      
  size_t      n                                                       
)                                                                     
{                                                                     
 80040f4:	37 9c ff f4 	addi sp,sp,-12                                 <== NOT EXECUTED
 80040f8:	5b 8b 00 0c 	sw (sp+12),r11                                 <== NOT EXECUTED
 80040fc:	5b 8c 00 08 	sw (sp+8),r12                                  <== NOT EXECUTED
 8004100:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 8004104:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
 8004108:	b8 40 08 00 	mv r1,r2                                       <== NOT EXECUTED
 800410c:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 8004110:	fb ff f4 3c 	calli 8001200 <__lshrsi3>                      <== NOT EXECUTED
 8004114:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
    /*                                                                
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
 8004118:	35 8b 00 10 	addi r11,r12,16                                <== NOT EXECUTED
    for (ebase = base + length; base < ebase; base++)                 
 800411c:	fb ff f4 11 	calli 8001160 <__ashlsi3>                      <== NOT EXECUTED
 8004120:	b5 61 10 00 	add r2,r11,r1                                  <== NOT EXECUTED
 8004124:	51 62 00 08 	bgeu r11,r2,8004144 <Stack_check_find_high_water_mark+0x50><== NOT EXECUTED
      if (*base != U32_PATTERN)                                       
 8004128:	29 84 00 10 	lw r4,(r12+16)                                 <== NOT EXECUTED
 800412c:	78 03 a5 a5 	mvhi r3,0xa5a5                                 <== NOT EXECUTED
 8004130:	38 63 a5 a5 	ori r3,r3,0xa5a5                               <== NOT EXECUTED
 8004134:	b8 80 08 00 	mv r1,r4                                       <== NOT EXECUTED
 8004138:	5c 83 00 0b 	bne r4,r3,8004164 <Stack_check_find_high_water_mark+0x70><== NOT EXECUTED
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
 800413c:	35 6b 00 04 	addi r11,r11,4                                 <== NOT EXECUTED
 8004140:	54 4b 00 07 	bgu r2,r11,800415c <Stack_check_find_high_water_mark+0x68><== NOT EXECUTED
 8004144:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
      if (*base != U32_PATTERN)                                       
        return (void *) base;                                         
  #endif                                                              
                                                                      
  return (void *)0;                                                   
}                                                                     
 8004148:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 800414c:	2b 8b 00 0c 	lw r11,(sp+12)                                 <== NOT EXECUTED
 8004150:	2b 8c 00 08 	lw r12,(sp+8)                                  <== NOT EXECUTED
 8004154:	37 9c 00 0c 	addi sp,sp,12                                  <== NOT EXECUTED
 8004158:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
      if (*base != U32_PATTERN)                                       
 800415c:	29 63 00 00 	lw r3,(r11+0)                                  <== NOT EXECUTED
 8004160:	44 61 ff f7 	be r3,r1,800413c <Stack_check_find_high_water_mark+0x48><== NOT EXECUTED
        return (void *) base;                                         
 8004164:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
  #endif                                                              
                                                                      
  return (void *)0;                                                   
}                                                                     
 8004168:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 800416c:	2b 8b 00 0c 	lw r11,(sp+12)                                 <== NOT EXECUTED
 8004170:	2b 8c 00 08 	lw r12,(sp+8)                                  <== NOT EXECUTED
 8004174:	37 9c 00 0c 	addi sp,sp,12                                  <== NOT EXECUTED
 8004178:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
080043c8 <Stack_check_report_blown_task>:                             
 *                                                                    
 *  NOTE: The system is in a questionable state... we may not get     
 *        the following message out.                                  
 */                                                                   
void Stack_check_report_blown_task(Thread_Control *running, bool pattern_ok)
{                                                                     
 80043c8:	37 9c ff d0 	addi sp,sp,-48                                 
 80043cc:	5b 8b 00 10 	sw (sp+16),r11                                 
 80043d0:	5b 8c 00 0c 	sw (sp+12),r12                                 
 80043d4:	5b 8d 00 08 	sw (sp+8),r13                                  
 80043d8:	5b 9d 00 04 	sw (sp+4),ra                                   
 80043dc:	b8 20 58 00 	mv r11,r1                                      
  Stack_Control *stack = &running->Start.Initial_stack;               
  void *pattern_area = Stack_check_Get_pattern_area(stack);           
  char name [32];                                                     
                                                                      
  printk("BLOWN STACK!!!\n");                                         
 80043e0:	78 01 08 06 	mvhi r1,0x806                                  
 80043e4:	38 21 50 bc 	ori r1,r1,0x50bc                               
 *                                                                    
 *  NOTE: The system is in a questionable state... we may not get     
 *        the following message out.                                  
 */                                                                   
void Stack_check_report_blown_task(Thread_Control *running, bool pattern_ok)
{                                                                     
 80043e8:	20 4c 00 ff 	andi r12,r2,0xff                               
  Stack_Control *stack = &running->Start.Initial_stack;               
  void *pattern_area = Stack_check_Get_pattern_area(stack);           
 80043ec:	29 6d 00 c4 	lw r13,(r11+196)                               
  char name [32];                                                     
                                                                      
  printk("BLOWN STACK!!!\n");                                         
 80043f0:	f8 00 0d d1 	calli 8007b34 <printk>                         
  printk("task control block: 0x%08" PRIxPTR "\n", running);          
 80043f4:	78 01 08 06 	mvhi r1,0x806                                  
 80043f8:	38 21 50 cc 	ori r1,r1,0x50cc                               
 80043fc:	b9 60 10 00 	mv r2,r11                                      
 8004400:	f8 00 0d cd 	calli 8007b34 <printk>                         
  printk("task ID: 0x%08lx\n", (unsigned long) running->Object.id);   
 8004404:	29 62 00 08 	lw r2,(r11+8)                                  
 8004408:	78 01 08 06 	mvhi r1,0x806                                  
 800440c:	38 21 50 ec 	ori r1,r1,0x50ec                               
 8004410:	f8 00 0d c9 	calli 8007b34 <printk>                         
  printk(                                                             
 8004414:	29 62 00 0c 	lw r2,(r11+12)                                 
 8004418:	78 01 08 06 	mvhi r1,0x806                                  
 800441c:	38 21 51 00 	ori r1,r1,0x5100                               
 8004420:	f8 00 0d c5 	calli 8007b34 <printk>                         
    "task name: 0x%08" PRIx32 "\n",                                   
    running->Object.name.name_u32                                     
  );                                                                  
  printk(                                                             
 8004424:	29 61 00 08 	lw r1,(r11+8)                                  
 8004428:	37 83 00 14 	addi r3,sp,20                                  
 800442c:	34 02 00 20 	mvi r2,32                                      
 8004430:	f8 00 11 86 	calli 8008a48 <rtems_object_get_name>          
 8004434:	b8 20 10 00 	mv r2,r1                                       
 8004438:	78 01 08 06 	mvhi r1,0x806                                  
 800443c:	38 21 51 14 	ori r1,r1,0x5114                               
 8004440:	f8 00 0d bd 	calli 8007b34 <printk>                         
    "task name string: %s\n",                                         
    rtems_object_get_name(running->Object.id, sizeof(name), name)     
  );                                                                  
  printk(                                                             
 8004444:	29 62 00 c0 	lw r2,(r11+192)                                
 8004448:	29 63 00 c4 	lw r3,(r11+196)                                
 800444c:	78 01 08 06 	mvhi r1,0x806                                  
 8004450:	38 21 51 2c 	ori r1,r1,0x512c                               
 8004454:	b4 62 20 00 	add r4,r3,r2                                   
 8004458:	f8 00 0d b7 	calli 8007b34 <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) {                                                  
 800445c:	45 80 00 03 	be r12,r0,8004468 <Stack_check_report_blown_task+0xa0><== ALWAYS TAKEN
          rtems_configuration_get_user_multiprocessing_table()->node  
      );                                                              
    }                                                                 
  #endif                                                              
                                                                      
  rtems_fatal_error_occurred(0x81);                                   
 8004460:	34 01 00 81 	mvi r1,129                                     
 8004464:	f8 00 14 2a 	calli 800950c <rtems_fatal_error_occurred>     
    (unsigned long) stack->size,                                      
    stack->area,                                                      
    ((char *) stack->area + stack->size)                              
  );                                                                  
  if (!pattern_ok) {                                                  
    printk(                                                           
 8004468:	78 01 08 06 	mvhi r1,0x806                                  
 800446c:	38 21 51 60 	ori r1,r1,0x5160                               
 8004470:	35 a4 00 18 	addi r4,r13,24                                 
 8004474:	34 02 00 10 	mvi r2,16                                      
 8004478:	35 a3 00 08 	addi r3,r13,8                                  
 800447c:	f8 00 0d ae 	calli 8007b34 <printk>                         
 8004480:	e3 ff ff f8 	bi 8004460 <Stack_check_report_blown_task+0x98>
                                                                      
08002b78 <_API_extensions_Run_postdriver>:                            
 *                                                                    
 *  _API_extensions_Run_postdriver                                    
 */                                                                   
                                                                      
void _API_extensions_Run_postdriver( void )                           
{                                                                     
 8002b78:	37 9c ff f4 	addi sp,sp,-12                                 
 8002b7c:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8002b80:	5b 8c 00 08 	sw (sp+8),r12                                  
 8002b84:	5b 9d 00 04 	sw (sp+4),ra                                   
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _API_extensions_List.first ;                       
 8002b88:	78 0c 08 01 	mvhi r12,0x801                                 
 8002b8c:	39 8c c9 d8 	ori r12,r12,0xc9d8                             
 8002b90:	29 8b 00 00 	lw r11,(r12+0)                                 
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 8002b94:	35 8c 00 04 	addi r12,r12,4                                 
 8002b98:	45 6c 00 05 	be r11,r12,8002bac <_API_extensions_Run_postdriver+0x34><== 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)();                            
 8002b9c:	29 61 00 08 	lw r1,(r11+8)                                  
 8002ba0:	d8 20 00 00 	call r1                                        
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _API_extensions_List.first ;                       
        !_Chain_Is_tail( &_API_extensions_List, the_node ) ;          
        the_node = the_node->next ) {                                 
 8002ba4:	29 6b 00 00 	lw r11,(r11+0)                                 
void _API_extensions_Run_postdriver( void )                           
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _API_extensions_List.first ;                       
 8002ba8:	5d 6c ff fd 	bne r11,r12,8002b9c <_API_extensions_Run_postdriver+0x24><== NEVER TAKEN
#if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API)              
    if ( the_extension->postdriver_hook )                             
#endif                                                                
      (*the_extension->postdriver_hook)();                            
  }                                                                   
}                                                                     
 8002bac:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8002bb0:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8002bb4:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8002bb8:	37 9c 00 0c 	addi sp,sp,12                                  
 8002bbc:	c3 a0 00 00 	ret                                            
                                                                      
08002bc0 <_API_extensions_Run_postswitch>:                            
 *                                                                    
 *  _API_extensions_Run_postswitch                                    
 */                                                                   
                                                                      
void _API_extensions_Run_postswitch( void )                           
{                                                                     
 8002bc0:	37 9c ff f0 	addi sp,sp,-16                                 
 8002bc4:	5b 8b 00 10 	sw (sp+16),r11                                 
 8002bc8:	5b 8c 00 0c 	sw (sp+12),r12                                 
 8002bcc:	5b 8d 00 08 	sw (sp+8),r13                                  
 8002bd0:	5b 9d 00 04 	sw (sp+4),ra                                   
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _API_extensions_List.first ;                       
 8002bd4:	78 0d 08 01 	mvhi r13,0x801                                 
 8002bd8:	39 ad c9 d8 	ori r13,r13,0xc9d8                             
 8002bdc:	29 ab 00 00 	lw r11,(r13+0)                                 
 8002be0:	35 ad 00 04 	addi r13,r13,4                                 
 8002be4:	45 6d 00 08 	be r11,r13,8002c04 <_API_extensions_Run_postswitch+0x44><== NEVER TAKEN
 8002be8:	78 0c 08 01 	mvhi r12,0x801                                 
 8002bec:	39 8c c8 e0 	ori r12,r12,0xc8e0                             
     *  provide this hook.                                            
     */                                                               
#if defined(RTEMS_ITRON_API)                                          
    if ( the_extension->postswitch_hook )                             
#endif                                                                
      (*the_extension->postswitch_hook)( _Thread_Executing );         
 8002bf0:	29 62 00 0c 	lw r2,(r11+12)                                 
 8002bf4:	29 81 00 00 	lw r1,(r12+0)                                  
 8002bf8:	d8 40 00 00 	call r2                                        
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _API_extensions_List.first ;                       
        !_Chain_Is_tail( &_API_extensions_List, the_node ) ;          
        the_node = the_node->next ) {                                 
 8002bfc:	29 6b 00 00 	lw r11,(r11+0)                                 
void _API_extensions_Run_postswitch( void )                           
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _API_extensions_List.first ;                       
 8002c00:	5d 6d ff fc 	bne r11,r13,8002bf0 <_API_extensions_Run_postswitch+0x30><== NEVER TAKEN
#if defined(RTEMS_ITRON_API)                                          
    if ( the_extension->postswitch_hook )                             
#endif                                                                
      (*the_extension->postswitch_hook)( _Thread_Executing );         
  }                                                                   
}                                                                     
 8002c04:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8002c08:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8002c0c:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8002c10:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8002c14:	37 9c 00 10 	addi sp,sp,16                                  
 8002c18:	c3 a0 00 00 	ret                                            
                                                                      
08015780 <_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                    
)                                                                     
{                                                                     
 8015780:	37 9c ff e4 	addi sp,sp,-28                                 
 8015784:	5b 8b 00 1c 	sw (sp+28),r11                                 
 8015788:	5b 8c 00 18 	sw (sp+24),r12                                 
 801578c:	5b 8d 00 14 	sw (sp+20),r13                                 
 8015790:	5b 8e 00 10 	sw (sp+16),r14                                 
 8015794:	5b 8f 00 0c 	sw (sp+12),r15                                 
 8015798:	5b 90 00 08 	sw (sp+8),r16                                  
 801579c:	5b 9d 00 04 	sw (sp+4),ra                                   
 80157a0:	b8 20 70 00 	mv r14,r1                                      
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
 80157a4:	28 21 00 4c 	lw r1,(r1+76)                                  
    Objects_Id                                 id __attribute__((unused)),
    CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support __attribute__((unused)),
  #endif                                                              
  uint32_t                                  *count                    
)                                                                     
{                                                                     
 80157a8:	b8 60 60 00 	mv r12,r3                                      
 80157ac:	b8 40 78 00 	mv r15,r2                                      
 80157b0:	b8 c0 80 00 	mv r16,r6                                      
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
 80157b4:	50 23 00 0b 	bgeu r1,r3,80157e0 <_CORE_message_queue_Broadcast+0x60><== ALWAYS TAKEN
 80157b8:	34 01 00 01 	mvi r1,1                                       <== NOT EXECUTED
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
 80157bc:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80157c0:	2b 8b 00 1c 	lw r11,(sp+28)                                 
 80157c4:	2b 8c 00 18 	lw r12,(sp+24)                                 
 80157c8:	2b 8d 00 14 	lw r13,(sp+20)                                 
 80157cc:	2b 8e 00 10 	lw r14,(sp+16)                                 
 80157d0:	2b 8f 00 0c 	lw r15,(sp+12)                                 
 80157d4:	2b 90 00 08 	lw r16,(sp+8)                                  
 80157d8:	37 9c 00 1c 	addi sp,sp,28                                  
 80157dc:	c3 a0 00 00 	ret                                            
   *  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 ) {         
 80157e0:	29 c2 00 48 	lw r2,(r14+72)                                 
 80157e4:	34 01 00 00 	mvi r1,0                                       
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
 80157e8:	b8 40 68 00 	mv r13,r2                                      
   *  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 ) {         
 80157ec:	44 41 00 08 	be r2,r1,801580c <_CORE_message_queue_Broadcast+0x8c>
    *count = 0;                                                       
 80157f0:	58 c1 00 00 	sw (r6+0),r1                                   
    return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                      
 80157f4:	e3 ff ff f2 	bi 80157bc <_CORE_message_queue_Broadcast+0x3c>
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
 80157f8:	29 61 00 2c 	lw r1,(r11+44)                                 
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
    waitp = &the_thread->Wait;                                        
    number_broadcasted += 1;                                          
 80157fc:	35 ad 00 01 	addi r13,r13,1                                 
 8015800:	f8 00 29 08 	calli 801fc20 <memcpy>                         
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
 8015804:	29 61 00 28 	lw r1,(r11+40)                                 
 8015808:	58 2c 00 00 	sw (r1+0),r12                                  
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
 801580c:	b9 c0 08 00 	mv r1,r14                                      
 8015810:	f8 00 0c 70 	calli 80189d0 <_Thread_queue_Dequeue>          
 8015814:	b8 20 58 00 	mv r11,r1                                      
 8015818:	b9 e0 10 00 	mv r2,r15                                      
 801581c:	b9 80 18 00 	mv r3,r12                                      
  /*                                                                  
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
 8015820:	5c 20 ff f6 	bne r1,r0,80157f8 <_CORE_message_queue_Broadcast+0x78>
      if ( !_Objects_Is_local_id( the_thread->Object.id ) )           
        (*api_message_queue_mp_support) ( the_thread, id );           
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
 8015824:	5a 0d 00 00 	sw (r16+0),r13                                 
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
 8015828:	e3 ff ff e5 	bi 80157bc <_CORE_message_queue_Broadcast+0x3c>
                                                                      
0800e8c4 <_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                 
)                                                                     
{                                                                     
 800e8c4:	37 9c ff e8 	addi sp,sp,-24                                 
 800e8c8:	5b 8b 00 18 	sw (sp+24),r11                                 
 800e8cc:	5b 8c 00 14 	sw (sp+20),r12                                 
 800e8d0:	5b 8d 00 10 	sw (sp+16),r13                                 
 800e8d4:	5b 8e 00 0c 	sw (sp+12),r14                                 
 800e8d8:	5b 8f 00 08 	sw (sp+8),r15                                  
 800e8dc:	5b 9d 00 04 	sw (sp+4),ra                                   
 800e8e0:	b8 20 58 00 	mv r11,r1                                      
  size_t message_buffering_required;                                  
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
  the_message_queue->number_of_pending_messages = 0;                  
 800e8e4:	34 01 00 00 	mvi r1,0                                       
 800e8e8:	59 61 00 48 	sw (r11+72),r1                                 
)                                                                     
{                                                                     
  size_t message_buffering_required;                                  
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
 800e8ec:	59 63 00 44 	sw (r11+68),r3                                 
  the_message_queue->number_of_pending_messages = 0;                  
  the_message_queue->maximum_message_size       = maximum_message_size;
 800e8f0:	59 64 00 4c 	sw (r11+76),r4                                 
  /*                                                                  
   *  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)) {              
 800e8f4:	20 81 00 03 	andi r1,r4,0x3                                 
  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                 
)                                                                     
{                                                                     
 800e8f8:	b8 60 68 00 	mv r13,r3                                      
 800e8fc:	b8 40 78 00 	mv r15,r2                                      
  /*                                                                  
   *  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)) {              
 800e900:	b8 80 60 00 	mv r12,r4                                      
 800e904:	44 20 00 05 	be r1,r0,800e918 <_CORE_message_queue_Initialize+0x54>
    allocated_message_size += sizeof(uint32_t);                       
 800e908:	34 8c 00 04 	addi r12,r4,4                                  
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
 800e90c:	34 01 ff fc 	mvi r1,-4                                      
 800e910:	a1 81 60 00 	and r12,r12,r1                                 
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
 800e914:	54 8c 00 23 	bgu r4,r12,800e9a0 <_CORE_message_queue_Initialize+0xdc><== NEVER TAKEN
  /*                                                                  
   *  Calculate how much total memory is required for message buffering and
   *  check for overflow on the multiplication.                       
   */                                                                 
  message_buffering_required = (size_t) maximum_pending_messages *    
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
 800e918:	35 8e 00 10 	addi r14,r12,16                                
                                                                      
  /*                                                                  
   *  Calculate how much total memory is required for message buffering and
   *  check for overflow on the multiplication.                       
   */                                                                 
  message_buffering_required = (size_t) maximum_pending_messages *    
 800e91c:	b9 c0 08 00 	mv r1,r14                                      
 800e920:	b9 a0 10 00 	mv r2,r13                                      
 800e924:	f8 00 67 00 	calli 8028524 <__mulsi3>                       
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
                                                                      
  if (message_buffering_required < allocated_message_size)            
 800e928:	55 81 00 1e 	bgu r12,r1,800e9a0 <_CORE_message_queue_Initialize+0xdc><== NEVER TAKEN
    return false;                                                     
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
 800e92c:	f8 00 0e 80 	calli 801232c <_Workspace_Allocate>            
 800e930:	59 61 00 5c 	sw (r11+92),r1                                 
     _Workspace_Allocate( message_buffering_required );               
                                                                      
  if (the_message_queue->message_buffers == 0)                        
 800e934:	44 20 00 1b 	be r1,r0,800e9a0 <_CORE_message_queue_Initialize+0xdc>
                                                                      
  /*                                                                  
   *  Initialize the pool of inactive messages, pending messages,     
   *  and set of waiting threads.                                     
   */                                                                 
  _Chain_Initialize (                                                 
 800e938:	b8 20 10 00 	mv r2,r1                                       
 800e93c:	b9 a0 18 00 	mv r3,r13                                      
 800e940:	b9 c0 20 00 	mv r4,r14                                      
 800e944:	35 61 00 60 	addi r1,r11,96                                 
 800e948:	f8 00 17 8b 	calli 8014774 <_Chain_Initialize>              
    allocated_message_size + sizeof( CORE_message_queue_Buffer_control )
  );                                                                  
                                                                      
  _Chain_Initialize_empty( &the_message_queue->Pending_messages );    
                                                                      
  _Thread_queue_Initialize(                                           
 800e94c:	29 e2 00 00 	lw r2,(r15+0)                                  
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 800e950:	35 63 00 54 	addi r3,r11,84                                 
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
 800e954:	35 61 00 50 	addi r1,r11,80                                 
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 800e958:	59 63 00 50 	sw (r11+80),r3                                 
 800e95c:	64 42 00 01 	cmpei r2,r2,1                                  
  the_chain->permanent_null = NULL;                                   
 800e960:	34 03 00 00 	mvi r3,0                                       
 800e964:	59 63 00 54 	sw (r11+84),r3                                 
  the_chain->last           = _Chain_Head(the_chain);                 
 800e968:	59 61 00 58 	sw (r11+88),r1                                 
 800e96c:	34 03 00 80 	mvi r3,128                                     
 800e970:	b9 60 08 00 	mv r1,r11                                      
 800e974:	34 04 00 06 	mvi r4,6                                       
 800e978:	f8 00 0a c3 	calli 8011484 <_Thread_queue_Initialize>       
 800e97c:	34 01 00 01 	mvi r1,1                                       
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
}                                                                     
 800e980:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800e984:	2b 8b 00 18 	lw r11,(sp+24)                                 
 800e988:	2b 8c 00 14 	lw r12,(sp+20)                                 
 800e98c:	2b 8d 00 10 	lw r13,(sp+16)                                 
 800e990:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 800e994:	2b 8f 00 08 	lw r15,(sp+8)                                  
 800e998:	37 9c 00 18 	addi sp,sp,24                                  
 800e99c:	c3 a0 00 00 	ret                                            
       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
 800e9a0:	34 01 00 00 	mvi r1,0                                       
}                                                                     
 800e9a4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800e9a8:	2b 8b 00 18 	lw r11,(sp+24)                                 
 800e9ac:	2b 8c 00 14 	lw r12,(sp+20)                                 
 800e9b0:	2b 8d 00 10 	lw r13,(sp+16)                                 
 800e9b4:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 800e9b8:	2b 8f 00 08 	lw r15,(sp+8)                                  
 800e9bc:	37 9c 00 18 	addi sp,sp,24                                  
 800e9c0:	c3 a0 00 00 	ret                                            
                                                                      
08002f0c <_CORE_mutex_Seize>:                                         
  Objects_Id           _id,                                           
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
 8002f0c:	37 9c ff e4 	addi sp,sp,-28                                 
 8002f10:	5b 8b 00 18 	sw (sp+24),r11                                 
 8002f14:	5b 8c 00 14 	sw (sp+20),r12                                 
 8002f18:	5b 8d 00 10 	sw (sp+16),r13                                 
 8002f1c:	5b 8e 00 0c 	sw (sp+12),r14                                 
 8002f20:	5b 8f 00 08 	sw (sp+8),r15                                  
 8002f24:	5b 9d 00 04 	sw (sp+4),ra                                   
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
 8002f28:	78 0b 08 01 	mvhi r11,0x801                                 
 8002f2c:	39 6b c8 24 	ori r11,r11,0xc824                             
 8002f30:	29 66 00 00 	lw r6,(r11+0)                                  
  Objects_Id           _id,                                           
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
 8002f34:	5b 85 00 1c 	sw (sp+28),r5                                  
 8002f38:	b8 20 60 00 	mv r12,r1                                      
 8002f3c:	b8 40 78 00 	mv r15,r2                                      
 8002f40:	b8 80 70 00 	mv r14,r4                                      
 8002f44:	20 6d 00 ff 	andi r13,r3,0xff                               
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
 8002f48:	44 c0 00 02 	be r6,r0,8002f50 <_CORE_mutex_Seize+0x44>      
 8002f4c:	5d a0 00 15 	bne r13,r0,8002fa0 <_CORE_mutex_Seize+0x94>    <== ALWAYS TAKEN
 8002f50:	b9 80 08 00 	mv r1,r12                                      
 8002f54:	37 82 00 1c 	addi r2,sp,28                                  
 8002f58:	f8 00 16 c9 	calli 8008a7c <_CORE_mutex_Seize_interrupt_trylock>
 8002f5c:	44 20 00 09 	be r1,r0,8002f80 <_CORE_mutex_Seize+0x74>      
 8002f60:	5d a0 00 19 	bne r13,r0,8002fc4 <_CORE_mutex_Seize+0xb8>    
 8002f64:	2b 81 00 1c 	lw r1,(sp+28)                                  
 8002f68:	d0 01 00 00 	wcsr IE,r1                                     
 8002f6c:	78 01 08 01 	mvhi r1,0x801                                  
 8002f70:	38 21 c8 e0 	ori r1,r1,0xc8e0                               
 8002f74:	28 21 00 00 	lw r1,(r1+0)                                   
 8002f78:	34 02 00 01 	mvi r2,1                                       
 8002f7c:	58 22 00 34 	sw (r1+52),r2                                  
}                                                                     
 8002f80:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8002f84:	2b 8b 00 18 	lw r11,(sp+24)                                 
 8002f88:	2b 8c 00 14 	lw r12,(sp+20)                                 
 8002f8c:	2b 8d 00 10 	lw r13,(sp+16)                                 
 8002f90:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 8002f94:	2b 8f 00 08 	lw r15,(sp+8)                                  
 8002f98:	37 9c 00 1c 	addi sp,sp,28                                  
 8002f9c:	c3 a0 00 00 	ret                                            
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
 8002fa0:	78 01 08 01 	mvhi r1,0x801                                  
 8002fa4:	38 21 c9 c0 	ori r1,r1,0xc9c0                               
 8002fa8:	28 21 00 00 	lw r1,(r1+0)                                   
 8002fac:	34 02 00 01 	mvi r2,1                                       
 8002fb0:	50 41 ff e8 	bgeu r2,r1,8002f50 <_CORE_mutex_Seize+0x44>    
 8002fb4:	34 01 00 00 	mvi r1,0                                       
 8002fb8:	b8 20 10 00 	mv r2,r1                                       
 8002fbc:	34 03 00 13 	mvi r3,19                                      
 8002fc0:	f8 00 01 cf 	calli 80036fc <_Internal_error_Occurred>       
 8002fc4:	78 01 08 01 	mvhi r1,0x801                                  
 8002fc8:	38 21 c8 e0 	ori r1,r1,0xc8e0                               
 8002fcc:	28 21 00 00 	lw r1,(r1+0)                                   
                                                                      
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;
 8002fd0:	34 02 00 01 	mvi r2,1                                       
 8002fd4:	59 82 00 30 	sw (r12+48),r2                                 
 8002fd8:	58 2f 00 20 	sw (r1+32),r15                                 
 8002fdc:	29 62 00 00 	lw r2,(r11+0)                                  
 8002fe0:	58 2c 00 44 	sw (r1+68),r12                                 
 8002fe4:	34 41 00 01 	addi r1,r2,1                                   
 8002fe8:	59 61 00 00 	sw (r11+0),r1                                  
 8002fec:	2b 81 00 1c 	lw r1,(sp+28)                                  
 8002ff0:	d0 01 00 00 	wcsr IE,r1                                     
 8002ff4:	b9 80 08 00 	mv r1,r12                                      
 8002ff8:	b9 c0 10 00 	mv r2,r14                                      
 8002ffc:	fb ff ff a3 	calli 8002e88 <_CORE_mutex_Seize_interrupt_blocking>
}                                                                     
 8003000:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8003004:	2b 8b 00 18 	lw r11,(sp+24)                                 
 8003008:	2b 8c 00 14 	lw r12,(sp+20)                                 
 800300c:	2b 8d 00 10 	lw r13,(sp+16)                                 
 8003010:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 8003014:	2b 8f 00 08 	lw r15,(sp+8)                                  
 8003018:	37 9c 00 1c 	addi sp,sp,28                                  
 800301c:	c3 a0 00 00 	ret                                            
                                                                      
08008a7c <_CORE_mutex_Seize_interrupt_trylock>:                       
#if defined(__RTEMS_DO_NOT_INLINE_CORE_MUTEX_SEIZE__)                 
int _CORE_mutex_Seize_interrupt_trylock(                              
  CORE_mutex_Control  *the_mutex,                                     
  ISR_Level           *level_p                                        
)                                                                     
{                                                                     
 8008a7c:	37 9c ff fc 	addi sp,sp,-4                                  
 8008a80:	5b 9d 00 04 	sw (sp+4),ra                                   
{                                                                     
  Thread_Control   *executing;                                        
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
 8008a84:	78 03 08 01 	mvhi r3,0x801                                  
 8008a88:	38 63 c8 e0 	ori r3,r3,0xc8e0                               
 8008a8c:	28 63 00 00 	lw r3,(r3+0)                                   
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
 8008a90:	34 04 00 00 	mvi r4,0                                       
 8008a94:	58 64 00 34 	sw (r3+52),r4                                  
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
 8008a98:	28 25 00 50 	lw r5,(r1+80)                                  
 8008a9c:	44 a4 00 12 	be r5,r4,8008ae4 <_CORE_mutex_Seize_interrupt_trylock+0x68>
    the_mutex->lock       = CORE_MUTEX_LOCKED;                        
 8008aa0:	58 24 00 50 	sw (r1+80),r4                                  
    the_mutex->holder     = executing;                                
    the_mutex->holder_id  = executing->Object.id;                     
 8008aa4:	28 66 00 08 	lw r6,(r3+8)                                   
 */                                                                   
RTEMS_INLINE_ROUTINE bool _CORE_mutex_Is_inherit_priority(            
  CORE_mutex_Attributes *the_attribute                                
)                                                                     
{                                                                     
  return the_attribute->discipline == CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT;
 8008aa8:	28 25 00 48 	lw r5,(r1+72)                                  
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
    the_mutex->lock       = CORE_MUTEX_LOCKED;                        
    the_mutex->holder     = executing;                                
 8008aac:	58 23 00 5c 	sw (r1+92),r3                                  
    the_mutex->holder_id  = executing->Object.id;                     
 8008ab0:	58 26 00 60 	sw (r1+96),r6                                  
    the_mutex->nest_count = 1;                                        
 8008ab4:	34 06 00 01 	mvi r6,1                                       
 8008ab8:	58 26 00 54 	sw (r1+84),r6                                  
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
 8008abc:	34 07 00 02 	mvi r7,2                                       
 8008ac0:	44 a7 00 0f 	be r5,r7,8008afc <_CORE_mutex_Seize_interrupt_trylock+0x80>
 8008ac4:	34 07 00 03 	mvi r7,3                                       
 8008ac8:	44 a7 00 1b 	be r5,r7,8008b34 <_CORE_mutex_Seize_interrupt_trylock+0xb8>
                                                                      
      executing->resource_count++;                                    
    }                                                                 
                                                                      
    if ( !_CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
      _ISR_Enable( *level_p );                                        
 8008acc:	28 41 00 00 	lw r1,(r2+0)                                   
 8008ad0:	d0 01 00 00 	wcsr IE,r1                                     
 8008ad4:	34 01 00 00 	mvi r1,0                                       
  return _CORE_mutex_Seize_interrupt_trylock_body( the_mutex, level_p );
}                                                                     
 8008ad8:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8008adc:	37 9c 00 04 	addi sp,sp,4                                   
 8008ae0:	c3 a0 00 00 	ret                                            
  /*                                                                  
   *  At this point, we know the mutex was not available.  If this thread
   *  is the thread that has locked the mutex, let's see if we are allowed
   *  to nest access.                                                 
   */                                                                 
  if ( _Thread_Is_executing( the_mutex->holder ) ) {                  
 8008ae4:	28 24 00 5c 	lw r4,(r1+92)                                  
 8008ae8:	44 64 00 09 	be r3,r4,8008b0c <_CORE_mutex_Seize_interrupt_trylock+0x90>
        the_mutex->nest_count++;                                      
        _ISR_Enable( *level_p );                                      
        return 0;                                                     
      case CORE_MUTEX_NESTING_IS_ERROR:                               
        executing->Wait.return_code = CORE_MUTEX_STATUS_NESTING_NOT_ALLOWED;
        _ISR_Enable( *level_p );                                      
 8008aec:	34 01 00 01 	mvi r1,1                                       
 8008af0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8008af4:	37 9c 00 04 	addi sp,sp,4                                   
 8008af8:	c3 a0 00 00 	ret                                            
       _Chain_Prepend_unprotected( &executing->lock_mutex,            
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = executing->current_priority;
#endif                                                                
                                                                      
      executing->resource_count++;                                    
 8008afc:	28 61 00 1c 	lw r1,(r3+28)                                  
 8008b00:	34 21 00 01 	addi r1,r1,1                                   
 8008b04:	58 61 00 1c 	sw (r3+28),r1                                  
 8008b08:	e3 ff ff f1 	bi 8008acc <_CORE_mutex_Seize_interrupt_trylock+0x50>
   *  At this point, we know the mutex was not available.  If this thread
   *  is the thread that has locked the mutex, let's see if we are allowed
   *  to nest access.                                                 
   */                                                                 
  if ( _Thread_Is_executing( the_mutex->holder ) ) {                  
    switch ( the_mutex->Attributes.lock_nesting_behavior ) {          
 8008b0c:	28 24 00 40 	lw r4,(r1+64)                                  
 8008b10:	44 80 00 2d 	be r4,r0,8008bc4 <_CORE_mutex_Seize_interrupt_trylock+0x148>
 8008b14:	34 01 00 01 	mvi r1,1                                       
 8008b18:	5c 81 ff f5 	bne r4,r1,8008aec <_CORE_mutex_Seize_interrupt_trylock+0x70><== ALWAYS TAKEN
      case CORE_MUTEX_NESTING_ACQUIRES:                               
        the_mutex->nest_count++;                                      
        _ISR_Enable( *level_p );                                      
        return 0;                                                     
      case CORE_MUTEX_NESTING_IS_ERROR:                               
        executing->Wait.return_code = CORE_MUTEX_STATUS_NESTING_NOT_ALLOWED;
 8008b1c:	34 01 00 02 	mvi r1,2                                       <== NOT EXECUTED
 8008b20:	58 61 00 34 	sw (r3+52),r1                                  <== NOT EXECUTED
        _ISR_Enable( *level_p );                                      
 8008b24:	28 41 00 00 	lw r1,(r2+0)                                   <== NOT EXECUTED
 8008b28:	d0 01 00 00 	wcsr IE,r1                                     <== NOT EXECUTED
 8008b2c:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 8008b30:	e3 ff ff f0 	bi 8008af0 <_CORE_mutex_Seize_interrupt_trylock+0x74><== NOT EXECUTED
       _Chain_Prepend_unprotected( &executing->lock_mutex,            
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = executing->current_priority;
#endif                                                                
                                                                      
      executing->resource_count++;                                    
 8008b34:	28 68 00 1c 	lw r8,(r3+28)                                  
    {                                                                 
      Priority_Control  ceiling;                                      
      Priority_Control  current;                                      
                                                                      
      ceiling = the_mutex->Attributes.priority_ceiling;               
      current = executing->current_priority;                          
 8008b38:	28 65 00 14 	lw r5,(r3+20)                                  
       _Chain_Prepend_unprotected( &executing->lock_mutex,            
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = executing->current_priority;
#endif                                                                
                                                                      
      executing->resource_count++;                                    
 8008b3c:	b5 06 38 00 	add r7,r8,r6                                   
 8008b40:	58 67 00 1c 	sw (r3+28),r7                                  
       */                                                             
    {                                                                 
      Priority_Control  ceiling;                                      
      Priority_Control  current;                                      
                                                                      
      ceiling = the_mutex->Attributes.priority_ceiling;               
 8008b44:	28 27 00 4c 	lw r7,(r1+76)                                  
      current = executing->current_priority;                          
      if ( current == ceiling ) {                                     
 8008b48:	44 e5 00 1b 	be r7,r5,8008bb4 <_CORE_mutex_Seize_interrupt_trylock+0x138>
        _ISR_Enable( *level_p );                                      
        return 0;                                                     
      }                                                               
                                                                      
      if ( current > ceiling ) {                                      
 8008b4c:	50 e5 00 0f 	bgeu r7,r5,8008b88 <_CORE_mutex_Seize_interrupt_trylock+0x10c>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 8008b50:	78 03 08 01 	mvhi r3,0x801                                  
 8008b54:	38 63 c8 24 	ori r3,r3,0xc824                               
 8008b58:	28 64 00 00 	lw r4,(r3+0)                                   
 8008b5c:	34 84 00 01 	addi r4,r4,1                                   
 8008b60:	58 64 00 00 	sw (r3+0),r4                                   
        _Thread_Disable_dispatch();                                   
        _ISR_Enable( *level_p );                                      
 8008b64:	28 42 00 00 	lw r2,(r2+0)                                   
 8008b68:	d0 02 00 00 	wcsr IE,r2                                     
        _Thread_Change_priority(                                      
 8008b6c:	28 22 00 4c 	lw r2,(r1+76)                                  
 8008b70:	28 21 00 5c 	lw r1,(r1+92)                                  
 8008b74:	34 03 00 00 	mvi r3,0                                       
 8008b78:	fb ff ed 4a 	calli 80040a0 <_Thread_Change_priority>        
          the_mutex->holder,                                          
          the_mutex->Attributes.priority_ceiling,                     
         false                                                        
        );                                                            
        _Thread_Enable_dispatch();                                    
 8008b7c:	fb ff ee d4 	calli 80046cc <_Thread_Enable_dispatch>        
 8008b80:	34 01 00 00 	mvi r1,0                                       
 8008b84:	e3 ff ff db 	bi 8008af0 <_CORE_mutex_Seize_interrupt_trylock+0x74>
        return 0;                                                     
      }                                                               
      /* if ( current < ceiling ) */ {                                
        executing->Wait.return_code = CORE_MUTEX_STATUS_CEILING_VIOLATED;
 8008b88:	34 05 00 06 	mvi r5,6                                       
 8008b8c:	58 65 00 34 	sw (r3+52),r5                                  
        the_mutex->lock       = CORE_MUTEX_UNLOCKED;                  
        the_mutex->nest_count = 0;     /* undo locking above */       
 8008b90:	58 24 00 54 	sw (r1+84),r4                                  
        _Thread_Enable_dispatch();                                    
        return 0;                                                     
      }                                                               
      /* if ( current < ceiling ) */ {                                
        executing->Wait.return_code = CORE_MUTEX_STATUS_CEILING_VIOLATED;
        the_mutex->lock       = CORE_MUTEX_UNLOCKED;                  
 8008b94:	58 26 00 50 	sw (r1+80),r6                                  
        the_mutex->nest_count = 0;     /* undo locking above */       
        executing->resource_count--;   /* undo locking above */       
 8008b98:	58 68 00 1c 	sw (r3+28),r8                                  
        _ISR_Enable( *level_p );                                      
 8008b9c:	28 41 00 00 	lw r1,(r2+0)                                   
 8008ba0:	d0 01 00 00 	wcsr IE,r1                                     
 8008ba4:	34 01 00 00 	mvi r1,0                                       
 8008ba8:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8008bac:	37 9c 00 04 	addi sp,sp,4                                   
 8008bb0:	c3 a0 00 00 	ret                                            
      Priority_Control  current;                                      
                                                                      
      ceiling = the_mutex->Attributes.priority_ceiling;               
      current = executing->current_priority;                          
      if ( current == ceiling ) {                                     
        _ISR_Enable( *level_p );                                      
 8008bb4:	28 41 00 00 	lw r1,(r2+0)                                   
 8008bb8:	d0 01 00 00 	wcsr IE,r1                                     
 8008bbc:	34 01 00 00 	mvi r1,0                                       
 8008bc0:	e3 ff ff cc 	bi 8008af0 <_CORE_mutex_Seize_interrupt_trylock+0x74>
   *  to nest access.                                                 
   */                                                                 
  if ( _Thread_Is_executing( the_mutex->holder ) ) {                  
    switch ( the_mutex->Attributes.lock_nesting_behavior ) {          
      case CORE_MUTEX_NESTING_ACQUIRES:                               
        the_mutex->nest_count++;                                      
 8008bc4:	28 23 00 54 	lw r3,(r1+84)                                  
 8008bc8:	34 63 00 01 	addi r3,r3,1                                   
 8008bcc:	58 23 00 54 	sw (r1+84),r3                                  
        _ISR_Enable( *level_p );                                      
 8008bd0:	28 41 00 00 	lw r1,(r2+0)                                   
 8008bd4:	d0 01 00 00 	wcsr IE,r1                                     
 8008bd8:	34 01 00 00 	mvi r1,0                                       
 8008bdc:	e3 ff ff c5 	bi 8008af0 <_CORE_mutex_Seize_interrupt_trylock+0x74>
                                                                      
08008bf8 <_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     
)                                                                     
{                                                                     
 8008bf8:	37 9c ff f8 	addi sp,sp,-8                                  
 8008bfc:	5b 8b 00 08 	sw (sp+8),r11                                  
 8008c00:	5b 9d 00 04 	sw (sp+4),ra                                   
 8008c04:	b8 20 58 00 	mv r11,r1                                      
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
                                                                      
  if ( (the_thread = _Thread_queue_Dequeue(&the_semaphore->Wait_queue)) ) {
 8008c08:	fb ff ef d8 	calli 8004b68 <_Thread_queue_Dequeue>          
 8008c0c:	34 02 00 00 	mvi r2,0                                       
 8008c10:	44 22 00 06 	be r1,r2,8008c28 <_CORE_semaphore_Surrender+0x30>
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
 8008c14:	b8 40 08 00 	mv r1,r2                                       
 8008c18:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8008c1c:	2b 8b 00 08 	lw r11,(sp+8)                                  
 8008c20:	37 9c 00 08 	addi sp,sp,8                                   
 8008c24:	c3 a0 00 00 	ret                                            
    if ( !_Objects_Is_local_id( the_thread->Object.id ) )             
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
 8008c28:	90 00 08 00 	rcsr r1,IE                                     
 8008c2c:	34 02 ff fe 	mvi r2,-2                                      
 8008c30:	a0 22 10 00 	and r2,r1,r2                                   
 8008c34:	d0 02 00 00 	wcsr IE,r2                                     
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
 8008c38:	29 62 00 48 	lw r2,(r11+72)                                 
 8008c3c:	29 63 00 40 	lw r3,(r11+64)                                 
 8008c40:	54 62 00 08 	bgu r3,r2,8008c60 <_CORE_semaphore_Surrender+0x68><== ALWAYS TAKEN
 8008c44:	34 02 00 04 	mvi r2,4                                       <== NOT EXECUTED
        the_semaphore->count += 1;                                    
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
 8008c48:	d0 01 00 00 	wcsr IE,r1                                     <== NOT EXECUTED
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
 8008c4c:	b8 40 08 00 	mv r1,r2                                       
 8008c50:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8008c54:	2b 8b 00 08 	lw r11,(sp+8)                                  
 8008c58:	37 9c 00 08 	addi sp,sp,8                                   
 8008c5c:	c3 a0 00 00 	ret                                            
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
        the_semaphore->count += 1;                                    
 8008c60:	34 42 00 01 	addi r2,r2,1                                   
 8008c64:	59 62 00 48 	sw (r11+72),r2                                 
 8008c68:	34 02 00 00 	mvi r2,0                                       
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
 8008c6c:	d0 01 00 00 	wcsr IE,r1                                     
 8008c70:	e3 ff ff f7 	bi 8008c4c <_CORE_semaphore_Surrender+0x54>    
                                                                      
08008a2c <_Chain_Initialize>:                                         
  Chain_Node *current;                                                
  Chain_Node *next;                                                   
                                                                      
  count                     = number_nodes;                           
  current                   = _Chain_Head( the_chain );               
  the_chain->permanent_null = NULL;                                   
 8008a2c:	34 05 00 00 	mvi r5,0                                       
 8008a30:	58 25 00 04 	sw (r1+4),r5                                   
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Head(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) the_chain;                                   
 8008a34:	b8 20 28 00 	mv r5,r1                                       
  next                      = starting_address;                       
  while ( count-- ) {                                                 
 8008a38:	44 60 00 07 	be r3,r0,8008a54 <_Chain_Initialize+0x28>      <== NEVER TAKEN
    current->next  = next;                                            
    next->previous = current;                                         
 8008a3c:	58 45 00 04 	sw (r2+4),r5                                   
  count                     = number_nodes;                           
  current                   = _Chain_Head( the_chain );               
  the_chain->permanent_null = NULL;                                   
  next                      = starting_address;                       
  while ( count-- ) {                                                 
    current->next  = next;                                            
 8008a40:	58 a2 00 00 	sw (r5+0),r2                                   
    next->previous = current;                                         
    current        = next;                                            
    next           = (Chain_Node *)                                   
 8008a44:	34 63 ff ff 	addi r3,r3,-1                                  
 8008a48:	b8 40 28 00 	mv r5,r2                                       
 8008a4c:	b4 44 10 00 	add r2,r2,r4                                   
                                                                      
  count                     = number_nodes;                           
  current                   = _Chain_Head( the_chain );               
  the_chain->permanent_null = NULL;                                   
  next                      = starting_address;                       
  while ( count-- ) {                                                 
 8008a50:	5c 60 ff fb 	bne r3,r0,8008a3c <_Chain_Initialize+0x10>     
    next->previous = current;                                         
    current        = next;                                            
    next           = (Chain_Node *)                                   
                        _Addresses_Add_offset( (void *) next, node_size );
  }                                                                   
  current->next    = _Chain_Tail( the_chain );                        
 8008a54:	34 22 00 04 	addi r2,r1,4                                   
 8008a58:	58 a2 00 00 	sw (r5+0),r2                                   
  the_chain->last  = current;                                         
 8008a5c:	58 25 00 08 	sw (r1+8),r5                                   
}                                                                     
 8008a60:	c3 a0 00 00 	ret                                            
                                                                      
0800e4a0 <_Event_Seize>:                                              
  rtems_event_set  event_in,                                          
  rtems_option     option_set,                                        
  rtems_interval   ticks,                                             
  rtems_event_set *event_out                                          
)                                                                     
{                                                                     
 800e4a0:	37 9c ff f4 	addi sp,sp,-12                                 
 800e4a4:	5b 8b 00 0c 	sw (sp+12),r11                                 
 800e4a8:	5b 8c 00 08 	sw (sp+8),r12                                  
 800e4ac:	5b 9d 00 04 	sw (sp+4),ra                                   
  rtems_event_set                   pending_events;                   
  ISR_Level                         level;                            
  RTEMS_API_Control                *api;                              
  Thread_blocking_operation_States  sync_state;                       
                                                                      
  executing = _Thread_Executing;                                      
 800e4b0:	78 05 08 02 	mvhi r5,0x802                                  
 800e4b4:	38 a5 49 70 	ori r5,r5,0x4970                               
 800e4b8:	28 ab 00 00 	lw r11,(r5+0)                                  
  executing->Wait.return_code = RTEMS_SUCCESSFUL;                     
 800e4bc:	34 05 00 00 	mvi r5,0                                       
 800e4c0:	59 65 00 34 	sw (r11+52),r5                                 
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
 800e4c4:	29 67 01 24 	lw r7,(r11+292)                                
                                                                      
  _ISR_Disable( level );                                              
 800e4c8:	90 00 30 00 	rcsr r6,IE                                     
 800e4cc:	34 05 ff fe 	mvi r5,-2                                      
 800e4d0:	a0 c5 28 00 	and r5,r6,r5                                   
 800e4d4:	d0 05 00 00 	wcsr IE,r5                                     
  pending_events = api->pending_events;                               
 800e4d8:	28 e8 00 00 	lw r8,(r7+0)                                   
RTEMS_INLINE_ROUTINE rtems_event_set _Event_sets_Get(                 
  rtems_event_set the_event_set,                                      
  rtems_event_set the_event_condition                                 
)                                                                     
{                                                                     
   return ( the_event_set & the_event_condition );                    
 800e4dc:	a0 28 28 00 	and r5,r1,r8                                   
  seized_events  = _Event_sets_Get( pending_events, event_in );       
                                                                      
  if ( !_Event_sets_Is_empty( seized_events ) &&                      
 800e4e0:	44 a0 00 04 	be r5,r0,800e4f0 <_Event_Seize+0x50>           
 800e4e4:	44 25 00 2b 	be r1,r5,800e590 <_Event_Seize+0xf0>           
 800e4e8:	20 49 00 02 	andi r9,r2,0x2                                 
 800e4ec:	5d 20 00 29 	bne r9,r0,800e590 <_Event_Seize+0xf0>          <== ALWAYS TAKEN
    _ISR_Enable( level );                                             
    *event_out = seized_events;                                       
    return;                                                           
  }                                                                   
                                                                      
  if ( _Options_Is_no_wait( option_set ) ) {                          
 800e4f0:	20 47 00 01 	andi r7,r2,0x1                                 
 800e4f4:	5c e0 00 1e 	bne r7,r0,800e56c <_Event_Seize+0xcc>          
   */                                                                 
  executing->Wait.option            = (uint32_t) option_set;          
  executing->Wait.count             = (uint32_t) event_in;            
  executing->Wait.return_argument   = event_out;                      
                                                                      
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;     
 800e4f8:	78 0c 08 02 	mvhi r12,0x802                                 
 800e4fc:	39 8c 4b b0 	ori r12,r12,0x4bb0                             
   *                                                                  
   *  NOTE: Since interrupts are disabled, this isn't that much of an 
   *        issue but better safe than sorry.                         
   */                                                                 
  executing->Wait.option            = (uint32_t) option_set;          
  executing->Wait.count             = (uint32_t) event_in;            
 800e500:	59 61 00 24 	sw (r11+36),r1                                 
  executing->Wait.return_argument   = event_out;                      
                                                                      
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;     
 800e504:	34 01 00 01 	mvi r1,1                                       
   *  set properly when we are marked as in the event critical section.
   *                                                                  
   *  NOTE: Since interrupts are disabled, this isn't that much of an 
   *        issue but better safe than sorry.                         
   */                                                                 
  executing->Wait.option            = (uint32_t) option_set;          
 800e508:	59 62 00 30 	sw (r11+48),r2                                 
  executing->Wait.count             = (uint32_t) event_in;            
  executing->Wait.return_argument   = event_out;                      
 800e50c:	59 64 00 28 	sw (r11+40),r4                                 
                                                                      
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;     
 800e510:	59 81 00 00 	sw (r12+0),r1                                  
                                                                      
  _ISR_Enable( level );                                               
 800e514:	d0 06 00 00 	wcsr IE,r6                                     
                                                                      
  if ( ticks ) {                                                      
 800e518:	34 04 00 00 	mvi r4,0                                       
 800e51c:	5c 64 00 2d 	bne r3,r4,800e5d0 <_Event_Seize+0x130>         
      NULL                                                            
    );                                                                
    _Watchdog_Insert_ticks( &executing->Timer, ticks );               
  }                                                                   
                                                                      
  _Thread_Set_state( executing, STATES_WAITING_FOR_EVENT );           
 800e520:	b9 60 08 00 	mv r1,r11                                      
 800e524:	34 02 01 00 	mvi r2,256                                     
 800e528:	fb ff e5 2a 	calli 80079d0 <_Thread_Set_state>              
                                                                      
  _ISR_Disable( level );                                              
 800e52c:	90 00 18 00 	rcsr r3,IE                                     
 800e530:	34 01 ff fe 	mvi r1,-2                                      
 800e534:	a0 61 08 00 	and r1,r3,r1                                   
 800e538:	d0 01 00 00 	wcsr IE,r1                                     
                                                                      
  sync_state = _Event_Sync_state;                                     
 800e53c:	29 81 00 00 	lw r1,(r12+0)                                  
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;         
 800e540:	34 02 00 00 	mvi r2,0                                       
 800e544:	59 82 00 00 	sw (r12+0),r2                                  
  if ( sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED ) {   
 800e548:	34 02 00 01 	mvi r2,1                                       
 800e54c:	44 22 00 1b 	be r1,r2,800e5b8 <_Event_Seize+0x118>          
   *  An interrupt completed the thread's blocking request.           
   *  The blocking thread was satisfied by an ISR or timed out.       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  _Thread_blocking_operation_Cancel( sync_state, executing, level );  
 800e550:	b9 60 10 00 	mv r2,r11                                      
 800e554:	f8 00 06 13 	calli 800fda0 <_Thread_blocking_operation_Cancel>
}                                                                     
 800e558:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800e55c:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 800e560:	2b 8c 00 08 	lw r12,(sp+8)                                  
 800e564:	37 9c 00 0c 	addi sp,sp,12                                  
 800e568:	c3 a0 00 00 	ret                                            
    *event_out = seized_events;                                       
    return;                                                           
  }                                                                   
                                                                      
  if ( _Options_Is_no_wait( option_set ) ) {                          
    _ISR_Enable( level );                                             
 800e56c:	d0 06 00 00 	wcsr IE,r6                                     
    executing->Wait.return_code = RTEMS_UNSATISFIED;                  
 800e570:	34 01 00 0d 	mvi r1,13                                      
 800e574:	59 61 00 34 	sw (r11+52),r1                                 
    *event_out = seized_events;                                       
 800e578:	58 85 00 00 	sw (r4+0),r5                                   
   *  The blocking thread was satisfied by an ISR or timed out.       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  _Thread_blocking_operation_Cancel( sync_state, executing, level );  
}                                                                     
 800e57c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800e580:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 800e584:	2b 8c 00 08 	lw r12,(sp+8)                                  
 800e588:	37 9c 00 0c 	addi sp,sp,12                                  
 800e58c:	c3 a0 00 00 	ret                                            
  pending_events = api->pending_events;                               
  seized_events  = _Event_sets_Get( pending_events, event_in );       
                                                                      
  if ( !_Event_sets_Is_empty( seized_events ) &&                      
       (seized_events == event_in || _Options_Is_any( option_set )) ) {
    api->pending_events =                                             
 800e590:	a4 a0 08 00 	not r1,r5                                      
 800e594:	a0 28 40 00 	and r8,r1,r8                                   
 800e598:	58 e8 00 00 	sw (r7+0),r8                                   
      _Event_sets_Clear( pending_events, seized_events );             
    _ISR_Enable( level );                                             
 800e59c:	d0 06 00 00 	wcsr IE,r6                                     
    *event_out = seized_events;                                       
 800e5a0:	58 85 00 00 	sw (r4+0),r5                                   
   *  The blocking thread was satisfied by an ISR or timed out.       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  _Thread_blocking_operation_Cancel( sync_state, executing, level );  
}                                                                     
 800e5a4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800e5a8:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 800e5ac:	2b 8c 00 08 	lw r12,(sp+8)                                  
 800e5b0:	37 9c 00 0c 	addi sp,sp,12                                  
 800e5b4:	c3 a0 00 00 	ret                                            
  _ISR_Disable( level );                                              
                                                                      
  sync_state = _Event_Sync_state;                                     
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;         
  if ( sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED ) {   
    _ISR_Enable( level );                                             
 800e5b8:	d0 03 00 00 	wcsr IE,r3                                     
   *  The blocking thread was satisfied by an ISR or timed out.       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  _Thread_blocking_operation_Cancel( sync_state, executing, level );  
}                                                                     
 800e5bc:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800e5c0:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 800e5c4:	2b 8c 00 08 	lw r12,(sp+8)                                  
 800e5c8:	37 9c 00 0c 	addi sp,sp,12                                  
 800e5cc:	c3 a0 00 00 	ret                                            
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;     
                                                                      
  _ISR_Enable( level );                                               
                                                                      
  if ( ticks ) {                                                      
    _Watchdog_Initialize(                                             
 800e5d0:	29 65 00 08 	lw r5,(r11+8)                                  
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 800e5d4:	78 02 08 00 	mvhi r2,0x800                                  
 800e5d8:	38 42 e7 d8 	ori r2,r2,0xe7d8                               
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 800e5dc:	78 01 08 02 	mvhi r1,0x802                                  
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 800e5e0:	59 62 00 64 	sw (r11+100),r2                                
  the_watchdog->id        = id;                                       
 800e5e4:	59 65 00 68 	sw (r11+104),r5                                
  the_watchdog->user_data = user_data;                                
 800e5e8:	59 64 00 6c 	sw (r11+108),r4                                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 800e5ec:	59 63 00 54 	sw (r11+84),r3                                 
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 800e5f0:	59 64 00 50 	sw (r11+80),r4                                 
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 800e5f4:	38 21 49 90 	ori r1,r1,0x4990                               
 800e5f8:	35 62 00 48 	addi r2,r11,72                                 
 800e5fc:	fb ff e7 04 	calli 800820c <_Watchdog_Insert>               
 800e600:	e3 ff ff c8 	bi 800e520 <_Event_Seize+0x80>                 
                                                                      
0800e66c <_Event_Surrender>:                                          
 */                                                                   
                                                                      
void _Event_Surrender(                                                
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
 800e66c:	37 9c ff f8 	addi sp,sp,-8                                  
 800e670:	5b 8b 00 08 	sw (sp+8),r11                                  
 800e674:	5b 9d 00 04 	sw (sp+4),ra                                   
  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 ];               
 800e678:	28 25 01 24 	lw r5,(r1+292)                                 
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
 800e67c:	28 28 00 30 	lw r8,(r1+48)                                  
 */                                                                   
                                                                      
void _Event_Surrender(                                                
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
 800e680:	b8 20 58 00 	mv r11,r1                                      
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_RTEMS ];               
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
                                                                      
  _ISR_Disable( level );                                              
 800e684:	90 00 08 00 	rcsr r1,IE                                     
 800e688:	34 07 ff fe 	mvi r7,-2                                      
 800e68c:	a0 27 38 00 	and r7,r1,r7                                   
 800e690:	d0 07 00 00 	wcsr IE,r7                                     
  pending_events  = api->pending_events;                              
 800e694:	28 a6 00 00 	lw r6,(r5+0)                                   
  event_condition = (rtems_event_set) the_thread->Wait.count;         
 800e698:	29 64 00 24 	lw r4,(r11+36)                                 
RTEMS_INLINE_ROUTINE rtems_event_set _Event_sets_Get(                 
  rtems_event_set the_event_set,                                      
  rtems_event_set the_event_condition                                 
)                                                                     
{                                                                     
   return ( the_event_set & the_event_condition );                    
 800e69c:	a0 86 10 00 	and r2,r4,r6                                   
  seized_events = _Event_sets_Get( pending_events, event_condition ); 
                                                                      
  /*                                                                  
   *  No events were seized in this operation                         
   */                                                                 
  if ( _Event_sets_Is_empty( seized_events ) ) {                      
 800e6a0:	44 40 00 29 	be r2,r0,800e744 <_Event_Surrender+0xd8>       
                                                                      
  /*                                                                  
   *  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() &&                                       
 800e6a4:	78 03 08 02 	mvhi r3,0x802                                  
 800e6a8:	38 63 49 4c 	ori r3,r3,0x494c                               
 800e6ac:	28 63 00 00 	lw r3,(r3+0)                                   
 800e6b0:	44 60 00 05 	be r3,r0,800e6c4 <_Event_Surrender+0x58>       
 800e6b4:	78 03 08 02 	mvhi r3,0x802                                  
 800e6b8:	38 63 49 70 	ori r3,r3,0x4970                               
 800e6bc:	28 63 00 00 	lw r3,(r3+0)                                   
 800e6c0:	45 63 00 30 	be r11,r3,800e780 <_Event_Surrender+0x114>     
  }                                                                   
                                                                      
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
 800e6c4:	29 63 00 10 	lw r3,(r11+16)                                 
 800e6c8:	20 63 01 00 	andi r3,r3,0x100                               
 800e6cc:	44 60 00 19 	be r3,r0,800e730 <_Event_Surrender+0xc4>       
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
 800e6d0:	44 82 00 03 	be r4,r2,800e6dc <_Event_Surrender+0x70>       
 800e6d4:	21 08 00 02 	andi r8,r8,0x2                                 
 800e6d8:	45 00 00 16 	be r8,r0,800e730 <_Event_Surrender+0xc4>       <== NEVER TAKEN
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
 800e6dc:	a4 40 18 00 	not r3,r2                                      
 800e6e0:	a0 66 30 00 	and r6,r3,r6                                   
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 800e6e4:	29 64 00 28 	lw r4,(r11+40)                                 
  /*                                                                  
   *  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 );
 800e6e8:	58 a6 00 00 	sw (r5+0),r6                                   
      the_thread->Wait.count = 0;                                     
 800e6ec:	34 03 00 00 	mvi r3,0                                       
 800e6f0:	59 63 00 24 	sw (r11+36),r3                                 
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 800e6f4:	58 82 00 00 	sw (r4+0),r2                                   
                                                                      
      _ISR_Flash( level );                                            
 800e6f8:	d0 01 00 00 	wcsr IE,r1                                     
 800e6fc:	d0 07 00 00 	wcsr IE,r7                                     
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
 800e700:	29 63 00 50 	lw r3,(r11+80)                                 
 800e704:	34 02 00 02 	mvi r2,2                                       
 800e708:	44 62 00 14 	be r3,r2,800e758 <_Event_Surrender+0xec>       
        _ISR_Enable( level );                                         
 800e70c:	d0 01 00 00 	wcsr IE,r1                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
 800e710:	78 02 10 03 	mvhi r2,0x1003                                 
 800e714:	b9 60 08 00 	mv r1,r11                                      
 800e718:	38 42 ff f8 	ori r2,r2,0xfff8                               
 800e71c:	f8 00 05 b9 	calli 800fe00 <_Thread_Clear_state>            
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
}                                                                     
 800e720:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800e724:	2b 8b 00 08 	lw r11,(sp+8)                                  
 800e728:	37 9c 00 08 	addi sp,sp,8                                   
 800e72c:	c3 a0 00 00 	ret                                            
        _Thread_Unblock( the_thread );                                
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
 800e730:	d0 01 00 00 	wcsr IE,r1                                     
}                                                                     
 800e734:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800e738:	2b 8b 00 08 	lw r11,(sp+8)                                  
 800e73c:	37 9c 00 08 	addi sp,sp,8                                   
 800e740:	c3 a0 00 00 	ret                                            
                                                                      
  /*                                                                  
   *  No events were seized in this operation                         
   */                                                                 
  if ( _Event_sets_Is_empty( seized_events ) ) {                      
    _ISR_Enable( level );                                             
 800e744:	d0 01 00 00 	wcsr IE,r1                                     
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
}                                                                     
 800e748:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800e74c:	2b 8b 00 08 	lw r11,(sp+8)                                  
 800e750:	37 9c 00 08 	addi sp,sp,8                                   
 800e754:	c3 a0 00 00 	ret                                            
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
 800e758:	34 02 00 03 	mvi r2,3                                       
 800e75c:	59 62 00 50 	sw (r11+80),r2                                 
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
        _ISR_Enable( level );                                         
        _Thread_Unblock( the_thread );                                
      } else {                                                        
        _Watchdog_Deactivate( &the_thread->Timer );                   
        _ISR_Enable( level );                                         
 800e760:	d0 01 00 00 	wcsr IE,r1                                     
        (void) _Watchdog_Remove( &the_thread->Timer );                
 800e764:	35 61 00 48 	addi r1,r11,72                                 
 800e768:	fb ff e7 10 	calli 80083a8 <_Watchdog_Remove>               
 800e76c:	78 02 10 03 	mvhi r2,0x1003                                 
 800e770:	b9 60 08 00 	mv r1,r11                                      
 800e774:	38 42 ff f8 	ori r2,r2,0xfff8                               
 800e778:	f8 00 05 a2 	calli 800fe00 <_Thread_Clear_state>            
 800e77c:	e3 ff ff ee 	bi 800e734 <_Event_Surrender+0xc8>             
   *  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) ||   
 800e780:	78 03 08 02 	mvhi r3,0x802                                  
 800e784:	38 63 4b b0 	ori r3,r3,0x4bb0                               
 800e788:	28 6a 00 00 	lw r10,(r3+0)                                  
                                                                      
  /*                                                                  
   *  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() &&                                       
 800e78c:	34 09 00 02 	mvi r9,2                                       
 800e790:	45 49 00 04 	be r10,r9,800e7a0 <_Event_Surrender+0x134>     <== NEVER TAKEN
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
 800e794:	28 6a 00 00 	lw r10,(r3+0)                                  
                                                                      
  /*                                                                  
   *  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() &&                                       
 800e798:	34 09 00 01 	mvi r9,1                                       
 800e79c:	5d 49 ff ca 	bne r10,r9,800e6c4 <_Event_Surrender+0x58>     <== NEVER TAKEN
       _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) ) {
 800e7a0:	44 82 00 03 	be r4,r2,800e7ac <_Event_Surrender+0x140>      <== ALWAYS TAKEN
 800e7a4:	21 08 00 02 	andi r8,r8,0x2                                 <== NOT EXECUTED
 800e7a8:	45 00 00 0a 	be r8,r0,800e7d0 <_Event_Surrender+0x164>      <== NOT EXECUTED
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
 800e7ac:	a4 40 20 00 	not r4,r2                                      
 800e7b0:	a0 86 30 00 	and r6,r4,r6                                   
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 800e7b4:	29 64 00 28 	lw r4,(r11+40)                                 
  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 );
 800e7b8:	58 a6 00 00 	sw (r5+0),r6                                   
      the_thread->Wait.count = 0;                                     
 800e7bc:	34 05 00 00 	mvi r5,0                                       
 800e7c0:	59 65 00 24 	sw (r11+36),r5                                 
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 800e7c4:	58 82 00 00 	sw (r4+0),r2                                   
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
 800e7c8:	34 02 00 03 	mvi r2,3                                       
 800e7cc:	58 62 00 00 	sw (r3+0),r2                                   
    }                                                                 
    _ISR_Enable( level );                                             
 800e7d0:	d0 01 00 00 	wcsr IE,r1                                     
    return;                                                           
 800e7d4:	e3 ff ff d8 	bi 800e734 <_Event_Surrender+0xc8>             
                                                                      
0800e7d8 <_Event_Timeout>:                                            
                                                                      
void _Event_Timeout(                                                  
  Objects_Id  id,                                                     
  void       *ignored                                                 
)                                                                     
{                                                                     
 800e7d8:	37 9c ff f8 	addi sp,sp,-8                                  
 800e7dc:	5b 9d 00 04 	sw (sp+4),ra                                   
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 800e7e0:	37 82 00 08 	addi r2,sp,8                                   
 800e7e4:	fb ff e1 9f 	calli 8006e60 <_Thread_Get>                    
  switch ( location ) {                                               
 800e7e8:	2b 82 00 08 	lw r2,(sp+8)                                   
 800e7ec:	44 40 00 04 	be r2,r0,800e7fc <_Event_Timeout+0x24>         <== ALWAYS TAKEN
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
 800e7f0:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 800e7f4:	37 9c 00 08 	addi sp,sp,8                                   <== NOT EXECUTED
 800e7f8:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
       *                                                              
       *  If it is not satisfied, then it is "nothing happened" and   
       *  this is the "timeout" transition.  After a request is satisfied,
       *  a timeout is not allowed to occur.                          
       */                                                             
      _ISR_Disable( level );                                          
 800e7fc:	90 00 18 00 	rcsr r3,IE                                     
 800e800:	34 02 ff fe 	mvi r2,-2                                      
 800e804:	a0 62 10 00 	and r2,r3,r2                                   
 800e808:	d0 02 00 00 	wcsr IE,r2                                     
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
        if ( _Thread_Is_executing( the_thread ) ) {                   
 800e80c:	78 02 08 02 	mvhi r2,0x802                                  
 800e810:	38 42 49 70 	ori r2,r2,0x4970                               
 800e814:	28 42 00 00 	lw r2,(r2+0)                                   
            _ISR_Enable( level );                                     
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
 800e818:	34 04 00 00 	mvi r4,0                                       
 800e81c:	58 24 00 24 	sw (r1+36),r4                                  
        if ( _Thread_Is_executing( the_thread ) ) {                   
 800e820:	44 22 00 0f 	be r1,r2,800e85c <_Event_Timeout+0x84>         
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
 800e824:	34 02 00 06 	mvi r2,6                                       
 800e828:	58 22 00 34 	sw (r1+52),r2                                  
      _ISR_Enable( level );                                           
 800e82c:	d0 03 00 00 	wcsr IE,r3                                     
 800e830:	78 02 10 03 	mvhi r2,0x1003                                 
 800e834:	38 42 ff f8 	ori r2,r2,0xfff8                               
 800e838:	f8 00 05 72 	calli 800fe00 <_Thread_Clear_state>            
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
 800e83c:	78 01 08 02 	mvhi r1,0x802                                  
 800e840:	38 21 48 b4 	ori r1,r1,0x48b4                               
 800e844:	28 22 00 00 	lw r2,(r1+0)                                   
 800e848:	34 42 ff ff 	addi r2,r2,-1                                  
 800e84c:	58 22 00 00 	sw (r1+0),r2                                   
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
 800e850:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800e854:	37 9c 00 08 	addi sp,sp,8                                   
 800e858:	c3 a0 00 00 	ret                                            
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
        if ( _Thread_Is_executing( the_thread ) ) {                   
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
 800e85c:	78 02 08 02 	mvhi r2,0x802                                  
 800e860:	38 42 4b b0 	ori r2,r2,0x4bb0                               
 800e864:	28 45 00 00 	lw r5,(r2+0)                                   
 800e868:	34 04 00 01 	mvi r4,1                                       
 800e86c:	5c a4 ff ee 	bne r5,r4,800e824 <_Event_Timeout+0x4c>        
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
 800e870:	34 04 00 02 	mvi r4,2                                       
 800e874:	58 44 00 00 	sw (r2+0),r4                                   
 800e878:	e3 ff ff eb 	bi 800e824 <_Event_Timeout+0x4c>               
                                                                      
08008da4 <_Heap_Allocate_aligned_with_boundary>:                      
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
 8008da4:	37 9c ff bc 	addi sp,sp,-68                                 
 8008da8:	5b 8b 00 44 	sw (sp+68),r11                                 
 8008dac:	5b 8c 00 40 	sw (sp+64),r12                                 
 8008db0:	5b 8d 00 3c 	sw (sp+60),r13                                 
 8008db4:	5b 8e 00 38 	sw (sp+56),r14                                 
 8008db8:	5b 8f 00 34 	sw (sp+52),r15                                 
 8008dbc:	5b 90 00 30 	sw (sp+48),r16                                 
 8008dc0:	5b 91 00 2c 	sw (sp+44),r17                                 
 8008dc4:	5b 92 00 28 	sw (sp+40),r18                                 
 8008dc8:	5b 93 00 24 	sw (sp+36),r19                                 
 8008dcc:	5b 94 00 20 	sw (sp+32),r20                                 
 8008dd0:	5b 95 00 1c 	sw (sp+28),r21                                 
 8008dd4:	5b 96 00 18 	sw (sp+24),r22                                 
 8008dd8:	5b 97 00 14 	sw (sp+20),r23                                 
 8008ddc:	5b 98 00 10 	sw (sp+16),r24                                 
 8008de0:	5b 99 00 0c 	sw (sp+12),r25                                 
 8008de4:	5b 9b 00 08 	sw (sp+8),fp                                   
 8008de8:	5b 9d 00 04 	sw (sp+4),ra                                   
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );    
  Heap_Block *block = _Heap_Free_list_first( heap );                  
  uintptr_t const block_size_floor = alloc_size + HEAP_BLOCK_HEADER_SIZE
    - HEAP_BLOCK_SIZE_OFFSET;                                         
 8008dec:	34 53 00 04 	addi r19,r2,4                                  
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
 8008df0:	b8 40 68 00 	mv r13,r2                                      
 8008df4:	b8 20 78 00 	mv r15,r1                                      
 8008df8:	b8 60 88 00 	mv r17,r3                                      
 8008dfc:	b8 80 90 00 	mv r18,r4                                      
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 8008e00:	28 2b 00 08 	lw r11,(r1+8)                                  
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );    
  Heap_Block *block = _Heap_Free_list_first( heap );                  
  uintptr_t const block_size_floor = alloc_size + HEAP_BLOCK_HEADER_SIZE
    - HEAP_BLOCK_SIZE_OFFSET;                                         
  uintptr_t const page_size = heap->page_size;                        
 8008e04:	28 35 00 10 	lw r21,(r1+16)                                 
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
 8008e08:	54 53 00 6a 	bgu r2,r19,8008fb0 <_Heap_Allocate_aligned_with_boundary+0x20c>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
 8008e0c:	5c 80 00 6b 	bne r4,r0,8008fb8 <_Heap_Allocate_aligned_with_boundary+0x214>
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
 8008e10:	34 10 00 00 	mvi r16,0                                      
 8008e14:	45 eb 00 0d 	be r15,r11,8008e48 <_Heap_Allocate_aligned_with_boundary+0xa4>
  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_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
 8008e18:	34 1b 00 04 	mvi fp,4                                       
 8008e1c:	cb 6d d8 00 	sub fp,fp,r13                                  
  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;               
 8008e20:	34 19 ff fe 	mvi r25,-2                                     
                                                                      
  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;                         
 8008e24:	36 b8 00 07 	addi r24,r21,7                                 
    /*                                                                
     * 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 ) {                  
 8008e28:	29 61 00 04 	lw r1,(r11+4)                                  
                                                                      
  while ( block != free_list_tail ) {                                 
    _HAssert( _Heap_Is_prev_used( block ) );                          
                                                                      
    /* Statistics */                                                  
    ++search_count;                                                   
 8008e2c:	36 10 00 01 	addi r16,r16,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 ) {                  
 8008e30:	52 61 00 04 	bgeu r19,r1,8008e40 <_Heap_Allocate_aligned_with_boundary+0x9c>
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
 8008e34:	35 6c 00 08 	addi r12,r11,8                                 
      if ( alignment == 0 ) {                                         
 8008e38:	5e 20 00 1b 	bne r17,r0,8008ea4 <_Heap_Allocate_aligned_with_boundary+0x100>
          boundary                                                    
        );                                                            
      }                                                               
    }                                                                 
                                                                      
    if ( alloc_begin != 0 ) {                                         
 8008e3c:	5d 80 00 53 	bne r12,r0,8008f88 <_Heap_Allocate_aligned_with_boundary+0x1e4><== ALWAYS TAKEN
      break;                                                          
    }                                                                 
                                                                      
    block = block->next;                                              
 8008e40:	29 6b 00 08 	lw r11,(r11+8)                                 
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
 8008e44:	5d eb ff f9 	bne r15,r11,8008e28 <_Heap_Allocate_aligned_with_boundary+0x84>
 8008e48:	34 01 00 00 	mvi r1,0                                       
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
 8008e4c:	29 e2 00 44 	lw r2,(r15+68)                                 
 8008e50:	50 50 00 02 	bgeu r2,r16,8008e58 <_Heap_Allocate_aligned_with_boundary+0xb4>
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
 8008e54:	59 f0 00 44 	sw (r15+68),r16                                
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
 8008e58:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8008e5c:	2b 8b 00 44 	lw r11,(sp+68)                                 
 8008e60:	2b 8c 00 40 	lw r12,(sp+64)                                 
 8008e64:	2b 8d 00 3c 	lw r13,(sp+60)                                 
 8008e68:	2b 8e 00 38 	lw r14,(sp+56)                                 
 8008e6c:	2b 8f 00 34 	lw r15,(sp+52)                                 
 8008e70:	2b 90 00 30 	lw r16,(sp+48)                                 
 8008e74:	2b 91 00 2c 	lw r17,(sp+44)                                 
 8008e78:	2b 92 00 28 	lw r18,(sp+40)                                 
 8008e7c:	2b 93 00 24 	lw r19,(sp+36)                                 
 8008e80:	2b 94 00 20 	lw r20,(sp+32)                                 
 8008e84:	2b 95 00 1c 	lw r21,(sp+28)                                 
 8008e88:	2b 96 00 18 	lw r22,(sp+24)                                 
 8008e8c:	2b 97 00 14 	lw r23,(sp+20)                                 
 8008e90:	2b 98 00 10 	lw r24,(sp+16)                                 
 8008e94:	2b 99 00 0c 	lw r25,(sp+12)                                 
 8008e98:	2b 9b 00 08 	lw fp,(sp+8)                                   
 8008e9c:	37 9c 00 44 	addi sp,sp,68                                  
 8008ea0:	c3 a0 00 00 	ret                                            
  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;               
 8008ea4:	a0 39 70 00 	and r14,r1,r25                                 
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
 8008ea8:	29 f6 00 14 	lw r22,(r15+20)                                
                                                                      
  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;               
 8008eac:	b5 6e 70 00 	add r14,r11,r14                                
  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_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
 8008eb0:	b7 6e 60 00 	add r12,fp,r14                                 
  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;                         
 8008eb4:	cb 16 18 00 	sub r3,r24,r22                                 
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
 8008eb8:	b9 80 08 00 	mv r1,r12                                      
 8008ebc:	ba 20 10 00 	mv r2,r17                                      
 8008ec0:	b4 6e 70 00 	add r14,r3,r14                                 
 8008ec4:	f8 00 43 c4 	calli 8019dd4 <__umodsi3>                      
 8008ec8:	c9 81 60 00 	sub r12,r12,r1                                 
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
 8008ecc:	35 77 00 08 	addi r23,r11,8                                 
  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 ) {                          
 8008ed0:	51 cc 00 05 	bgeu r14,r12,8008ee4 <_Heap_Allocate_aligned_with_boundary+0x140>
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
 8008ed4:	b9 c0 08 00 	mv r1,r14                                      
 8008ed8:	ba 20 10 00 	mv r2,r17                                      
 8008edc:	f8 00 43 be 	calli 8019dd4 <__umodsi3>                      
 8008ee0:	c9 c1 60 00 	sub r12,r14,r1                                 
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
 8008ee4:	46 40 00 1c 	be r18,r0,8008f54 <_Heap_Allocate_aligned_with_boundary+0x1b0>
  /* 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;                               
 8008ee8:	b5 8d 70 00 	add r14,r12,r13                                
 8008eec:	b9 c0 08 00 	mv r1,r14                                      
 8008ef0:	ba 40 10 00 	mv r2,r18                                      
 8008ef4:	f8 00 43 b8 	calli 8019dd4 <__umodsi3>                      
 8008ef8:	c9 c1 28 00 	sub r5,r14,r1                                  
  /* 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 ) {
 8008efc:	f5 c5 70 00 	cmpgu r14,r14,r5                               
 8008f00:	f4 ac 08 00 	cmpgu r1,r5,r12                                
 8008f04:	a1 c1 70 00 	and r14,r14,r1                                 
 8008f08:	45 c0 00 13 	be r14,r0,8008f54 <_Heap_Allocate_aligned_with_boundary+0x1b0>
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
 8008f0c:	b6 ed a0 00 	add r20,r23,r13                                
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
      if ( boundary_line < boundary_floor ) {                         
 8008f10:	56 85 ff cc 	bgu r20,r5,8008e40 <_Heap_Allocate_aligned_with_boundary+0x9c>
 8008f14:	e0 00 00 02 	bi 8008f1c <_Heap_Allocate_aligned_with_boundary+0x178>
 8008f18:	56 85 ff ca 	bgu r20,r5,8008e40 <_Heap_Allocate_aligned_with_boundary+0x9c><== NEVER TAKEN
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
 8008f1c:	c8 ad 60 00 	sub r12,r5,r13                                 
 8008f20:	ba 20 10 00 	mv r2,r17                                      
 8008f24:	b9 80 08 00 	mv r1,r12                                      
 8008f28:	f8 00 43 ab 	calli 8019dd4 <__umodsi3>                      
 8008f2c:	c9 81 60 00 	sub r12,r12,r1                                 
      alloc_begin = _Heap_Align_down( alloc_begin, alignment );       
      alloc_end = alloc_begin + alloc_size;                           
 8008f30:	b5 8d 70 00 	add r14,r12,r13                                
 8008f34:	b9 c0 08 00 	mv r1,r14                                      
 8008f38:	ba 40 10 00 	mv r2,r18                                      
 8008f3c:	f8 00 43 a6 	calli 8019dd4 <__umodsi3>                      
 8008f40:	c9 c1 28 00 	sub r5,r14,r1                                  
  /* 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 ) {
 8008f44:	f5 c5 70 00 	cmpgu r14,r14,r5                               
 8008f48:	f4 ac 08 00 	cmpgu r1,r5,r12                                
 8008f4c:	a1 c1 70 00 	and r14,r14,r1                                 
 8008f50:	5d c0 ff f2 	bne r14,r0,8008f18 <_Heap_Allocate_aligned_with_boundary+0x174>
      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 ) {                           
 8008f54:	56 ec ff bb 	bgu r23,r12,8008e40 <_Heap_Allocate_aligned_with_boundary+0x9c>
    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;      
 8008f58:	34 01 ff f8 	mvi r1,-8                                      
 8008f5c:	c8 2b 70 00 	sub r14,r1,r11                                 
 8008f60:	ba a0 10 00 	mv r2,r21                                      
 8008f64:	b9 80 08 00 	mv r1,r12                                      
 8008f68:	b5 cc 70 00 	add r14,r14,r12                                
 8008f6c:	f8 00 43 9a 	calli 8019dd4 <__umodsi3>                      
 8008f70:	c9 c1 08 00 	sub r1,r14,r1                                  
                                                                      
    if ( free_size >= min_block_size || free_size == 0 ) {            
 8008f74:	f0 36 b0 00 	cmpgeu r22,r1,r22                              
 8008f78:	64 21 00 00 	cmpei r1,r1,0                                  
 8008f7c:	b8 36 08 00 	or r1,r1,r22                                   
 8008f80:	44 20 ff b0 	be r1,r0,8008e40 <_Heap_Allocate_aligned_with_boundary+0x9c>
          boundary                                                    
        );                                                            
      }                                                               
    }                                                                 
                                                                      
    if ( alloc_begin != 0 ) {                                         
 8008f84:	45 80 ff af 	be r12,r0,8008e40 <_Heap_Allocate_aligned_with_boundary+0x9c><== NEVER TAKEN
    block = block->next;                                              
  }                                                                   
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
 8008f88:	29 e1 00 4c 	lw r1,(r15+76)                                 
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
 8008f8c:	b9 60 10 00 	mv r2,r11                                      
 8008f90:	b9 a0 20 00 	mv r4,r13                                      
    block = block->next;                                              
  }                                                                   
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
 8008f94:	b4 30 08 00 	add r1,r1,r16                                  
 8008f98:	59 e1 00 4c 	sw (r15+76),r1                                 
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
 8008f9c:	b9 80 18 00 	mv r3,r12                                      
 8008fa0:	b9 e0 08 00 	mv r1,r15                                      
 8008fa4:	fb ff e9 74 	calli 8003574 <_Heap_Block_allocate>           
 8008fa8:	b9 80 08 00 	mv r1,r12                                      
 8008fac:	e3 ff ff a8 	bi 8008e4c <_Heap_Allocate_aligned_with_boundary+0xa8>
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
 8008fb0:	34 01 00 00 	mvi r1,0                                       
 8008fb4:	e3 ff ff a9 	bi 8008e58 <_Heap_Allocate_aligned_with_boundary+0xb4>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
 8008fb8:	54 44 ff fe 	bgu r2,r4,8008fb0 <_Heap_Allocate_aligned_with_boundary+0x20c>
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
 8008fbc:	5c 60 ff 95 	bne r3,r0,8008e10 <_Heap_Allocate_aligned_with_boundary+0x6c>
 8008fc0:	ba a0 88 00 	mv r17,r21                                     
 8008fc4:	e3 ff ff 93 	bi 8008e10 <_Heap_Allocate_aligned_with_boundary+0x6c>
                                                                      
0800f0e0 <_Heap_Extend>:                                              
  Heap_Control *heap,                                                 
  void *area_begin_ptr,                                               
  uintptr_t area_size,                                                
  uintptr_t *amount_extended                                          
)                                                                     
{                                                                     
 800f0e0:	37 9c ff e8 	addi sp,sp,-24                                 
 800f0e4:	5b 8b 00 14 	sw (sp+20),r11                                 
 800f0e8:	5b 8c 00 10 	sw (sp+16),r12                                 
 800f0ec:	5b 8d 00 0c 	sw (sp+12),r13                                 
 800f0f0:	5b 8e 00 08 	sw (sp+8),r14                                  
 800f0f4:	5b 9d 00 04 	sw (sp+4),ra                                   
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
 800f0f8:	28 2c 00 18 	lw r12,(r1+24)                                 
  uintptr_t const heap_area_end = heap->area_end;                     
 800f0fc:	28 25 00 1c 	lw r5,(r1+28)                                  
  Heap_Control *heap,                                                 
  void *area_begin_ptr,                                               
  uintptr_t area_size,                                                
  uintptr_t *amount_extended                                          
)                                                                     
{                                                                     
 800f100:	b8 20 58 00 	mv r11,r1                                      
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
 800f104:	f0 4c 60 00 	cmpgeu r12,r2,r12                              
   *    5. non-contiguous higher address    (NOT SUPPORTED)           
   *                                                                  
   *  As noted, this code only supports (4).                          
   */                                                                 
                                                                      
  if ( area_begin >= heap_area_begin && area_begin < heap_area_end ) {
 800f108:	f4 a2 08 00 	cmpgu r1,r5,r2                                 
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
  uintptr_t const heap_area_end = heap->area_end;                     
  uintptr_t const new_heap_area_end = heap_area_end + area_size;      
  uintptr_t extend_size = 0;                                          
  Heap_Block *const last_block = heap->last_block;                    
 800f10c:	29 6d 00 24 	lw r13,(r11+36)                                
  uintptr_t *amount_extended                                          
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
 800f110:	a0 2c 60 00 	and r12,r1,r12                                 
 800f114:	34 01 00 01 	mvi r1,1                                       
 800f118:	5d 80 00 03 	bne r12,r0,800f124 <_Heap_Extend+0x44>         
   *  As noted, this code only supports (4).                          
   */                                                                 
                                                                      
  if ( area_begin >= heap_area_begin && area_begin < heap_area_end ) {
    return HEAP_EXTEND_ERROR; /* case 3 */                            
  } else if ( area_begin != heap_area_end ) {                         
 800f11c:	34 01 00 02 	mvi r1,2                                       
 800f120:	44 45 00 08 	be r2,r5,800f140 <_Heap_Extend+0x60>           
                                                                      
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( last_block ));
  }                                                                   
                                                                      
  return HEAP_EXTEND_SUCCESSFUL;                                      
}                                                                     
 800f124:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800f128:	2b 8b 00 14 	lw r11,(sp+20)                                 
 800f12c:	2b 8c 00 10 	lw r12,(sp+16)                                 
 800f130:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 800f134:	2b 8e 00 08 	lw r14,(sp+8)                                  
 800f138:	37 9c 00 18 	addi sp,sp,24                                  
 800f13c:	c3 a0 00 00 	ret                                            
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
  uintptr_t const heap_area_end = heap->area_end;                     
  uintptr_t const new_heap_area_end = heap_area_end + area_size;      
 800f140:	b4 43 18 00 	add r3,r2,r3                                   
   *  block and free it.                                              
   */                                                                 
                                                                      
  heap->area_end = new_heap_area_end;                                 
                                                                      
  extend_size = new_heap_area_end                                     
 800f144:	c8 6d 70 00 	sub r14,r3,r13                                 
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
 800f148:	29 62 00 10 	lw r2,(r11+16)                                 
 800f14c:	35 ce ff f8 	addi r14,r14,-8                                
   *  Currently only case 4 should make it to this point.             
   *  The basic trick is to make the extend area look like a used     
   *  block and free it.                                              
   */                                                                 
                                                                      
  heap->area_end = new_heap_area_end;                                 
 800f150:	59 63 00 1c 	sw (r11+28),r3                                 
 800f154:	b9 c0 08 00 	mv r1,r14                                      
 800f158:	5b 84 00 18 	sw (sp+24),r4                                  
 800f15c:	fb ff d5 02 	calli 8004564 <__umodsi3>                      
                                                                      
  extend_size = new_heap_area_end                                     
    - (uintptr_t) last_block - HEAP_BLOCK_HEADER_SIZE;                
  extend_size = _Heap_Align_down( extend_size, heap->page_size );     
                                                                      
  *amount_extended = extend_size;                                     
 800f160:	2b 84 00 18 	lw r4,(sp+24)                                  
 800f164:	c9 c1 08 00 	sub r1,r14,r1                                  
 800f168:	58 81 00 00 	sw (r4+0),r1                                   
                                                                      
  if( extend_size >= heap->min_block_size ) {                         
 800f16c:	29 62 00 14 	lw r2,(r11+20)                                 
 800f170:	50 22 00 09 	bgeu r1,r2,800f194 <_Heap_Extend+0xb4>         <== ALWAYS TAKEN
    /* Statistics */                                                  
    stats->size += extend_size;                                       
    ++stats->used_blocks;                                             
    --stats->frees; /* Do not count subsequent call as actual free() */
                                                                      
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( last_block ));
 800f174:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
  }                                                                   
                                                                      
  return HEAP_EXTEND_SUCCESSFUL;                                      
}                                                                     
 800f178:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800f17c:	2b 8b 00 14 	lw r11,(sp+20)                                 
 800f180:	2b 8c 00 10 	lw r12,(sp+16)                                 
 800f184:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 800f188:	2b 8e 00 08 	lw r14,(sp+8)                                  
 800f18c:	37 9c 00 18 	addi sp,sp,24                                  
 800f190:	c3 a0 00 00 	ret                                            
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
                                                                      
  block->size_and_flag = size | flag;                                 
 800f194:	29 a4 00 04 	lw r4,(r13+4)                                  
  if( extend_size >= heap->min_block_size ) {                         
    Heap_Block *const new_last_block = _Heap_Block_at( last_block, extend_size );
                                                                      
    _Heap_Block_set_size( last_block, extend_size );                  
                                                                      
    new_last_block->size_and_flag =                                   
 800f198:	29 63 00 20 	lw r3,(r11+32)                                 
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 800f19c:	b4 2d 10 00 	add r2,r1,r13                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
                                                                      
  block->size_and_flag = size | flag;                                 
 800f1a0:	20 84 00 01 	andi r4,r4,0x1                                 
 800f1a4:	b8 24 20 00 	or r4,r1,r4                                    
 800f1a8:	c8 62 18 00 	sub r3,r3,r2                                   
 800f1ac:	59 a4 00 04 	sw (r13+4),r4                                  
 800f1b0:	38 63 00 01 	ori r3,r3,0x1                                  
 800f1b4:	58 43 00 04 	sw (r2+4),r3                                   
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
 800f1b8:	29 65 00 2c 	lw r5,(r11+44)                                 
    ++stats->used_blocks;                                             
 800f1bc:	29 64 00 40 	lw r4,(r11+64)                                 
    --stats->frees; /* Do not count subsequent call as actual free() */
 800f1c0:	29 63 00 50 	lw r3,(r11+80)                                 
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
 800f1c4:	b4 a1 08 00 	add r1,r5,r1                                   
    ++stats->used_blocks;                                             
 800f1c8:	34 84 00 01 	addi r4,r4,1                                   
    --stats->frees; /* Do not count subsequent call as actual free() */
 800f1cc:	34 63 ff ff 	addi r3,r3,-1                                  
                                                                      
    new_last_block->size_and_flag =                                   
      ((uintptr_t) heap->first_block - (uintptr_t) new_last_block)    
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
 800f1d0:	59 62 00 24 	sw (r11+36),r2                                 
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
 800f1d4:	59 61 00 2c 	sw (r11+44),r1                                 
    ++stats->used_blocks;                                             
 800f1d8:	59 64 00 40 	sw (r11+64),r4                                 
    --stats->frees; /* Do not count subsequent call as actual free() */
 800f1dc:	59 63 00 50 	sw (r11+80),r3                                 
                                                                      
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( last_block ));
 800f1e0:	b9 60 08 00 	mv r1,r11                                      
 800f1e4:	35 a2 00 08 	addi r2,r13,8                                  
 800f1e8:	fb ff e5 c2 	calli 80088f0 <_Heap_Free>                     
 800f1ec:	b9 80 08 00 	mv r1,r12                                      
 800f1f0:	e3 ff ff e2 	bi 800f178 <_Heap_Extend+0x98>                 
                                                                      
08008fc8 <_Heap_Free>:                                                
#include <rtems/system.h>                                             
#include <rtems/score/sysstate.h>                                     
#include <rtems/score/heap.h>                                         
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
{                                                                     
 8008fc8:	37 9c ff f4 	addi sp,sp,-12                                 
 8008fcc:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8008fd0:	5b 8c 00 08 	sw (sp+8),r12                                  
 8008fd4:	5b 9d 00 04 	sw (sp+4),ra                                   
 8008fd8:	b8 40 18 00 	mv r3,r2                                       
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 )   
 8008fdc:	28 22 00 10 	lw r2,(r1+16)                                  
 8008fe0:	b8 20 58 00 	mv r11,r1                                      
 8008fe4:	b8 60 08 00 	mv r1,r3                                       
 8008fe8:	34 6c ff f8 	addi r12,r3,-8                                 
 8008fec:	f8 00 43 7a 	calli 8019dd4 <__umodsi3>                      
  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;             
 8008ff0:	29 64 00 20 	lw r4,(r11+32)                                 
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 )   
 8008ff4:	c9 81 08 00 	sub r1,r12,r1                                  
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           
 8008ff8:	54 81 00 2b 	bgu r4,r1,80090a4 <_Heap_Free+0xdc>            
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
 8008ffc:	29 63 00 24 	lw r3,(r11+36)                                 
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           
 8009000:	54 23 00 29 	bgu r1,r3,80090a4 <_Heap_Free+0xdc>            
    - 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;                
 8009004:	28 28 00 04 	lw r8,(r1+4)                                   
 8009008:	34 06 ff fe 	mvi r6,-2                                      
 800900c:	a1 06 28 00 	and r5,r8,r6                                   
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 8009010:	b4 25 10 00 	add r2,r1,r5                                   
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           
 8009014:	54 82 00 24 	bgu r4,r2,80090a4 <_Heap_Free+0xdc>            <== NEVER TAKEN
 8009018:	54 43 00 23 	bgu r2,r3,80090a4 <_Heap_Free+0xdc>            <== 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;                 
 800901c:	28 47 00 04 	lw r7,(r2+4)                                   
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( next_block ) ) {                          
 8009020:	20 e9 00 01 	andi r9,r7,0x1                                 
 8009024:	45 20 00 20 	be r9,r0,80090a4 <_Heap_Free+0xdc>             <== 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;                
 8009028:	a0 e6 38 00 	and r7,r7,r6                                   
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
 800902c:	34 06 00 00 	mvi r6,0                                       
 8009030:	44 62 00 05 	be r3,r2,8009044 <_Heap_Free+0x7c>             
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/sysstate.h>                                     
#include <rtems/score/heap.h>                                         
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
 8009034:	b4 47 30 00 	add r6,r2,r7                                   
 8009038:	28 c6 00 04 	lw r6,(r6+4)                                   
 800903c:	20 c6 00 01 	andi r6,r6,0x1                                 
 8009040:	18 c6 00 01 	xori r6,r6,0x1                                 
                                                                      
  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 ) ) {                               
 8009044:	21 08 00 01 	andi r8,r8,0x1                                 
 8009048:	5d 00 00 1d 	bne r8,r0,80090bc <_Heap_Free+0xf4>            
    uintptr_t const prev_size = block->prev_size;                     
 800904c:	28 28 00 00 	lw r8,(r1+0)                                   
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 8009050:	c8 28 08 00 	sub r1,r1,r8                                   
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           
 8009054:	54 81 00 14 	bgu r4,r1,80090a4 <_Heap_Free+0xdc>            <== NEVER TAKEN
 8009058:	54 23 00 13 	bgu r1,r3,80090a4 <_Heap_Free+0xdc>            <== NEVER TAKEN
      return( false );                                                
    }                                                                 
                                                                      
    /* As we always coalesce free blocks, the block that preceedes prev_block
       must have been used. */                                        
    if ( !_Heap_Is_prev_used ( prev_block) ) {                        
 800905c:	28 23 00 04 	lw r3,(r1+4)                                   
 8009060:	20 63 00 01 	andi r3,r3,0x1                                 
 8009064:	44 60 00 10 	be r3,r0,80090a4 <_Heap_Free+0xdc>             <== NEVER TAKEN
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
 8009068:	44 c0 00 43 	be r6,r0,8009174 <_Heap_Free+0x1ac>            
      uintptr_t const size = block_size + prev_size + next_block_size;
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
 800906c:	29 64 00 38 	lw r4,(r11+56)                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
  Heap_Block *prev = block->prev;                                     
 8009070:	28 43 00 0c 	lw r3,(r2+12)                                  
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
 8009074:	b4 a7 38 00 	add r7,r5,r7                                   
  return _Heap_Free_list_tail(heap)->prev;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
 8009078:	28 42 00 08 	lw r2,(r2+8)                                   
 800907c:	b4 e8 40 00 	add r8,r7,r8                                   
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
 8009080:	34 84 ff ff 	addi r4,r4,-1                                  
 8009084:	59 64 00 38 	sw (r11+56),r4                                 
      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;                                   
 8009088:	b4 28 30 00 	add r6,r1,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;        
 800908c:	39 04 00 01 	ori r4,r8,0x1                                  
  Heap_Block *prev = block->prev;                                     
                                                                      
  prev->next = next;                                                  
  next->prev = prev;                                                  
 8009090:	58 43 00 0c 	sw (r2+12),r3                                  
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
 8009094:	58 c8 00 00 	sw (r6+0),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;        
 8009098:	58 24 00 04 	sw (r1+4),r4                                   
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
  Heap_Block *prev = block->prev;                                     
                                                                      
  prev->next = next;                                                  
 800909c:	58 62 00 08 	sw (r3+8),r2                                   
 80090a0:	e0 00 00 13 	bi 80090ec <_Heap_Free+0x124>                  
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
 80090a4:	34 01 00 00 	mvi r1,0                                       
}                                                                     
 80090a8:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80090ac:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 80090b0:	2b 8c 00 08 	lw r12,(sp+8)                                  
 80090b4:	37 9c 00 0c 	addi sp,sp,12                                  
 80090b8:	c3 a0 00 00 	ret                                            
      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 */                 
 80090bc:	44 c0 00 1b 	be r6,r0,8009128 <_Heap_Free+0x160>            
  Heap_Block *old_block,                                              
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
  Heap_Block *prev = old_block->prev;                                 
 80090c0:	28 43 00 0c 	lw r3,(r2+12)                                  
RTEMS_INLINE_ROUTINE void _Heap_Free_list_replace(                    
  Heap_Block *old_block,                                              
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
 80090c4:	28 42 00 08 	lw r2,(r2+8)                                   
    uintptr_t const size = block_size + next_block_size;              
 80090c8:	b4 e5 38 00 	add r7,r7,r5                                   
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
  new_block->prev = prev;                                             
 80090cc:	58 23 00 0c 	sw (r1+12),r3                                  
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
 80090d0:	58 22 00 08 	sw (r1+8),r2                                   
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
 80090d4:	b4 27 30 00 	add r6,r1,r7                                   
      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;               
 80090d8:	38 e4 00 01 	ori r4,r7,0x1                                  
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
 80090dc:	58 c7 00 00 	sw (r6+0),r7                                   
  new_block->prev = prev;                                             
                                                                      
  next->prev = new_block;                                             
 80090e0:	58 41 00 0c 	sw (r2+12),r1                                  
  prev->next = new_block;                                             
 80090e4:	58 61 00 08 	sw (r3+8),r1                                   
      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;               
 80090e8:	58 24 00 04 	sw (r1+4),r4                                   
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
 80090ec:	29 61 00 50 	lw r1,(r11+80)                                 
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
 80090f0:	29 62 00 40 	lw r2,(r11+64)                                 
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
 80090f4:	29 63 00 30 	lw r3,(r11+48)                                 
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
 80090f8:	34 21 00 01 	addi r1,r1,1                                   
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
 80090fc:	34 42 ff ff 	addi r2,r2,-1                                  
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
 8009100:	b4 65 28 00 	add r5,r3,r5                                   
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
 8009104:	59 61 00 50 	sw (r11+80),r1                                 
  stats->free_size += block_size;                                     
 8009108:	34 01 00 01 	mvi r1,1                                       
 800910c:	59 65 00 30 	sw (r11+48),r5                                 
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
 8009110:	59 62 00 40 	sw (r11+64),r2                                 
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
 8009114:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8009118:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 800911c:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8009120:	37 9c 00 0c 	addi sp,sp,12                                  
 8009124:	c3 a0 00 00 	ret                                            
    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;         
 8009128:	38 a3 00 01 	ori r3,r5,0x1                                  
 800912c:	58 23 00 04 	sw (r1+4),r3                                   
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
 8009130:	28 44 00 04 	lw r4,(r2+4)                                   
 8009134:	34 03 ff fe 	mvi r3,-2                                      
    next_block->prev_size = block_size;                               
 8009138:	58 45 00 00 	sw (r2+0),r5                                   
  } 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;               
 800913c:	a0 83 18 00 	and r3,r4,r3                                   
 8009140:	58 43 00 04 	sw (r2+4),r3                                   
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
 8009144:	29 62 00 38 	lw r2,(r11+56)                                 
RTEMS_INLINE_ROUTINE void _Heap_Free_list_insert_after(               
  Heap_Block *block_before,                                           
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
 8009148:	29 63 00 08 	lw r3,(r11+8)                                  
#include <rtems/score/sysstate.h>                                     
#include <rtems/score/heap.h>                                         
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
 800914c:	29 64 00 3c 	lw r4,(r11+60)                                 
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
 8009150:	58 2b 00 0c 	sw (r1+12),r11                                 
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
 8009154:	58 23 00 08 	sw (r1+8),r3                                   
    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;                                             
 8009158:	34 42 00 01 	addi r2,r2,1                                   
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
  next->prev = new_block;                                             
 800915c:	58 61 00 0c 	sw (r3+12),r1                                  
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
 8009160:	59 61 00 08 	sw (r11+8),r1                                  
 8009164:	59 62 00 38 	sw (r11+56),r2                                 
#include <rtems/score/sysstate.h>                                     
#include <rtems/score/heap.h>                                         
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
 8009168:	50 82 ff e1 	bgeu r4,r2,80090ec <_Heap_Free+0x124>          
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
    if ( stats->max_free_blocks < stats->free_blocks ) {              
      stats->max_free_blocks = stats->free_blocks;                    
 800916c:	59 62 00 3c 	sw (r11+60),r2                                 
 8009170:	e3 ff ff df 	bi 80090ec <_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;                  
 8009174:	b4 a8 40 00 	add r8,r5,r8                                   
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
 8009178:	39 03 00 01 	ori r3,r8,0x1                                  
 800917c:	58 23 00 04 	sw (r1+4),r3                                   
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
 8009180:	28 43 00 04 	lw r3,(r2+4)                                   
 8009184:	34 01 ff fe 	mvi r1,-2                                      
      next_block->prev_size = size;                                   
 8009188:	58 48 00 00 	sw (r2+0),r8                                   
      _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;        
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
 800918c:	a0 61 08 00 	and r1,r3,r1                                   
 8009190:	58 41 00 04 	sw (r2+4),r1                                   
 8009194:	e3 ff ff d6 	bi 80090ec <_Heap_Free+0x124>                  
                                                                      
0802dd2c <_Heap_Get_free_information>:                                
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 802dd2c:	28 23 00 08 	lw r3,(r1+8)                                   
)                                                                     
{                                                                     
  Heap_Block *the_block;                                              
  Heap_Block *const tail = _Heap_Free_list_tail(the_heap);            
                                                                      
  info->number = 0;                                                   
 802dd30:	34 07 00 00 	mvi r7,0                                       
 802dd34:	58 47 00 00 	sw (r2+0),r7                                   
  info->largest = 0;                                                  
 802dd38:	58 47 00 04 	sw (r2+4),r7                                   
  info->total = 0;                                                    
 802dd3c:	58 47 00 08 	sw (r2+8),r7                                   
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
 802dd40:	44 23 00 10 	be r1,r3,802dd80 <_Heap_Get_free_information+0x54><== NEVER TAKEN
 802dd44:	34 05 00 01 	mvi r5,1                                       
 802dd48:	b8 e0 30 00 	mv r6,r7                                       
    - 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;                
 802dd4c:	34 09 ff fe 	mvi r9,-2                                      
 802dd50:	28 64 00 04 	lw r4,(r3+4)                                   
      the_block != tail;                                              
      the_block = the_block->next)                                    
 802dd54:	b8 a0 40 00 	mv r8,r5                                       
 802dd58:	34 a5 00 01 	addi r5,r5,1                                   
 802dd5c:	a0 89 20 00 	and r4,r4,r9                                   
                                                                      
    /* As we always coalesce free blocks, prev block must have been used. */
    _HAssert(_Heap_Is_prev_used(the_block));                          
                                                                      
    info->number++;                                                   
    info->total += the_size;                                          
 802dd60:	b4 c4 30 00 	add r6,r6,r4                                   
 802dd64:	50 e4 00 02 	bgeu r7,r4,802dd6c <_Heap_Get_free_information+0x40>
 802dd68:	b8 80 38 00 	mv r7,r4                                       
  info->largest = 0;                                                  
  info->total = 0;                                                    
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
      the_block != tail;                                              
      the_block = the_block->next)                                    
 802dd6c:	28 63 00 08 	lw r3,(r3+8)                                   
                                                                      
  info->number = 0;                                                   
  info->largest = 0;                                                  
  info->total = 0;                                                    
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
 802dd70:	5c 23 ff f8 	bne r1,r3,802dd50 <_Heap_Get_free_information+0x24>
 802dd74:	58 47 00 04 	sw (r2+4),r7                                   
 802dd78:	58 48 00 00 	sw (r2+0),r8                                   
 802dd7c:	58 46 00 08 	sw (r2+8),r6                                   
 802dd80:	c3 a0 00 00 	ret                                            
                                                                      
08041310 <_Heap_Get_information>:                                     
                                                                      
void _Heap_Get_information(                                           
  Heap_Control            *the_heap,                                  
  Heap_Information_block  *the_info                                   
)                                                                     
{                                                                     
 8041310:	37 9c ff f8 	addi sp,sp,-8                                  
 8041314:	5b 8b 00 08 	sw (sp+8),r11                                  
 8041318:	5b 8c 00 04 	sw (sp+4),r12                                  
  Heap_Block *the_block = the_heap->first_block;                      
  Heap_Block *const end = the_heap->last_block;                       
 804131c:	28 29 00 24 	lw r9,(r1+36)                                  
void _Heap_Get_information(                                           
  Heap_Control            *the_heap,                                  
  Heap_Information_block  *the_info                                   
)                                                                     
{                                                                     
  Heap_Block *the_block = the_heap->first_block;                      
 8041320:	28 26 00 20 	lw r6,(r1+32)                                  
  Heap_Block *const end = the_heap->last_block;                       
                                                                      
  _HAssert(the_block->prev_size == the_heap->page_size);              
  _HAssert(_Heap_Is_prev_used(the_block));                            
                                                                      
  the_info->Free.number  = 0;                                         
 8041324:	34 01 00 00 	mvi r1,0                                       
  the_info->Free.total   = 0;                                         
  the_info->Free.largest = 0;                                         
  the_info->Used.number  = 0;                                         
  the_info->Used.total   = 0;                                         
  the_info->Used.largest = 0;                                         
 8041328:	58 41 00 10 	sw (r2+16),r1                                  
  Heap_Block *const end = the_heap->last_block;                       
                                                                      
  _HAssert(the_block->prev_size == the_heap->page_size);              
  _HAssert(_Heap_Is_prev_used(the_block));                            
                                                                      
  the_info->Free.number  = 0;                                         
 804132c:	58 41 00 00 	sw (r2+0),r1                                   
  the_info->Free.total   = 0;                                         
 8041330:	58 41 00 08 	sw (r2+8),r1                                   
  the_info->Free.largest = 0;                                         
 8041334:	58 41 00 04 	sw (r2+4),r1                                   
  the_info->Used.number  = 0;                                         
 8041338:	58 41 00 0c 	sw (r2+12),r1                                  
  the_info->Used.total   = 0;                                         
 804133c:	58 41 00 14 	sw (r2+20),r1                                  
  the_info->Used.largest = 0;                                         
                                                                      
  while ( the_block != end ) {                                        
 8041340:	34 01 00 08 	mvi r1,8                                       
 8041344:	44 c9 00 18 	be r6,r9,80413a4 <_Heap_Get_information+0x94>  <== NEVER TAKEN
 8041348:	28 c5 00 04 	lw r5,(r6+4)                                   
    uintptr_t const     the_size = _Heap_Block_size(the_block);       
    Heap_Block *const  next_block = _Heap_Block_at(the_block, the_size);
    Heap_Information  *info;                                          
                                                                      
    if ( _Heap_Is_prev_used(next_block) )                             
      info = &the_info->Used;                                         
 804134c:	34 4b 00 0c 	addi r11,r2,12                                 
    - 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;                
 8041350:	34 0a ff fe 	mvi r10,-2                                     
 8041354:	a0 aa 18 00 	and r3,r5,r10                                  
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 8041358:	b4 c3 20 00 	add r4,r6,r3                                   
  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;                 
 804135c:	28 85 00 04 	lw r5,(r4+4)                                   
  while ( the_block != end ) {                                        
    uintptr_t const     the_size = _Heap_Block_size(the_block);       
    Heap_Block *const  next_block = _Heap_Block_at(the_block, the_size);
    Heap_Information  *info;                                          
                                                                      
    if ( _Heap_Is_prev_used(next_block) )                             
 8041360:	b9 60 08 00 	mv r1,r11                                      
      info = &the_info->Free;                                         
                                                                      
    info->number++;                                                   
    info->total += the_size;                                          
    if ( info->largest < the_size )                                   
      info->largest = the_size;                                       
 8041364:	b8 80 30 00 	mv r6,r4                                       
  while ( the_block != end ) {                                        
    uintptr_t const     the_size = _Heap_Block_size(the_block);       
    Heap_Block *const  next_block = _Heap_Block_at(the_block, the_size);
    Heap_Information  *info;                                          
                                                                      
    if ( _Heap_Is_prev_used(next_block) )                             
 8041368:	20 a7 00 01 	andi r7,r5,0x1                                 
 804136c:	5c e0 00 02 	bne r7,r0,8041374 <_Heap_Get_information+0x64> 
 8041370:	b8 40 08 00 	mv r1,r2                                       
      info = &the_info->Used;                                         
    else                                                              
      info = &the_info->Free;                                         
                                                                      
    info->number++;                                                   
 8041374:	28 28 00 00 	lw r8,(r1+0)                                   
    info->total += the_size;                                          
 8041378:	28 27 00 08 	lw r7,(r1+8)                                   
    if ( info->largest < the_size )                                   
 804137c:	28 2c 00 04 	lw r12,(r1+4)                                  
    if ( _Heap_Is_prev_used(next_block) )                             
      info = &the_info->Used;                                         
    else                                                              
      info = &the_info->Free;                                         
                                                                      
    info->number++;                                                   
 8041380:	35 08 00 01 	addi r8,r8,1                                   
    info->total += the_size;                                          
 8041384:	b4 e3 38 00 	add r7,r7,r3                                   
    if ( _Heap_Is_prev_used(next_block) )                             
      info = &the_info->Used;                                         
    else                                                              
      info = &the_info->Free;                                         
                                                                      
    info->number++;                                                   
 8041388:	58 28 00 00 	sw (r1+0),r8                                   
    info->total += the_size;                                          
 804138c:	58 27 00 08 	sw (r1+8),r7                                   
    if ( info->largest < the_size )                                   
 8041390:	51 83 00 02 	bgeu r12,r3,8041398 <_Heap_Get_information+0x88>
      info->largest = the_size;                                       
 8041394:	58 23 00 04 	sw (r1+4),r3                                   
  the_info->Free.largest = 0;                                         
  the_info->Used.number  = 0;                                         
  the_info->Used.total   = 0;                                         
  the_info->Used.largest = 0;                                         
                                                                      
  while ( the_block != end ) {                                        
 8041398:	5d 24 ff ef 	bne r9,r4,8041354 <_Heap_Get_information+0x44> 
 804139c:	28 41 00 14 	lw r1,(r2+20)                                  
 80413a0:	34 21 00 08 	addi r1,r1,8                                   
  /*                                                                  
   *  Handle the last dummy block. Don't consider this block to be    
   *  "used" as client never allocated it. Make 'Used.total' contain this
   *  blocks' overhead though.                                        
   */                                                                 
  the_info->Used.total += HEAP_BLOCK_HEADER_SIZE;                     
 80413a4:	58 41 00 14 	sw (r2+20),r1                                  
}                                                                     
 80413a8:	2b 8b 00 08 	lw r11,(sp+8)                                  
 80413ac:	2b 8c 00 04 	lw r12,(sp+4)                                  
 80413b0:	37 9c 00 08 	addi sp,sp,8                                   
 80413b4:	c3 a0 00 00 	ret                                            
                                                                      
0801a9fc <_Heap_Size_of_alloc_area>:                                  
bool _Heap_Size_of_alloc_area(                                        
  Heap_Control *heap,                                                 
  void *alloc_begin_ptr,                                              
  uintptr_t *alloc_size                                               
)                                                                     
{                                                                     
 801a9fc:	37 9c ff f0 	addi sp,sp,-16                                 
 801aa00:	5b 8b 00 10 	sw (sp+16),r11                                 
 801aa04:	5b 8c 00 0c 	sw (sp+12),r12                                 
 801aa08:	5b 8d 00 08 	sw (sp+8),r13                                  
 801aa0c:	5b 9d 00 04 	sw (sp+4),ra                                   
 801aa10:	b8 40 60 00 	mv r12,r2                                      
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 )   
 801aa14:	28 22 00 10 	lw r2,(r1+16)                                  
 801aa18:	b8 20 58 00 	mv r11,r1                                      
 801aa1c:	b9 80 08 00 	mv r1,r12                                      
 801aa20:	b8 60 68 00 	mv r13,r3                                      
 801aa24:	fb ff fc ec 	calli 8019dd4 <__umodsi3>                      
  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;             
 801aa28:	29 62 00 20 	lw r2,(r11+32)                                 
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 )   
 801aa2c:	35 84 ff f8 	addi r4,r12,-8                                 
 801aa30:	c8 81 20 00 	sub r4,r4,r1                                   
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           
 801aa34:	54 44 00 16 	bgu r2,r4,801aa8c <_Heap_Size_of_alloc_area+0x90>
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
 801aa38:	29 61 00 24 	lw r1,(r11+36)                                 
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           
 801aa3c:	54 81 00 14 	bgu r4,r1,801aa8c <_Heap_Size_of_alloc_area+0x90><== NEVER TAKEN
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 801aa40:	28 85 00 04 	lw r5,(r4+4)                                   
 801aa44:	34 03 ff fe 	mvi r3,-2                                      
 801aa48:	a0 a3 18 00 	and r3,r5,r3                                   
 801aa4c:	b4 83 20 00 	add r4,r4,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           
 801aa50:	54 44 00 0f 	bgu r2,r4,801aa8c <_Heap_Size_of_alloc_area+0x90><== NEVER TAKEN
 801aa54:	54 81 00 0e 	bgu r4,r1,801aa8c <_Heap_Size_of_alloc_area+0x90><== NEVER TAKEN
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
 801aa58:	28 81 00 04 	lw r1,(r4+4)                                   
 801aa5c:	20 21 00 01 	andi r1,r1,0x1                                 
 801aa60:	44 20 00 0b 	be r1,r0,801aa8c <_Heap_Size_of_alloc_area+0x90><== NEVER TAKEN
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_BLOCK_SIZE_OFFSET - alloc_begin;
 801aa64:	c8 8c 20 00 	sub r4,r4,r12                                  
 801aa68:	34 84 00 04 	addi r4,r4,4                                   
 801aa6c:	34 01 00 01 	mvi r1,1                                       
 801aa70:	59 a4 00 00 	sw (r13+0),r4                                  
                                                                      
  return true;                                                        
}                                                                     
 801aa74:	2b 9d 00 04 	lw ra,(sp+4)                                   
 801aa78:	2b 8b 00 10 	lw r11,(sp+16)                                 
 801aa7c:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 801aa80:	2b 8d 00 08 	lw r13,(sp+8)                                  
 801aa84:	37 9c 00 10 	addi sp,sp,16                                  
 801aa88:	c3 a0 00 00 	ret                                            
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_BLOCK_SIZE_OFFSET - alloc_begin;
                                                                      
  return true;                                                        
 801aa8c:	34 01 00 00 	mvi r1,0                                       
}                                                                     
 801aa90:	2b 9d 00 04 	lw ra,(sp+4)                                   
 801aa94:	2b 8b 00 10 	lw r11,(sp+16)                                 
 801aa98:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 801aa9c:	2b 8d 00 08 	lw r13,(sp+8)                                  
 801aaa0:	37 9c 00 10 	addi sp,sp,16                                  
 801aaa4:	c3 a0 00 00 	ret                                            
                                                                      
08003ec4 <_Heap_Walk>:                                                
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
 8003ec4:	37 9c ff a8 	addi sp,sp,-88                                 
 8003ec8:	5b 8b 00 50 	sw (sp+80),r11                                 
 8003ecc:	5b 8c 00 4c 	sw (sp+76),r12                                 
 8003ed0:	5b 8d 00 48 	sw (sp+72),r13                                 
 8003ed4:	5b 8e 00 44 	sw (sp+68),r14                                 
 8003ed8:	5b 8f 00 40 	sw (sp+64),r15                                 
 8003edc:	5b 90 00 3c 	sw (sp+60),r16                                 
 8003ee0:	5b 91 00 38 	sw (sp+56),r17                                 
 8003ee4:	5b 92 00 34 	sw (sp+52),r18                                 
 8003ee8:	5b 93 00 30 	sw (sp+48),r19                                 
 8003eec:	5b 94 00 2c 	sw (sp+44),r20                                 
 8003ef0:	5b 95 00 28 	sw (sp+40),r21                                 
 8003ef4:	5b 96 00 24 	sw (sp+36),r22                                 
 8003ef8:	5b 97 00 20 	sw (sp+32),r23                                 
 8003efc:	5b 98 00 1c 	sw (sp+28),r24                                 
 8003f00:	5b 99 00 18 	sw (sp+24),r25                                 
 8003f04:	5b 9b 00 14 	sw (sp+20),fp                                  
 8003f08:	5b 9d 00 10 	sw (sp+16),ra                                  
 8003f0c:	20 63 00 ff 	andi r3,r3,0xff                                
 8003f10:	b8 20 58 00 	mv r11,r1                                      
 8003f14:	b8 40 80 00 	mv r16,r2                                      
  uintptr_t const page_size = heap->page_size;                        
 8003f18:	28 32 00 10 	lw r18,(r1+16)                                 
  uintptr_t const min_block_size = heap->min_block_size;              
 8003f1c:	28 33 00 14 	lw r19,(r1+20)                                 
  Heap_Block *const last_block = heap->last_block;                    
 8003f20:	28 34 00 24 	lw r20,(r1+36)                                 
  Heap_Block *block = heap->first_block;                              
 8003f24:	28 2c 00 20 	lw r12,(r1+32)                                 
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
 8003f28:	5c 60 00 1c 	bne r3,r0,8003f98 <_Heap_Walk+0xd4>            
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
 8003f2c:	78 03 08 01 	mvhi r3,0x801                                  
 8003f30:	38 63 fa 08 	ori r3,r3,0xfa08                               
 8003f34:	28 63 00 00 	lw r3,(r3+0)                                   
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = heap->first_block;                              
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
 8003f38:	78 0f 08 00 	mvhi r15,0x800                                 
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
 8003f3c:	34 02 00 03 	mvi r2,3                                       
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = heap->first_block;                              
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
 8003f40:	39 ef 3e a0 	ori r15,r15,0x3ea0                             
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
 8003f44:	44 62 00 1c 	be r3,r2,8003fb4 <_Heap_Walk+0xf0>             
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
 8003f48:	34 01 00 01 	mvi r1,1                                       
                                                                      
    block = next_block;                                               
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
 8003f4c:	2b 9d 00 10 	lw ra,(sp+16)                                  
 8003f50:	2b 8b 00 50 	lw r11,(sp+80)                                 
 8003f54:	2b 8c 00 4c 	lw r12,(sp+76)                                 
 8003f58:	2b 8d 00 48 	lw r13,(sp+72)                                 
 8003f5c:	2b 8e 00 44 	lw r14,(sp+68)                                 
 8003f60:	2b 8f 00 40 	lw r15,(sp+64)                                 
 8003f64:	2b 90 00 3c 	lw r16,(sp+60)                                 
 8003f68:	2b 91 00 38 	lw r17,(sp+56)                                 
 8003f6c:	2b 92 00 34 	lw r18,(sp+52)                                 
 8003f70:	2b 93 00 30 	lw r19,(sp+48)                                 
 8003f74:	2b 94 00 2c 	lw r20,(sp+44)                                 
 8003f78:	2b 95 00 28 	lw r21,(sp+40)                                 
 8003f7c:	2b 96 00 24 	lw r22,(sp+36)                                 
 8003f80:	2b 97 00 20 	lw r23,(sp+32)                                 
 8003f84:	2b 98 00 1c 	lw r24,(sp+28)                                 
 8003f88:	2b 99 00 18 	lw r25,(sp+24)                                 
 8003f8c:	2b 9b 00 14 	lw fp,(sp+20)                                  
 8003f90:	37 9c 00 58 	addi sp,sp,88                                  
 8003f94:	c3 a0 00 00 	ret                                            
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = heap->first_block;                              
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
 8003f98:	78 03 08 01 	mvhi r3,0x801                                  
 8003f9c:	38 63 fa 08 	ori r3,r3,0xfa08                               
 8003fa0:	28 63 00 00 	lw r3,(r3+0)                                   
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = heap->first_block;                              
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
 8003fa4:	78 0f 08 00 	mvhi r15,0x800                                 
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
 8003fa8:	34 02 00 03 	mvi r2,3                                       
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = heap->first_block;                              
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
 8003fac:	39 ef 44 b0 	ori r15,r15,0x44b0                             
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
 8003fb0:	5c 62 ff e6 	bne r3,r2,8003f48 <_Heap_Walk+0x84>            <== NEVER TAKEN
  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)(                                                         
 8003fb4:	29 61 00 08 	lw r1,(r11+8)                                  
 8003fb8:	29 66 00 18 	lw r6,(r11+24)                                 
 8003fbc:	29 67 00 1c 	lw r7,(r11+28)                                 
 8003fc0:	5b 81 00 08 	sw (sp+8),r1                                   
 8003fc4:	29 61 00 0c 	lw r1,(r11+12)                                 
 8003fc8:	78 03 08 01 	mvhi r3,0x801                                  
 8003fcc:	5b 94 00 04 	sw (sp+4),r20                                  
 8003fd0:	5b 81 00 0c 	sw (sp+12),r1                                  
 8003fd4:	38 63 c2 f4 	ori r3,r3,0xc2f4                               
 8003fd8:	ba 00 08 00 	mv r1,r16                                      
 8003fdc:	34 02 00 00 	mvi r2,0                                       
 8003fe0:	ba 40 20 00 	mv r4,r18                                      
 8003fe4:	ba 60 28 00 	mv r5,r19                                      
 8003fe8:	b9 80 40 00 	mv r8,r12                                      
 8003fec:	d9 e0 00 00 	call r15                                       
    heap->area_begin, heap->area_end,                                 
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
 8003ff0:	46 40 00 d1 	be r18,r0,8004334 <_Heap_Walk+0x470>           <== NEVER TAKEN
    (*printer)( source, true, "page size is zero\n" );                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
 8003ff4:	22 4d 00 07 	andi r13,r18,0x7                               
 8003ff8:	5d a0 00 d6 	bne r13,r0,8004350 <_Heap_Walk+0x48c>          <== NEVER TAKEN
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
 8003ffc:	ba 60 08 00 	mv r1,r19                                      
 8004000:	ba 40 10 00 	mv r2,r18                                      
 8004004:	fb ff f3 27 	calli 8000ca0 <__umodsi3>                      
 8004008:	b8 20 88 00 	mv r17,r1                                      
 800400c:	5c 2d 00 d9 	bne r1,r13,8004370 <_Heap_Walk+0x4ac>          
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
 8004010:	35 81 00 08 	addi r1,r12,8                                  
 8004014:	ba 40 10 00 	mv r2,r18                                      
 8004018:	fb ff f3 22 	calli 8000ca0 <__umodsi3>                      
 800401c:	b8 20 70 00 	mv r14,r1                                      
 8004020:	5c 31 00 ee 	bne r1,r17,80043d8 <_Heap_Walk+0x514>          
  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;                 
 8004024:	29 8d 00 04 	lw r13,(r12+4)                                 
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
 8004028:	21 b1 00 01 	andi r17,r13,0x1                               
 800402c:	46 21 00 f3 	be r17,r1,80043f8 <_Heap_Walk+0x534>           
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( first_block->prev_size != page_size ) {                        
 8004030:	29 84 00 00 	lw r4,(r12+0)                                  
 8004034:	5e 44 00 60 	bne r18,r4,80041b4 <_Heap_Walk+0x2f0>          
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
 8004038:	2a 82 00 04 	lw r2,(r20+4)                                  
 800403c:	34 01 ff fe 	mvi r1,-2                                      
 8004040:	a0 41 08 00 	and r1,r2,r1                                   
 8004044:	b6 81 08 00 	add r1,r20,r1                                  
 8004048:	28 35 00 04 	lw r21,(r1+4)                                  
 800404c:	22 b5 00 01 	andi r21,r21,0x1                               
 8004050:	46 ae 00 f1 	be r21,r14,8004414 <_Heap_Walk+0x550>          
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 8004054:	29 6e 00 08 	lw r14,(r11+8)                                 
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
 8004058:	29 78 00 10 	lw r24,(r11+16)                                
  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 ) {                            
 800405c:	45 6e 00 24 	be r11,r14,80040ec <_Heap_Walk+0x228>          
  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;             
 8004060:	29 76 00 20 	lw r22,(r11+32)                                
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           
 8004064:	56 ce 00 fb 	bgu r22,r14,8004450 <_Heap_Walk+0x58c>         <== NEVER TAKEN
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
 8004068:	29 79 00 24 	lw r25,(r11+36)                                
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           
 800406c:	55 d9 00 f9 	bgu r14,r25,8004450 <_Heap_Walk+0x58c>         <== NEVER TAKEN
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
 8004070:	35 c1 00 08 	addi r1,r14,8                                  
 8004074:	bb 00 10 00 	mv r2,r24                                      
 8004078:	fb ff f3 0a 	calli 8000ca0 <__umodsi3>                      
 800407c:	5c 20 00 ed 	bne r1,r0,8004430 <_Heap_Walk+0x56c>           <== NEVER TAKEN
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
 8004080:	29 c2 00 04 	lw r2,(r14+4)                                  
 8004084:	34 17 ff fe 	mvi r23,-2                                     
 8004088:	a0 57 10 00 	and r2,r2,r23                                  
 800408c:	b5 c2 10 00 	add r2,r14,r2                                  
 8004090:	28 42 00 04 	lw r2,(r2+4)                                   
 8004094:	20 42 00 01 	andi r2,r2,0x1                                 
 8004098:	5c 41 00 fe 	bne r2,r1,8004490 <_Heap_Walk+0x5cc>           <== NEVER TAKEN
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
 800409c:	29 c5 00 0c 	lw r5,(r14+12)                                 
 80040a0:	45 65 00 10 	be r11,r5,80040e0 <_Heap_Walk+0x21c>           <== ALWAYS TAKEN
 80040a4:	e0 00 00 f3 	bi 8004470 <_Heap_Walk+0x5ac>                  <== NOT EXECUTED
 80040a8:	56 ce 00 ea 	bgu r22,r14,8004450 <_Heap_Walk+0x58c>         
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
 80040ac:	35 c1 00 08 	addi r1,r14,8                                  
 80040b0:	bb 00 10 00 	mv r2,r24                                      
 80040b4:	55 d9 00 e7 	bgu r14,r25,8004450 <_Heap_Walk+0x58c>         <== NEVER TAKEN
 80040b8:	fb ff f2 fa 	calli 8000ca0 <__umodsi3>                      
 80040bc:	5c 20 00 dd 	bne r1,r0,8004430 <_Heap_Walk+0x56c>           
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
 80040c0:	29 c3 00 04 	lw r3,(r14+4)                                  
 80040c4:	a0 77 18 00 	and r3,r3,r23                                  
 80040c8:	b4 6e 18 00 	add r3,r3,r14                                  
 80040cc:	28 63 00 04 	lw r3,(r3+4)                                   
 80040d0:	20 63 00 01 	andi r3,r3,0x1                                 
 80040d4:	5c 61 00 ef 	bne r3,r1,8004490 <_Heap_Walk+0x5cc>           
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
 80040d8:	29 c5 00 0c 	lw r5,(r14+12)                                 
 80040dc:	5c b5 00 e5 	bne r5,r21,8004470 <_Heap_Walk+0x5ac>          
      (*printer)(                                                     
 80040e0:	b9 c0 a8 00 	mv r21,r14                                     
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
 80040e4:	29 ce 00 08 	lw r14,(r14+8)                                 
  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 ) {                            
 80040e8:	5d 6e ff f0 	bne r11,r14,80040a8 <_Heap_Walk+0x1e4>         
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
 80040ec:	46 8c ff 97 	be r20,r12,8003f48 <_Heap_Walk+0x84>           <== NEVER TAKEN
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
 80040f0:	78 01 08 01 	mvhi r1,0x801                                  
 80040f4:	5b 81 00 54 	sw (sp+84),r1                                  
    "block 0x%08x: prev 0x%08x%s, next 0x%08x%s\n",                   
    block,                                                            
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
 80040f8:	78 01 08 01 	mvhi r1,0x801                                  
 80040fc:	5b 81 00 58 	sw (sp+88),r1                                  
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
 8004100:	2b 81 00 54 	lw r1,(sp+84)                                  
    - 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;                
 8004104:	34 16 ff fe 	mvi r22,-2                                     
 8004108:	78 15 08 01 	mvhi r21,0x801                                 
 800410c:	38 21 c6 4c 	ori r1,r1,0xc64c                               
 8004110:	5b 81 00 54 	sw (sp+84),r1                                  
    "block 0x%08x: prev 0x%08x%s, next 0x%08x%s\n",                   
    block,                                                            
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
 8004114:	2b 81 00 58 	lw r1,(sp+88)                                  
  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)(                                                         
 8004118:	78 18 08 01 	mvhi r24,0x801                                 
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 800411c:	78 17 08 01 	mvhi r23,0x801                                 
    "block 0x%08x: prev 0x%08x%s, next 0x%08x%s\n",                   
    block,                                                            
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
 8004120:	38 21 c6 34 	ori r1,r1,0xc634                               
    - 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;                
 8004124:	a1 b6 68 00 	and r13,r13,r22                                
 8004128:	5b 81 00 58 	sw (sp+88),r1                                  
  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)(                                                         
 800412c:	ba 20 10 00 	mv r2,r17                                      
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
 8004130:	3a b5 c6 bc 	ori r21,r21,0xc6bc                             
  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)(                                                         
 8004134:	3b 18 c6 40 	ori r24,r24,0xc640                             
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 8004138:	3a f7 c6 28 	ori r23,r23,0xc628                             
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
 800413c:	78 1b 08 01 	mvhi fp,0x801                                  
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 8004140:	b5 ac 70 00 	add r14,r13,r12                                
    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;        
                                                                      
    if ( prev_used ) {                                                
 8004144:	44 40 00 59 	be r2,r0,80042a8 <_Heap_Walk+0x3e4>            <== NEVER TAKEN
      (*printer)(                                                     
 8004148:	78 03 08 01 	mvhi r3,0x801                                  
 800414c:	ba 00 08 00 	mv r1,r16                                      
 8004150:	34 02 00 00 	mvi r2,0                                       
 8004154:	38 63 c5 28 	ori r3,r3,0xc528                               
 8004158:	b9 80 20 00 	mv r4,r12                                      
 800415c:	b9 a0 28 00 	mv r5,r13                                      
 8004160:	d9 e0 00 00 	call r15                                       
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           
 8004164:	29 63 00 20 	lw r3,(r11+32)                                 
 8004168:	54 6e 00 8a 	bgu r3,r14,8004390 <_Heap_Walk+0x4cc>          <== NEVER TAKEN
 800416c:	29 61 00 24 	lw r1,(r11+36)                                 
 8004170:	55 c1 00 88 	bgu r14,r1,8004390 <_Heap_Walk+0x4cc>          
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) ) {               
 8004174:	b9 a0 08 00 	mv r1,r13                                      
 8004178:	ba 40 10 00 	mv r2,r18                                      
 800417c:	fb ff f2 c9 	calli 8000ca0 <__umodsi3>                      
 8004180:	b8 20 88 00 	mv r17,r1                                      
 8004184:	5c 20 00 8c 	bne r1,r0,80043b4 <_Heap_Walk+0x4f0>           
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size ) {                              
 8004188:	51 b3 00 13 	bgeu r13,r19,80041d4 <_Heap_Walk+0x310>        
      (*printer)(                                                     
 800418c:	78 03 08 01 	mvhi r3,0x801                                  
 8004190:	ba 00 08 00 	mv r1,r16                                      
 8004194:	38 63 c5 c8 	ori r3,r3,0xc5c8                               
 8004198:	b9 80 20 00 	mv r4,r12                                      
 800419c:	b9 a0 28 00 	mv r5,r13                                      
 80041a0:	ba 60 30 00 	mv r6,r19                                      
 80041a4:	34 02 00 01 	mvi r2,1                                       
 80041a8:	d9 e0 00 00 	call r15                                       
 80041ac:	ba 20 08 00 	mv r1,r17                                      
        block,                                                        
        block_size,                                                   
        min_block_size                                                
      );                                                              
                                                                      
      return false;                                                   
 80041b0:	e3 ff ff 67 	bi 8003f4c <_Heap_Walk+0x88>                   
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( first_block->prev_size != page_size ) {                        
    (*printer)(                                                       
 80041b4:	78 03 08 01 	mvhi r3,0x801                                  
 80041b8:	ba 00 08 00 	mv r1,r16                                      
 80041bc:	38 63 c4 44 	ori r3,r3,0xc444                               
 80041c0:	ba 40 28 00 	mv r5,r18                                      
 80041c4:	34 02 00 01 	mvi r2,1                                       
 80041c8:	d9 e0 00 00 	call r15                                       
 80041cc:	b9 c0 08 00 	mv r1,r14                                      
 80041d0:	e3 ff ff 5f 	bi 8003f4c <_Heap_Walk+0x88>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin ) {                          
 80041d4:	55 cc 00 0a 	bgu r14,r12,80041fc <_Heap_Walk+0x338>         
      (*printer)(                                                     
 80041d8:	78 03 08 01 	mvhi r3,0x801                                  
 80041dc:	ba 00 08 00 	mv r1,r16                                      
 80041e0:	38 63 c5 f4 	ori r3,r3,0xc5f4                               
 80041e4:	b9 80 20 00 	mv r4,r12                                      
 80041e8:	b9 c0 28 00 	mv r5,r14                                      
 80041ec:	34 02 00 01 	mvi r2,1                                       
 80041f0:	d9 e0 00 00 	call r15                                       
 80041f4:	ba 20 08 00 	mv r1,r17                                      
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
 80041f8:	e3 ff ff 55 	bi 8003f4c <_Heap_Walk+0x88>                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
 80041fc:	29 c3 00 04 	lw r3,(r14+4)                                  
 8004200:	20 63 00 01 	andi r3,r3,0x1                                 
 8004204:	5c 60 00 22 	bne r3,r0,800428c <_Heap_Walk+0x3c8>           
  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;                 
 8004208:	29 91 00 04 	lw r17,(r12+4)                                 
  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)(                                                         
 800420c:	29 85 00 0c 	lw r5,(r12+12)                                 
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 8004210:	29 61 00 08 	lw r1,(r11+8)                                  
    - 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;                
 8004214:	a2 36 68 00 	and r13,r17,r22                                
  return _Heap_Free_list_head(heap)->next;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_last( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_tail(heap)->prev;                            
 8004218:	29 63 00 0c 	lw r3,(r11+12)                                 
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 800421c:	b5 8d c8 00 	add r25,r12,r13                                
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 8004220:	ba e0 30 00 	mv r6,r23                                      
 8004224:	44 25 00 03 	be r1,r5,8004230 <_Heap_Walk+0x36c>            
    "block 0x%08x: prev 0x%08x%s, next 0x%08x%s\n",                   
    block,                                                            
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
 8004228:	ba a0 30 00 	mv r6,r21                                      
 800422c:	44 ab 00 40 	be r5,r11,800432c <_Heap_Walk+0x468>           
  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)(                                                         
 8004230:	29 87 00 08 	lw r7,(r12+8)                                  
 8004234:	bb 00 40 00 	mv r8,r24                                      
 8004238:	44 67 00 03 	be r3,r7,8004244 <_Heap_Walk+0x380>            
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
 800423c:	ba a0 40 00 	mv r8,r21                                      
 8004240:	44 eb 00 39 	be r7,r11,8004324 <_Heap_Walk+0x460>           
  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)(                                                         
 8004244:	78 03 08 01 	mvhi r3,0x801                                  
 8004248:	ba 00 08 00 	mv r1,r16                                      
 800424c:	34 02 00 00 	mvi r2,0                                       
 8004250:	38 63 c6 58 	ori r3,r3,0xc658                               
 8004254:	b9 80 20 00 	mv r4,r12                                      
 8004258:	d9 e0 00 00 	call r15                                       
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
 800425c:	2b 26 00 00 	lw r6,(r25+0)                                  
 8004260:	45 a6 00 1a 	be r13,r6,80042c8 <_Heap_Walk+0x404>           
    (*printer)(                                                       
 8004264:	78 03 08 01 	mvhi r3,0x801                                  
 8004268:	ba 00 08 00 	mv r1,r16                                      
 800426c:	38 63 c6 84 	ori r3,r3,0xc684                               
 8004270:	b9 80 20 00 	mv r4,r12                                      
 8004274:	b9 a0 28 00 	mv r5,r13                                      
 8004278:	bb 20 38 00 	mv r7,r25                                      
 800427c:	34 02 00 01 	mvi r2,1                                       
 8004280:	d9 e0 00 00 	call r15                                       
 8004284:	34 01 00 00 	mvi r1,0                                       
 8004288:	e3 ff ff 31 	bi 8003f4c <_Heap_Walk+0x88>                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
 800428c:	46 8e ff 2f 	be r20,r14,8003f48 <_Heap_Walk+0x84>           
  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 ) {                            
 8004290:	29 cd 00 04 	lw r13,(r14+4)                                 
 8004294:	b9 c0 60 00 	mv r12,r14                                     
 8004298:	21 a2 00 01 	andi r2,r13,0x1                                
    - 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;                
 800429c:	a1 b6 68 00 	and r13,r13,r22                                
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 80042a0:	b5 ac 70 00 	add r14,r13,r12                                
    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;        
                                                                      
    if ( prev_used ) {                                                
 80042a4:	5c 40 ff a9 	bne r2,r0,8004148 <_Heap_Walk+0x284>           
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
 80042a8:	29 86 00 00 	lw r6,(r12+0)                                  
 80042ac:	bb 60 18 00 	mv r3,fp                                       
 80042b0:	ba 00 08 00 	mv r1,r16                                      
 80042b4:	38 63 c5 40 	ori r3,r3,0xc540                               
 80042b8:	b9 80 20 00 	mv r4,r12                                      
 80042bc:	b9 a0 28 00 	mv r5,r13                                      
 80042c0:	d9 e0 00 00 	call r15                                       
 80042c4:	e3 ff ff a8 	bi 8004164 <_Heap_Walk+0x2a0>                  
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
 80042c8:	22 31 00 01 	andi r17,r17,0x1                               
 80042cc:	46 20 00 0e 	be r17,r0,8004304 <_Heap_Walk+0x440>           
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 80042d0:	29 63 00 08 	lw r3,(r11+8)                                  
)                                                                     
{                                                                     
  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 ) {                            
 80042d4:	44 6b 00 04 	be r3,r11,80042e4 <_Heap_Walk+0x420>           <== NEVER TAKEN
    if ( free_block == block ) {                                      
 80042d8:	44 6c ff ed 	be r3,r12,800428c <_Heap_Walk+0x3c8>           
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
 80042dc:	28 63 00 08 	lw r3,(r3+8)                                   
)                                                                     
{                                                                     
  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 ) {                            
 80042e0:	5c 6b ff fe 	bne r3,r11,80042d8 <_Heap_Walk+0x414>          
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
 80042e4:	78 03 08 01 	mvhi r3,0x801                                  
 80042e8:	ba 00 08 00 	mv r1,r16                                      
 80042ec:	38 63 c6 f0 	ori r3,r3,0xc6f0                               
 80042f0:	b9 80 20 00 	mv r4,r12                                      
 80042f4:	34 02 00 01 	mvi r2,1                                       
 80042f8:	d9 e0 00 00 	call r15                                       
 80042fc:	34 01 00 00 	mvi r1,0                                       
 8004300:	e3 ff ff 13 	bi 8003f4c <_Heap_Walk+0x88>                   
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
    (*printer)(                                                       
 8004304:	78 03 08 01 	mvhi r3,0x801                                  
 8004308:	ba 00 08 00 	mv r1,r16                                      
 800430c:	38 63 c6 c0 	ori r3,r3,0xc6c0                               
 8004310:	b9 80 20 00 	mv r4,r12                                      
 8004314:	34 02 00 01 	mvi r2,1                                       
 8004318:	d9 e0 00 00 	call r15                                       
 800431c:	ba 20 08 00 	mv r1,r17                                      
 8004320:	e3 ff ff 0b 	bi 8003f4c <_Heap_Walk+0x88>                   
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
 8004324:	2b 88 00 54 	lw r8,(sp+84)                                  
 8004328:	e3 ff ff c7 	bi 8004244 <_Heap_Walk+0x380>                  
    "block 0x%08x: prev 0x%08x%s, next 0x%08x%s\n",                   
    block,                                                            
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
 800432c:	2b 86 00 58 	lw r6,(sp+88)                                  
 8004330:	e3 ff ff c0 	bi 8004230 <_Heap_Walk+0x36c>                  
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
    (*printer)( source, true, "page size is zero\n" );                
 8004334:	78 03 08 01 	mvhi r3,0x801                                  
 8004338:	ba 00 08 00 	mv r1,r16                                      
 800433c:	38 63 c3 88 	ori r3,r3,0xc388                               
 8004340:	34 02 00 01 	mvi r2,1                                       
 8004344:	d9 e0 00 00 	call r15                                       
 8004348:	ba 40 08 00 	mv r1,r18                                      
 800434c:	e3 ff ff 00 	bi 8003f4c <_Heap_Walk+0x88>                   
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
    (*printer)(                                                       
 8004350:	78 03 08 01 	mvhi r3,0x801                                  
 8004354:	ba 00 08 00 	mv r1,r16                                      
 8004358:	38 63 c3 9c 	ori r3,r3,0xc39c                               
 800435c:	ba 40 20 00 	mv r4,r18                                      
 8004360:	34 02 00 01 	mvi r2,1                                       
 8004364:	d9 e0 00 00 	call r15                                       
 8004368:	34 01 00 00 	mvi r1,0                                       
 800436c:	e3 ff fe f8 	bi 8003f4c <_Heap_Walk+0x88>                   
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
    (*printer)(                                                       
 8004370:	78 03 08 01 	mvhi r3,0x801                                  
 8004374:	ba 00 08 00 	mv r1,r16                                      
 8004378:	38 63 c3 bc 	ori r3,r3,0xc3bc                               
 800437c:	ba 60 20 00 	mv r4,r19                                      
 8004380:	34 02 00 01 	mvi r2,1                                       
 8004384:	d9 e0 00 00 	call r15                                       
 8004388:	b9 a0 08 00 	mv r1,r13                                      
 800438c:	e3 ff fe f0 	bi 8003f4c <_Heap_Walk+0x88>                   
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {              
      (*printer)(                                                     
 8004390:	78 03 08 01 	mvhi r3,0x801                                  
 8004394:	ba 00 08 00 	mv r1,r16                                      
 8004398:	38 63 c5 68 	ori r3,r3,0xc568                               
 800439c:	b9 80 20 00 	mv r4,r12                                      
 80043a0:	b9 c0 28 00 	mv r5,r14                                      
 80043a4:	34 02 00 01 	mvi r2,1                                       
 80043a8:	d9 e0 00 00 	call r15                                       
 80043ac:	34 01 00 00 	mvi r1,0                                       
        "block 0x%08x: next block 0x%08x not in heap\n",              
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
 80043b0:	e3 ff fe e7 	bi 8003f4c <_Heap_Walk+0x88>                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) ) {               
      (*printer)(                                                     
 80043b4:	78 03 08 01 	mvhi r3,0x801                                  
 80043b8:	ba 00 08 00 	mv r1,r16                                      
 80043bc:	38 63 c5 98 	ori r3,r3,0xc598                               
 80043c0:	b9 80 20 00 	mv r4,r12                                      
 80043c4:	b9 a0 28 00 	mv r5,r13                                      
 80043c8:	34 02 00 01 	mvi r2,1                                       
 80043cc:	d9 e0 00 00 	call r15                                       
 80043d0:	34 01 00 00 	mvi r1,0                                       
        "block 0x%08x: block size %u not page aligned\n",             
        block,                                                        
        block_size                                                    
      );                                                              
                                                                      
      return false;                                                   
 80043d4:	e3 ff fe de 	bi 8003f4c <_Heap_Walk+0x88>                   
  }                                                                   
                                                                      
  if (                                                                
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
 80043d8:	78 03 08 01 	mvhi r3,0x801                                  
 80043dc:	ba 00 08 00 	mv r1,r16                                      
 80043e0:	38 63 c3 e0 	ori r3,r3,0xc3e0                               
 80043e4:	b9 80 20 00 	mv r4,r12                                      
 80043e8:	34 02 00 01 	mvi r2,1                                       
 80043ec:	d9 e0 00 00 	call r15                                       
 80043f0:	ba 20 08 00 	mv r1,r17                                      
 80043f4:	e3 ff fe d6 	bi 8003f4c <_Heap_Walk+0x88>                   
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
    (*printer)(                                                       
 80043f8:	78 03 08 01 	mvhi r3,0x801                                  
 80043fc:	ba 00 08 00 	mv r1,r16                                      
 8004400:	38 63 c4 14 	ori r3,r3,0xc414                               
 8004404:	34 02 00 01 	mvi r2,1                                       
 8004408:	d9 e0 00 00 	call r15                                       
 800440c:	ba 20 08 00 	mv r1,r17                                      
 8004410:	e3 ff fe cf 	bi 8003f4c <_Heap_Walk+0x88>                   
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
    (*printer)(                                                       
 8004414:	78 03 08 01 	mvhi r3,0x801                                  
 8004418:	ba 00 08 00 	mv r1,r16                                      
 800441c:	38 63 c4 70 	ori r3,r3,0xc470                               
 8004420:	34 02 00 01 	mvi r2,1                                       
 8004424:	d9 e0 00 00 	call r15                                       
 8004428:	ba a0 08 00 	mv r1,r21                                      
 800442c:	e3 ff fe c8 	bi 8003f4c <_Heap_Walk+0x88>                   
    }                                                                 
                                                                      
    if (                                                              
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
 8004430:	78 03 08 01 	mvhi r3,0x801                                  
 8004434:	ba 00 08 00 	mv r1,r16                                      
 8004438:	38 63 c4 a8 	ori r3,r3,0xc4a8                               
 800443c:	b9 c0 20 00 	mv r4,r14                                      
 8004440:	34 02 00 01 	mvi r2,1                                       
 8004444:	d9 e0 00 00 	call r15                                       
 8004448:	34 01 00 00 	mvi r1,0                                       
 800444c:	e3 ff fe c0 	bi 8003f4c <_Heap_Walk+0x88>                   
  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)(                                                     
 8004450:	78 03 08 01 	mvhi r3,0x801                                  
 8004454:	ba 00 08 00 	mv r1,r16                                      
 8004458:	38 63 c4 88 	ori r3,r3,0xc488                               
 800445c:	b9 c0 20 00 	mv r4,r14                                      
 8004460:	34 02 00 01 	mvi r2,1                                       
 8004464:	d9 e0 00 00 	call r15                                       
 8004468:	34 01 00 00 	mvi r1,0                                       
 800446c:	e3 ff fe b8 	bi 8003f4c <_Heap_Walk+0x88>                   
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
      (*printer)(                                                     
 8004470:	78 03 08 01 	mvhi r3,0x801                                  
 8004474:	ba 00 08 00 	mv r1,r16                                      
 8004478:	38 63 c4 f4 	ori r3,r3,0xc4f4                               
 800447c:	b9 c0 20 00 	mv r4,r14                                      
 8004480:	34 02 00 01 	mvi r2,1                                       
 8004484:	d9 e0 00 00 	call r15                                       
 8004488:	34 01 00 00 	mvi r1,0                                       
 800448c:	e3 ff fe b0 	bi 8003f4c <_Heap_Walk+0x88>                   
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
      (*printer)(                                                     
 8004490:	78 03 08 01 	mvhi r3,0x801                                  
 8004494:	ba 00 08 00 	mv r1,r16                                      
 8004498:	38 63 c4 d8 	ori r3,r3,0xc4d8                               
 800449c:	b9 c0 20 00 	mv r4,r14                                      
 80044a0:	34 02 00 01 	mvi r2,1                                       
 80044a4:	d9 e0 00 00 	call r15                                       
 80044a8:	34 01 00 00 	mvi r1,0                                       
 80044ac:	e3 ff fe a8 	bi 8003f4c <_Heap_Walk+0x88>                   
                                                                      
08002994 <_IO_Initialize_all_drivers>:                                
 *                                                                    
 *  Output Parameters: NONE                                           
 */                                                                   
                                                                      
void _IO_Initialize_all_drivers( void )                               
{                                                                     
 8002994:	37 9c ff f4 	addi sp,sp,-12                                 
 8002998:	5b 8b 00 0c 	sw (sp+12),r11                                 
 800299c:	5b 8c 00 08 	sw (sp+8),r12                                  
 80029a0:	5b 9d 00 04 	sw (sp+4),ra                                   
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
 80029a4:	78 0c 08 01 	mvhi r12,0x801                                 
 80029a8:	39 8c ca 64 	ori r12,r12,0xca64                             
 80029ac:	29 81 00 00 	lw r1,(r12+0)                                  
 80029b0:	44 20 00 09 	be r1,r0,80029d4 <_IO_Initialize_all_drivers+0x40><== NEVER TAKEN
 80029b4:	34 0b 00 00 	mvi r11,0                                      
     (void) rtems_io_initialize( major, 0, NULL );                    
 80029b8:	34 02 00 00 	mvi r2,0                                       
 80029bc:	b9 60 08 00 	mv r1,r11                                      
 80029c0:	b8 40 18 00 	mv r3,r2                                       
 80029c4:	f8 00 17 d7 	calli 8008920 <rtems_io_initialize>            
                                                                      
void _IO_Initialize_all_drivers( void )                               
{                                                                     
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
 80029c8:	29 81 00 00 	lw r1,(r12+0)                                  
 80029cc:	35 6b 00 01 	addi r11,r11,1                                 
 80029d0:	54 2b ff fa 	bgu r1,r11,80029b8 <_IO_Initialize_all_drivers+0x24>
     (void) rtems_io_initialize( major, 0, NULL );                    
}                                                                     
 80029d4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80029d8:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 80029dc:	2b 8c 00 08 	lw r12,(sp+8)                                  
 80029e0:	37 9c 00 0c 	addi sp,sp,12                                  
 80029e4:	c3 a0 00 00 	ret                                            
                                                                      
080029e8 <_IO_Manager_initialization>:                                
 *  workspace.                                                        
 *                                                                    
 */                                                                   
                                                                      
void _IO_Manager_initialization(void)                                 
{                                                                     
 80029e8:	37 9c ff e8 	addi sp,sp,-24                                 
 80029ec:	5b 8b 00 18 	sw (sp+24),r11                                 
 80029f0:	5b 8c 00 14 	sw (sp+20),r12                                 
 80029f4:	5b 8d 00 10 	sw (sp+16),r13                                 
 80029f8:	5b 8e 00 0c 	sw (sp+12),r14                                 
 80029fc:	5b 8f 00 08 	sw (sp+8),r15                                  
 8002a00:	5b 9d 00 04 	sw (sp+4),ra                                   
  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;              
 8002a04:	78 01 08 01 	mvhi r1,0x801                                  
 8002a08:	38 21 c0 c4 	ori r1,r1,0xc0c4                               
  drivers_in_table  = Configuration.number_of_device_drivers;         
  number_of_drivers = Configuration.maximum_drivers;                  
 8002a0c:	28 2d 00 2c 	lw r13,(r1+44)                                 
  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;         
 8002a10:	28 2b 00 30 	lw r11,(r1+48)                                 
  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;              
 8002a14:	28 2c 00 34 	lw r12,(r1+52)                                 
                                                                      
  /*                                                                  
   *  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 )                        
 8002a18:	51 6d 00 2d 	bgeu r11,r13,8002acc <_IO_Manager_initialization+0xe4>
   *  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 )  
 8002a1c:	b5 ad 08 00 	add r1,r13,r13                                 
 8002a20:	34 02 00 03 	mvi r2,3                                       
 8002a24:	b4 2d 08 00 	add r1,r1,r13                                  
 8002a28:	fb ff f5 f2 	calli 80001f0 <__ashlsi3>                      
 8002a2c:	b8 20 78 00 	mv r15,r1                                      
  /*                                                                  
   *  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 *)           
 8002a30:	f8 00 0d 2e 	calli 8005ee8 <_Workspace_Allocate_or_fatal_error>
 8002a34:	78 0e 08 01 	mvhi r14,0x801                                 
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
 8002a38:	78 04 08 01 	mvhi r4,0x801                                  
  /*                                                                  
   *  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 *)           
 8002a3c:	39 ce ca 68 	ori r14,r14,0xca68                             
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
 8002a40:	38 84 ca 64 	ori r4,r4,0xca64                               
                                                                      
  memset(                                                             
 8002a44:	b9 e0 18 00 	mv r3,r15                                      
 8002a48:	34 02 00 00 	mvi r2,0                                       
                                                                      
  _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;                          
 8002a4c:	58 8d 00 00 	sw (r4+0),r13                                  
  /*                                                                  
   *  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 *)           
 8002a50:	59 c1 00 00 	sw (r14+0),r1                                  
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
                                                                      
  memset(                                                             
 8002a54:	f8 00 27 70 	calli 800c814 <memset>                         
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
 8002a58:	45 60 00 15 	be r11,r0,8002aac <_IO_Manager_initialization+0xc4><== NEVER TAKEN
 8002a5c:	29 c5 00 00 	lw r5,(r14+0)                                  
 8002a60:	34 03 00 00 	mvi r3,0                                       
 8002a64:	b8 60 20 00 	mv r4,r3                                       
    _IO_Driver_address_table[index] = driver_table[index];            
 8002a68:	b5 83 10 00 	add r2,r12,r3                                  
 8002a6c:	28 46 00 00 	lw r6,(r2+0)                                   
 8002a70:	b4 a3 08 00 	add r1,r5,r3                                   
  memset(                                                             
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
 8002a74:	34 84 00 01 	addi r4,r4,1                                   
    _IO_Driver_address_table[index] = driver_table[index];            
 8002a78:	58 26 00 00 	sw (r1+0),r6                                   
 8002a7c:	28 46 00 04 	lw r6,(r2+4)                                   
  memset(                                                             
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
 8002a80:	34 63 00 18 	addi r3,r3,24                                  
    _IO_Driver_address_table[index] = driver_table[index];            
 8002a84:	58 26 00 04 	sw (r1+4),r6                                   
 8002a88:	28 46 00 08 	lw r6,(r2+8)                                   
 8002a8c:	58 26 00 08 	sw (r1+8),r6                                   
 8002a90:	28 46 00 0c 	lw r6,(r2+12)                                  
 8002a94:	58 26 00 0c 	sw (r1+12),r6                                  
 8002a98:	28 46 00 10 	lw r6,(r2+16)                                  
 8002a9c:	58 26 00 10 	sw (r1+16),r6                                  
 8002aa0:	28 42 00 14 	lw r2,(r2+20)                                  
 8002aa4:	58 22 00 14 	sw (r1+20),r2                                  
  memset(                                                             
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
 8002aa8:	55 64 ff f0 	bgu r11,r4,8002a68 <_IO_Manager_initialization+0x80>
    _IO_Driver_address_table[index] = driver_table[index];            
  number_of_drivers = drivers_in_table;                               
}                                                                     
 8002aac:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8002ab0:	2b 8b 00 18 	lw r11,(sp+24)                                 
 8002ab4:	2b 8c 00 14 	lw r12,(sp+20)                                 
 8002ab8:	2b 8d 00 10 	lw r13,(sp+16)                                 
 8002abc:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 8002ac0:	2b 8f 00 08 	lw r15,(sp+8)                                  
 8002ac4:	37 9c 00 18 	addi sp,sp,24                                  
 8002ac8:	c3 a0 00 00 	ret                                            
   *  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;                          
 8002acc:	78 02 08 01 	mvhi r2,0x801                                  
    _IO_Number_of_drivers = number_of_drivers;                        
 8002ad0:	78 01 08 01 	mvhi r1,0x801                                  
   *  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;                          
 8002ad4:	38 42 ca 68 	ori r2,r2,0xca68                               
    _IO_Number_of_drivers = number_of_drivers;                        
 8002ad8:	38 21 ca 64 	ori r1,r1,0xca64                               
   *  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;                          
 8002adc:	58 4c 00 00 	sw (r2+0),r12                                  
    _IO_Number_of_drivers = number_of_drivers;                        
 8002ae0:	58 2b 00 00 	sw (r1+0),r11                                  
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
    _IO_Driver_address_table[index] = driver_table[index];            
  number_of_drivers = drivers_in_table;                               
}                                                                     
 8002ae4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8002ae8:	2b 8b 00 18 	lw r11,(sp+24)                                 
 8002aec:	2b 8c 00 14 	lw r12,(sp+20)                                 
 8002af0:	2b 8d 00 10 	lw r13,(sp+16)                                 
 8002af4:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 8002af8:	2b 8f 00 08 	lw r15,(sp+8)                                  
 8002afc:	37 9c 00 18 	addi sp,sp,24                                  
 8002b00:	c3 a0 00 00 	ret                                            
                                                                      
08003738 <_ISR_Handler_initialization>:                               
 *                                                                    
 *  Output parameters: NONE                                           
 */                                                                   
                                                                      
void _ISR_Handler_initialization( void )                              
{                                                                     
 8003738:	37 9c ff f4 	addi sp,sp,-12                                 
 800373c:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8003740:	5b 8c 00 08 	sw (sp+8),r12                                  
 8003744:	5b 9d 00 04 	sw (sp+4),ra                                   
  _ISR_Signals_to_thread_executing = false;                           
 8003748:	78 03 08 01 	mvhi r3,0x801                                  
                                                                      
  _ISR_Nest_level = 0;                                                
 800374c:	78 02 08 01 	mvhi r2,0x801                                  
 *  Output parameters: NONE                                           
 */                                                                   
                                                                      
void _ISR_Handler_initialization( void )                              
{                                                                     
  _ISR_Signals_to_thread_executing = false;                           
 8003750:	34 04 00 00 	mvi r4,0                                       
 8003754:	38 63 c9 78 	ori r3,r3,0xc978                               
                                                                      
  _ISR_Nest_level = 0;                                                
 8003758:	38 42 c8 bc 	ori r2,r2,0xc8bc                               
 *  Output parameters: NONE                                           
 */                                                                   
                                                                      
void _ISR_Handler_initialization( void )                              
{                                                                     
  _ISR_Signals_to_thread_executing = false;                           
 800375c:	30 64 00 00 	sb (r3+0),r4                                   
                                                                      
  _ISR_Nest_level = 0;                                                
 8003760:	58 44 00 00 	sw (r2+0),r4                                   
                                                                      
#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE)                          
  _ISR_Vector_table = _Workspace_Allocate_or_fatal_error(             
 8003764:	34 01 00 80 	mvi r1,128                                     
                                                                      
void _ISR_Handler_initialization( void )                              
{                                                                     
  _ISR_Signals_to_thread_executing = false;                           
                                                                      
  _ISR_Nest_level = 0;                                                
 8003768:	b8 80 60 00 	mv r12,r4                                      
                                                                      
#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE)                          
  _ISR_Vector_table = _Workspace_Allocate_or_fatal_error(             
 800376c:	f8 00 09 df 	calli 8005ee8 <_Workspace_Allocate_or_fatal_error>
                                                                      
  _CPU_Initialize_vectors();                                          
                                                                      
#if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE )                          
                                                                      
  if ( !_Stack_Is_enough(Configuration.interrupt_stack_size) )        
 8003770:	78 0b 08 01 	mvhi r11,0x801                                 
 8003774:	78 02 08 01 	mvhi r2,0x801                                  
 8003778:	38 42 c0 bc 	ori r2,r2,0xc0bc                               
 800377c:	39 6b c0 c4 	ori r11,r11,0xc0c4                             
 8003780:	28 44 00 00 	lw r4,(r2+0)                                   
 8003784:	29 63 00 1c 	lw r3,(r11+28)                                 
  _ISR_Signals_to_thread_executing = false;                           
                                                                      
  _ISR_Nest_level = 0;                                                
                                                                      
#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE)                          
  _ISR_Vector_table = _Workspace_Allocate_or_fatal_error(             
 8003788:	78 02 08 01 	mvhi r2,0x801                                  
 800378c:	38 42 c8 a0 	ori r2,r2,0xc8a0                               
 8003790:	58 41 00 00 	sw (r2+0),r1                                   
                                                                      
  _CPU_Initialize_vectors();                                          
                                                                      
#if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE )                          
                                                                      
  if ( !_Stack_Is_enough(Configuration.interrupt_stack_size) )        
 8003794:	50 64 00 05 	bgeu r3,r4,80037a8 <_ISR_Handler_initialization+0x70><== ALWAYS TAKEN
    _Internal_error_Occurred(                                         
 8003798:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 800379c:	34 02 00 01 	mvi r2,1                                       <== NOT EXECUTED
 80037a0:	34 03 00 05 	mvi r3,5                                       <== NOT EXECUTED
 80037a4:	fb ff ff d6 	calli 80036fc <_Internal_error_Occurred>       <== NOT EXECUTED
      INTERNAL_ERROR_CORE,                                            
      true,                                                           
      INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL                        
    );                                                                
                                                                      
  _CPU_Interrupt_stack_low = _Workspace_Allocate_or_fatal_error(      
 80037a8:	b8 60 08 00 	mv r1,r3                                       
 80037ac:	f8 00 09 cf 	calli 8005ee8 <_Workspace_Allocate_or_fatal_error>
    Configuration.interrupt_stack_size                                
  );                                                                  
                                                                      
  _CPU_Interrupt_stack_high = _Addresses_Add_offset(                  
 80037b0:	29 64 00 1c 	lw r4,(r11+28)                                 
      INTERNAL_ERROR_CORE,                                            
      true,                                                           
      INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL                        
    );                                                                
                                                                      
  _CPU_Interrupt_stack_low = _Workspace_Allocate_or_fatal_error(      
 80037b4:	78 02 08 01 	mvhi r2,0x801                                  
    Configuration.interrupt_stack_size                                
  );                                                                  
                                                                      
  _CPU_Interrupt_stack_high = _Addresses_Add_offset(                  
 80037b8:	78 03 08 01 	mvhi r3,0x801                                  
 80037bc:	b4 24 20 00 	add r4,r1,r4                                   
      INTERNAL_ERROR_CORE,                                            
      true,                                                           
      INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL                        
    );                                                                
                                                                      
  _CPU_Interrupt_stack_low = _Workspace_Allocate_or_fatal_error(      
 80037c0:	38 42 c8 34 	ori r2,r2,0xc834                               
    Configuration.interrupt_stack_size                                
  );                                                                  
                                                                      
  _CPU_Interrupt_stack_high = _Addresses_Add_offset(                  
 80037c4:	38 63 c7 b8 	ori r3,r3,0xc7b8                               
 80037c8:	58 64 00 00 	sw (r3+0),r4                                   
      INTERNAL_ERROR_CORE,                                            
      true,                                                           
      INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL                        
    );                                                                
                                                                      
  _CPU_Interrupt_stack_low = _Workspace_Allocate_or_fatal_error(      
 80037cc:	58 41 00 00 	sw (r2+0),r1                                   
                                                                      
#if ( CPU_HAS_HARDWARE_INTERRUPT_STACK == TRUE )                      
  _CPU_Install_interrupt_stack();                                     
#endif                                                                
                                                                      
}                                                                     
 80037d0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80037d4:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 80037d8:	2b 8c 00 08 	lw r12,(sp+8)                                  
 80037dc:	37 9c 00 0c 	addi sp,sp,12                                  
 80037e0:	c3 a0 00 00 	ret                                            
                                                                      
080037e4 <_Objects_Allocate>:                                         
 */                                                                   
                                                                      
Objects_Control *_Objects_Allocate(                                   
  Objects_Information *information                                    
)                                                                     
{                                                                     
 80037e4:	37 9c ff ec 	addi sp,sp,-20                                 
 80037e8:	5b 8b 00 14 	sw (sp+20),r11                                 
 80037ec:	5b 8c 00 10 	sw (sp+16),r12                                 
 80037f0:	5b 8d 00 0c 	sw (sp+12),r13                                 
 80037f4:	5b 8e 00 08 	sw (sp+8),r14                                  
 80037f8:	5b 9d 00 04 	sw (sp+4),ra                                   
 80037fc:	b8 20 58 00 	mv r11,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 )                                       
 8003800:	28 21 00 18 	lw r1,(r1+24)                                  
 8003804:	b8 20 60 00 	mv r12,r1                                      
 8003808:	5c 20 00 09 	bne r1,r0,800382c <_Objects_Allocate+0x48>     <== ALWAYS TAKEN
      information->inactive--;                                        
    }                                                                 
  }                                                                   
                                                                      
  return the_object;                                                  
}                                                                     
 800380c:	b9 80 08 00 	mv r1,r12                                      
 8003810:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8003814:	2b 8b 00 14 	lw r11,(sp+20)                                 
 8003818:	2b 8c 00 10 	lw r12,(sp+16)                                 
 800381c:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 8003820:	2b 8e 00 08 	lw r14,(sp+8)                                  
 8003824:	37 9c 00 14 	addi sp,sp,20                                  
 8003828:	c3 a0 00 00 	ret                                            
                                                                      
  /*                                                                  
   *  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 );
 800382c:	35 6d 00 20 	addi r13,r11,32                                
 8003830:	b9 a0 08 00 	mv r1,r13                                      
 8003834:	f8 00 14 6d 	calli 80089e8 <_Chain_Get>                     
 8003838:	b8 20 60 00 	mv r12,r1                                      
                                                                      
  if ( information->auto_extend ) {                                   
 800383c:	41 61 00 12 	lbu r1,(r11+18)                                
                                                                      
  /*                                                                  
   *  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 );
 8003840:	b9 80 70 00 	mv r14,r12                                     
                                                                      
  if ( information->auto_extend ) {                                   
 8003844:	44 20 ff f2 	be r1,r0,800380c <_Objects_Allocate+0x28>      
    /*                                                                
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
 8003848:	45 80 00 1a 	be r12,r0,80038b0 <_Objects_Allocate+0xcc>     
    }                                                                 
                                                                      
    if ( the_object ) {                                               
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
 800384c:	29 83 00 08 	lw r3,(r12+8)                                  
 8003850:	29 61 00 08 	lw r1,(r11+8)                                  
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
 8003854:	2d 62 00 14 	lhu r2,(r11+20)                                
    }                                                                 
                                                                      
    if ( the_object ) {                                               
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
 8003858:	20 63 ff ff 	andi r3,r3,0xffff                              
 800385c:	20 21 ff ff 	andi r1,r1,0xffff                              
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
 8003860:	c8 61 08 00 	sub r1,r3,r1                                   
 8003864:	f8 00 59 4c 	calli 8019d94 <__udivsi3>                      
 8003868:	34 02 00 02 	mvi r2,2                                       
 800386c:	fb ff f2 61 	calli 80001f0 <__ashlsi3>                      
 8003870:	29 62 00 30 	lw r2,(r11+48)                                 
      information->inactive--;                                        
 8003874:	2d 63 00 2c 	lhu r3,(r11+44)                                
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
 8003878:	b4 41 08 00 	add r1,r2,r1                                   
 800387c:	28 22 00 00 	lw r2,(r1+0)                                   
      information->inactive--;                                        
 8003880:	34 63 ff ff 	addi r3,r3,-1                                  
 8003884:	0d 63 00 2c 	sh (r11+44),r3                                 
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
 8003888:	34 42 ff ff 	addi r2,r2,-1                                  
 800388c:	58 22 00 00 	sw (r1+0),r2                                   
      information->inactive--;                                        
    }                                                                 
  }                                                                   
                                                                      
  return the_object;                                                  
}                                                                     
 8003890:	b9 80 08 00 	mv r1,r12                                      
 8003894:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8003898:	2b 8b 00 14 	lw r11,(sp+20)                                 
 800389c:	2b 8c 00 10 	lw r12,(sp+16)                                 
 80038a0:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 80038a4:	2b 8e 00 08 	lw r14,(sp+8)                                  
 80038a8:	37 9c 00 14 	addi sp,sp,20                                  
 80038ac:	c3 a0 00 00 	ret                                            
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
      _Objects_Extend_information( information );                     
 80038b0:	b9 60 08 00 	mv r1,r11                                      
 80038b4:	f8 00 00 06 	calli 80038cc <_Objects_Extend_information>    
      the_object =  (Objects_Control *) _Chain_Get( &information->Inactive );
 80038b8:	b9 a0 08 00 	mv r1,r13                                      
 80038bc:	f8 00 14 4b 	calli 80089e8 <_Chain_Get>                     
 80038c0:	b8 20 60 00 	mv r12,r1                                      
    }                                                                 
                                                                      
    if ( the_object ) {                                               
 80038c4:	44 2e ff d2 	be r1,r14,800380c <_Objects_Allocate+0x28>     
 80038c8:	e3 ff ff e1 	bi 800384c <_Objects_Allocate+0x68>            
                                                                      
080038cc <_Objects_Extend_information>:                               
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
 80038cc:	37 9c ff c8 	addi sp,sp,-56                                 
 80038d0:	5b 8b 00 2c 	sw (sp+44),r11                                 
 80038d4:	5b 8c 00 28 	sw (sp+40),r12                                 
 80038d8:	5b 8d 00 24 	sw (sp+36),r13                                 
 80038dc:	5b 8e 00 20 	sw (sp+32),r14                                 
 80038e0:	5b 8f 00 1c 	sw (sp+28),r15                                 
 80038e4:	5b 90 00 18 	sw (sp+24),r16                                 
 80038e8:	5b 91 00 14 	sw (sp+20),r17                                 
 80038ec:	5b 92 00 10 	sw (sp+16),r18                                 
 80038f0:	5b 93 00 0c 	sw (sp+12),r19                                 
 80038f4:	5b 94 00 08 	sw (sp+8),r20                                  
 80038f8:	5b 9d 00 04 	sw (sp+4),ra                                   
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. The block variable ends up set
   *  to block_count + 1 if the table needs to be extended.           
   */                                                                 
  minimum_index = _Objects_Get_index( information->minimum_id );      
 80038fc:	28 30 00 08 	lw r16,(r1+8)                                  
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
 8003900:	28 31 00 34 	lw r17,(r1+52)                                 
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
 8003904:	b8 20 58 00 	mv r11,r1                                      
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. The block variable ends up set
   *  to block_count + 1 if the table needs to be extended.           
   */                                                                 
  minimum_index = _Objects_Get_index( information->minimum_id );      
 8003908:	22 10 ff ff 	andi r16,r16,0xffff                            
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
 800390c:	46 20 00 ba 	be r17,r0,8003bf4 <_Objects_Extend_information+0x328>
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
 8003910:	2c 2f 00 14 	lhu r15,(r1+20)                                
 8003914:	2c 32 00 10 	lhu r18,(r1+16)                                
                                                                      
    for ( ; block < block_count; block++ ) {                          
 8003918:	ba 00 68 00 	mv r13,r16                                     
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
 800391c:	b9 e0 10 00 	mv r2,r15                                      
 8003920:	ba 40 08 00 	mv r1,r18                                      
 8003924:	f8 00 59 1c 	calli 8019d94 <__udivsi3>                      
 8003928:	20 2e ff ff 	andi r14,r1,0xffff                             
                                                                      
    for ( ; block < block_count; block++ ) {                          
 800392c:	b9 c0 60 00 	mv r12,r14                                     
 8003930:	b9 e0 08 00 	mv r1,r15                                      
 8003934:	45 c0 00 08 	be r14,r0,8003954 <_Objects_Extend_information+0x88><== NEVER TAKEN
      if ( information->object_blocks[ block ] == NULL )              
 8003938:	2a 2c 00 00 	lw r12,(r17+0)                                 
 800393c:	45 80 00 06 	be r12,r0,8003954 <_Objects_Extend_information+0x88><== NEVER TAKEN
 8003940:	ba 20 18 00 	mv r3,r17                                      
 8003944:	34 0c 00 00 	mvi r12,0                                      
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
 8003948:	35 8c 00 01 	addi r12,r12,1                                 
      if ( information->object_blocks[ block ] == NULL )              
        break;                                                        
      else                                                            
        index_base += information->allocation_size;                   
 800394c:	b5 af 68 00 	add r13,r13,r15                                
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
 8003950:	55 cc 00 8c 	bgu r14,r12,8003b80 <_Objects_Extend_information+0x2b4>
      else                                                            
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
 8003954:	b6 41 90 00 	add r18,r18,r1                                 
  /*                                                                  
   *  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 ) {                           
 8003958:	38 02 ff ff 	mvu r2,0xffff                                  
 800395c:	56 42 00 7c 	bgu r18,r2,8003b4c <_Objects_Extend_information+0x280><== NEVER TAKEN
                                                                      
  /*                                                                  
   * 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;      
 8003960:	29 62 00 18 	lw r2,(r11+24)                                 
 8003964:	f8 00 58 8d 	calli 8019b98 <__mulsi3>                       
  if ( information->auto_extend ) {                                   
 8003968:	41 62 00 12 	lbu r2,(r11+18)                                
 800396c:	5c 40 00 89 	bne r2,r0,8003b90 <_Objects_Extend_information+0x2c4>
    new_object_block = _Workspace_Allocate( block_size );             
    if ( !new_object_block )                                          
      return;                                                         
  } else {                                                            
    new_object_block = _Workspace_Allocate_or_fatal_error( block_size );
 8003970:	f8 00 09 5e 	calli 8005ee8 <_Workspace_Allocate_or_fatal_error>
 8003974:	b8 20 78 00 	mv r15,r1                                      
  }                                                                   
                                                                      
  /*                                                                  
   *  If the index_base is the maximum we need to grow the tables.    
   */                                                                 
  if (index_base >= information->maximum ) {                          
 8003978:	2d 61 00 10 	lhu r1,(r11+16)                                
 800397c:	54 2d 00 4a 	bgu r1,r13,8003aa4 <_Objects_Extend_information+0x1d8>
     */                                                               
                                                                      
    /*                                                                
     *  Up the block count and maximum                                
     */                                                               
    block_count++;                                                    
 8003980:	35 d3 00 01 	addi r19,r14,1                                 
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
 8003984:	b6 73 08 00 	add r1,r19,r19                                 
 8003988:	b4 33 08 00 	add r1,r1,r19                                  
 800398c:	b6 41 08 00 	add r1,r18,r1                                  
 8003990:	34 02 00 02 	mvi r2,2                                       
 8003994:	b4 30 08 00 	add r1,r1,r16                                  
 8003998:	fb ff f2 16 	calli 80001f0 <__ashlsi3>                      
 800399c:	f8 00 09 62 	calli 8005f24 <_Workspace_Allocate>            
 80039a0:	b8 20 88 00 	mv r17,r1                                      
                                                                      
    if ( !object_blocks ) {                                           
 80039a4:	44 20 00 9a 	be r1,r0,8003c0c <_Objects_Extend_information+0x340><== NEVER TAKEN
    }                                                                 
                                                                      
    /*                                                                
     *  Break the block into the various sections.                    
     */                                                               
    inactive_per_block = (uint32_t *) _Addresses_Add_offset(          
 80039a8:	ba 60 08 00 	mv r1,r19                                      
 80039ac:	34 02 00 02 	mvi r2,2                                       
 80039b0:	fb ff f2 10 	calli 80001f0 <__ashlsi3>                      
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
 80039b4:	2d 62 00 10 	lhu r2,(r11+16)                                
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
 80039b8:	b6 21 98 00 	add r19,r17,r1                                 
 80039bc:	b6 61 a0 00 	add r20,r19,r1                                 
 80039c0:	54 50 00 78 	bgu r2,r16,8003ba0 <_Objects_Extend_information+0x2d4>
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
 80039c4:	34 03 00 00 	mvi r3,0                                       
 80039c8:	ba 80 20 00 	mv r4,r20                                      
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
        local_table[ index ] = NULL;                                  
 80039cc:	b8 60 10 00 	mv r2,r3                                       
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
 80039d0:	46 03 00 05 	be r16,r3,80039e4 <_Objects_Extend_information+0x118><== NEVER TAKEN
        local_table[ index ] = NULL;                                  
 80039d4:	58 82 00 00 	sw (r4+0),r2                                   
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
 80039d8:	34 63 00 01 	addi r3,r3,1                                   
 80039dc:	34 84 00 04 	addi r4,r4,4                                   
 80039e0:	56 03 ff fd 	bgu r16,r3,80039d4 <_Objects_Extend_information+0x108><== NEVER TAKEN
 80039e4:	b9 c0 08 00 	mv r1,r14                                      
 80039e8:	34 02 00 02 	mvi r2,2                                       
 80039ec:	fb ff f2 01 	calli 80001f0 <__ashlsi3>                      
 80039f0:	b8 20 70 00 	mv r14,r1                                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
 80039f4:	2d 61 00 14 	lhu r1,(r11+20)                                
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
 80039f8:	b6 6e 10 00 	add r2,r19,r14                                 
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
 80039fc:	34 10 00 00 	mvi r16,0                                      
 8003a00:	b6 2e 70 00 	add r14,r17,r14                                
 8003a04:	59 d0 00 00 	sw (r14+0),r16                                 
    inactive_per_block[block_count] = 0;                              
 8003a08:	58 50 00 00 	sw (r2+0),r16                                  
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
 8003a0c:	b5 a1 70 00 	add r14,r13,r1                                 
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
 8003a10:	51 ae 00 0b 	bgeu r13,r14,8003a3c <_Objects_Extend_information+0x170><== NEVER TAKEN
 8003a14:	34 02 00 02 	mvi r2,2                                       
 8003a18:	b9 a0 08 00 	mv r1,r13                                      
 8003a1c:	fb ff f1 f5 	calli 80001f0 <__ashlsi3>                      
 8003a20:	b6 81 18 00 	add r3,r20,r1                                  
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
 8003a24:	ba 00 10 00 	mv r2,r16                                      
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
 8003a28:	b9 a0 20 00 	mv r4,r13                                      
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
 8003a2c:	58 62 00 00 	sw (r3+0),r2                                   
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
 8003a30:	34 84 00 01 	addi r4,r4,1                                   
 8003a34:	34 63 00 04 	addi r3,r3,4                                   
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
 8003a38:	55 c4 ff fd 	bgu r14,r4,8003a2c <_Objects_Extend_information+0x160>
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
 8003a3c:	90 00 70 00 	rcsr r14,IE                                    
 8003a40:	34 01 ff fe 	mvi r1,-2                                      
 8003a44:	a1 c1 08 00 	and r1,r14,r1                                  
 8003a48:	d0 01 00 00 	wcsr IE,r1                                     
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
    information->maximum_id = _Objects_Build_id(                      
 8003a4c:	29 61 00 00 	lw r1,(r11+0)                                  
    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;                 
 8003a50:	22 52 ff ff 	andi r18,r18,0xffff                            
 8003a54:	0d 72 00 10 	sh (r11+16),r18                                
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
 8003a58:	59 73 00 30 	sw (r11+48),r19                                
    information->local_table = local_table;                           
 8003a5c:	59 74 00 1c 	sw (r11+28),r20                                
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
 8003a60:	29 70 00 34 	lw r16,(r11+52)                                
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
    information->maximum_id = _Objects_Build_id(                      
 8003a64:	34 02 00 18 	mvi r2,24                                      
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
 8003a68:	59 71 00 34 	sw (r11+52),r17                                
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
    information->maximum_id = _Objects_Build_id(                      
 8003a6c:	fb ff f1 e1 	calli 80001f0 <__ashlsi3>                      
 8003a70:	78 02 00 01 	mvhi r2,0x1                                    
 8003a74:	38 42 00 00 	ori r2,r2,0x0                                  
 8003a78:	b8 22 88 00 	or r17,r1,r2                                   
 8003a7c:	2d 61 00 04 	lhu r1,(r11+4)                                 
 8003a80:	34 02 00 1b 	mvi r2,27                                      
 8003a84:	fb ff f1 db 	calli 80001f0 <__ashlsi3>                      
 8003a88:	ba 21 08 00 	or r1,r17,r1                                   
 8003a8c:	b8 32 90 00 	or r18,r1,r18                                  
 8003a90:	59 72 00 0c 	sw (r11+12),r18                                
        information->the_class,                                       
        _Objects_Local_node,                                          
        information->maximum                                          
      );                                                              
                                                                      
    _ISR_Enable( level );                                             
 8003a94:	d0 0e 00 00 	wcsr IE,r14                                    
                                                                      
    if ( old_tables )                                                 
 8003a98:	46 00 00 03 	be r16,r0,8003aa4 <_Objects_Extend_information+0x1d8>
      _Workspace_Free( old_tables );                                  
 8003a9c:	ba 00 08 00 	mv r1,r16                                      
 8003aa0:	f8 00 09 2c 	calli 8005f50 <_Workspace_Free>                
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
 8003aa4:	34 02 00 02 	mvi r2,2                                       
 8003aa8:	b9 80 08 00 	mv r1,r12                                      
 8003aac:	fb ff f1 d1 	calli 80001f0 <__ashlsi3>                      
 8003ab0:	b8 20 90 00 	mv r18,r1                                      
 8003ab4:	29 61 00 34 	lw r1,(r11+52)                                 
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
 8003ab8:	2d 63 00 14 	lhu r3,(r11+20)                                
 8003abc:	29 64 00 18 	lw r4,(r11+24)                                 
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
 8003ac0:	b4 32 08 00 	add r1,r1,r18                                  
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
 8003ac4:	37 90 00 30 	addi r16,sp,48                                 
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
 8003ac8:	58 2f 00 00 	sw (r1+0),r15                                  
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
 8003acc:	b9 e0 10 00 	mv r2,r15                                      
 8003ad0:	ba 00 08 00 	mv r1,r16                                      
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
                                                                      
    the_object->id = _Objects_Build_id(                               
 8003ad4:	78 0f 00 01 	mvhi r15,0x1                                   
  information->object_blocks[ block ] = new_object_block;             
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
 8003ad8:	f8 00 13 d5 	calli 8008a2c <_Chain_Initialize>              
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
                                                                      
    the_object->id = _Objects_Build_id(                               
 8003adc:	39 ef 00 00 	ori r15,r15,0x0                                
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
 8003ae0:	35 71 00 20 	addi r17,r11,32                                
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
 8003ae4:	e0 00 00 0e 	bi 8003b1c <_Objects_Extend_information+0x250> 
                                                                      
    the_object->id = _Objects_Build_id(                               
 8003ae8:	29 61 00 00 	lw r1,(r11+0)                                  
 8003aec:	fb ff f1 c1 	calli 80001f0 <__ashlsi3>                      
 8003af0:	b8 2f 70 00 	or r14,r1,r15                                  
 8003af4:	2d 61 00 04 	lhu r1,(r11+4)                                 
 8003af8:	34 02 00 1b 	mvi r2,27                                      
 8003afc:	fb ff f1 bd 	calli 80001f0 <__ashlsi3>                      
 8003b00:	b9 c1 10 00 	or r2,r14,r1                                   
 8003b04:	b8 4d 10 00 	or r2,r2,r13                                   
 8003b08:	59 82 00 08 	sw (r12+8),r2                                  
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
 8003b0c:	ba 20 08 00 	mv r1,r17                                      
 8003b10:	b9 80 10 00 	mv r2,r12                                      
 8003b14:	fb ff fc a0 	calli 8002d94 <_Chain_Append>                  
                                                                      
    index++;                                                          
 8003b18:	35 ad 00 01 	addi r13,r13,1                                 
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
 8003b1c:	ba 00 08 00 	mv r1,r16                                      
 8003b20:	f8 00 13 b2 	calli 80089e8 <_Chain_Get>                     
 8003b24:	b8 20 60 00 	mv r12,r1                                      
                                                                      
    the_object->id = _Objects_Build_id(                               
 8003b28:	34 02 00 18 	mvi r2,24                                      
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
 8003b2c:	5c 20 ff ef 	bne r1,r0,8003ae8 <_Objects_Extend_information+0x21c>
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
 8003b30:	2d 62 00 14 	lhu r2,(r11+20)                                
  information->inactive =                                             
 8003b34:	2d 61 00 2c 	lhu r1,(r11+44)                                
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
 8003b38:	29 63 00 30 	lw r3,(r11+48)                                 
  information->inactive =                                             
 8003b3c:	b4 41 08 00 	add r1,r2,r1                                   
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
 8003b40:	b4 72 90 00 	add r18,r3,r18                                 
  information->inactive =                                             
 8003b44:	0d 61 00 2c 	sh (r11+44),r1                                 
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
 8003b48:	5a 42 00 00 	sw (r18+0),r2                                  
  information->inactive =                                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
}                                                                     
 8003b4c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8003b50:	2b 8b 00 2c 	lw r11,(sp+44)                                 
 8003b54:	2b 8c 00 28 	lw r12,(sp+40)                                 
 8003b58:	2b 8d 00 24 	lw r13,(sp+36)                                 
 8003b5c:	2b 8e 00 20 	lw r14,(sp+32)                                 
 8003b60:	2b 8f 00 1c 	lw r15,(sp+28)                                 
 8003b64:	2b 90 00 18 	lw r16,(sp+24)                                 
 8003b68:	2b 91 00 14 	lw r17,(sp+20)                                 
 8003b6c:	2b 92 00 10 	lw r18,(sp+16)                                 
 8003b70:	2b 93 00 0c 	lw r19,(sp+12)                                 
 8003b74:	2b 94 00 08 	lw r20,(sp+8)                                  
 8003b78:	37 9c 00 38 	addi sp,sp,56                                  
 8003b7c:	c3 a0 00 00 	ret                                            
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL )              
 8003b80:	28 62 00 04 	lw r2,(r3+4)                                   
 8003b84:	34 63 00 04 	addi r3,r3,4                                   
 8003b88:	5c 40 ff 70 	bne r2,r0,8003948 <_Objects_Extend_information+0x7c>
 8003b8c:	e3 ff ff 72 	bi 8003954 <_Objects_Extend_information+0x88>  
   * 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 ) {                                   
    new_object_block = _Workspace_Allocate( block_size );             
 8003b90:	f8 00 08 e5 	calli 8005f24 <_Workspace_Allocate>            
 8003b94:	b8 20 78 00 	mv r15,r1                                      
    if ( !new_object_block )                                          
 8003b98:	5c 20 ff 78 	bne r1,r0,8003978 <_Objects_Extend_information+0xac>
 8003b9c:	e3 ff ff ec 	bi 8003b4c <_Objects_Extend_information+0x280> 
       *  separate parts as size of each block has changed.           
       */                                                             
                                                                      
      memcpy( object_blocks,                                          
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
 8003ba0:	b9 c0 08 00 	mv r1,r14                                      
 8003ba4:	34 02 00 02 	mvi r2,2                                       
 8003ba8:	fb ff f1 92 	calli 80001f0 <__ashlsi3>                      
      /*                                                              
       *  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,                                          
 8003bac:	29 62 00 34 	lw r2,(r11+52)                                 
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
 8003bb0:	b8 20 70 00 	mv r14,r1                                      
      /*                                                              
       *  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,                                          
 8003bb4:	b9 c0 18 00 	mv r3,r14                                      
 8003bb8:	ba 20 08 00 	mv r1,r17                                      
 8003bbc:	f8 00 22 b8 	calli 800c69c <memcpy>                         
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
 8003bc0:	29 62 00 30 	lw r2,(r11+48)                                 
 8003bc4:	b9 c0 18 00 	mv r3,r14                                      
 8003bc8:	ba 60 08 00 	mv r1,r19                                      
 8003bcc:	f8 00 22 b4 	calli 800c69c <memcpy>                         
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
 8003bd0:	2d 61 00 10 	lhu r1,(r11+16)                                
 8003bd4:	34 02 00 02 	mvi r2,2                                       
 8003bd8:	b6 01 08 00 	add r1,r16,r1                                  
 8003bdc:	fb ff f1 85 	calli 80001f0 <__ashlsi3>                      
 8003be0:	29 62 00 1c 	lw r2,(r11+28)                                 
 8003be4:	b8 20 18 00 	mv r3,r1                                       
 8003be8:	ba 80 08 00 	mv r1,r20                                      
 8003bec:	f8 00 22 ac 	calli 800c69c <memcpy>                         
 8003bf0:	e3 ff ff 81 	bi 80039f4 <_Objects_Extend_information+0x128> 
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
 8003bf4:	2c 32 00 10 	lhu r18,(r1+16)                                
 8003bf8:	ba 20 60 00 	mv r12,r17                                     
 8003bfc:	2c 21 00 14 	lhu r1,(r1+20)                                 
 8003c00:	ba 00 68 00 	mv r13,r16                                     
 8003c04:	ba 20 70 00 	mv r14,r17                                     
 8003c08:	e3 ff ff 53 	bi 8003954 <_Objects_Extend_information+0x88>  
           (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 );                            
 8003c0c:	b9 e0 08 00 	mv r1,r15                                      
 8003c10:	f8 00 08 d0 	calli 8005f50 <_Workspace_Free>                
      return;                                                         
 8003c14:	e3 ff ff ce 	bi 8003b4c <_Objects_Extend_information+0x280> 
                                                                      
08003d10 <_Objects_Get_information>:                                  
                                                                      
Objects_Information *_Objects_Get_information(                        
  Objects_APIs   the_api,                                             
  uint32_t       the_class                                            
)                                                                     
{                                                                     
 8003d10:	37 9c ff f4 	addi sp,sp,-12                                 
 8003d14:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8003d18:	5b 8c 00 08 	sw (sp+8),r12                                  
 8003d1c:	5b 9d 00 04 	sw (sp+4),ra                                   
 8003d20:	b8 40 58 00 	mv r11,r2                                      
 8003d24:	b8 20 60 00 	mv r12,r1                                      
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
 8003d28:	5c 40 00 07 	bne r2,r0,8003d44 <_Objects_Get_information+0x34>
   *  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 )                                         
 8003d2c:	34 01 00 00 	mvi r1,0                                       
      return NULL;                                                    
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
 8003d30:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8003d34:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8003d38:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8003d3c:	37 9c 00 0c 	addi sp,sp,12                                  
 8003d40:	c3 a0 00 00 	ret                                            
                                                                      
  /*                                                                  
   *  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 );      
 8003d44:	f8 00 15 15 	calli 8009198 <_Objects_API_maximum_class>     
  if ( the_class_api_maximum == 0 )                                   
 8003d48:	44 20 ff f9 	be r1,r0,8003d2c <_Objects_Get_information+0x1c>
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
 8003d4c:	55 61 ff f8 	bgu r11,r1,8003d2c <_Objects_Get_information+0x1c>
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
 8003d50:	b9 80 08 00 	mv r1,r12                                      
 8003d54:	34 02 00 02 	mvi r2,2                                       
 8003d58:	78 0c 08 01 	mvhi r12,0x801                                 
 8003d5c:	39 8c c7 bc 	ori r12,r12,0xc7bc                             
 8003d60:	fb ff f1 24 	calli 80001f0 <__ashlsi3>                      
 8003d64:	b5 81 08 00 	add r1,r12,r1                                  
 8003d68:	28 2c 00 00 	lw r12,(r1+0)                                  
 8003d6c:	45 80 ff f0 	be r12,r0,8003d2c <_Objects_Get_information+0x1c><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
 8003d70:	b9 60 08 00 	mv r1,r11                                      
 8003d74:	34 02 00 02 	mvi r2,2                                       
 8003d78:	fb ff f1 1e 	calli 80001f0 <__ashlsi3>                      
 8003d7c:	b5 81 08 00 	add r1,r12,r1                                  
 8003d80:	28 21 00 00 	lw r1,(r1+0)                                   
  if ( !info )                                                        
 8003d84:	44 20 ff eb 	be r1,r0,8003d30 <_Objects_Get_information+0x20><== 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 )                                         
 8003d88:	2c 22 00 10 	lhu r2,(r1+16)                                 
 8003d8c:	5c 40 ff e9 	bne r2,r0,8003d30 <_Objects_Get_information+0x20>
 8003d90:	e3 ff ff e7 	bi 8003d2c <_Objects_Get_information+0x1c>     
                                                                      
08014184 <_Objects_Get_name_as_string>:                               
char *_Objects_Get_name_as_string(                                    
  Objects_Id        id,                                               
  size_t            length,                                           
  char             *name                                              
)                                                                     
{                                                                     
 8014184:	37 9c ff dc 	addi sp,sp,-36                                 
 8014188:	5b 8b 00 18 	sw (sp+24),r11                                 
 801418c:	5b 8c 00 14 	sw (sp+20),r12                                 
 8014190:	5b 8d 00 10 	sw (sp+16),r13                                 
 8014194:	5b 8e 00 0c 	sw (sp+12),r14                                 
 8014198:	5b 8f 00 08 	sw (sp+8),r15                                  
 801419c:	5b 9d 00 04 	sw (sp+4),ra                                   
 80141a0:	b8 40 60 00 	mv r12,r2                                      
 80141a4:	b8 60 58 00 	mv r11,r3                                      
  char                   lname[5];                                    
  Objects_Control       *the_object;                                  
  Objects_Locations      location;                                    
  Objects_Id             tmpId;                                       
                                                                      
  if ( length == 0 )                                                  
 80141a8:	5c 40 00 0b 	bne r2,r0,80141d4 <_Objects_Get_name_as_string+0x50>
        }                                                             
      }                                                               
      *d = '\0';                                                      
                                                                      
      _Thread_Enable_dispatch();                                      
      return name;                                                    
 80141ac:	34 0b 00 00 	mvi r11,0                                      
  }                                                                   
  return NULL;                  /* unreachable path */                
}                                                                     
 80141b0:	b9 60 08 00 	mv r1,r11                                      
 80141b4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80141b8:	2b 8b 00 18 	lw r11,(sp+24)                                 
 80141bc:	2b 8c 00 14 	lw r12,(sp+20)                                 
 80141c0:	2b 8d 00 10 	lw r13,(sp+16)                                 
 80141c4:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 80141c8:	2b 8f 00 08 	lw r15,(sp+8)                                  
 80141cc:	37 9c 00 24 	addi sp,sp,36                                  
 80141d0:	c3 a0 00 00 	ret                                            
  Objects_Id             tmpId;                                       
                                                                      
  if ( length == 0 )                                                  
    return NULL;                                                      
                                                                      
  if ( name == NULL )                                                 
 80141d4:	44 60 ff f7 	be r3,r0,80141b0 <_Objects_Get_name_as_string+0x2c>
    return NULL;                                                      
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
 80141d8:	b8 20 68 00 	mv r13,r1                                      
 80141dc:	5c 20 00 05 	bne r1,r0,80141f0 <_Objects_Get_name_as_string+0x6c>
 80141e0:	78 01 08 03 	mvhi r1,0x803                                  
 80141e4:	38 21 12 00 	ori r1,r1,0x1200                               
 80141e8:	28 21 00 00 	lw r1,(r1+0)                                   
 80141ec:	28 2d 00 08 	lw r13,(r1+8)                                  
                                                                      
  information = _Objects_Get_information_id( tmpId );                 
 80141f0:	b9 a0 08 00 	mv r1,r13                                      
 80141f4:	fb ff db b4 	calli 800b0c4 <_Objects_Get_information_id>    
  if ( !information )                                                 
 80141f8:	44 20 ff ed 	be r1,r0,80141ac <_Objects_Get_name_as_string+0x28>
    return NULL;                                                      
                                                                      
  the_object = _Objects_Get( information, tmpId, &location );         
 80141fc:	b9 a0 10 00 	mv r2,r13                                      
 8014200:	37 83 00 24 	addi r3,sp,36                                  
 8014204:	fb ff dc 15 	calli 800b258 <_Objects_Get>                   
  switch ( location ) {                                               
 8014208:	2b 8e 00 24 	lw r14,(sp+36)                                 
 801420c:	5d c0 ff e8 	bne r14,r0,80141ac <_Objects_Get_name_as_string+0x28>
        if ( information->is_string ) {                               
          s = the_object->name.name_p;                                
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
 8014210:	28 2f 00 0c 	lw r15,(r1+12)                                 
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
 8014214:	34 02 00 18 	mvi r2,24                                      
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
 8014218:	35 8c ff ff 	addi r12,r12,-1                                
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
 801421c:	b9 e0 08 00 	mv r1,r15                                      
 8014220:	fb ff b1 88 	calli 8000840 <__lshrsi3>                      
 8014224:	20 2d 00 ff 	andi r13,r1,0xff                               
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
 8014228:	34 02 00 10 	mvi r2,16                                      
 801422c:	b9 e0 08 00 	mv r1,r15                                      
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
 8014230:	33 8d 00 1c 	sb (sp+28),r13                                 
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
 8014234:	fb ff b1 83 	calli 8000840 <__lshrsi3>                      
 8014238:	33 81 00 1d 	sb (sp+29),r1                                  
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
 801423c:	34 02 00 08 	mvi r2,8                                       
 8014240:	b9 e0 08 00 	mv r1,r15                                      
 8014244:	fb ff b1 7f 	calli 8000840 <__lshrsi3>                      
 8014248:	33 81 00 1e 	sb (sp+30),r1                                  
        lname[ 3 ] = (u32_name >>  0) & 0xff;                         
 801424c:	33 8f 00 1f 	sb (sp+31),r15                                 
        lname[ 4 ] = '\0';                                            
 8014250:	33 8e 00 20 	sb (sp+32),r14                                 
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
 8014254:	45 8e 00 18 	be r12,r14,80142b4 <_Objects_Get_name_as_string+0x130><== NEVER TAKEN
 8014258:	45 a0 00 17 	be r13,r0,80142b4 <_Objects_Get_name_as_string+0x130>
 801425c:	78 03 08 03 	mvhi r3,0x803                                  
 8014260:	b9 c0 08 00 	mv r1,r14                                      
 8014264:	38 63 03 6c 	ori r3,r3,0x36c                                
 8014268:	b9 60 10 00 	mv r2,r11                                      
 801426c:	37 86 00 1c 	addi r6,sp,28                                  
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
 8014270:	28 64 00 00 	lw r4,(r3+0)                                   
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
 8014274:	34 21 00 01 	addi r1,r1,1                                   
 8014278:	b4 c1 28 00 	add r5,r6,r1                                   
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
 801427c:	b4 8d 20 00 	add r4,r4,r13                                  
 8014280:	40 84 00 01 	lbu r4,(r4+1)                                  
 8014284:	20 84 00 97 	andi r4,r4,0x97                                
 8014288:	5c 80 00 02 	bne r4,r0,8014290 <_Objects_Get_name_as_string+0x10c>
 801428c:	34 0d 00 2a 	mvi r13,42                                     
 8014290:	30 4d 00 00 	sb (r2+0),r13                                  
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
 8014294:	34 42 00 01 	addi r2,r2,1                                   
 8014298:	50 2c 00 03 	bgeu r1,r12,80142a4 <_Objects_Get_name_as_string+0x120>
 801429c:	40 ad 00 00 	lbu r13,(r5+0)                                 
 80142a0:	5d a0 ff f4 	bne r13,r0,8014270 <_Objects_Get_name_as_string+0xec>
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
        }                                                             
      }                                                               
      *d = '\0';                                                      
 80142a4:	34 01 00 00 	mvi r1,0                                       
 80142a8:	30 41 00 00 	sb (r2+0),r1                                   
                                                                      
      _Thread_Enable_dispatch();                                      
 80142ac:	fb ff df 2d 	calli 800bf60 <_Thread_Enable_dispatch>        
      return name;                                                    
 80142b0:	e3 ff ff c0 	bi 80141b0 <_Objects_Get_name_as_string+0x2c>  
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
 80142b4:	b9 60 10 00 	mv r2,r11                                      
 80142b8:	e3 ff ff fb 	bi 80142a4 <_Objects_Get_name_as_string+0x120> 
                                                                      
08017820 <_Objects_Get_no_protection>:                                
Objects_Control *_Objects_Get_no_protection(                          
  Objects_Information *information,                                   
  Objects_Id           id,                                            
  Objects_Locations   *location                                       
)                                                                     
{                                                                     
 8017820:	37 9c ff f4 	addi sp,sp,-12                                 
 8017824:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8017828:	5b 8c 00 08 	sw (sp+8),r12                                  
 801782c:	5b 9d 00 04 	sw (sp+4),ra                                   
                                                                      
  /*                                                                  
   * 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;                           
 8017830:	28 25 00 08 	lw r5,(r1+8)                                   
                                                                      
  if ( information->maximum >= index ) {                              
 8017834:	2c 24 00 10 	lhu r4,(r1+16)                                 
Objects_Control *_Objects_Get_no_protection(                          
  Objects_Information *information,                                   
  Objects_Id           id,                                            
  Objects_Locations   *location                                       
)                                                                     
{                                                                     
 8017838:	b8 60 58 00 	mv r11,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;                           
 801783c:	c8 45 10 00 	sub r2,r2,r5                                   
 8017840:	34 42 00 01 	addi r2,r2,1                                   
                                                                      
  if ( information->maximum >= index ) {                              
 8017844:	54 44 00 0f 	bgu r2,r4,8017880 <_Objects_Get_no_protection+0x60>
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
 8017848:	28 2c 00 1c 	lw r12,(r1+28)                                 
 801784c:	b8 40 08 00 	mv r1,r2                                       
 8017850:	34 02 00 02 	mvi r2,2                                       
 8017854:	fb ff d9 a9 	calli 800def8 <__ashlsi3>                      
 8017858:	b5 81 08 00 	add r1,r12,r1                                  
 801785c:	28 21 00 00 	lw r1,(r1+0)                                   
 8017860:	44 20 00 08 	be r1,r0,8017880 <_Objects_Get_no_protection+0x60><== NEVER TAKEN
      *location = OBJECTS_LOCAL;                                      
 8017864:	34 02 00 00 	mvi r2,0                                       
 8017868:	59 62 00 00 	sw (r11+0),r2                                  
   *  This isn't supported or required yet for Global objects so      
   *  if it isn't local, we don't find it.                            
   */                                                                 
  *location = OBJECTS_ERROR;                                          
  return NULL;                                                        
}                                                                     
 801786c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8017870:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8017874:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8017878:	37 9c 00 0c 	addi sp,sp,12                                  
 801787c:	c3 a0 00 00 	ret                                            
                                                                      
  /*                                                                  
   *  This isn't supported or required yet for Global objects so      
   *  if it isn't local, we don't find it.                            
   */                                                                 
  *location = OBJECTS_ERROR;                                          
 8017880:	34 01 00 01 	mvi r1,1                                       
 8017884:	59 61 00 00 	sw (r11+0),r1                                  
 8017888:	34 01 00 00 	mvi r1,0                                       
  return NULL;                                                        
}                                                                     
 801788c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8017890:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8017894:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8017898:	37 9c 00 0c 	addi sp,sp,12                                  
 801789c:	c3 a0 00 00 	ret                                            
                                                                      
0800b30c <_Objects_Id_to_name>:                                       
 */                                                                   
Objects_Name_or_id_lookup_errors _Objects_Id_to_name (                
  Objects_Id      id,                                                 
  Objects_Name   *name                                                
)                                                                     
{                                                                     
 800b30c:	37 9c ff ec 	addi sp,sp,-20                                 
 800b310:	5b 8b 00 10 	sw (sp+16),r11                                 
 800b314:	5b 8c 00 0c 	sw (sp+12),r12                                 
 800b318:	5b 8d 00 08 	sw (sp+8),r13                                  
 800b31c:	5b 9d 00 04 	sw (sp+4),ra                                   
 800b320:	b8 40 68 00 	mv r13,r2                                      
                                                                      
  /*                                                                  
   *  Caller is trusted for name != NULL.                             
   */                                                                 
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
 800b324:	b8 20 58 00 	mv r11,r1                                      
 800b328:	5c 20 00 05 	bne r1,r0,800b33c <_Objects_Id_to_name+0x30>   
 800b32c:	78 01 08 03 	mvhi r1,0x803                                  
 800b330:	38 21 12 00 	ori r1,r1,0x1200                               
 800b334:	28 21 00 00 	lw r1,(r1+0)                                   
 800b338:	28 2b 00 08 	lw r11,(r1+8)                                  
 */                                                                   
RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API(                   
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
 800b33c:	b9 60 08 00 	mv r1,r11                                      
 800b340:	34 02 00 18 	mvi r2,24                                      
 800b344:	fb ff d5 3f 	calli 8000840 <__lshrsi3>                      
 800b348:	20 21 00 07 	andi r1,r1,0x7                                 
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid(                      
  uint32_t   the_api                                                  
)                                                                     
{                                                                     
  if ( !the_api || the_api > OBJECTS_APIS_LAST )                      
 800b34c:	34 24 ff ff 	addi r4,r1,-1                                  
 800b350:	34 03 00 03 	mvi r3,3                                       
 800b354:	54 83 00 1e 	bgu r4,r3,800b3cc <_Objects_Id_to_name+0xc0>   
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
 800b358:	78 0c 08 03 	mvhi r12,0x803                                 
 800b35c:	34 02 00 02 	mvi r2,2                                       
 800b360:	39 8c 10 dc 	ori r12,r12,0x10dc                             
 800b364:	fb ff d5 0f 	calli 80007a0 <__ashlsi3>                      
 800b368:	b5 81 08 00 	add r1,r12,r1                                  
 800b36c:	28 2c 00 00 	lw r12,(r1+0)                                  
 800b370:	45 80 00 17 	be r12,r0,800b3cc <_Objects_Id_to_name+0xc0>   
    return OBJECTS_INVALID_ID;                                        
                                                                      
  the_class = _Objects_Get_class( tmpId );                            
                                                                      
  information = _Objects_Information_table[ the_api ][ the_class ];   
 800b374:	34 02 00 1b 	mvi r2,27                                      
 800b378:	b9 60 08 00 	mv r1,r11                                      
 800b37c:	fb ff d5 31 	calli 8000840 <__lshrsi3>                      
 800b380:	34 02 00 02 	mvi r2,2                                       
 800b384:	fb ff d5 07 	calli 80007a0 <__ashlsi3>                      
 800b388:	b5 81 08 00 	add r1,r12,r1                                  
 800b38c:	28 21 00 00 	lw r1,(r1+0)                                   
  if ( !information )                                                 
 800b390:	44 20 00 0f 	be r1,r0,800b3cc <_Objects_Id_to_name+0xc0>    <== NEVER TAKEN
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    if ( information->is_string )                                     
      return OBJECTS_INVALID_ID;                                      
  #endif                                                              
                                                                      
  the_object = _Objects_Get( information, tmpId, &ignored_location ); 
 800b394:	b9 60 10 00 	mv r2,r11                                      
 800b398:	37 83 00 14 	addi r3,sp,20                                  
 800b39c:	fb ff ff af 	calli 800b258 <_Objects_Get>                   
  if ( !the_object )                                                  
 800b3a0:	44 20 00 0b 	be r1,r0,800b3cc <_Objects_Id_to_name+0xc0>    
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
 800b3a4:	28 21 00 0c 	lw r1,(r1+12)                                  
 800b3a8:	59 a1 00 00 	sw (r13+0),r1                                  
  _Thread_Enable_dispatch();                                          
 800b3ac:	f8 00 02 ed 	calli 800bf60 <_Thread_Enable_dispatch>        
 800b3b0:	34 01 00 00 	mvi r1,0                                       
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
}                                                                     
 800b3b4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800b3b8:	2b 8b 00 10 	lw r11,(sp+16)                                 
 800b3bc:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 800b3c0:	2b 8d 00 08 	lw r13,(sp+8)                                  
 800b3c4:	37 9c 00 14 	addi sp,sp,20                                  
 800b3c8:	c3 a0 00 00 	ret                                            
  if ( !the_object )                                                  
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
  _Thread_Enable_dispatch();                                          
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
 800b3cc:	34 01 00 03 	mvi r1,3                                       
}                                                                     
 800b3d0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800b3d4:	2b 8b 00 10 	lw r11,(sp+16)                                 
 800b3d8:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 800b3dc:	2b 8d 00 08 	lw r13,(sp+8)                                  
 800b3e0:	37 9c 00 14 	addi sp,sp,20                                  
 800b3e4:	c3 a0 00 00 	ret                                            
                                                                      
08003d94 <_Objects_Initialize_information>:                           
  ,                                                                   
  bool                 supports_global,                               
  Objects_Thread_queue_Extract_callout extract                        
#endif                                                                
)                                                                     
{                                                                     
 8003d94:	37 9c ff e4 	addi sp,sp,-28                                 
 8003d98:	5b 8b 00 1c 	sw (sp+28),r11                                 
 8003d9c:	5b 8c 00 18 	sw (sp+24),r12                                 
 8003da0:	5b 8d 00 14 	sw (sp+20),r13                                 
 8003da4:	5b 8e 00 10 	sw (sp+16),r14                                 
 8003da8:	5b 8f 00 0c 	sw (sp+12),r15                                 
 8003dac:	5b 90 00 08 	sw (sp+8),r16                                  
 8003db0:	5b 9d 00 04 	sw (sp+4),ra                                   
  #endif                                                              
                                                                      
  information->the_api            = the_api;                          
  information->the_class          = the_class;                        
  information->size               = size;                             
  information->local_table        = 0;                                
 8003db4:	34 06 00 00 	mvi r6,0                                       
  ,                                                                   
  bool                 supports_global,                               
  Objects_Thread_queue_Extract_callout extract                        
#endif                                                                
)                                                                     
{                                                                     
 8003db8:	b8 20 58 00 	mv r11,r1                                      
 8003dbc:	20 a5 ff ff 	andi r5,r5,0xffff                              
 8003dc0:	b8 40 78 00 	mv r15,r2                                      
    uint32_t              index;                                      
  #endif                                                              
                                                                      
  information->the_api            = the_api;                          
  information->the_class          = the_class;                        
  information->size               = size;                             
 8003dc4:	58 25 00 18 	sw (r1+24),r5                                  
                                                                      
  /*                                                                  
   *  Set the maximum value to 0. It will be updated when objects are 
   *  added to the inactive set from _Objects_Extend_information()    
   */                                                                 
  information->maximum = 0;                                           
 8003dc8:	0c 26 00 10 	sh (r1+16),r6                                  
  #endif                                                              
                                                                      
  information->the_api            = the_api;                          
  information->the_class          = the_class;                        
  information->size               = size;                             
  information->local_table        = 0;                                
 8003dcc:	58 26 00 1c 	sw (r1+28),r6                                  
  information->inactive_per_block = 0;                                
 8003dd0:	58 26 00 30 	sw (r1+48),r6                                  
  information->object_blocks      = 0;                                
 8003dd4:	58 26 00 34 	sw (r1+52),r6                                  
  information->inactive           = 0;                                
 8003dd8:	0c 26 00 2c 	sh (r1+44),r6                                  
  #if defined(RTEMS_MULTIPROCESSING)                                  
    uint32_t              index;                                      
  #endif                                                              
                                                                      
  information->the_api            = the_api;                          
  information->the_class          = the_class;                        
 8003ddc:	0d 63 00 04 	sh (r11+4),r3                                  
  uint32_t                maximum_per_allocation;                     
  #if defined(RTEMS_MULTIPROCESSING)                                  
    uint32_t              index;                                      
  #endif                                                              
                                                                      
  information->the_api            = the_api;                          
 8003de0:	59 62 00 00 	sw (r11+0),r2                                  
  information->maximum = 0;                                           
                                                                      
  /*                                                                  
   *  Register this Object Class in the Object Information Table.     
   */                                                                 
  _Objects_Information_table[ the_api ][ the_class ] = information;   
 8003de4:	78 0d 08 01 	mvhi r13,0x801                                 
 8003de8:	34 02 00 02 	mvi r2,2                                       
 8003dec:	b9 e0 08 00 	mv r1,r15                                      
  ,                                                                   
  bool                 supports_global,                               
  Objects_Thread_queue_Extract_callout extract                        
#endif                                                                
)                                                                     
{                                                                     
 8003df0:	b8 80 60 00 	mv r12,r4                                      
 8003df4:	b8 60 70 00 	mv r14,r3                                      
 8003df8:	b8 e0 80 00 	mv r16,r7                                      
  information->maximum = 0;                                           
                                                                      
  /*                                                                  
   *  Register this Object Class in the Object Information Table.     
   */                                                                 
  _Objects_Information_table[ the_api ][ the_class ] = information;   
 8003dfc:	39 ad c7 bc 	ori r13,r13,0xc7bc                             
 8003e00:	fb ff f0 fc 	calli 80001f0 <__ashlsi3>                      
 8003e04:	b5 a1 08 00 	add r1,r13,r1                                  
 8003e08:	28 2d 00 00 	lw r13,(r1+0)                                  
 8003e0c:	34 02 00 02 	mvi r2,2                                       
 8003e10:	b9 c0 08 00 	mv r1,r14                                      
 8003e14:	fb ff f0 f7 	calli 80001f0 <__ashlsi3>                      
 8003e18:	b5 a1 08 00 	add r1,r13,r1                                  
 8003e1c:	58 2b 00 00 	sw (r1+0),r11                                  
                                                                      
  /*                                                                  
   *  Are we operating in limited or unlimited (e.g. auto-extend) mode.
   */                                                                 
  information->auto_extend =                                          
        (maximum & OBJECTS_UNLIMITED_OBJECTS) ? true : false;         
 8003e20:	34 02 00 1f 	mvi r2,31                                      
 8003e24:	b9 80 08 00 	mv r1,r12                                      
 8003e28:	fb ff f1 1a 	calli 8000290 <__lshrsi3>                      
 8003e2c:	20 22 00 ff 	andi r2,r1,0xff                                
  maximum_per_allocation = maximum & ~OBJECTS_UNLIMITED_OBJECTS;      
 8003e30:	78 05 7f ff 	mvhi r5,0x7fff                                 
 8003e34:	38 a5 ff ff 	ori r5,r5,0xffff                               
  _Objects_Information_table[ the_api ][ the_class ] = information;   
                                                                      
  /*                                                                  
   *  Are we operating in limited or unlimited (e.g. auto-extend) mode.
   */                                                                 
  information->auto_extend =                                          
 8003e38:	31 62 00 12 	sb (r11+18),r2                                 
        (maximum & OBJECTS_UNLIMITED_OBJECTS) ? true : false;         
  maximum_per_allocation = maximum & ~OBJECTS_UNLIMITED_OBJECTS;      
 8003e3c:	a1 85 60 00 	and r12,r12,r5                                 
                                                                      
  /*                                                                  
   *  Unlimited and maximum of zero is illogical.                     
   */                                                                 
  if ( information->auto_extend && maximum_per_allocation == 0) {     
 8003e40:	44 40 00 02 	be r2,r0,8003e48 <_Objects_Initialize_information+0xb4>
 8003e44:	45 80 00 2c 	be r12,r0,8003ef4 <_Objects_Initialize_information+0x160>
  information->allocation_size = maximum_per_allocation;              
                                                                      
  /*                                                                  
   *  Provide a null local table entry for the case of any empty table.
   */                                                                 
  information->local_table = &null_local_table;                       
 8003e48:	78 01 08 01 	mvhi r1,0x801                                  
 8003e4c:	38 21 c6 20 	ori r1,r1,0xc620                               
 8003e50:	59 61 00 1c 	sw (r11+28),r1                                 
                                                                      
  /*                                                                  
   *  Calculate minimum and maximum Id's                              
   */                                                                 
  minimum_index = (maximum_per_allocation == 0) ? 0 : 1;              
  information->minimum_id =                                           
 8003e54:	34 02 00 18 	mvi r2,24                                      
  }                                                                   
                                                                      
  /*                                                                  
   *  The allocation unit is the maximum value                        
   */                                                                 
  information->allocation_size = maximum_per_allocation;              
 8003e58:	0d 6c 00 14 	sh (r11+20),r12                                
                                                                      
  /*                                                                  
   *  Calculate minimum and maximum Id's                              
   */                                                                 
  minimum_index = (maximum_per_allocation == 0) ? 0 : 1;              
  information->minimum_id =                                           
 8003e5c:	b9 e0 08 00 	mv r1,r15                                      
 8003e60:	fb ff f0 e4 	calli 80001f0 <__ashlsi3>                      
 8003e64:	78 02 00 01 	mvhi r2,0x1                                    
 8003e68:	38 42 00 00 	ori r2,r2,0x0                                  
 8003e6c:	b8 22 68 00 	or r13,r1,r2                                   
 8003e70:	34 02 00 1b 	mvi r2,27                                      
 8003e74:	b9 c0 08 00 	mv r1,r14                                      
 8003e78:	fb ff f0 de 	calli 80001f0 <__ashlsi3>                      
 8003e7c:	7d 83 00 00 	cmpnei r3,r12,0                                
 8003e80:	b9 a1 08 00 	or r1,r13,r1                                   
 8003e84:	b8 23 08 00 	or r1,r1,r3                                    
 8003e88:	59 61 00 08 	sw (r11+8),r1                                  
  /*                                                                  
   *  Calculate the maximum name length                               
   */                                                                 
  name_length = maximum_name_length;                                  
                                                                      
  if ( name_length & (OBJECTS_NAME_ALIGNMENT-1) )                     
 8003e8c:	22 02 00 03 	andi r2,r16,0x3                                
 8003e90:	ba 00 08 00 	mv r1,r16                                      
 8003e94:	5c 40 00 14 	bne r2,r0,8003ee4 <_Objects_Initialize_information+0x150><== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 8003e98:	35 63 00 24 	addi r3,r11,36                                 
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
 8003e9c:	35 62 00 20 	addi r2,r11,32                                 
    name_length = (name_length + OBJECTS_NAME_ALIGNMENT) &            
                  ~(OBJECTS_NAME_ALIGNMENT-1);                        
                                                                      
  information->name_length = name_length;                             
 8003ea0:	0d 61 00 38 	sh (r11+56),r1                                 
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
 8003ea4:	34 01 00 00 	mvi r1,0                                       
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 8003ea8:	59 63 00 20 	sw (r11+32),r3                                 
  the_chain->permanent_null = NULL;                                   
 8003eac:	59 61 00 24 	sw (r11+36),r1                                 
  the_chain->last           = _Chain_Head(the_chain);                 
 8003eb0:	59 62 00 28 	sw (r11+40),r2                                 
  _Chain_Initialize_empty( &information->Inactive );                  
                                                                      
  /*                                                                  
   *  Initialize objects .. if there are any                          
   */                                                                 
  if ( maximum_per_allocation ) {                                     
 8003eb4:	45 81 00 03 	be r12,r1,8003ec0 <_Objects_Initialize_information+0x12c>
    /*                                                                
     *  Always have the maximum size available so the current performance
     *  figures are create are met.  If the user moves past the maximum
     *  number then a performance hit is taken.                       
     */                                                               
    _Objects_Extend_information( information );                       
 8003eb8:	b9 60 08 00 	mv r1,r11                                      
 8003ebc:	fb ff fe 84 	calli 80038cc <_Objects_Extend_information>    
	_Chain_Initialize_empty( &information->global_table[ index ] );      
     }                                                                
     else                                                             
       information->global_table = NULL;                              
  #endif                                                              
}                                                                     
 8003ec0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8003ec4:	2b 8b 00 1c 	lw r11,(sp+28)                                 
 8003ec8:	2b 8c 00 18 	lw r12,(sp+24)                                 
 8003ecc:	2b 8d 00 14 	lw r13,(sp+20)                                 
 8003ed0:	2b 8e 00 10 	lw r14,(sp+16)                                 
 8003ed4:	2b 8f 00 0c 	lw r15,(sp+12)                                 
 8003ed8:	2b 90 00 08 	lw r16,(sp+8)                                  
 8003edc:	37 9c 00 1c 	addi sp,sp,28                                  
 8003ee0:	c3 a0 00 00 	ret                                            
   *  Calculate the maximum name length                               
   */                                                                 
  name_length = maximum_name_length;                                  
                                                                      
  if ( name_length & (OBJECTS_NAME_ALIGNMENT-1) )                     
    name_length = (name_length + OBJECTS_NAME_ALIGNMENT) &            
 8003ee4:	36 10 00 04 	addi r16,r16,4                                 <== NOT EXECUTED
 8003ee8:	34 01 ff fc 	mvi r1,-4                                      <== NOT EXECUTED
 8003eec:	a2 01 08 00 	and r1,r16,r1                                  <== NOT EXECUTED
 8003ef0:	e3 ff ff ea 	bi 8003e98 <_Objects_Initialize_information+0x104><== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Unlimited and maximum of zero is illogical.                     
   */                                                                 
  if ( information->auto_extend && maximum_per_allocation == 0) {     
    _Internal_error_Occurred(                                         
 8003ef4:	b9 80 08 00 	mv r1,r12                                      
 8003ef8:	34 02 00 01 	mvi r2,1                                       
 8003efc:	34 03 00 14 	mvi r3,20                                      
 8003f00:	fb ff fd ff 	calli 80036fc <_Internal_error_Occurred>       
                                                                      
08003f80 <_Objects_Shrink_information>:                               
 */                                                                   
                                                                      
void _Objects_Shrink_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
 8003f80:	37 9c ff ec 	addi sp,sp,-20                                 
 8003f84:	5b 8b 00 14 	sw (sp+20),r11                                 
 8003f88:	5b 8c 00 10 	sw (sp+16),r12                                 
 8003f8c:	5b 8d 00 0c 	sw (sp+12),r13                                 
 8003f90:	5b 8e 00 08 	sw (sp+8),r14                                  
 8003f94:	5b 9d 00 04 	sw (sp+4),ra                                   
                                                                      
  /*                                                                  
   * Search the list to find block or chunk with all objects inactive.
   */                                                                 
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
 8003f98:	28 2c 00 08 	lw r12,(r1+8)                                  
  block_count = (information->maximum - index_base) /                 
 8003f9c:	2c 2d 00 14 	lhu r13,(r1+20)                                
 */                                                                   
                                                                      
void _Objects_Shrink_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
 8003fa0:	b8 20 70 00 	mv r14,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) /                 
 8003fa4:	2c 21 00 10 	lhu r1,(r1+16)                                 
                                                                      
  /*                                                                  
   * Search the list to find block or chunk with all objects inactive.
   */                                                                 
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
 8003fa8:	21 8c ff ff 	andi r12,r12,0xffff                            
  block_count = (information->maximum - index_base) /                 
 8003fac:	b9 a0 10 00 	mv r2,r13                                      
 8003fb0:	c8 2c 08 00 	sub r1,r1,r12                                  
 8003fb4:	f8 00 57 78 	calli 8019d94 <__udivsi3>                      
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
 8003fb8:	44 20 00 09 	be r1,r0,8003fdc <_Objects_Shrink_information+0x5c><== NEVER TAKEN
    if ( information->inactive_per_block[ block ] ==                  
 8003fbc:	29 c5 00 30 	lw r5,(r14+48)                                 
      information->object_blocks[ block ] = NULL;                     
      information->inactive_per_block[ block ] = 0;                   
                                                                      
      information->inactive -= information->allocation_size;          
                                                                      
      return;                                                         
 8003fc0:	34 0b 00 04 	mvi r11,4                                      
 8003fc4:	34 03 00 00 	mvi r3,0                                       
  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 ] ==                  
 8003fc8:	28 a2 00 00 	lw r2,(r5+0)                                   
 8003fcc:	45 a2 00 11 	be r13,r2,8004010 <_Objects_Shrink_information+0x90><== 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++ ) {                   
 8003fd0:	34 63 00 01 	addi r3,r3,1                                   
    if ( information->inactive_per_block[ block ] ==                  
 8003fd4:	b4 ab 10 00 	add r2,r5,r11                                  
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
 8003fd8:	54 23 00 08 	bgu r1,r3,8003ff8 <_Objects_Shrink_information+0x78>
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
  }                                                                   
}                                                                     
 8003fdc:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8003fe0:	2b 8b 00 14 	lw r11,(sp+20)                                 
 8003fe4:	2b 8c 00 10 	lw r12,(sp+16)                                 
 8003fe8:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 8003fec:	2b 8e 00 08 	lw r14,(sp+8)                                  
 8003ff0:	37 9c 00 14 	addi sp,sp,20                                  
 8003ff4:	c3 a0 00 00 	ret                                            
  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 ] ==                  
 8003ff8:	28 42 00 00 	lw r2,(r2+0)                                   
      information->inactive -= information->allocation_size;          
                                                                      
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
 8003ffc:	b5 8d 60 00 	add r12,r12,r13                                
 8004000:	35 64 00 04 	addi r4,r11,4                                  
  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 ] ==                  
 8004004:	45 a2 00 04 	be r13,r2,8004014 <_Objects_Shrink_information+0x94>
 8004008:	b8 80 58 00 	mv r11,r4                                      
 800400c:	e3 ff ff f1 	bi 8003fd0 <_Objects_Shrink_information+0x50>  
 8004010:	b8 60 58 00 	mv r11,r3                                      <== NOT EXECUTED
         information->allocation_size ) {                             
                                                                      
      /*                                                              
       *  Assume the Inactive chain is never empty at this point      
       */                                                             
      the_object = (Objects_Control *) information->Inactive.first;   
 8004014:	29 c1 00 20 	lw r1,(r14+32)                                 
                                                                      
      do {                                                            
         index = _Objects_Get_index( the_object->id );                
 8004018:	28 22 00 08 	lw r2,(r1+8)                                   
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
 800401c:	28 2d 00 00 	lw r13,(r1+0)                                  
       *  Assume the Inactive chain is never empty at this point      
       */                                                             
      the_object = (Objects_Control *) information->Inactive.first;   
                                                                      
      do {                                                            
         index = _Objects_Get_index( the_object->id );                
 8004020:	20 42 ff ff 	andi r2,r2,0xffff                              
         /*                                                           
          *  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) &&                                 
 8004024:	55 82 00 05 	bgu r12,r2,8004038 <_Objects_Shrink_information+0xb8>
             (index < (index_base + information->allocation_size))) { 
 8004028:	2d c3 00 14 	lhu r3,(r14+20)                                
 800402c:	b5 83 18 00 	add r3,r12,r3                                  
 8004030:	50 43 00 02 	bgeu r2,r3,8004038 <_Objects_Shrink_information+0xb8>
           _Chain_Extract( &extract_me->Node );                       
 8004034:	f8 00 12 63 	calli 80089c0 <_Chain_Extract>                 
         }                                                            
       }                                                              
       while ( the_object );                                          
 8004038:	45 a0 00 03 	be r13,r0,8004044 <_Objects_Shrink_information+0xc4>
 800403c:	b9 a0 08 00 	mv r1,r13                                      
 8004040:	e3 ff ff f6 	bi 8004018 <_Objects_Shrink_information+0x98>  
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
 8004044:	29 c1 00 34 	lw r1,(r14+52)                                 
 8004048:	b4 2b 08 00 	add r1,r1,r11                                  
 800404c:	28 21 00 00 	lw r1,(r1+0)                                   
 8004050:	f8 00 07 c0 	calli 8005f50 <_Workspace_Free>                
      information->object_blocks[ block ] = NULL;                     
      information->inactive_per_block[ block ] = 0;                   
                                                                      
      information->inactive -= information->allocation_size;          
 8004054:	2d c3 00 2c 	lhu r3,(r14+44)                                
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
      information->object_blocks[ block ] = NULL;                     
 8004058:	29 c1 00 34 	lw r1,(r14+52)                                 
      information->inactive_per_block[ block ] = 0;                   
 800405c:	29 c4 00 30 	lw r4,(r14+48)                                 
                                                                      
      information->inactive -= information->allocation_size;          
 8004060:	2d c2 00 14 	lhu r2,(r14+20)                                
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
      information->object_blocks[ block ] = NULL;                     
 8004064:	b4 2b 08 00 	add r1,r1,r11                                  
      information->inactive_per_block[ block ] = 0;                   
 8004068:	b4 8b 58 00 	add r11,r4,r11                                 
                                                                      
      information->inactive -= information->allocation_size;          
 800406c:	c8 62 10 00 	sub r2,r3,r2                                   
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
      information->object_blocks[ block ] = NULL;                     
      information->inactive_per_block[ block ] = 0;                   
 8004070:	59 6d 00 00 	sw (r11+0),r13                                 
                                                                      
      information->inactive -= information->allocation_size;          
 8004074:	0d c2 00 2c 	sh (r14+44),r2                                 
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
      information->object_blocks[ block ] = NULL;                     
 8004078:	58 2d 00 00 	sw (r1+0),r13                                  
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
  }                                                                   
}                                                                     
 800407c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8004080:	2b 8b 00 14 	lw r11,(sp+20)                                 
 8004084:	2b 8c 00 10 	lw r12,(sp+16)                                 
 8004088:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 800408c:	2b 8e 00 08 	lw r14,(sp+8)                                  
 8004090:	37 9c 00 14 	addi sp,sp,20                                  
 8004094:	c3 a0 00 00 	ret                                            
                                                                      
080026b4 <_RTEMS_tasks_Initialize_user_tasks_body>:                   
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _RTEMS_tasks_Initialize_user_tasks_body( void )                  
{                                                                     
 80026b4:	37 9c ff e8 	addi sp,sp,-24                                 
 80026b8:	5b 8b 00 14 	sw (sp+20),r11                                 
 80026bc:	5b 8c 00 10 	sw (sp+16),r12                                 
 80026c0:	5b 8d 00 0c 	sw (sp+12),r13                                 
 80026c4:	5b 8e 00 08 	sw (sp+8),r14                                  
 80026c8:	5b 9d 00 04 	sw (sp+4),ra                                   
  rtems_initialization_tasks_table *user_tasks;                       
                                                                      
  /*                                                                  
   *  Move information into local variables                           
   */                                                                 
  user_tasks = Configuration_RTEMS_API.User_initialization_tasks_table;
 80026cc:	78 01 08 01 	mvhi r1,0x801                                  
 80026d0:	38 21 c0 8c 	ori r1,r1,0xc08c                               
 80026d4:	28 2b 00 2c 	lw r11,(r1+44)                                 
  maximum    = Configuration_RTEMS_API.number_of_initialization_tasks;
 80026d8:	28 2e 00 28 	lw r14,(r1+40)                                 
                                                                      
  /*                                                                  
   *  Verify that we have a set of user tasks to iterate              
   */                                                                 
  if ( !user_tasks )                                                  
 80026dc:	45 60 00 15 	be r11,r0,8002730 <_RTEMS_tasks_Initialize_user_tasks_body+0x7c>
    return;                                                           
                                                                      
  /*                                                                  
   *  Now iterate over the initialization tasks and create/start them.
   */                                                                 
  for ( index=0 ; index < maximum ; index++ ) {                       
 80026e0:	45 c0 00 14 	be r14,r0,8002730 <_RTEMS_tasks_Initialize_user_tasks_body+0x7c><== NEVER TAKEN
 80026e4:	34 0c 00 00 	mvi r12,0                                      
    return_value = rtems_task_create(                                 
 80026e8:	29 61 00 00 	lw r1,(r11+0)                                  
 80026ec:	29 62 00 08 	lw r2,(r11+8)                                  
 80026f0:	29 63 00 04 	lw r3,(r11+4)                                  
 80026f4:	29 64 00 14 	lw r4,(r11+20)                                 
 80026f8:	29 65 00 0c 	lw r5,(r11+12)                                 
 80026fc:	37 86 00 18 	addi r6,sp,24                                  
 8002700:	fb ff ff 3a 	calli 80023e8 <rtems_task_create>              
 8002704:	b8 20 68 00 	mv r13,r1                                      
      user_tasks[ index ].stack_size,                                 
      user_tasks[ index ].mode_set,                                   
      user_tasks[ index ].attribute_set,                              
      &id                                                             
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
 8002708:	5c 20 00 11 	bne r1,r0,800274c <_RTEMS_tasks_Initialize_user_tasks_body+0x98>
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, true, return_value );
                                                                      
    return_value = rtems_task_start(                                  
 800270c:	29 63 00 18 	lw r3,(r11+24)                                 
 8002710:	2b 81 00 18 	lw r1,(sp+24)                                  
 8002714:	29 62 00 10 	lw r2,(r11+16)                                 
 8002718:	f8 00 00 14 	calli 8002768 <rtems_task_start>               
 800271c:	b8 20 18 00 	mv r3,r1                                       
      id,                                                             
      user_tasks[ index ].entry_point,                                
      user_tasks[ index ].argument                                    
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
 8002720:	5c 2d 00 0f 	bne r1,r13,800275c <_RTEMS_tasks_Initialize_user_tasks_body+0xa8>
    return;                                                           
                                                                      
  /*                                                                  
   *  Now iterate over the initialization tasks and create/start them.
   */                                                                 
  for ( index=0 ; index < maximum ; index++ ) {                       
 8002724:	35 8c 00 01 	addi r12,r12,1                                 
 8002728:	35 6b 00 1c 	addi r11,r11,28                                
 800272c:	55 cc ff ef 	bgu r14,r12,80026e8 <_RTEMS_tasks_Initialize_user_tasks_body+0x34><== NEVER TAKEN
      user_tasks[ index ].argument                                    
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, true, return_value );
  }                                                                   
}                                                                     
 8002730:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8002734:	2b 8b 00 14 	lw r11,(sp+20)                                 
 8002738:	2b 8c 00 10 	lw r12,(sp+16)                                 
 800273c:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 8002740:	2b 8e 00 08 	lw r14,(sp+8)                                  
 8002744:	37 9c 00 18 	addi sp,sp,24                                  
 8002748:	c3 a0 00 00 	ret                                            
      user_tasks[ index ].mode_set,                                   
      user_tasks[ index ].attribute_set,                              
      &id                                                             
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, true, return_value );
 800274c:	34 01 00 01 	mvi r1,1                                       
 8002750:	b9 a0 18 00 	mv r3,r13                                      
 8002754:	b8 20 10 00 	mv r2,r1                                       
 8002758:	f8 00 03 e9 	calli 80036fc <_Internal_error_Occurred>       
      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 );
 800275c:	34 01 00 01 	mvi r1,1                                       
 8002760:	b8 20 10 00 	mv r2,r1                                       
 8002764:	f8 00 03 e6 	calli 80036fc <_Internal_error_Occurred>       
                                                                      
080086cc <_RTEMS_tasks_Post_switch_extension>:                        
 */                                                                   
                                                                      
void _RTEMS_tasks_Post_switch_extension(                              
  Thread_Control *executing                                           
)                                                                     
{                                                                     
 80086cc:	37 9c ff f0 	addi sp,sp,-16                                 
 80086d0:	5b 8b 00 0c 	sw (sp+12),r11                                 
 80086d4:	5b 8c 00 08 	sw (sp+8),r12                                  
 80086d8:	5b 9d 00 04 	sw (sp+4),ra                                   
  RTEMS_API_Control *api;                                             
  ASR_Information   *asr;                                             
  rtems_signal_set   signal_set;                                      
  Modes_Control      prev_mode;                                       
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
 80086dc:	28 2b 01 24 	lw r11,(r1+292)                                
  if ( !api )                                                         
 80086e0:	45 60 00 1b 	be r11,r0,800874c <_RTEMS_tasks_Post_switch_extension+0x80><== NEVER TAKEN
   *  Signal Processing                                               
   */                                                                 
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
 80086e4:	90 00 10 00 	rcsr r2,IE                                     
 80086e8:	34 01 ff fe 	mvi r1,-2                                      
 80086ec:	a0 41 08 00 	and r1,r2,r1                                   
 80086f0:	d0 01 00 00 	wcsr IE,r1                                     
    signal_set = asr->signals_posted;                                 
    asr->signals_posted = 0;                                          
 80086f4:	34 01 00 00 	mvi r1,0                                       
   */                                                                 
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
    signal_set = asr->signals_posted;                                 
 80086f8:	29 6c 00 14 	lw r12,(r11+20)                                
    asr->signals_posted = 0;                                          
 80086fc:	59 61 00 14 	sw (r11+20),r1                                 
  _ISR_Enable( level );                                               
 8008700:	d0 02 00 00 	wcsr IE,r2                                     
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
 8008704:	45 80 00 12 	be r12,r0,800874c <_RTEMS_tasks_Post_switch_extension+0x80><== NEVER TAKEN
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
 8008708:	29 63 00 1c 	lw r3,(r11+28)                                 
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
 800870c:	29 61 00 10 	lw r1,(r11+16)                                 
 8008710:	38 02 ff ff 	mvu r2,0xffff                                  
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
 8008714:	34 63 00 01 	addi r3,r3,1                                   
 8008718:	59 63 00 1c 	sw (r11+28),r3                                 
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
 800871c:	37 83 00 10 	addi r3,sp,16                                  
 8008720:	f8 00 09 ca 	calli 800ae48 <rtems_task_mode>                
                                                                      
  (*asr->handler)( signal_set );                                      
 8008724:	29 62 00 0c 	lw r2,(r11+12)                                 
 8008728:	b9 80 08 00 	mv r1,r12                                      
 800872c:	d8 40 00 00 	call r2                                        
                                                                      
  asr->nest_level -= 1;                                               
 8008730:	29 63 00 1c 	lw r3,(r11+28)                                 
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
 8008734:	2b 81 00 10 	lw r1,(sp+16)                                  
 8008738:	38 02 ff ff 	mvu r2,0xffff                                  
  asr->nest_level += 1;                                               
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
                                                                      
  (*asr->handler)( signal_set );                                      
                                                                      
  asr->nest_level -= 1;                                               
 800873c:	34 63 ff ff 	addi r3,r3,-1                                  
 8008740:	59 63 00 1c 	sw (r11+28),r3                                 
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
 8008744:	37 83 00 10 	addi r3,sp,16                                  
 8008748:	f8 00 09 c0 	calli 800ae48 <rtems_task_mode>                
                                                                      
}                                                                     
 800874c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8008750:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8008754:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8008758:	37 9c 00 10 	addi sp,sp,16                                  
 800875c:	c3 a0 00 00 	ret                                            
                                                                      
08008600 <_RTEMS_tasks_Switch_extension>:                             
                                                                      
  /*                                                                  
   *  Per Task Variables                                              
   */                                                                 
                                                                      
  tvp = executing->task_variables;                                    
 8008600:	28 21 01 34 	lw r1,(r1+308)                                 
  while (tvp) {                                                       
 8008604:	44 20 00 08 	be r1,r0,8008624 <_RTEMS_tasks_Switch_extension+0x24>
    tvp->tval = *tvp->ptr;                                            
 8008608:	28 23 00 04 	lw r3,(r1+4)                                   
 800860c:	28 64 00 00 	lw r4,(r3+0)                                   
 8008610:	58 24 00 0c 	sw (r1+12),r4                                  
    *tvp->ptr = tvp->gval;                                            
 8008614:	28 24 00 08 	lw r4,(r1+8)                                   
    tvp = (rtems_task_variable_t *)tvp->next;                         
 8008618:	28 21 00 00 	lw r1,(r1+0)                                   
   */                                                                 
                                                                      
  tvp = executing->task_variables;                                    
  while (tvp) {                                                       
    tvp->tval = *tvp->ptr;                                            
    *tvp->ptr = tvp->gval;                                            
 800861c:	58 64 00 00 	sw (r3+0),r4                                   
  /*                                                                  
   *  Per Task Variables                                              
   */                                                                 
                                                                      
  tvp = executing->task_variables;                                    
  while (tvp) {                                                       
 8008620:	5c 20 ff fa 	bne r1,r0,8008608 <_RTEMS_tasks_Switch_extension+0x8><== NEVER TAKEN
    tvp->tval = *tvp->ptr;                                            
    *tvp->ptr = tvp->gval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
 8008624:	28 41 01 34 	lw r1,(r2+308)                                 
  while (tvp) {                                                       
 8008628:	44 20 00 08 	be r1,r0,8008648 <_RTEMS_tasks_Switch_extension+0x48>
    tvp->gval = *tvp->ptr;                                            
 800862c:	28 22 00 04 	lw r2,(r1+4)                                   
    *tvp->ptr = tvp->tval;                                            
 8008630:	28 24 00 0c 	lw r4,(r1+12)                                  
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
  while (tvp) {                                                       
    tvp->gval = *tvp->ptr;                                            
 8008634:	28 43 00 00 	lw r3,(r2+0)                                   
 8008638:	58 23 00 08 	sw (r1+8),r3                                   
    *tvp->ptr = tvp->tval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
 800863c:	28 21 00 00 	lw r1,(r1+0)                                   
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
  while (tvp) {                                                       
    tvp->gval = *tvp->ptr;                                            
    *tvp->ptr = tvp->tval;                                            
 8008640:	58 44 00 00 	sw (r2+0),r4                                   
    *tvp->ptr = tvp->gval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
  while (tvp) {                                                       
 8008644:	5c 20 ff fa 	bne r1,r0,800862c <_RTEMS_tasks_Switch_extension+0x2c><== NEVER TAKEN
 8008648:	c3 a0 00 00 	ret                                            
                                                                      
08040b6c <_Rate_monotonic_Timeout>:                                   
                                                                      
void _Rate_monotonic_Timeout(                                         
  Objects_Id  id,                                                     
  void       *ignored                                                 
)                                                                     
{                                                                     
 8040b6c:	37 9c ff f4 	addi sp,sp,-12                                 
 8040b70:	5b 8b 00 08 	sw (sp+8),r11                                  
 8040b74:	5b 9d 00 04 	sw (sp+4),ra                                   
 8040b78:	b8 20 10 00 	mv r2,r1                                       
 8040b7c:	78 01 08 07 	mvhi r1,0x807                                  
 8040b80:	38 21 54 9c 	ori r1,r1,0x549c                               
 8040b84:	37 83 00 0c 	addi r3,sp,12                                  
 8040b88:	fb ff 28 94 	calli 800add8 <_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 ) {                                               
 8040b8c:	2b 82 00 0c 	lw r2,(sp+12)                                  
 8040b90:	b8 20 58 00 	mv r11,r1                                      
 8040b94:	44 40 00 05 	be r2,r0,8040ba8 <_Rate_monotonic_Timeout+0x3c><== ALWAYS TAKEN
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
 8040b98:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8040b9c:	2b 8b 00 08 	lw r11,(sp+8)                                  <== NOT EXECUTED
 8040ba0:	37 9c 00 0c 	addi sp,sp,12                                  <== NOT EXECUTED
 8040ba4:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
   */                                                                 
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      the_thread = the_period->owner;                                 
 8040ba8:	28 21 00 40 	lw r1,(r1+64)                                  
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
 8040bac:	28 23 00 10 	lw r3,(r1+16)                                  
 8040bb0:	20 63 40 00 	andi r3,r3,0x4000                              
 8040bb4:	44 62 00 04 	be r3,r2,8040bc4 <_Rate_monotonic_Timeout+0x58>
            the_thread->Wait.id == the_period->Object.id ) {          
 8040bb8:	28 23 00 20 	lw r3,(r1+32)                                  
 8040bbc:	29 62 00 08 	lw r2,(r11+8)                                  
 8040bc0:	44 62 00 1a 	be r3,r2,8040c28 <_Rate_monotonic_Timeout+0xbc>
        _Thread_Unblock( the_thread );                                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
 8040bc4:	29 62 00 38 	lw r2,(r11+56)                                 
 8040bc8:	34 01 00 01 	mvi r1,1                                       
 8040bcc:	44 41 00 0c 	be r2,r1,8040bfc <_Rate_monotonic_Timeout+0x90><== NEVER TAKEN
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else                                                          
        the_period->state = RATE_MONOTONIC_EXPIRED;                   
 8040bd0:	34 01 00 04 	mvi r1,4                                       
 8040bd4:	59 61 00 38 	sw (r11+56),r1                                 
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
 8040bd8:	78 01 08 07 	mvhi r1,0x807                                  
 8040bdc:	38 21 50 24 	ori r1,r1,0x5024                               
 8040be0:	28 22 00 00 	lw r2,(r1+0)                                   
 8040be4:	34 42 ff ff 	addi r2,r2,-1                                  
 8040be8:	58 22 00 00 	sw (r1+0),r2                                   
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
 8040bec:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8040bf0:	2b 8b 00 08 	lw r11,(sp+8)                                  
 8040bf4:	37 9c 00 0c 	addi sp,sp,12                                  
 8040bf8:	c3 a0 00 00 	ret                                            
                                                                      
        _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;    
 8040bfc:	34 01 00 03 	mvi r1,3                                       <== NOT EXECUTED
 8040c00:	59 61 00 38 	sw (r11+56),r1                                 <== NOT EXECUTED
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
 8040c04:	b9 60 08 00 	mv r1,r11                                      
 8040c08:	fb ff fe a7 	calli 80406a4 <_Rate_monotonic_Initiate_statistics>
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 8040c0c:	29 61 00 3c 	lw r1,(r11+60)                                 
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 8040c10:	35 62 00 10 	addi r2,r11,16                                 
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 8040c14:	59 61 00 1c 	sw (r11+28),r1                                 
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 8040c18:	78 01 08 07 	mvhi r1,0x807                                  
 8040c1c:	38 21 51 00 	ori r1,r1,0x5100                               
 8040c20:	fb ff 30 81 	calli 800ce24 <_Watchdog_Insert>               
 8040c24:	e3 ff ff ed 	bi 8040bd8 <_Rate_monotonic_Timeout+0x6c>      
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
 8040c28:	78 02 10 03 	mvhi r2,0x1003                                 
 8040c2c:	38 42 ff f8 	ori r2,r2,0xfff8                               
 8040c30:	fb ff b5 51 	calli 802e174 <_Thread_Clear_state>            
 8040c34:	e3 ff ff f4 	bi 8040c04 <_Rate_monotonic_Timeout+0x98>      
                                                                      
08040838 <_Rate_monotonic_Update_statistics>:                         
}                                                                     
                                                                      
void _Rate_monotonic_Update_statistics(                               
  Rate_monotonic_Control    *the_period                               
)                                                                     
{                                                                     
 8040838:	37 9c ff e0 	addi sp,sp,-32                                 
 804083c:	5b 8b 00 10 	sw (sp+16),r11                                 
 8040840:	5b 8c 00 0c 	sw (sp+12),r12                                 
 8040844:	5b 8d 00 08 	sw (sp+8),r13                                  
 8040848:	5b 9d 00 04 	sw (sp+4),ra                                   
 804084c:	b8 20 58 00 	mv r11,r1                                      
                                                                      
  /*                                                                  
   *  Update the counts.                                              
   */                                                                 
  stats = &the_period->Statistics;                                    
  stats->count++;                                                     
 8040850:	28 21 00 54 	lw r1,(r1+84)                                  
                                                                      
  if ( the_period->state == RATE_MONOTONIC_EXPIRED )                  
 8040854:	29 62 00 38 	lw r2,(r11+56)                                 
                                                                      
  /*                                                                  
   *  Update the counts.                                              
   */                                                                 
  stats = &the_period->Statistics;                                    
  stats->count++;                                                     
 8040858:	34 21 00 01 	addi r1,r1,1                                   
 804085c:	59 61 00 54 	sw (r11+84),r1                                 
                                                                      
  if ( the_period->state == RATE_MONOTONIC_EXPIRED )                  
 8040860:	34 01 00 04 	mvi r1,4                                       
 8040864:	44 41 00 36 	be r2,r1,804093c <_Rate_monotonic_Update_statistics+0x104>
                                                                      
  /*                                                                  
   *  Grab status for time statistics.                                
   */                                                                 
  valid_status =                                                      
    _Rate_monotonic_Get_status( the_period, &since_last_period, &executed );
 8040868:	37 8c 00 14 	addi r12,sp,20                                 
 804086c:	37 8d 00 1c 	addi r13,sp,28                                 
 8040870:	b9 60 08 00 	mv r1,r11                                      
 8040874:	b9 80 10 00 	mv r2,r12                                      
 8040878:	b9 a0 18 00 	mv r3,r13                                      
 804087c:	fb ff ff b5 	calli 8040750 <_Rate_monotonic_Get_status>     
  if (!valid_status)                                                  
 8040880:	5c 20 00 07 	bne r1,r0,804089c <_Rate_monotonic_Update_statistics+0x64><== ALWAYS TAKEN
      stats->min_wall_time = since_last_period;                       
                                                                      
    if ( since_last_period > stats->max_wall_time )                   
      stats->max_wall_time = since_last_period;                       
  #endif                                                              
}                                                                     
 8040884:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8040888:	2b 8b 00 10 	lw r11,(sp+16)                                 
 804088c:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8040890:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8040894:	37 9c 00 20 	addi sp,sp,32                                  
 8040898:	c3 a0 00 00 	ret                                            
                                                                      
  /*                                                                  
   *  Update CPU time                                                 
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Add_to( &stats->total_cpu_time, &executed );           
 804089c:	b9 a0 10 00 	mv r2,r13                                      
 80408a0:	35 61 00 6c 	addi r1,r11,108                                
 80408a4:	fb ff 30 37 	calli 800c980 <_Timespec_Add_to>               
                                                                      
    if ( _Timestamp_Less_than( &executed, &stats->min_cpu_time ) )    
 80408a8:	b9 a0 08 00 	mv r1,r13                                      
 80408ac:	35 62 00 5c 	addi r2,r11,92                                 
 80408b0:	f8 00 03 1b 	calli 804151c <_Timespec_Less_than>            
 80408b4:	44 20 00 05 	be r1,r0,80408c8 <_Rate_monotonic_Update_statistics+0x90>
      stats->min_cpu_time = executed;                                 
 80408b8:	2b 81 00 1c 	lw r1,(sp+28)                                  
 80408bc:	59 61 00 5c 	sw (r11+92),r1                                 
 80408c0:	2b 81 00 20 	lw r1,(sp+32)                                  
 80408c4:	59 61 00 60 	sw (r11+96),r1                                 
                                                                      
    if ( _Timestamp_Greater_than( &executed, &stats->max_cpu_time ) ) 
 80408c8:	b9 a0 08 00 	mv r1,r13                                      
 80408cc:	35 62 00 64 	addi r2,r11,100                                
 80408d0:	f8 00 03 07 	calli 80414ec <_Timespec_Greater_than>         
 80408d4:	44 20 00 05 	be r1,r0,80408e8 <_Rate_monotonic_Update_statistics+0xb0>
      stats->max_cpu_time = executed;                                 
 80408d8:	2b 81 00 1c 	lw r1,(sp+28)                                  
 80408dc:	59 61 00 64 	sw (r11+100),r1                                
 80408e0:	2b 81 00 20 	lw r1,(sp+32)                                  
 80408e4:	59 61 00 68 	sw (r11+104),r1                                
                                                                      
  /*                                                                  
   *  Update Wall time                                                
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Add_to( &stats->total_wall_time, &since_last_period ); 
 80408e8:	b9 80 10 00 	mv r2,r12                                      
 80408ec:	35 61 00 84 	addi r1,r11,132                                
 80408f0:	fb ff 30 24 	calli 800c980 <_Timespec_Add_to>               
                                                                      
    if ( _Timestamp_Less_than( &since_last_period, &stats->min_wall_time ) )
 80408f4:	b9 80 08 00 	mv r1,r12                                      
 80408f8:	35 62 00 74 	addi r2,r11,116                                
 80408fc:	f8 00 03 08 	calli 804151c <_Timespec_Less_than>            
 8040900:	5c 20 00 13 	bne r1,r0,804094c <_Rate_monotonic_Update_statistics+0x114>
      stats->min_wall_time = since_last_period;                       
                                                                      
    if ( _Timestamp_Greater_than( &since_last_period, &stats->max_wall_time ) )
 8040904:	b9 80 08 00 	mv r1,r12                                      
 8040908:	35 62 00 7c 	addi r2,r11,124                                
 804090c:	f8 00 02 f8 	calli 80414ec <_Timespec_Greater_than>         
 8040910:	44 20 ff dd 	be r1,r0,8040884 <_Rate_monotonic_Update_statistics+0x4c>
      stats->max_wall_time = since_last_period;                       
 8040914:	2b 81 00 18 	lw r1,(sp+24)                                  
 8040918:	59 61 00 80 	sw (r11+128),r1                                
 804091c:	2b 81 00 14 	lw r1,(sp+20)                                  
 8040920:	59 61 00 7c 	sw (r11+124),r1                                
      stats->min_wall_time = since_last_period;                       
                                                                      
    if ( since_last_period > stats->max_wall_time )                   
      stats->max_wall_time = since_last_period;                       
  #endif                                                              
}                                                                     
 8040924:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8040928:	2b 8b 00 10 	lw r11,(sp+16)                                 
 804092c:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8040930:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8040934:	37 9c 00 20 	addi sp,sp,32                                  
 8040938:	c3 a0 00 00 	ret                                            
   */                                                                 
  stats = &the_period->Statistics;                                    
  stats->count++;                                                     
                                                                      
  if ( the_period->state == RATE_MONOTONIC_EXPIRED )                  
    stats->missed_count++;                                            
 804093c:	29 61 00 58 	lw r1,(r11+88)                                 
 8040940:	34 21 00 01 	addi r1,r1,1                                   
 8040944:	59 61 00 58 	sw (r11+88),r1                                 
 8040948:	e3 ff ff c8 	bi 8040868 <_Rate_monotonic_Update_statistics+0x30>
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Add_to( &stats->total_wall_time, &since_last_period ); 
                                                                      
    if ( _Timestamp_Less_than( &since_last_period, &stats->min_wall_time ) )
      stats->min_wall_time = since_last_period;                       
 804094c:	2b 81 00 14 	lw r1,(sp+20)                                  
 8040950:	59 61 00 74 	sw (r11+116),r1                                
 8040954:	2b 81 00 18 	lw r1,(sp+24)                                  
 8040958:	59 61 00 78 	sw (r11+120),r1                                
 804095c:	e3 ff ff ea 	bi 8040904 <_Rate_monotonic_Update_statistics+0xcc>
                                                                      
08008c74 <_TOD_Get>:                                                  
 */                                                                   
                                                                      
void _TOD_Get(                                                        
  struct timespec *time                                               
)                                                                     
{                                                                     
 8008c74:	37 9c ff e4 	addi sp,sp,-28                                 
 8008c78:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8008c7c:	5b 8c 00 08 	sw (sp+8),r12                                  
 8008c80:	5b 9d 00 04 	sw (sp+4),ra                                   
 8008c84:	b8 20 58 00 	mv r11,r1                                      
                                                                      
  /* assume time checked for NULL by caller */                        
                                                                      
  /* _TOD_Now is the native current time */                           
  nanoseconds = 0;                                                    
  _ISR_Disable( level );                                              
 8008c88:	90 00 60 00 	rcsr r12,IE                                    
 8008c8c:	34 01 ff fe 	mvi r1,-2                                      
 8008c90:	a1 81 08 00 	and r1,r12,r1                                  
 8008c94:	d0 01 00 00 	wcsr IE,r1                                     
    now = _TOD_Now;                                                   
 8008c98:	78 02 08 01 	mvhi r2,0x801                                  
 8008c9c:	38 42 c8 b4 	ori r2,r2,0xc8b4                               
    if ( _Watchdog_Nanoseconds_since_tick_handler )                   
 8008ca0:	78 03 08 01 	mvhi r3,0x801                                  
  /* assume time checked for NULL by caller */                        
                                                                      
  /* _TOD_Now is the native current time */                           
  nanoseconds = 0;                                                    
  _ISR_Disable( level );                                              
    now = _TOD_Now;                                                   
 8008ca4:	28 41 00 04 	lw r1,(r2+4)                                   
    if ( _Watchdog_Nanoseconds_since_tick_handler )                   
 8008ca8:	38 63 c9 c4 	ori r3,r3,0xc9c4                               
  /* assume time checked for NULL by caller */                        
                                                                      
  /* _TOD_Now is the native current time */                           
  nanoseconds = 0;                                                    
  _ISR_Disable( level );                                              
    now = _TOD_Now;                                                   
 8008cac:	28 42 00 00 	lw r2,(r2+0)                                   
    if ( _Watchdog_Nanoseconds_since_tick_handler )                   
 8008cb0:	28 63 00 00 	lw r3,(r3+0)                                   
  /* assume time checked for NULL by caller */                        
                                                                      
  /* _TOD_Now is the native current time */                           
  nanoseconds = 0;                                                    
  _ISR_Disable( level );                                              
    now = _TOD_Now;                                                   
 8008cb4:	5b 81 00 14 	sw (sp+20),r1                                  
 8008cb8:	5b 82 00 10 	sw (sp+16),r2                                  
    if ( _Watchdog_Nanoseconds_since_tick_handler )                   
 8008cbc:	b8 60 20 00 	mv r4,r3                                       
 8008cc0:	44 60 00 03 	be r3,r0,8008ccc <_TOD_Get+0x58>               <== ALWAYS TAKEN
      nanoseconds = (*_Watchdog_Nanoseconds_since_tick_handler)();    
 8008cc4:	d8 60 00 00 	call r3                                        <== NOT EXECUTED
 8008cc8:	b8 20 20 00 	mv r4,r1                                       <== NOT EXECUTED
  _ISR_Enable( level );                                               
 8008ccc:	d0 0c 00 00 	wcsr IE,r12                                    
                                                                      
  _Timestamp_Set( &offset, 0, nanoseconds );                          
 8008cd0:	34 03 00 00 	mvi r3,0                                       
  _Timestamp_Add_to( &now, &offset );                                 
 8008cd4:	37 81 00 10 	addi r1,sp,16                                  
 8008cd8:	37 82 00 18 	addi r2,sp,24                                  
    now = _TOD_Now;                                                   
    if ( _Watchdog_Nanoseconds_since_tick_handler )                   
      nanoseconds = (*_Watchdog_Nanoseconds_since_tick_handler)();    
  _ISR_Enable( level );                                               
                                                                      
  _Timestamp_Set( &offset, 0, nanoseconds );                          
 8008cdc:	5b 83 00 18 	sw (sp+24),r3                                  
 8008ce0:	5b 84 00 1c 	sw (sp+28),r4                                  
  _Timestamp_Add_to( &now, &offset );                                 
 8008ce4:	fb ff f2 7e 	calli 80056dc <_Timespec_Add_to>               
  _Timestamp_To_timespec( &now, time );                               
 8008ce8:	2b 81 00 14 	lw r1,(sp+20)                                  
 8008cec:	59 61 00 04 	sw (r11+4),r1                                  
 8008cf0:	2b 81 00 10 	lw r1,(sp+16)                                  
 8008cf4:	59 61 00 00 	sw (r11+0),r1                                  
}                                                                     
 8008cf8:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8008cfc:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8008d00:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8008d04:	37 9c 00 1c 	addi sp,sp,28                                  
 8008d08:	c3 a0 00 00 	ret                                            
                                                                      
08008d0c <_TOD_Get_uptime>:                                           
 */                                                                   
                                                                      
void _TOD_Get_uptime(                                                 
  Timestamp_Control *uptime                                           
)                                                                     
{                                                                     
 8008d0c:	37 9c ff e4 	addi sp,sp,-28                                 
 8008d10:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8008d14:	5b 8c 00 08 	sw (sp+8),r12                                  
 8008d18:	5b 9d 00 04 	sw (sp+4),ra                                   
 8008d1c:	b8 20 58 00 	mv r11,r1                                      
                                                                      
  /* assume time checked for NULL by caller */                        
                                                                      
  /* _TOD_Uptime is in native timestamp format */                     
  nanoseconds = 0;                                                    
  _ISR_Disable( level );                                              
 8008d20:	90 00 60 00 	rcsr r12,IE                                    
 8008d24:	34 01 ff fe 	mvi r1,-2                                      
 8008d28:	a1 81 08 00 	and r1,r12,r1                                  
 8008d2c:	d0 01 00 00 	wcsr IE,r1                                     
    up = _TOD_Uptime;                                                 
 8008d30:	78 02 08 01 	mvhi r2,0x801                                  
 8008d34:	38 42 c8 a4 	ori r2,r2,0xc8a4                               
    if ( _Watchdog_Nanoseconds_since_tick_handler )                   
 8008d38:	78 03 08 01 	mvhi r3,0x801                                  
  /* assume time checked for NULL by caller */                        
                                                                      
  /* _TOD_Uptime is in native timestamp format */                     
  nanoseconds = 0;                                                    
  _ISR_Disable( level );                                              
    up = _TOD_Uptime;                                                 
 8008d3c:	28 41 00 04 	lw r1,(r2+4)                                   
    if ( _Watchdog_Nanoseconds_since_tick_handler )                   
 8008d40:	38 63 c9 c4 	ori r3,r3,0xc9c4                               
  /* assume time checked for NULL by caller */                        
                                                                      
  /* _TOD_Uptime is in native timestamp format */                     
  nanoseconds = 0;                                                    
  _ISR_Disable( level );                                              
    up = _TOD_Uptime;                                                 
 8008d44:	28 42 00 00 	lw r2,(r2+0)                                   
    if ( _Watchdog_Nanoseconds_since_tick_handler )                   
 8008d48:	28 63 00 00 	lw r3,(r3+0)                                   
  /* assume time checked for NULL by caller */                        
                                                                      
  /* _TOD_Uptime is in native timestamp format */                     
  nanoseconds = 0;                                                    
  _ISR_Disable( level );                                              
    up = _TOD_Uptime;                                                 
 8008d4c:	5b 81 00 14 	sw (sp+20),r1                                  
 8008d50:	5b 82 00 10 	sw (sp+16),r2                                  
    if ( _Watchdog_Nanoseconds_since_tick_handler )                   
 8008d54:	b8 60 20 00 	mv r4,r3                                       
 8008d58:	44 60 00 03 	be r3,r0,8008d64 <_TOD_Get_uptime+0x58>        <== ALWAYS TAKEN
      nanoseconds = (*_Watchdog_Nanoseconds_since_tick_handler)();    
 8008d5c:	d8 60 00 00 	call r3                                        <== NOT EXECUTED
 8008d60:	b8 20 20 00 	mv r4,r1                                       <== NOT EXECUTED
  _ISR_Enable( level );                                               
 8008d64:	d0 0c 00 00 	wcsr IE,r12                                    
                                                                      
  _Timestamp_Set( &offset, 0, nanoseconds );                          
 8008d68:	34 03 00 00 	mvi r3,0                                       
  _Timestamp_Add_to( &up, &offset );                                  
 8008d6c:	37 81 00 10 	addi r1,sp,16                                  
 8008d70:	37 82 00 18 	addi r2,sp,24                                  
    up = _TOD_Uptime;                                                 
    if ( _Watchdog_Nanoseconds_since_tick_handler )                   
      nanoseconds = (*_Watchdog_Nanoseconds_since_tick_handler)();    
  _ISR_Enable( level );                                               
                                                                      
  _Timestamp_Set( &offset, 0, nanoseconds );                          
 8008d74:	5b 83 00 18 	sw (sp+24),r3                                  
 8008d78:	5b 84 00 1c 	sw (sp+28),r4                                  
  _Timestamp_Add_to( &up, &offset );                                  
 8008d7c:	fb ff f2 58 	calli 80056dc <_Timespec_Add_to>               
  *uptime = up;                                                       
 8008d80:	2b 81 00 14 	lw r1,(sp+20)                                  
 8008d84:	59 61 00 04 	sw (r11+4),r1                                  
 8008d88:	2b 81 00 10 	lw r1,(sp+16)                                  
 8008d8c:	59 61 00 00 	sw (r11+0),r1                                  
}                                                                     
 8008d90:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8008d94:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8008d98:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8008d9c:	37 9c 00 1c 	addi sp,sp,28                                  
 8008da0:	c3 a0 00 00 	ret                                            
                                                                      
080031e8 <_TOD_Tickle_ticks>:                                         
 *                                                                    
 *  Output parameters: NONE                                           
 */                                                                   
                                                                      
void _TOD_Tickle_ticks( void )                                        
{                                                                     
 80031e8:	37 9c ff ec 	addi sp,sp,-20                                 
 80031ec:	5b 8b 00 0c 	sw (sp+12),r11                                 
 80031f0:	5b 8c 00 08 	sw (sp+8),r12                                  
 80031f4:	5b 9d 00 04 	sw (sp+4),ra                                   
  Timestamp_Control tick;                                             
  uint32_t          seconds;                                          
                                                                      
  /* Convert the tick quantum to a timestamp */                       
  _Timestamp_Set( &tick, 0, rtems_configuration_get_nanoseconds_per_tick() );
 80031f8:	78 01 08 01 	mvhi r1,0x801                                  
 80031fc:	38 21 c0 c4 	ori r1,r1,0xc0c4                               
 8003200:	28 21 00 0c 	lw r1,(r1+12)                                  
 8003204:	34 03 00 00 	mvi r3,0                                       
 8003208:	34 02 03 e8 	mvi r2,1000                                    
 800320c:	5b 83 00 10 	sw (sp+16),r3                                  
 8003210:	f8 00 5a 62 	calli 8019b98 <__mulsi3>                       
                                                                      
  /* Update the counter of ticks since boot */                        
  _Watchdog_Ticks_since_boot += 1;                                    
 8003214:	78 03 08 01 	mvhi r3,0x801                                  
 8003218:	38 63 c9 74 	ori r3,r3,0xc974                               
 800321c:	28 64 00 00 	lw r4,(r3+0)                                   
                                                                      
  /* Update the timespec format uptime */                             
  _Timestamp_Add_to( &_TOD_Uptime, &tick );                           
 8003220:	37 8b 00 10 	addi r11,sp,16                                 
{                                                                     
  Timestamp_Control tick;                                             
  uint32_t          seconds;                                          
                                                                      
  /* Convert the tick quantum to a timestamp */                       
  _Timestamp_Set( &tick, 0, rtems_configuration_get_nanoseconds_per_tick() );
 8003224:	5b 81 00 14 	sw (sp+20),r1                                  
                                                                      
  /* Update the counter of ticks since boot */                        
  _Watchdog_Ticks_since_boot += 1;                                    
 8003228:	34 84 00 01 	addi r4,r4,1                                   
                                                                      
  /* Update the timespec format uptime */                             
  _Timestamp_Add_to( &_TOD_Uptime, &tick );                           
 800322c:	78 01 08 01 	mvhi r1,0x801                                  
 8003230:	b9 60 10 00 	mv r2,r11                                      
                                                                      
  /* Convert the tick quantum to a timestamp */                       
  _Timestamp_Set( &tick, 0, rtems_configuration_get_nanoseconds_per_tick() );
                                                                      
  /* Update the counter of ticks since boot */                        
  _Watchdog_Ticks_since_boot += 1;                                    
 8003234:	58 64 00 00 	sw (r3+0),r4                                   
                                                                      
  /* Update the timespec format uptime */                             
  _Timestamp_Add_to( &_TOD_Uptime, &tick );                           
 8003238:	38 21 c8 a4 	ori r1,r1,0xc8a4                               
 800323c:	f8 00 09 28 	calli 80056dc <_Timespec_Add_to>               
  /* we do not care how much the uptime changed */                    
                                                                      
  /* Update the timespec format TOD */                                
  seconds = _Timestamp_Add_to_at_tick( &_TOD_Now, &tick );            
 8003240:	78 01 08 01 	mvhi r1,0x801                                  
 8003244:	b9 60 10 00 	mv r2,r11                                      
 8003248:	38 21 c8 b4 	ori r1,r1,0xc8b4                               
 800324c:	f8 00 09 24 	calli 80056dc <_Timespec_Add_to>               
 8003250:	b8 20 58 00 	mv r11,r1                                      
  while ( seconds ) {                                                 
 8003254:	44 20 00 07 	be r1,r0,8003270 <_TOD_Tickle_ticks+0x88>      
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Watchdog_Tickle_seconds( void )            
{                                                                     
                                                                      
  _Watchdog_Tickle( &_Watchdog_Seconds_chain );                       
 8003258:	78 0c 08 01 	mvhi r12,0x801                                 
 800325c:	b9 80 08 00 	mv r1,r12                                      
    _Watchdog_Tickle_seconds();                                       
    seconds--;                                                        
 8003260:	35 6b ff ff 	addi r11,r11,-1                                
 8003264:	38 21 c8 f4 	ori r1,r1,0xc8f4                               
 8003268:	f8 00 0a e4 	calli 8005df8 <_Watchdog_Tickle>               
  _Timestamp_Add_to( &_TOD_Uptime, &tick );                           
  /* we do not care how much the uptime changed */                    
                                                                      
  /* Update the timespec format TOD */                                
  seconds = _Timestamp_Add_to_at_tick( &_TOD_Now, &tick );            
  while ( seconds ) {                                                 
 800326c:	5d 60 ff fc 	bne r11,r0,800325c <_TOD_Tickle_ticks+0x74>    <== NEVER TAKEN
    _Watchdog_Tickle_seconds();                                       
    seconds--;                                                        
  }                                                                   
}                                                                     
 8003270:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8003274:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8003278:	2b 8c 00 08 	lw r12,(sp+8)                                  
 800327c:	37 9c 00 14 	addi sp,sp,20                                  
 8003280:	c3 a0 00 00 	ret                                            
                                                                      
08003a50 <_TOD_Validate>:                                             
 */                                                                   
                                                                      
bool _TOD_Validate(                                                   
  const rtems_time_of_day *the_tod                                    
)                                                                     
{                                                                     
 8003a50:	37 9c ff f4 	addi sp,sp,-12                                 
 8003a54:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8003a58:	5b 8c 00 08 	sw (sp+8),r12                                  
 8003a5c:	5b 9d 00 04 	sw (sp+4),ra                                   
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
 8003a60:	78 02 08 02 	mvhi r2,0x802                                  
 8003a64:	38 42 30 c4 	ori r2,r2,0x30c4                               
 */                                                                   
                                                                      
bool _TOD_Validate(                                                   
  const rtems_time_of_day *the_tod                                    
)                                                                     
{                                                                     
 8003a68:	b8 20 58 00 	mv r11,r1                                      
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
 8003a6c:	28 42 00 0c 	lw r2,(r2+12)                                  
  if ((!the_tod)                                  ||                  
 8003a70:	44 20 00 22 	be r1,r0,8003af8 <_TOD_Validate+0xa8>          <== NEVER TAKEN
 8003a74:	78 01 00 0f 	mvhi r1,0xf                                    
 8003a78:	38 21 42 40 	ori r1,r1,0x4240                               
 8003a7c:	f8 00 6d 0a 	calli 801eea4 <__udivsi3>                      
      (the_tod->ticks  >= ticks_per_second)       ||                  
 8003a80:	29 62 00 18 	lw r2,(r11+24)                                 
 8003a84:	50 41 00 1d 	bgeu r2,r1,8003af8 <_TOD_Validate+0xa8>        
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
 8003a88:	29 62 00 14 	lw r2,(r11+20)                                 
 8003a8c:	34 01 00 3b 	mvi r1,59                                      
 8003a90:	54 41 00 1a 	bgu r2,r1,8003af8 <_TOD_Validate+0xa8>         
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
 8003a94:	29 62 00 10 	lw r2,(r11+16)                                 
 8003a98:	54 41 00 18 	bgu r2,r1,8003af8 <_TOD_Validate+0xa8>         
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
 8003a9c:	29 62 00 0c 	lw r2,(r11+12)                                 
 8003aa0:	34 01 00 17 	mvi r1,23                                      
 8003aa4:	54 41 00 15 	bgu r2,r1,8003af8 <_TOD_Validate+0xa8>         
      (the_tod->month  == 0)                      ||                  
 8003aa8:	29 61 00 04 	lw r1,(r11+4)                                  
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
 8003aac:	44 20 00 13 	be r1,r0,8003af8 <_TOD_Validate+0xa8>          <== NEVER TAKEN
 8003ab0:	34 02 00 0c 	mvi r2,12                                      
 8003ab4:	54 22 00 11 	bgu r1,r2,8003af8 <_TOD_Validate+0xa8>         
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
 8003ab8:	29 62 00 00 	lw r2,(r11+0)                                  
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
 8003abc:	34 03 07 c3 	mvi r3,1987                                    
 8003ac0:	50 62 00 0e 	bgeu r3,r2,8003af8 <_TOD_Validate+0xa8>        
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
 8003ac4:	29 6b 00 08 	lw r11,(r11+8)                                 
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
 8003ac8:	45 60 00 0c 	be r11,r0,8003af8 <_TOD_Validate+0xa8>         <== NEVER TAKEN
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
 8003acc:	20 42 00 03 	andi r2,r2,0x3                                 
 8003ad0:	5c 40 00 02 	bne r2,r0,8003ad8 <_TOD_Validate+0x88>         
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
 8003ad4:	34 21 00 0d 	addi r1,r1,13                                  
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
 8003ad8:	78 0c 08 02 	mvhi r12,0x802                                 
 8003adc:	34 02 00 02 	mvi r2,2                                       
 8003ae0:	fb ff f5 c4 	calli 80011f0 <__ashlsi3>                      
 8003ae4:	39 8c 0a 20 	ori r12,r12,0xa20                              
 8003ae8:	b5 81 08 00 	add r1,r12,r1                                  
 8003aec:	28 21 00 00 	lw r1,(r1+0)                                   
 *    false - if the the_tod is invalid                               
 *                                                                    
 *  NOTE: This routine only works for leap-years through 2099.        
 */                                                                   
                                                                      
bool _TOD_Validate(                                                   
 8003af0:	f0 2b 08 00 	cmpgeu r1,r1,r11                               
 8003af4:	e0 00 00 02 	bi 8003afc <_TOD_Validate+0xac>                
 8003af8:	34 01 00 00 	mvi r1,0                                       
                                                                      
  if ( the_tod->day > days_in_month )                                 
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
 8003afc:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8003b00:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8003b04:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8003b08:	37 9c 00 0c 	addi sp,sp,12                                  
 8003b0c:	c3 a0 00 00 	ret                                            
                                                                      
080040a0 <_Thread_Change_priority>:                                   
void _Thread_Change_priority(                                         
  Thread_Control   *the_thread,                                       
  Priority_Control  new_priority,                                     
  bool              prepend_it                                        
)                                                                     
{                                                                     
 80040a0:	37 9c ff ec 	addi sp,sp,-20                                 
 80040a4:	5b 8b 00 14 	sw (sp+20),r11                                 
 80040a8:	5b 8c 00 10 	sw (sp+16),r12                                 
 80040ac:	5b 8d 00 0c 	sw (sp+12),r13                                 
 80040b0:	5b 8e 00 08 	sw (sp+8),r14                                  
 80040b4:	5b 9d 00 04 	sw (sp+4),ra                                   
 80040b8:	b8 20 58 00 	mv r11,r1                                      
*/                                                                    
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
 80040bc:	28 2d 00 10 	lw r13,(r1+16)                                 
void _Thread_Change_priority(                                         
  Thread_Control   *the_thread,                                       
  Priority_Control  new_priority,                                     
  bool              prepend_it                                        
)                                                                     
{                                                                     
 80040c0:	b8 40 60 00 	mv r12,r2                                      
 80040c4:	20 6e 00 ff 	andi r14,r3,0xff                               
  /*                                                                  
   * 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 );                                
 80040c8:	f8 00 04 e1 	calli 800544c <_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 )                  
 80040cc:	29 61 00 14 	lw r1,(r11+20)                                 
 80040d0:	44 2c 00 04 	be r1,r12,80040e0 <_Thread_Change_priority+0x40>
    _Thread_Set_priority( the_thread, new_priority );                 
 80040d4:	b9 80 10 00 	mv r2,r12                                      
 80040d8:	b9 60 08 00 	mv r1,r11                                      
 80040dc:	f8 00 04 37 	calli 80051b8 <_Thread_Set_priority>           
                                                                      
  _ISR_Disable( level );                                              
 80040e0:	90 00 60 00 	rcsr r12,IE                                    
 80040e4:	34 02 ff fe 	mvi r2,-2                                      
 80040e8:	a1 82 10 00 	and r2,r12,r2                                  
 80040ec:	d0 02 00 00 	wcsr IE,r2                                     
                                                                      
  /*                                                                  
   *  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;                                  
 80040f0:	29 61 00 10 	lw r1,(r11+16)                                 
  if ( state != STATES_TRANSIENT ) {                                  
 80040f4:	34 04 00 04 	mvi r4,4                                       
 80040f8:	44 24 00 21 	be r1,r4,800417c <_Thread_Change_priority+0xdc>
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
 80040fc:	a1 a4 68 00 	and r13,r13,r4                                 
 8004100:	45 a0 00 0d 	be r13,r0,8004134 <_Thread_Change_priority+0x94><== ALWAYS TAKEN
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
    _ISR_Enable( level );                                             
 8004104:	d0 0c 00 00 	wcsr IE,r12                                    <== NOT EXECUTED
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
 8004108:	78 02 00 03 	mvhi r2,0x3                                    <== NOT EXECUTED
 800410c:	38 42 be e0 	ori r2,r2,0xbee0                               <== NOT EXECUTED
 8004110:	a0 22 08 00 	and r1,r1,r2                                   <== NOT EXECUTED
 8004114:	5c 20 00 10 	bne r1,r0,8004154 <_Thread_Change_priority+0xb4><== NOT EXECUTED
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
       _Thread_Executing->is_preemptible )                            
    _Context_Switch_necessary = true;                                 
  _ISR_Enable( level );                                               
}                                                                     
 8004118:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800411c:	2b 8b 00 14 	lw r11,(sp+20)                                 
 8004120:	2b 8c 00 10 	lw r12,(sp+16)                                 
 8004124:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 8004128:	2b 8e 00 08 	lw r14,(sp+8)                                  
 800412c:	37 9c 00 14 	addi sp,sp,20                                  
 8004130:	c3 a0 00 00 	ret                                            
   */                                                                 
  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 );
 8004134:	34 02 ff fb 	mvi r2,-5                                      
 8004138:	a0 22 10 00 	and r2,r1,r2                                   
 800413c:	59 62 00 10 	sw (r11+16),r2                                 
    _ISR_Enable( level );                                             
 8004140:	d0 0c 00 00 	wcsr IE,r12                                    
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
 8004144:	78 02 00 03 	mvhi r2,0x3                                    
 8004148:	38 42 be e0 	ori r2,r2,0xbee0                               
 800414c:	a0 22 08 00 	and r1,r1,r2                                   
 8004150:	44 20 ff f2 	be r1,r0,8004118 <_Thread_Change_priority+0x78>
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
 8004154:	29 61 00 44 	lw r1,(r11+68)                                 
 8004158:	b9 60 10 00 	mv r2,r11                                      
 800415c:	f8 00 03 dc 	calli 80050cc <_Thread_queue_Requeue>          
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
       _Thread_Executing->is_preemptible )                            
    _Context_Switch_necessary = true;                                 
  _ISR_Enable( level );                                               
}                                                                     
 8004160:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8004164:	2b 8b 00 14 	lw r11,(sp+20)                                 
 8004168:	2b 8c 00 10 	lw r12,(sp+16)                                 
 800416c:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 8004170:	2b 8e 00 08 	lw r14,(sp+8)                                  
 8004174:	37 9c 00 14 	addi sp,sp,20                                  
 8004178:	c3 a0 00 00 	ret                                            
    }                                                                 
    return;                                                           
  }                                                                   
                                                                      
  /* Only clear the transient state if it wasn't set already */       
  if ( ! _States_Is_transient( original_state ) ) {                   
 800417c:	21 ad 00 04 	andi r13,r13,0x4                               
 8004180:	45 a0 00 3a 	be r13,r0,8004268 <_Thread_Change_priority+0x1c8><== ALWAYS TAKEN
 8004184:	78 01 08 01 	mvhi r1,0x801                                  <== NOT EXECUTED
 8004188:	38 21 c8 d4 	ori r1,r1,0xc8d4                               <== NOT EXECUTED
      _Chain_Prepend_unprotected( the_thread->ready, &the_thread->Object.Node );
    else                                                              
      _Chain_Append_unprotected( the_thread->ready, &the_thread->Object.Node );
  }                                                                   
                                                                      
  _ISR_Flash( level );                                                
 800418c:	d0 0c 00 00 	wcsr IE,r12                                    
 8004190:	d0 02 00 00 	wcsr IE,r2                                     
RTEMS_INLINE_ROUTINE Priority_Control _Priority_Get_highest( void )   
{                                                                     
  Priority_Bit_map_control minor;                                     
  Priority_Bit_map_control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
 8004194:	2c 21 00 00 	lhu r1,(r1+0)                                  
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
    _Thread_Ready_chain[ _Priority_Get_highest() ].first;             
 8004198:	78 02 08 01 	mvhi r2,0x801                                  
 800419c:	38 42 c7 b0 	ori r2,r2,0xc7b0                               
 80041a0:	28 4e 00 00 	lw r14,(r2+0)                                  
 80041a4:	20 21 ff ff 	andi r1,r1,0xffff                              
 80041a8:	34 02 00 ff 	mvi r2,255                                     
 80041ac:	54 22 00 49 	bgu r1,r2,80042d0 <_Thread_Change_priority+0x230>
 80041b0:	78 0b 08 01 	mvhi r11,0x801                                 
 80041b4:	39 6b b0 94 	ori r11,r11,0xb094                             
 80041b8:	b5 61 08 00 	add r1,r11,r1                                  
 80041bc:	40 2d 00 00 	lbu r13,(r1+0)                                 
 80041c0:	35 ad 00 08 	addi r13,r13,8                                 
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
 80041c4:	78 02 08 01 	mvhi r2,0x801                                  
 80041c8:	b5 ad 08 00 	add r1,r13,r13                                 
 80041cc:	38 42 c9 50 	ori r2,r2,0xc950                               
 80041d0:	b4 41 10 00 	add r2,r2,r1                                   
 80041d4:	2c 41 00 00 	lhu r1,(r2+0)                                  
 80041d8:	34 02 00 ff 	mvi r2,255                                     
 80041dc:	54 22 00 38 	bgu r1,r2,80042bc <_Thread_Change_priority+0x21c>
 80041e0:	b5 61 58 00 	add r11,r11,r1                                 
 80041e4:	41 6b 00 00 	lbu r11,(r11+0)                                
 80041e8:	35 6b 00 08 	addi r11,r11,8                                 
 *  ready thread.                                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
 80041ec:	34 02 00 04 	mvi r2,4                                       
 80041f0:	b9 a0 08 00 	mv r1,r13                                      
 80041f4:	fb ff ef ff 	calli 80001f0 <__ashlsi3>                      
 80041f8:	b5 61 08 00 	add r1,r11,r1                                  
 80041fc:	b4 21 10 00 	add r2,r1,r1                                   
 8004200:	b4 41 08 00 	add r1,r2,r1                                   
 8004204:	34 02 00 02 	mvi r2,2                                       
 8004208:	fb ff ef fa 	calli 80001f0 <__ashlsi3>                      
 800420c:	b5 c1 08 00 	add r1,r14,r1                                  
 *  is also the heir thread, and false otherwise.                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing_also_the_heir( void )  
{                                                                     
  return ( _Thread_Executing == _Thread_Heir );                       
 8004210:	78 02 08 01 	mvhi r2,0x801                                  
 *  ready thread.                                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
 8004214:	28 23 00 00 	lw r3,(r1+0)                                   
 *  is also the heir thread, and false otherwise.                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing_also_the_heir( void )  
{                                                                     
  return ( _Thread_Executing == _Thread_Heir );                       
 8004218:	38 42 c8 e0 	ori r2,r2,0xc8e0                               
 *  ready thread.                                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
 800421c:	78 01 08 01 	mvhi r1,0x801                                  
 *  is also the heir thread, and false otherwise.                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing_also_the_heir( void )  
{                                                                     
  return ( _Thread_Executing == _Thread_Heir );                       
 8004220:	28 42 00 00 	lw r2,(r2+0)                                   
 *  ready thread.                                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
 8004224:	38 21 c8 b0 	ori r1,r1,0xc8b0                               
 8004228:	58 23 00 00 	sw (r1+0),r3                                   
   *  We altered the set of thread priorities.  So let's figure out   
   *  who is the heir and if we need to switch to them.               
   */                                                                 
  _Thread_Calculate_heir();                                           
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
 800422c:	44 62 00 07 	be r3,r2,8004248 <_Thread_Change_priority+0x1a8>
       _Thread_Executing->is_preemptible )                            
 8004230:	40 41 00 75 	lbu r1,(r2+117)                                
 8004234:	44 20 00 05 	be r1,r0,8004248 <_Thread_Change_priority+0x1a8>
    _Context_Switch_necessary = true;                                 
 8004238:	78 01 08 01 	mvhi r1,0x801                                  
 800423c:	38 21 c8 f0 	ori r1,r1,0xc8f0                               
 8004240:	34 02 00 01 	mvi r2,1                                       
 8004244:	30 22 00 00 	sb (r1+0),r2                                   
  _ISR_Enable( level );                                               
 8004248:	d0 0c 00 00 	wcsr IE,r12                                    
}                                                                     
 800424c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8004250:	2b 8b 00 14 	lw r11,(sp+20)                                 
 8004254:	2b 8c 00 10 	lw r12,(sp+16)                                 
 8004258:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 800425c:	2b 8e 00 08 	lw r14,(sp+8)                                  
 8004260:	37 9c 00 14 	addi sp,sp,20                                  
 8004264:	c3 a0 00 00 	ret                                            
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
 8004268:	29 63 00 90 	lw r3,(r11+144)                                
 800426c:	2d 64 00 96 	lhu r4,(r11+150)                               
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
 8004270:	78 01 08 01 	mvhi r1,0x801                                  
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
 8004274:	2c 65 00 00 	lhu r5,(r3+0)                                  
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
 8004278:	38 21 c8 d4 	ori r1,r1,0xc8d4                               
     *  Interrupts are STILL disabled.                                
     *  We now know the thread will be in the READY state when we remove
     *  the TRANSIENT state.  So we have to place it on the appropriate
     *  Ready Queue with interrupts off.                              
     */                                                               
    the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
 800427c:	59 6d 00 10 	sw (r11+16),r13                                
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
 8004280:	b8 a4 20 00 	or r4,r5,r4                                    
 8004284:	0c 64 00 00 	sh (r3+0),r4                                   
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
 8004288:	2c 23 00 00 	lhu r3,(r1+0)                                  
 800428c:	2d 64 00 94 	lhu r4,(r11+148)                               
 8004290:	b8 83 18 00 	or r3,r4,r3                                    
 8004294:	20 63 ff ff 	andi r3,r3,0xffff                              
 8004298:	0c 23 00 00 	sh (r1+0),r3                                   
                                                                      
    _Priority_Add_to_bit_map( &the_thread->Priority_map );            
    if ( prepend_it )                                                 
 800429c:	45 cd 00 14 	be r14,r13,80042ec <_Thread_Change_priority+0x24c>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Head(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) the_chain;                                   
 80042a0:	29 63 00 8c 	lw r3,(r11+140)                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
 80042a4:	28 64 00 00 	lw r4,(r3+0)                                   
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
 80042a8:	59 63 00 04 	sw (r11+4),r3                                  
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
 80042ac:	58 6b 00 00 	sw (r3+0),r11                                  
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
 80042b0:	58 8b 00 04 	sw (r4+4),r11                                  
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
  the_node->next        = before_node;                                
 80042b4:	59 64 00 00 	sw (r11+0),r4                                  
 80042b8:	e3 ff ff b5 	bi 800418c <_Thread_Change_priority+0xec>      
{                                                                     
  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 );        
 80042bc:	34 02 00 08 	mvi r2,8                                       
 80042c0:	fb ff ef f4 	calli 8000290 <__lshrsi3>                      
 80042c4:	b5 61 08 00 	add r1,r11,r1                                  
 80042c8:	40 2b 00 00 	lbu r11,(r1+0)                                 
 80042cc:	e3 ff ff c8 	bi 80041ec <_Thread_Change_priority+0x14c>     
RTEMS_INLINE_ROUTINE Priority_Control _Priority_Get_highest( void )   
{                                                                     
  Priority_Bit_map_control minor;                                     
  Priority_Bit_map_control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
 80042d0:	34 02 00 08 	mvi r2,8                                       
 80042d4:	78 0b 08 01 	mvhi r11,0x801                                 
 80042d8:	fb ff ef ee 	calli 8000290 <__lshrsi3>                      
 80042dc:	39 6b b0 94 	ori r11,r11,0xb094                             
 80042e0:	b5 61 08 00 	add r1,r11,r1                                  
 80042e4:	40 2d 00 00 	lbu r13,(r1+0)                                 
 80042e8:	e3 ff ff b7 	bi 80041c4 <_Thread_Change_priority+0x124>     
      _Chain_Prepend_unprotected( the_thread->ready, &the_thread->Object.Node );
    else                                                              
      _Chain_Append_unprotected( the_thread->ready, &the_thread->Object.Node );
 80042ec:	29 63 00 8c 	lw r3,(r11+140)                                
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
 80042f0:	34 64 00 04 	addi r4,r3,4                                   
 80042f4:	59 64 00 00 	sw (r11+0),r4                                  
  old_last_node       = the_chain->last;                              
 80042f8:	28 64 00 08 	lw r4,(r3+8)                                   
  the_chain->last     = the_node;                                     
 80042fc:	58 6b 00 08 	sw (r3+8),r11                                  
  old_last_node->next = the_node;                                     
  the_node->previous  = old_last_node;                                
 8004300:	59 64 00 04 	sw (r11+4),r4                                  
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  the_chain->last     = the_node;                                     
  old_last_node->next = the_node;                                     
 8004304:	58 8b 00 00 	sw (r4+0),r11                                  
 8004308:	e3 ff ff a1 	bi 800418c <_Thread_Change_priority+0xec>      
                                                                      
080094f0 <_Thread_Clear_state>:                                       
)                                                                     
{                                                                     
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
 80094f0:	90 00 18 00 	rcsr r3,IE                                     
 80094f4:	34 05 ff fe 	mvi r5,-2                                      
 80094f8:	a0 65 28 00 	and r5,r3,r5                                   
 80094fc:	d0 05 00 00 	wcsr IE,r5                                     
    current_state = the_thread->current_state;                        
 8009500:	28 24 00 10 	lw r4,(r1+16)                                  
                                                                      
    if ( current_state & state ) {                                    
 8009504:	a0 44 30 00 	and r6,r2,r4                                   
 8009508:	44 c0 00 2a 	be r6,r0,80095b0 <_Thread_Clear_state+0xc0>    
RTEMS_INLINE_ROUTINE States_Control _States_Clear (                   
  States_Control states_to_clear,                                     
  States_Control current_state                                        
)                                                                     
{                                                                     
   return (current_state & ~states_to_clear);                         
 800950c:	a4 40 10 00 	not r2,r2                                      
 8009510:	a0 44 20 00 	and r4,r2,r4                                   
      current_state =                                                 
 8009514:	58 24 00 10 	sw (r1+16),r4                                  
      the_thread->current_state = _States_Clear( state, current_state );
                                                                      
      if ( _States_Is_ready( current_state ) ) {                      
 8009518:	5c 80 00 26 	bne r4,r0,80095b0 <_Thread_Clear_state+0xc0>   
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
 800951c:	28 26 00 90 	lw r6,(r1+144)                                 
 8009520:	2c 27 00 96 	lhu r7,(r1+150)                                
                                                                      
        _Priority_Add_to_bit_map( &the_thread->Priority_map );        
                                                                      
        _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
 8009524:	28 24 00 8c 	lw r4,(r1+140)                                 
 8009528:	2c c8 00 00 	lhu r8,(r6+0)                                  
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
 800952c:	78 02 08 01 	mvhi r2,0x801                                  
 8009530:	38 42 c8 d4 	ori r2,r2,0xc8d4                               
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
 8009534:	b9 07 38 00 	or r7,r8,r7                                    
 8009538:	0c c7 00 00 	sh (r6+0),r7                                   
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
 800953c:	2c 47 00 00 	lhu r7,(r2+0)                                  
 8009540:	2c 28 00 94 	lhu r8,(r1+148)                                
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
 8009544:	34 86 00 04 	addi r6,r4,4                                   
 8009548:	58 26 00 00 	sw (r1+0),r6                                   
  old_last_node       = the_chain->last;                              
 800954c:	28 86 00 08 	lw r6,(r4+8)                                   
 8009550:	b9 07 38 00 	or r7,r8,r7                                    
  the_chain->last     = the_node;                                     
 8009554:	58 81 00 08 	sw (r4+8),r1                                   
 8009558:	20 e4 ff ff 	andi r4,r7,0xffff                              
 800955c:	0c 44 00 00 	sh (r2+0),r4                                   
  old_last_node->next = the_node;                                     
  the_node->previous  = old_last_node;                                
 8009560:	58 26 00 04 	sw (r1+4),r6                                   
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  the_chain->last     = the_node;                                     
  old_last_node->next = the_node;                                     
 8009564:	58 c1 00 00 	sw (r6+0),r1                                   
                                                                      
        _ISR_Flash( level );                                          
 8009568:	d0 03 00 00 	wcsr IE,r3                                     
 800956c:	d0 05 00 00 	wcsr IE,r5                                     
         *    a context switch.                                       
         *  Pseudo-ISR case:                                          
         *    Even if the thread isn't preemptible, if the new heir is
         *    a pseudo-ISR system task, we need to do a context switch.
         */                                                           
        if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
 8009570:	78 02 08 01 	mvhi r2,0x801                                  
 8009574:	38 42 c8 b0 	ori r2,r2,0xc8b0                               
 8009578:	28 44 00 00 	lw r4,(r2+0)                                   
 800957c:	28 25 00 14 	lw r5,(r1+20)                                  
 8009580:	28 84 00 14 	lw r4,(r4+20)                                  
 8009584:	50 a4 00 0b 	bgeu r5,r4,80095b0 <_Thread_Clear_state+0xc0>  
          _Thread_Heir = the_thread;                                  
          if ( _Thread_Executing->is_preemptible ||                   
 8009588:	78 04 08 01 	mvhi r4,0x801                                  
 800958c:	38 84 c8 e0 	ori r4,r4,0xc8e0                               
 8009590:	28 84 00 00 	lw r4,(r4+0)                                   
         *  Pseudo-ISR case:                                          
         *    Even if the thread isn't preemptible, if the new heir is
         *    a pseudo-ISR system task, we need to do a context switch.
         */                                                           
        if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
          _Thread_Heir = the_thread;                                  
 8009594:	58 41 00 00 	sw (r2+0),r1                                   
          if ( _Thread_Executing->is_preemptible ||                   
 8009598:	40 81 00 75 	lbu r1,(r4+117)                                
 800959c:	44 20 00 07 	be r1,r0,80095b8 <_Thread_Clear_state+0xc8>    
               the_thread->current_priority == 0 )                    
            _Context_Switch_necessary = true;                         
 80095a0:	78 01 08 01 	mvhi r1,0x801                                  
 80095a4:	38 21 c8 f0 	ori r1,r1,0xc8f0                               
 80095a8:	34 02 00 01 	mvi r2,1                                       
 80095ac:	30 22 00 00 	sb (r1+0),r2                                   
        }                                                             
      }                                                               
  }                                                                   
  _ISR_Enable( level );                                               
 80095b0:	d0 03 00 00 	wcsr IE,r3                                     
}                                                                     
 80095b4:	c3 a0 00 00 	ret                                            
         *    Even if the thread isn't preemptible, if the new heir is
         *    a pseudo-ISR system task, we need to do a context switch.
         */                                                           
        if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
          _Thread_Heir = the_thread;                                  
          if ( _Thread_Executing->is_preemptible ||                   
 80095b8:	44 a1 ff fa 	be r5,r1,80095a0 <_Thread_Clear_state+0xb0>    <== NEVER TAKEN
 80095bc:	e3 ff ff fd 	bi 80095b0 <_Thread_Clear_state+0xc0>          
                                                                      
0800c624 <_Thread_Delay_ended>:                                       
                                                                      
void _Thread_Delay_ended(                                             
  Objects_Id  id,                                                     
  void       *ignored __attribute__((unused))                         
)                                                                     
{                                                                     
 800c624:	37 9c ff f8 	addi sp,sp,-8                                  
 800c628:	5b 9d 00 04 	sw (sp+4),ra                                   
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 800c62c:	37 82 00 08 	addi r2,sp,8                                   
 800c630:	f8 00 00 a5 	calli 800c8c4 <_Thread_Get>                    
  switch ( location ) {                                               
 800c634:	2b 82 00 08 	lw r2,(sp+8)                                   
 800c638:	5c 40 00 09 	bne r2,r0,800c65c <_Thread_Delay_ended+0x38>   <== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
 800c63c:	78 02 10 00 	mvhi r2,0x1000                                 
 800c640:	38 42 00 18 	ori r2,r2,0x18                                 
 800c644:	fb ff ff 4b 	calli 800c370 <_Thread_Clear_state>            
 800c648:	78 01 08 02 	mvhi r1,0x802                                  
 800c64c:	38 21 a9 b4 	ori r1,r1,0xa9b4                               
 800c650:	28 22 00 00 	lw r2,(r1+0)                                   
 800c654:	34 42 ff ff 	addi r2,r2,-1                                  
 800c658:	58 22 00 00 	sw (r1+0),r2                                   
          | STATES_INTERRUPTIBLE_BY_SIGNAL                            
      );                                                              
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
 800c65c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800c660:	37 9c 00 08 	addi sp,sp,8                                   
 800c664:	c3 a0 00 00 	ret                                            
                                                                      
080044f0 <_Thread_Dispatch>:                                          
 *    dispatch thread                                                 
 *    no dispatch thread                                              
 */                                                                   
                                                                      
void _Thread_Dispatch( void )                                         
{                                                                     
 80044f0:	37 9c ff b4 	addi sp,sp,-76                                 
 80044f4:	5b 8b 00 3c 	sw (sp+60),r11                                 
 80044f8:	5b 8c 00 38 	sw (sp+56),r12                                 
 80044fc:	5b 8d 00 34 	sw (sp+52),r13                                 
 8004500:	5b 8e 00 30 	sw (sp+48),r14                                 
 8004504:	5b 8f 00 2c 	sw (sp+44),r15                                 
 8004508:	5b 90 00 28 	sw (sp+40),r16                                 
 800450c:	5b 91 00 24 	sw (sp+36),r17                                 
 8004510:	5b 92 00 20 	sw (sp+32),r18                                 
 8004514:	5b 93 00 1c 	sw (sp+28),r19                                 
 8004518:	5b 94 00 18 	sw (sp+24),r20                                 
 800451c:	5b 95 00 14 	sw (sp+20),r21                                 
 8004520:	5b 96 00 10 	sw (sp+16),r22                                 
 8004524:	5b 97 00 0c 	sw (sp+12),r23                                 
 8004528:	5b 98 00 08 	sw (sp+8),r24                                  
 800452c:	5b 9d 00 04 	sw (sp+4),ra                                   
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
 8004530:	78 0e 08 01 	mvhi r14,0x801                                 
 8004534:	39 ce c8 e0 	ori r14,r14,0xc8e0                             
 8004538:	29 cc 00 00 	lw r12,(r14+0)                                 
  _ISR_Disable( level );                                              
 800453c:	90 00 08 00 	rcsr r1,IE                                     
 8004540:	34 02 ff fe 	mvi r2,-2                                      
 8004544:	a0 22 10 00 	and r2,r1,r2                                   
 8004548:	d0 02 00 00 	wcsr IE,r2                                     
  while ( _Context_Switch_necessary == true ) {                       
 800454c:	78 0d 08 01 	mvhi r13,0x801                                 
 8004550:	39 ad c8 f0 	ori r13,r13,0xc8f0                             
 8004554:	41 a2 00 00 	lbu r2,(r13+0)                                 
 8004558:	44 40 00 3d 	be r2,r0,800464c <_Thread_Dispatch+0x15c>      
 800455c:	78 11 08 01 	mvhi r17,0x801                                 
 8004560:	78 15 08 01 	mvhi r21,0x801                                 
 8004564:	78 0f 08 01 	mvhi r15,0x801                                 
 8004568:	78 14 08 01 	mvhi r20,0x801                                 
#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;            
 800456c:	78 18 08 01 	mvhi r24,0x801                                 
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
        _Timestamp_Subtract(                                          
 8004570:	ba 20 b8 00 	mv r23,r17                                     
 8004574:	3a b5 c8 b0 	ori r21,r21,0xc8b0                             
 8004578:	39 ef c8 24 	ori r15,r15,0xc824                             
 800457c:	3a 94 c8 ac 	ori r20,r20,0xc8ac                             
#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;            
 8004580:	3b 18 c7 b4 	ori r24,r24,0xc7b4                             
 8004584:	37 93 00 48 	addi r19,sp,72                                 
 8004588:	37 92 00 40 	addi r18,sp,64                                 
 800458c:	3a 31 c8 e8 	ori r17,r17,0xc8e8                             
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
 8004590:	34 10 00 01 	mvi r16,1                                      
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
                                                                      
    _ISR_Disable( level );                                            
 8004594:	34 16 ff fe 	mvi r22,-2                                     
 8004598:	e0 00 00 23 	bi 8004624 <_Thread_Dispatch+0x134>            
    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;            
    _ISR_Enable( level );                                             
 800459c:	d0 01 00 00 	wcsr IE,r1                                     
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
 80045a0:	ba 60 08 00 	mv r1,r19                                      
 80045a4:	f8 00 11 da 	calli 8008d0c <_TOD_Get_uptime>                
        _Timestamp_Subtract(                                          
 80045a8:	ba e0 08 00 	mv r1,r23                                      
 80045ac:	ba 40 18 00 	mv r3,r18                                      
 80045b0:	38 21 c8 e8 	ori r1,r1,0xc8e8                               
 80045b4:	ba 60 10 00 	mv r2,r19                                      
 80045b8:	f8 00 04 5e 	calli 8005730 <_Timespec_Subtract>             
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
 80045bc:	ba 40 10 00 	mv r2,r18                                      
 80045c0:	35 81 00 84 	addi r1,r12,132                                
 80045c4:	f8 00 04 46 	calli 80056dc <_Timespec_Add_to>               
        _Thread_Time_of_last_context_switch = uptime;                 
 80045c8:	2b 83 00 48 	lw r3,(sp+72)                                  
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
 80045cc:	2a 84 00 00 	lw r4,(r20+0)                                  
      executing->libc_reent = *_Thread_libc_reent;                    
      *_Thread_libc_reent = heir->libc_reent;                         
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
 80045d0:	b9 80 08 00 	mv r1,r12                                      
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
        _Thread_Time_of_last_context_switch = uptime;                 
 80045d4:	5a 23 00 00 	sw (r17+0),r3                                  
 80045d8:	2b 83 00 4c 	lw r3,(sp+76)                                  
    if ( _Thread_libc_reent ) {                                       
      executing->libc_reent = *_Thread_libc_reent;                    
      *_Thread_libc_reent = heir->libc_reent;                         
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
 80045dc:	b9 60 10 00 	mv r2,r11                                      
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
        _Thread_Time_of_last_context_switch = uptime;                 
 80045e0:	5a 23 00 04 	sw (r17+4),r3                                  
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
 80045e4:	44 80 00 05 	be r4,r0,80045f8 <_Thread_Dispatch+0x108>      <== NEVER TAKEN
      executing->libc_reent = *_Thread_libc_reent;                    
 80045e8:	28 83 00 00 	lw r3,(r4+0)                                   
 80045ec:	59 83 01 20 	sw (r12+288),r3                                
      *_Thread_libc_reent = heir->libc_reent;                         
 80045f0:	29 63 01 20 	lw r3,(r11+288)                                
 80045f4:	58 83 00 00 	sw (r4+0),r3                                   
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
 80045f8:	f8 00 05 48 	calli 8005b18 <_User_extensions_Thread_switch> 
    if ( executing->fp_context != NULL )                              
      _Context_Save_fp( &executing->fp_context );                     
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
 80045fc:	35 81 00 cc 	addi r1,r12,204                                
 8004600:	35 62 00 cc 	addi r2,r11,204                                
 8004604:	f8 00 06 7a 	calli 8005fec <_CPU_Context_switch>            
    if ( executing->fp_context != NULL )                              
      _Context_Restore_fp( &executing->fp_context );                  
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
 8004608:	29 cc 00 00 	lw r12,(r14+0)                                 
                                                                      
    _ISR_Disable( level );                                            
 800460c:	90 00 20 00 	rcsr r4,IE                                     
 8004610:	a0 96 08 00 	and r1,r4,r22                                  
 8004614:	d0 01 00 00 	wcsr IE,r1                                     
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
 8004618:	41 a2 00 00 	lbu r2,(r13+0)                                 
 800461c:	b8 80 08 00 	mv r1,r4                                       
 8004620:	44 40 00 0e 	be r2,r0,8004658 <_Thread_Dispatch+0x168>      
    heir = _Thread_Heir;                                              
 8004624:	2a ab 00 00 	lw r11,(r21+0)                                 
    _Thread_Dispatch_disable_level = 1;                               
 8004628:	59 f0 00 00 	sw (r15+0),r16                                 
    _Context_Switch_necessary = false;                                
 800462c:	34 02 00 00 	mvi r2,0                                       
    _Thread_Executing = heir;                                         
#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 )
 8004630:	29 63 00 7c 	lw r3,(r11+124)                                
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
    _Context_Switch_necessary = false;                                
 8004634:	31 a2 00 00 	sb (r13+0),r2                                  
    _Thread_Executing = heir;                                         
 8004638:	59 cb 00 00 	sw (r14+0),r11                                 
#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 )
 800463c:	5c 70 ff d8 	bne r3,r16,800459c <_Thread_Dispatch+0xac>     
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
 8004640:	2b 02 00 00 	lw r2,(r24+0)                                  
 8004644:	59 62 00 78 	sw (r11+120),r2                                
 8004648:	e3 ff ff d5 	bi 800459c <_Thread_Dispatch+0xac>             
 800464c:	78 0f 08 01 	mvhi r15,0x801                                 
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
 8004650:	b8 20 20 00 	mv r4,r1                                       
 8004654:	39 ef c8 24 	ori r15,r15,0xc824                             
    executing = _Thread_Executing;                                    
                                                                      
    _ISR_Disable( level );                                            
  }                                                                   
                                                                      
  _Thread_Dispatch_disable_level = 0;                                 
 8004658:	34 02 00 00 	mvi r2,0                                       
 800465c:	59 e2 00 00 	sw (r15+0),r2                                  
                                                                      
  _ISR_Enable( level );                                               
 8004660:	d0 04 00 00 	wcsr IE,r4                                     
                                                                      
  if ( _Thread_Do_post_task_switch_extension ||                       
 8004664:	78 01 08 01 	mvhi r1,0x801                                  
 8004668:	38 21 c8 c4 	ori r1,r1,0xc8c4                               
 800466c:	28 21 00 00 	lw r1,(r1+0)                                   
 8004670:	5c 20 00 03 	bne r1,r0,800467c <_Thread_Dispatch+0x18c>     <== NEVER TAKEN
       executing->do_post_task_switch_extension ) {                   
 8004674:	41 82 00 74 	lbu r2,(r12+116)                               
 8004678:	44 41 00 04 	be r2,r1,8004688 <_Thread_Dispatch+0x198>      
    executing->do_post_task_switch_extension = false;                 
 800467c:	34 01 00 00 	mvi r1,0                                       
 8004680:	31 81 00 74 	sb (r12+116),r1                                
    _API_extensions_Run_postswitch();                                 
 8004684:	fb ff f9 4f 	calli 8002bc0 <_API_extensions_Run_postswitch> 
  }                                                                   
                                                                      
}                                                                     
 8004688:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800468c:	2b 8b 00 3c 	lw r11,(sp+60)                                 
 8004690:	2b 8c 00 38 	lw r12,(sp+56)                                 
 8004694:	2b 8d 00 34 	lw r13,(sp+52)                                 
 8004698:	2b 8e 00 30 	lw r14,(sp+48)                                 
 800469c:	2b 8f 00 2c 	lw r15,(sp+44)                                 
 80046a0:	2b 90 00 28 	lw r16,(sp+40)                                 
 80046a4:	2b 91 00 24 	lw r17,(sp+36)                                 
 80046a8:	2b 92 00 20 	lw r18,(sp+32)                                 
 80046ac:	2b 93 00 1c 	lw r19,(sp+28)                                 
 80046b0:	2b 94 00 18 	lw r20,(sp+24)                                 
 80046b4:	2b 95 00 14 	lw r21,(sp+20)                                 
 80046b8:	2b 96 00 10 	lw r22,(sp+16)                                 
 80046bc:	2b 97 00 0c 	lw r23,(sp+12)                                 
 80046c0:	2b 98 00 08 	lw r24,(sp+8)                                  
 80046c4:	37 9c 00 4c 	addi sp,sp,76                                  
 80046c8:	c3 a0 00 00 	ret                                            
                                                                      
0800b46c <_Thread_Evaluate_mode>:                                     
                                                                      
bool _Thread_Evaluate_mode( void )                                    
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
 800b46c:	78 01 08 01 	mvhi r1,0x801                                  
 800b470:	38 21 c8 e0 	ori r1,r1,0xc8e0                               
 800b474:	28 21 00 00 	lw r1,(r1+0)                                   
                                                                      
  if ( !_States_Is_ready( executing->current_state ) ||               
 800b478:	28 22 00 10 	lw r2,(r1+16)                                  
 800b47c:	5c 40 00 07 	bne r2,r0,800b498 <_Thread_Evaluate_mode+0x2c> <== NEVER TAKEN
 800b480:	78 02 08 01 	mvhi r2,0x801                                  
 800b484:	38 42 c8 b0 	ori r2,r2,0xc8b0                               
 800b488:	28 42 00 00 	lw r2,(r2+0)                                   
 800b48c:	44 22 00 09 	be r1,r2,800b4b0 <_Thread_Evaluate_mode+0x44>  
       ( !_Thread_Is_heir( executing ) && executing->is_preemptible ) ) {
 800b490:	40 21 00 75 	lbu r1,(r1+117)                                
 800b494:	44 20 00 07 	be r1,r0,800b4b0 <_Thread_Evaluate_mode+0x44>  <== NEVER TAKEN
    _Context_Switch_necessary = true;                                 
 800b498:	78 01 08 01 	mvhi r1,0x801                                  
 800b49c:	38 21 c8 f0 	ori r1,r1,0xc8f0                               
 800b4a0:	34 02 00 01 	mvi r2,1                                       
 800b4a4:	30 22 00 00 	sb (r1+0),r2                                   
 800b4a8:	b8 40 08 00 	mv r1,r2                                       
    return true;                                                      
 800b4ac:	c3 a0 00 00 	ret                                            
 800b4b0:	34 01 00 00 	mvi r1,0                                       
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
 800b4b4:	c3 a0 00 00 	ret                                            
                                                                      
0800b4b8 <_Thread_Handler>:                                           
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Thread_Handler( void )                                          
{                                                                     
 800b4b8:	37 9c ff f4 	addi sp,sp,-12                                 
 800b4bc:	5b 8b 00 0c 	sw (sp+12),r11                                 
 800b4c0:	5b 8c 00 08 	sw (sp+8),r12                                  
 800b4c4:	5b 9d 00 04 	sw (sp+4),ra                                   
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static char doneConstructors;                                     
    char doneCons;                                                    
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
 800b4c8:	78 01 08 01 	mvhi r1,0x801                                  
 800b4cc:	38 21 c8 e0 	ori r1,r1,0xc8e0                               
 800b4d0:	28 2b 00 00 	lw r11,(r1+0)                                  
  /*                                                                  
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
                                                                      
  level = executing->Start.isr_level;                                 
 800b4d4:	29 61 00 b8 	lw r1,(r11+184)                                
  _ISR_Set_level(level);                                              
 800b4d8:	64 21 00 00 	cmpei r1,r1,0                                  
 800b4dc:	d0 01 00 00 	wcsr IE,r1                                     
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
 800b4e0:	78 02 08 01 	mvhi r2,0x801                                  
 800b4e4:	38 42 c6 2c 	ori r2,r2,0xc62c                               
 800b4e8:	40 4c 00 00 	lbu r12,(r2+0)                                 
    doneConstructors = 1;                                             
 800b4ec:	34 03 00 01 	mvi r3,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 );                         
 800b4f0:	b9 60 08 00 	mv r1,r11                                      
  level = executing->Start.isr_level;                                 
  _ISR_Set_level(level);                                              
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
    doneConstructors = 1;                                             
 800b4f4:	30 43 00 00 	sb (r2+0),r3                                   
  /*                                                                  
   * 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 );                         
 800b4f8:	fb ff e8 e8 	calli 8005898 <_User_extensions_Thread_begin>  
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
 800b4fc:	fb ff e4 74 	calli 80046cc <_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) */ {                 
 800b500:	45 80 00 09 	be r12,r0,800b524 <_Thread_Handler+0x6c>       
      INIT_NAME ();                                                   
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
 800b504:	29 61 00 a0 	lw r1,(r11+160)                                
 800b508:	44 20 00 0a 	be r1,r0,800b530 <_Thread_Handler+0x78>        <== 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 );                       
 800b50c:	b9 60 08 00 	mv r1,r11                                      
 800b510:	fb ff e8 f9 	calli 80058f4 <_User_extensions_Thread_exitted>
                                                                      
  _Internal_error_Occurred(                                           
 800b514:	34 01 00 00 	mvi r1,0                                       
 800b518:	34 02 00 01 	mvi r2,1                                       
 800b51c:	34 03 00 06 	mvi r3,6                                       
 800b520:	fb ff e0 77 	calli 80036fc <_Internal_error_Occurred>       
     *  _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) */ {                 
      INIT_NAME ();                                                   
 800b524:	fb ff d2 b7 	calli 8000000 <RamBase>                        
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
 800b528:	29 61 00 a0 	lw r1,(r11+160)                                
 800b52c:	5c 20 ff f8 	bne r1,r0,800b50c <_Thread_Handler+0x54>       <== NEVER TAKEN
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
 800b530:	29 62 00 9c 	lw r2,(r11+156)                                
 800b534:	29 61 00 a8 	lw r1,(r11+168)                                
 800b538:	d8 40 00 00 	call r2                                        
      INIT_NAME ();                                                   
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
    executing->Wait.return_argument =                                 
 800b53c:	59 61 00 28 	sw (r11+40),r1                                 
 800b540:	e3 ff ff f3 	bi 800b50c <_Thread_Handler+0x54>              
                                                                      
08004a40 <_Thread_Handler_initialization>:                            
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Thread_Handler_initialization(void)                             
{                                                                     
 8004a40:	37 9c ff f0 	addi sp,sp,-16                                 
 8004a44:	5b 8b 00 10 	sw (sp+16),r11                                 
 8004a48:	5b 8c 00 0c 	sw (sp+12),r12                                 
 8004a4c:	5b 8d 00 08 	sw (sp+8),r13                                  
 8004a50:	5b 9d 00 04 	sw (sp+4),ra                                   
  uint32_t     maximum_extensions;                                    
  #if defined(RTEMS_MULTIPROCESSING)                                  
    uint32_t   maximum_proxies;                                       
  #endif                                                              
                                                                      
  ticks_per_timeslice = Configuration.ticks_per_timeslice;            
 8004a54:	78 01 08 01 	mvhi r1,0x801                                  
 8004a58:	38 21 c0 c4 	ori r1,r1,0xc0c4                               
  #endif                                                              
  /*                                                                  
   * BOTH stacks hooks must be set or both must be NULL.              
   * Do not allow mixture.                                            
   */                                                                 
    if ( !( (!Configuration.stack_allocate_hook)                      
 8004a5c:	28 22 00 20 	lw r2,(r1+32)                                  
 8004a60:	28 29 00 24 	lw r9,(r1+36)                                  
  uint32_t     maximum_extensions;                                    
  #if defined(RTEMS_MULTIPROCESSING)                                  
    uint32_t   maximum_proxies;                                       
  #endif                                                              
                                                                      
  ticks_per_timeslice = Configuration.ticks_per_timeslice;            
 8004a64:	28 2a 00 10 	lw r10,(r1+16)                                 
  #endif                                                              
  /*                                                                  
   * BOTH stacks hooks must be set or both must be NULL.              
   * Do not allow mixture.                                            
   */                                                                 
    if ( !( (!Configuration.stack_allocate_hook)                      
 8004a68:	64 42 00 00 	cmpei r2,r2,0                                  
 8004a6c:	65 29 00 00 	cmpei r9,r9,0                                  
  #if defined(RTEMS_MULTIPROCESSING)                                  
    uint32_t   maximum_proxies;                                       
  #endif                                                              
                                                                      
  ticks_per_timeslice = Configuration.ticks_per_timeslice;            
  maximum_extensions  = Configuration.maximum_extensions;             
 8004a70:	28 2d 00 08 	lw r13,(r1+8)                                  
  #endif                                                              
  /*                                                                  
   * BOTH stacks hooks must be set or both must be NULL.              
   * Do not allow mixture.                                            
   */                                                                 
    if ( !( (!Configuration.stack_allocate_hook)                      
 8004a74:	99 22 48 00 	xor r9,r9,r2                                   
 8004a78:	b9 20 58 00 	mv r11,r9                                      
 8004a7c:	5d 20 00 37 	bne r9,r0,8004b58 <_Thread_Handler_initialization+0x118><== NEVER TAKEN
                                                                      
  _Thread_Maximum_extensions = maximum_extensions;                    
                                                                      
  _Thread_Ticks_per_timeslice  = ticks_per_timeslice;                 
                                                                      
  _Thread_Ready_chain = (Chain_Control *) _Workspace_Allocate_or_fatal_error(
 8004a80:	78 0c 08 01 	mvhi r12,0x801                                 
 8004a84:	39 8c c0 c0 	ori r12,r12,0xc0c0                             
 8004a88:	41 81 00 00 	lbu r1,(r12+0)                                 
      INTERNAL_ERROR_CORE,                                            
      true,                                                           
      INTERNAL_ERROR_BAD_STACK_HOOK                                   
    );                                                                
                                                                      
  _Context_Switch_necessary = false;                                  
 8004a8c:	78 08 08 01 	mvhi r8,0x801                                  
  _Thread_Executing         = NULL;                                   
 8004a90:	78 05 08 01 	mvhi r5,0x801                                  
                                                                      
  _Thread_Maximum_extensions = maximum_extensions;                    
                                                                      
  _Thread_Ticks_per_timeslice  = ticks_per_timeslice;                 
                                                                      
  _Thread_Ready_chain = (Chain_Control *) _Workspace_Allocate_or_fatal_error(
 8004a94:	34 21 00 01 	addi r1,r1,1                                   
      INTERNAL_ERROR_BAD_STACK_HOOK                                   
    );                                                                
                                                                      
  _Context_Switch_necessary = false;                                  
  _Thread_Executing         = NULL;                                   
  _Thread_Heir              = NULL;                                   
 8004a98:	78 04 08 01 	mvhi r4,0x801                                  
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
  _Thread_Allocated_fp      = NULL;                                   
#endif                                                                
                                                                      
  _Thread_Do_post_task_switch_extension = 0;                          
 8004a9c:	78 03 08 01 	mvhi r3,0x801                                  
                                                                      
  _Thread_Maximum_extensions = maximum_extensions;                    
 8004aa0:	78 07 08 01 	mvhi r7,0x801                                  
                                                                      
  _Thread_Ticks_per_timeslice  = ticks_per_timeslice;                 
 8004aa4:	78 06 08 01 	mvhi r6,0x801                                  
      INTERNAL_ERROR_BAD_STACK_HOOK                                   
    );                                                                
                                                                      
  _Context_Switch_necessary = false;                                  
  _Thread_Executing         = NULL;                                   
  _Thread_Heir              = NULL;                                   
 8004aa8:	38 84 c8 b0 	ori r4,r4,0xc8b0                               
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
  _Thread_Allocated_fp      = NULL;                                   
#endif                                                                
                                                                      
  _Thread_Do_post_task_switch_extension = 0;                          
 8004aac:	38 63 c8 c4 	ori r3,r3,0xc8c4                               
                                                                      
  _Thread_Maximum_extensions = maximum_extensions;                    
                                                                      
  _Thread_Ticks_per_timeslice  = ticks_per_timeslice;                 
 8004ab0:	38 c6 c7 b4 	ori r6,r6,0xc7b4                               
      INTERNAL_ERROR_CORE,                                            
      true,                                                           
      INTERNAL_ERROR_BAD_STACK_HOOK                                   
    );                                                                
                                                                      
  _Context_Switch_necessary = false;                                  
 8004ab4:	39 08 c8 f0 	ori r8,r8,0xc8f0                               
  _Thread_Executing         = NULL;                                   
 8004ab8:	38 a5 c8 e0 	ori r5,r5,0xc8e0                               
  _Thread_Allocated_fp      = NULL;                                   
#endif                                                                
                                                                      
  _Thread_Do_post_task_switch_extension = 0;                          
                                                                      
  _Thread_Maximum_extensions = maximum_extensions;                    
 8004abc:	38 e7 c8 c0 	ori r7,r7,0xc8c0                               
                                                                      
  _Thread_Ticks_per_timeslice  = ticks_per_timeslice;                 
                                                                      
  _Thread_Ready_chain = (Chain_Control *) _Workspace_Allocate_or_fatal_error(
 8004ac0:	b4 21 10 00 	add r2,r1,r1                                   
                                                                      
  _Thread_Do_post_task_switch_extension = 0;                          
                                                                      
  _Thread_Maximum_extensions = maximum_extensions;                    
                                                                      
  _Thread_Ticks_per_timeslice  = ticks_per_timeslice;                 
 8004ac4:	58 ca 00 00 	sw (r6+0),r10                                  
      INTERNAL_ERROR_BAD_STACK_HOOK                                   
    );                                                                
                                                                      
  _Context_Switch_necessary = false;                                  
  _Thread_Executing         = NULL;                                   
  _Thread_Heir              = NULL;                                   
 8004ac8:	58 89 00 00 	sw (r4+0),r9                                   
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
  _Thread_Allocated_fp      = NULL;                                   
#endif                                                                
                                                                      
  _Thread_Do_post_task_switch_extension = 0;                          
 8004acc:	58 69 00 00 	sw (r3+0),r9                                   
                                                                      
  _Thread_Maximum_extensions = maximum_extensions;                    
                                                                      
  _Thread_Ticks_per_timeslice  = ticks_per_timeslice;                 
                                                                      
  _Thread_Ready_chain = (Chain_Control *) _Workspace_Allocate_or_fatal_error(
 8004ad0:	b4 41 08 00 	add r1,r2,r1                                   
      INTERNAL_ERROR_CORE,                                            
      true,                                                           
      INTERNAL_ERROR_BAD_STACK_HOOK                                   
    );                                                                
                                                                      
  _Context_Switch_necessary = false;                                  
 8004ad4:	31 09 00 00 	sb (r8+0),r9                                   
                                                                      
  _Thread_Maximum_extensions = maximum_extensions;                    
                                                                      
  _Thread_Ticks_per_timeslice  = ticks_per_timeslice;                 
                                                                      
  _Thread_Ready_chain = (Chain_Control *) _Workspace_Allocate_or_fatal_error(
 8004ad8:	34 02 00 02 	mvi r2,2                                       
  _Thread_Allocated_fp      = NULL;                                   
#endif                                                                
                                                                      
  _Thread_Do_post_task_switch_extension = 0;                          
                                                                      
  _Thread_Maximum_extensions = maximum_extensions;                    
 8004adc:	58 ed 00 00 	sw (r7+0),r13                                  
      true,                                                           
      INTERNAL_ERROR_BAD_STACK_HOOK                                   
    );                                                                
                                                                      
  _Context_Switch_necessary = false;                                  
  _Thread_Executing         = NULL;                                   
 8004ae0:	58 a9 00 00 	sw (r5+0),r9                                   
                                                                      
  _Thread_Maximum_extensions = maximum_extensions;                    
                                                                      
  _Thread_Ticks_per_timeslice  = ticks_per_timeslice;                 
                                                                      
  _Thread_Ready_chain = (Chain_Control *) _Workspace_Allocate_or_fatal_error(
 8004ae4:	fb ff ed c3 	calli 80001f0 <__ashlsi3>                      
 8004ae8:	f8 00 05 00 	calli 8005ee8 <_Workspace_Allocate_or_fatal_error>
 8004aec:	78 03 08 01 	mvhi r3,0x801                                  
    (PRIORITY_MAXIMUM + 1) * sizeof(Chain_Control)                    
  );                                                                  
                                                                      
  for ( index=0; index <= PRIORITY_MAXIMUM ; index++ )                
 8004af0:	41 84 00 00 	lbu r4,(r12+0)                                 
                                                                      
  _Thread_Maximum_extensions = maximum_extensions;                    
                                                                      
  _Thread_Ticks_per_timeslice  = ticks_per_timeslice;                 
                                                                      
  _Thread_Ready_chain = (Chain_Control *) _Workspace_Allocate_or_fatal_error(
 8004af4:	38 63 c7 b0 	ori r3,r3,0xc7b0                               
    (PRIORITY_MAXIMUM + 1) * sizeof(Chain_Control)                    
  );                                                                  
                                                                      
  for ( index=0; index <= PRIORITY_MAXIMUM ; index++ )                
 8004af8:	b9 60 10 00 	mv r2,r11                                      
                                                                      
  _Thread_Maximum_extensions = maximum_extensions;                    
                                                                      
  _Thread_Ticks_per_timeslice  = ticks_per_timeslice;                 
                                                                      
  _Thread_Ready_chain = (Chain_Control *) _Workspace_Allocate_or_fatal_error(
 8004afc:	58 61 00 00 	sw (r3+0),r1                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
 8004b00:	b9 60 30 00 	mv r6,r11                                      
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 8004b04:	34 23 00 04 	addi r3,r1,4                                   
 8004b08:	58 23 00 00 	sw (r1+0),r3                                   
  the_chain->permanent_null = NULL;                                   
 8004b0c:	58 26 00 04 	sw (r1+4),r6                                   
  the_chain->last           = _Chain_Head(the_chain);                 
 8004b10:	58 21 00 08 	sw (r1+8),r1                                   
    (PRIORITY_MAXIMUM + 1) * sizeof(Chain_Control)                    
  );                                                                  
                                                                      
  for ( index=0; index <= PRIORITY_MAXIMUM ; index++ )                
 8004b14:	34 42 00 01 	addi r2,r2,1                                   
 8004b18:	34 21 00 0c 	addi r1,r1,12                                  
 8004b1c:	50 82 ff fa 	bgeu r4,r2,8004b04 <_Thread_Handler_initialization+0xc4>
                                                                      
  /*                                                                  
   *  Initialize this class of objects.                               
   */                                                                 
                                                                      
  _Objects_Initialize_information(                                    
 8004b20:	34 02 00 01 	mvi r2,1                                       
 8004b24:	78 01 08 01 	mvhi r1,0x801                                  
 8004b28:	38 21 c9 80 	ori r1,r1,0xc980                               
 8004b2c:	b8 40 18 00 	mv r3,r2                                       
 8004b30:	b8 40 20 00 	mv r4,r2                                       
 8004b34:	34 05 01 38 	mvi r5,312                                     
 8004b38:	34 07 00 08 	mvi r7,8                                       
 8004b3c:	fb ff fc 96 	calli 8003d94 <_Objects_Initialize_information>
    false,                      /* true if this is a global object class */
    NULL                        /* Proxy extraction support callout */
#endif                                                                
  );                                                                  
                                                                      
}                                                                     
 8004b40:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8004b44:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8004b48:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8004b4c:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8004b50:	37 9c 00 10 	addi sp,sp,16                                  
 8004b54:	c3 a0 00 00 	ret                                            
   * BOTH stacks hooks must be set or both must be NULL.              
   * Do not allow mixture.                                            
   */                                                                 
    if ( !( (!Configuration.stack_allocate_hook)                      
            == (!Configuration.stack_free_hook) ) )                   
    _Internal_error_Occurred(                                         
 8004b58:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 8004b5c:	34 02 00 01 	mvi r2,1                                       <== NOT EXECUTED
 8004b60:	34 03 00 0f 	mvi r3,15                                      <== NOT EXECUTED
 8004b64:	fb ff fa e6 	calli 80036fc <_Internal_error_Occurred>       <== NOT EXECUTED
                                                                      
08009aa4 <_Thread_Reset_timeslice>:                                   
{                                                                     
  ISR_Level       level;                                              
  Thread_Control *executing;                                          
  Chain_Control  *ready;                                              
                                                                      
  executing = _Thread_Executing;                                      
 8009aa4:	78 01 08 01 	mvhi r1,0x801                                  
 8009aa8:	38 21 c8 e0 	ori r1,r1,0xc8e0                               
 8009aac:	28 21 00 00 	lw r1,(r1+0)                                   
  ready     = executing->ready;                                       
 8009ab0:	28 22 00 8c 	lw r2,(r1+140)                                 
  _ISR_Disable( level );                                              
 8009ab4:	90 00 20 00 	rcsr r4,IE                                     
 8009ab8:	34 03 ff fe 	mvi r3,-2                                      
 8009abc:	a0 83 18 00 	and r3,r4,r3                                   
 8009ac0:	d0 03 00 00 	wcsr IE,r3                                     
    if ( _Chain_Has_only_one_node( ready ) ) {                        
 8009ac4:	28 46 00 00 	lw r6,(r2+0)                                   
 8009ac8:	28 45 00 08 	lw r5,(r2+8)                                   
 8009acc:	44 c5 00 1f 	be r6,r5,8009b48 <_Thread_Reset_timeslice+0xa4>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
 8009ad0:	28 25 00 00 	lw r5,(r1+0)                                   
  previous       = the_node->previous;                                
 8009ad4:	28 26 00 04 	lw r6,(r1+4)                                   
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
 8009ad8:	34 47 00 04 	addi r7,r2,4                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
  previous->next = next;                                              
 8009adc:	58 c5 00 00 	sw (r6+0),r5                                   
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
 8009ae0:	58 27 00 00 	sw (r1+0),r7                                   
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
 8009ae4:	58 a6 00 04 	sw (r5+4),r6                                   
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
 8009ae8:	28 45 00 08 	lw r5,(r2+8)                                   
  the_chain->last     = the_node;                                     
 8009aec:	58 41 00 08 	sw (r2+8),r1                                   
  old_last_node->next = the_node;                                     
  the_node->previous  = old_last_node;                                
 8009af0:	58 25 00 04 	sw (r1+4),r5                                   
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  the_chain->last     = the_node;                                     
  old_last_node->next = the_node;                                     
 8009af4:	58 a1 00 00 	sw (r5+0),r1                                   
      return;                                                         
    }                                                                 
    _Chain_Extract_unprotected( &executing->Object.Node );            
    _Chain_Append_unprotected( ready, &executing->Object.Node );      
                                                                      
  _ISR_Flash( level );                                                
 8009af8:	d0 04 00 00 	wcsr IE,r4                                     
 8009afc:	d0 03 00 00 	wcsr IE,r3                                     
                                                                      
    if ( _Thread_Is_heir( executing ) )                               
 8009b00:	78 03 08 01 	mvhi r3,0x801                                  
 8009b04:	38 63 c8 b0 	ori r3,r3,0xc8b0                               
 8009b08:	28 65 00 00 	lw r5,(r3+0)                                   
 8009b0c:	44 25 00 07 	be r1,r5,8009b28 <_Thread_Reset_timeslice+0x84><== ALWAYS TAKEN
      _Thread_Heir = (Thread_Control *) ready->first;                 
                                                                      
    _Context_Switch_necessary = true;                                 
 8009b10:	78 01 08 01 	mvhi r1,0x801                                  <== NOT EXECUTED
 8009b14:	38 21 c8 f0 	ori r1,r1,0xc8f0                               <== NOT EXECUTED
 8009b18:	34 02 00 01 	mvi r2,1                                       <== NOT EXECUTED
 8009b1c:	30 22 00 00 	sb (r1+0),r2                                   <== NOT EXECUTED
                                                                      
  _ISR_Enable( level );                                               
 8009b20:	d0 04 00 00 	wcsr IE,r4                                     <== NOT EXECUTED
 8009b24:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
    _Chain_Append_unprotected( ready, &executing->Object.Node );      
                                                                      
  _ISR_Flash( level );                                                
                                                                      
    if ( _Thread_Is_heir( executing ) )                               
      _Thread_Heir = (Thread_Control *) ready->first;                 
 8009b28:	28 42 00 00 	lw r2,(r2+0)                                   
                                                                      
    _Context_Switch_necessary = true;                                 
 8009b2c:	78 01 08 01 	mvhi r1,0x801                                  
 8009b30:	38 21 c8 f0 	ori r1,r1,0xc8f0                               
    _Chain_Append_unprotected( ready, &executing->Object.Node );      
                                                                      
  _ISR_Flash( level );                                                
                                                                      
    if ( _Thread_Is_heir( executing ) )                               
      _Thread_Heir = (Thread_Control *) ready->first;                 
 8009b34:	58 62 00 00 	sw (r3+0),r2                                   
                                                                      
    _Context_Switch_necessary = true;                                 
 8009b38:	34 02 00 01 	mvi r2,1                                       
 8009b3c:	30 22 00 00 	sb (r1+0),r2                                   
                                                                      
  _ISR_Enable( level );                                               
 8009b40:	d0 04 00 00 	wcsr IE,r4                                     
 8009b44:	c3 a0 00 00 	ret                                            
                                                                      
  executing = _Thread_Executing;                                      
  ready     = executing->ready;                                       
  _ISR_Disable( level );                                              
    if ( _Chain_Has_only_one_node( ready ) ) {                        
      _ISR_Enable( level );                                           
 8009b48:	d0 04 00 00 	wcsr IE,r4                                     
      return;                                                         
 8009b4c:	c3 a0 00 00 	ret                                            
                                                                      
0800617c <_Thread_Restart>:                                           
bool _Thread_Restart(                                                 
  Thread_Control            *the_thread,                              
  void                      *pointer_argument,                        
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
 800617c:	37 9c ff f0 	addi sp,sp,-16                                 
 8006180:	5b 8b 00 08 	sw (sp+8),r11                                  
 8006184:	5b 9d 00 04 	sw (sp+4),ra                                   
  if ( !_States_Is_dormant( the_thread->current_state ) ) {           
 8006188:	28 25 00 10 	lw r5,(r1+16)                                  
 800618c:	34 04 00 00 	mvi r4,0                                       
bool _Thread_Restart(                                                 
  Thread_Control            *the_thread,                              
  void                      *pointer_argument,                        
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
 8006190:	b8 20 58 00 	mv r11,r1                                      
  if ( !_States_Is_dormant( the_thread->current_state ) ) {           
 8006194:	20 a5 00 01 	andi r5,r5,0x1                                 
 8006198:	44 a4 00 06 	be r5,r4,80061b0 <_Thread_Restart+0x34>        
                                                                      
    return true;                                                      
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
 800619c:	b8 80 08 00 	mv r1,r4                                       
 80061a0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80061a4:	2b 8b 00 08 	lw r11,(sp+8)                                  
 80061a8:	37 9c 00 10 	addi sp,sp,16                                  
 80061ac:	c3 a0 00 00 	ret                                            
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
  if ( !_States_Is_dormant( the_thread->current_state ) ) {           
                                                                      
    _Thread_Set_transient( the_thread );                              
 80061b0:	5b 82 00 10 	sw (sp+16),r2                                  
 80061b4:	5b 83 00 0c 	sw (sp+12),r3                                  
 80061b8:	f8 00 00 b9 	calli 800649c <_Thread_Set_transient>          
                                                                      
    _Thread_Reset( the_thread, pointer_argument, numeric_argument );  
 80061bc:	2b 82 00 10 	lw r2,(sp+16)                                  
 80061c0:	2b 83 00 0c 	lw r3,(sp+12)                                  
 80061c4:	b9 60 08 00 	mv r1,r11                                      
 80061c8:	f8 00 12 ce 	calli 800ad00 <_Thread_Reset>                  
                                                                      
    _Thread_Load_environment( the_thread );                           
 80061cc:	b9 60 08 00 	mv r1,r11                                      
 80061d0:	f8 00 11 93 	calli 800a81c <_Thread_Load_environment>       
                                                                      
    _Thread_Ready( the_thread );                                      
 80061d4:	b9 60 08 00 	mv r1,r11                                      
 80061d8:	f8 00 12 66 	calli 800ab70 <_Thread_Ready>                  
                                                                      
    _User_extensions_Thread_restart( the_thread );                    
 80061dc:	b9 60 08 00 	mv r1,r11                                      
 80061e0:	f8 00 02 6f 	calli 8006b9c <_User_extensions_Thread_restart>
                                                                      
    if ( _Thread_Is_executing ( the_thread ) )                        
 80061e4:	78 01 08 02 	mvhi r1,0x802                                  
 80061e8:	38 21 19 40 	ori r1,r1,0x1940                               
 80061ec:	28 21 00 00 	lw r1,(r1+0)                                   
 80061f0:	34 04 00 01 	mvi r4,1                                       
 80061f4:	5d 61 ff ea 	bne r11,r1,800619c <_Thread_Restart+0x20>      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
  if ( _Thread_Executing->fp_context != NULL )                        
    _Context_Restore_fp( &_Thread_Executing->fp_context );            
#endif                                                                
                                                                      
  _CPU_Context_Restart_self( &_Thread_Executing->Registers );         
 80061f8:	35 61 00 cc 	addi r1,r11,204                                
 80061fc:	f8 00 04 0a 	calli 8007224 <_CPU_Context_restore>           
 8006200:	34 04 00 01 	mvi r4,1                                       <== NOT EXECUTED
 8006204:	e3 ff ff e6 	bi 800619c <_Thread_Restart+0x20>              <== NOT EXECUTED
                                                                      
0800aa9c <_Thread_Resume>:                                            
{                                                                     
                                                                      
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
 800aa9c:	90 00 10 00 	rcsr r2,IE                                     
 800aaa0:	34 04 ff fe 	mvi r4,-2                                      
 800aaa4:	a0 44 20 00 	and r4,r2,r4                                   
 800aaa8:	d0 04 00 00 	wcsr IE,r4                                     
      _ISR_Enable( level );                                           
      return;                                                         
    }                                                                 
  #endif                                                              
                                                                      
  current_state = the_thread->current_state;                          
 800aaac:	28 23 00 10 	lw r3,(r1+16)                                  
  if ( current_state & STATES_SUSPENDED ) {                           
 800aab0:	20 65 00 02 	andi r5,r3,0x2                                 
 800aab4:	44 a0 00 2a 	be r5,r0,800ab5c <_Thread_Resume+0xc0>         <== NEVER TAKEN
 800aab8:	34 05 ff fd 	mvi r5,-3                                      
 800aabc:	a0 65 18 00 	and r3,r3,r5                                   
    current_state =                                                   
 800aac0:	58 23 00 10 	sw (r1+16),r3                                  
    the_thread->current_state = _States_Clear(STATES_SUSPENDED, current_state);
                                                                      
    if ( _States_Is_ready( current_state ) ) {                        
 800aac4:	5c 60 00 26 	bne r3,r0,800ab5c <_Thread_Resume+0xc0>        
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
 800aac8:	28 26 00 90 	lw r6,(r1+144)                                 
 800aacc:	2c 27 00 96 	lhu r7,(r1+150)                                
                                                                      
      _Priority_Add_to_bit_map( &the_thread->Priority_map );          
                                                                      
      _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
 800aad0:	28 25 00 8c 	lw r5,(r1+140)                                 
 800aad4:	2c c8 00 00 	lhu r8,(r6+0)                                  
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
 800aad8:	78 03 08 02 	mvhi r3,0x802                                  
 800aadc:	38 63 49 b4 	ori r3,r3,0x49b4                               
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
 800aae0:	b9 07 38 00 	or r7,r8,r7                                    
 800aae4:	0c c7 00 00 	sh (r6+0),r7                                   
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
 800aae8:	2c 67 00 00 	lhu r7,(r3+0)                                  
 800aaec:	2c 28 00 94 	lhu r8,(r1+148)                                
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
 800aaf0:	34 a6 00 04 	addi r6,r5,4                                   
 800aaf4:	58 26 00 00 	sw (r1+0),r6                                   
  old_last_node       = the_chain->last;                              
 800aaf8:	28 a6 00 08 	lw r6,(r5+8)                                   
 800aafc:	b9 07 38 00 	or r7,r8,r7                                    
  the_chain->last     = the_node;                                     
 800ab00:	58 a1 00 08 	sw (r5+8),r1                                   
 800ab04:	20 e5 ff ff 	andi r5,r7,0xffff                              
 800ab08:	0c 65 00 00 	sh (r3+0),r5                                   
  old_last_node->next = the_node;                                     
  the_node->previous  = old_last_node;                                
 800ab0c:	58 26 00 04 	sw (r1+4),r6                                   
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  the_chain->last     = the_node;                                     
  old_last_node->next = the_node;                                     
 800ab10:	58 c1 00 00 	sw (r6+0),r1                                   
                                                                      
      _ISR_Flash( level );                                            
 800ab14:	d0 02 00 00 	wcsr IE,r2                                     
 800ab18:	d0 04 00 00 	wcsr IE,r4                                     
                                                                      
      if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
 800ab1c:	78 03 08 02 	mvhi r3,0x802                                  
 800ab20:	38 63 49 90 	ori r3,r3,0x4990                               
 800ab24:	28 64 00 00 	lw r4,(r3+0)                                   
 800ab28:	28 25 00 14 	lw r5,(r1+20)                                  
 800ab2c:	28 84 00 14 	lw r4,(r4+20)                                  
 800ab30:	50 a4 00 0b 	bgeu r5,r4,800ab5c <_Thread_Resume+0xc0>       
        _Thread_Heir = the_thread;                                    
        if ( _Thread_Executing->is_preemptible ||                     
 800ab34:	78 04 08 02 	mvhi r4,0x802                                  
 800ab38:	38 84 49 c0 	ori r4,r4,0x49c0                               
 800ab3c:	28 84 00 00 	lw r4,(r4+0)                                   
      _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
        _Thread_Heir = the_thread;                                    
 800ab40:	58 61 00 00 	sw (r3+0),r1                                   
        if ( _Thread_Executing->is_preemptible ||                     
 800ab44:	40 81 00 75 	lbu r1,(r4+117)                                
 800ab48:	44 20 00 07 	be r1,r0,800ab64 <_Thread_Resume+0xc8>         
             the_thread->current_priority == 0 )                      
          _Context_Switch_necessary = true;                           
 800ab4c:	78 01 08 02 	mvhi r1,0x802                                  
 800ab50:	38 21 49 d0 	ori r1,r1,0x49d0                               
 800ab54:	34 03 00 01 	mvi r3,1                                       
 800ab58:	30 23 00 00 	sb (r1+0),r3                                   
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
 800ab5c:	d0 02 00 00 	wcsr IE,r2                                     
}                                                                     
 800ab60:	c3 a0 00 00 	ret                                            
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
        _Thread_Heir = the_thread;                                    
        if ( _Thread_Executing->is_preemptible ||                     
 800ab64:	44 a1 ff fa 	be r5,r1,800ab4c <_Thread_Resume+0xb0>         <== NEVER TAKEN
 800ab68:	e3 ff ff fd 	bi 800ab5c <_Thread_Resume+0xc0>               
                                                                      
0800d8e0 <_Thread_Yield_processor>:                                   
{                                                                     
  ISR_Level       level;                                              
  Thread_Control *executing;                                          
  Chain_Control  *ready;                                              
                                                                      
  executing = _Thread_Executing;                                      
 800d8e0:	78 01 08 02 	mvhi r1,0x802                                  
 800d8e4:	38 21 aa 70 	ori r1,r1,0xaa70                               
 800d8e8:	28 21 00 00 	lw r1,(r1+0)                                   
  ready     = executing->ready;                                       
 800d8ec:	28 22 00 8c 	lw r2,(r1+140)                                 
  _ISR_Disable( level );                                              
 800d8f0:	90 00 20 00 	rcsr r4,IE                                     
 800d8f4:	34 03 ff fe 	mvi r3,-2                                      
 800d8f8:	a0 83 18 00 	and r3,r4,r3                                   
 800d8fc:	d0 03 00 00 	wcsr IE,r3                                     
    if ( !_Chain_Has_only_one_node( ready ) ) {                       
 800d900:	28 46 00 00 	lw r6,(r2+0)                                   
 800d904:	28 45 00 08 	lw r5,(r2+8)                                   
 800d908:	44 c5 00 1a 	be r6,r5,800d970 <_Thread_Yield_processor+0x90>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
 800d90c:	28 25 00 00 	lw r5,(r1+0)                                   
  previous       = the_node->previous;                                
 800d910:	28 26 00 04 	lw r6,(r1+4)                                   
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
 800d914:	34 47 00 04 	addi r7,r2,4                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
  previous->next = next;                                              
 800d918:	58 c5 00 00 	sw (r6+0),r5                                   
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
 800d91c:	58 27 00 00 	sw (r1+0),r7                                   
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
 800d920:	58 a6 00 04 	sw (r5+4),r6                                   
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
 800d924:	28 45 00 08 	lw r5,(r2+8)                                   
  the_chain->last     = the_node;                                     
 800d928:	58 41 00 08 	sw (r2+8),r1                                   
  old_last_node->next = the_node;                                     
  the_node->previous  = old_last_node;                                
 800d92c:	58 25 00 04 	sw (r1+4),r5                                   
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  the_chain->last     = the_node;                                     
  old_last_node->next = the_node;                                     
 800d930:	58 a1 00 00 	sw (r5+0),r1                                   
      _Chain_Extract_unprotected( &executing->Object.Node );          
      _Chain_Append_unprotected( ready, &executing->Object.Node );    
                                                                      
      _ISR_Flash( level );                                            
 800d934:	d0 04 00 00 	wcsr IE,r4                                     
 800d938:	d0 03 00 00 	wcsr IE,r3                                     
                                                                      
      if ( _Thread_Is_heir( executing ) )                             
 800d93c:	78 03 08 02 	mvhi r3,0x802                                  
 800d940:	38 63 aa 40 	ori r3,r3,0xaa40                               
 800d944:	28 65 00 00 	lw r5,(r3+0)                                   
 800d948:	44 25 00 07 	be r1,r5,800d964 <_Thread_Yield_processor+0x84><== ALWAYS TAKEN
        _Thread_Heir = (Thread_Control *) ready->first;               
      _Context_Switch_necessary = true;                               
    }                                                                 
    else if ( !_Thread_Is_heir( executing ) )                         
      _Context_Switch_necessary = true;                               
 800d94c:	78 01 08 02 	mvhi r1,0x802                                  
 800d950:	38 21 aa 80 	ori r1,r1,0xaa80                               
 800d954:	34 02 00 01 	mvi r2,1                                       
 800d958:	30 22 00 00 	sb (r1+0),r2                                   
                                                                      
  _ISR_Enable( level );                                               
 800d95c:	d0 04 00 00 	wcsr IE,r4                                     
}                                                                     
 800d960:	c3 a0 00 00 	ret                                            
      _Chain_Append_unprotected( ready, &executing->Object.Node );    
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( _Thread_Is_heir( executing ) )                             
        _Thread_Heir = (Thread_Control *) ready->first;               
 800d964:	28 42 00 00 	lw r2,(r2+0)                                   
 800d968:	58 62 00 00 	sw (r3+0),r2                                   
 800d96c:	e3 ff ff f8 	bi 800d94c <_Thread_Yield_processor+0x6c>      
      _Context_Switch_necessary = true;                               
    }                                                                 
    else if ( !_Thread_Is_heir( executing ) )                         
 800d970:	78 02 08 02 	mvhi r2,0x802                                  
 800d974:	38 42 aa 40 	ori r2,r2,0xaa40                               
 800d978:	28 42 00 00 	lw r2,(r2+0)                                   
 800d97c:	5c 22 ff f4 	bne r1,r2,800d94c <_Thread_Yield_processor+0x6c><== NEVER TAKEN
 800d980:	e3 ff ff f7 	bi 800d95c <_Thread_Yield_processor+0x7c>      
                                                                      
08004e10 <_Thread_queue_Enqueue_priority>:                            
Thread_blocking_operation_States _Thread_queue_Enqueue_priority (     
  Thread_queue_Control *the_thread_queue,                             
  Thread_Control       *the_thread,                                   
  ISR_Level            *level_p                                       
)                                                                     
{                                                                     
 8004e10:	37 9c ff ec 	addi sp,sp,-20                                 
 8004e14:	5b 8b 00 14 	sw (sp+20),r11                                 
 8004e18:	5b 8c 00 10 	sw (sp+16),r12                                 
 8004e1c:	5b 8d 00 0c 	sw (sp+12),r13                                 
 8004e20:	5b 8e 00 08 	sw (sp+8),r14                                  
 8004e24:	5b 9d 00 04 	sw (sp+4),ra                                   
  Priority_Control     priority;                                      
  States_Control       block_state;                                   
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
 8004e28:	28 4b 00 14 	lw r11,(r2+20)                                 
Thread_blocking_operation_States _Thread_queue_Enqueue_priority (     
  Thread_queue_Control *the_thread_queue,                             
  Thread_Control       *the_thread,                                   
  ISR_Level            *level_p                                       
)                                                                     
{                                                                     
 8004e2c:	b8 40 60 00 	mv r12,r2                                      
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 8004e30:	34 44 00 3c 	addi r4,r2,60                                  
 8004e34:	59 84 00 38 	sw (r12+56),r4                                 
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
 8004e38:	34 42 00 38 	addi r2,r2,56                                  
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
 8004e3c:	34 04 00 00 	mvi r4,0                                       
 8004e40:	b8 20 68 00 	mv r13,r1                                      
 8004e44:	59 84 00 3c 	sw (r12+60),r4                                 
  the_chain->last           = _Chain_Head(the_chain);                 
 8004e48:	59 82 00 40 	sw (r12+64),r2                                 
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
 8004e4c:	b9 60 08 00 	mv r1,r11                                      
 8004e50:	34 02 00 06 	mvi r2,6                                       
Thread_blocking_operation_States _Thread_queue_Enqueue_priority (     
  Thread_queue_Control *the_thread_queue,                             
  Thread_Control       *the_thread,                                   
  ISR_Level            *level_p                                       
)                                                                     
{                                                                     
 8004e54:	b8 60 70 00 	mv r14,r3                                      
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
 8004e58:	fb ff ed 0e 	calli 8000290 <__lshrsi3>                      
 8004e5c:	b4 21 10 00 	add r2,r1,r1                                   
 8004e60:	b4 41 08 00 	add r1,r2,r1                                   
 8004e64:	34 02 00 02 	mvi r2,2                                       
 8004e68:	fb ff ec e2 	calli 80001f0 <__ashlsi3>                      
  block_state  = the_thread_queue->state;                             
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
 8004e6c:	21 62 00 20 	andi r2,r11,0x20                               
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
 8004e70:	b5 a1 40 00 	add r8,r13,r1                                  
  block_state  = the_thread_queue->state;                             
 8004e74:	29 a6 00 38 	lw r6,(r13+56)                                 
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
 8004e78:	5c 40 00 25 	bne r2,r0,8004f0c <_Thread_queue_Enqueue_priority+0xfc>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 8004e7c:	35 01 00 04 	addi r1,r8,4                                   
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
 8004e80:	34 0a ff fe 	mvi r10,-2                                     
 8004e84:	90 00 10 00 	rcsr r2,IE                                     
 8004e88:	a0 4a 48 00 	and r9,r2,r10                                  
 8004e8c:	d0 09 00 00 	wcsr IE,r9                                     
  search_thread = (Thread_Control *) header->first;                   
 8004e90:	29 04 00 00 	lw r4,(r8+0)                                   
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
 8004e94:	44 81 00 69 	be r4,r1,8005038 <_Thread_queue_Enqueue_priority+0x228>
    search_priority = search_thread->current_priority;                
 8004e98:	28 85 00 14 	lw r5,(r4+20)                                  
    if ( priority <= search_priority )                                
 8004e9c:	50 ab 00 10 	bgeu r5,r11,8004edc <_Thread_queue_Enqueue_priority+0xcc>
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority <= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
 8004ea0:	d0 02 00 00 	wcsr IE,r2                                     
 8004ea4:	d0 09 00 00 	wcsr IE,r9                                     
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
 8004ea8:	28 83 00 10 	lw r3,(r4+16)                                  
 8004eac:	a0 c3 18 00 	and r3,r6,r3                                   
 8004eb0:	5c 60 00 09 	bne r3,r0,8004ed4 <_Thread_queue_Enqueue_priority+0xc4><== ALWAYS TAKEN
 8004eb4:	e0 00 00 43 	bi 8004fc0 <_Thread_queue_Enqueue_priority+0x1b0><== NOT EXECUTED
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->first;                   
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
    search_priority = search_thread->current_priority;                
 8004eb8:	28 85 00 14 	lw r5,(r4+20)                                  
    if ( priority <= search_priority )                                
 8004ebc:	50 ab 00 08 	bgeu r5,r11,8004edc <_Thread_queue_Enqueue_priority+0xcc>
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority <= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
 8004ec0:	d0 02 00 00 	wcsr IE,r2                                     
 8004ec4:	d0 09 00 00 	wcsr IE,r9                                     
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
 8004ec8:	28 87 00 10 	lw r7,(r4+16)                                  
 8004ecc:	a0 c7 38 00 	and r7,r6,r7                                   
 8004ed0:	44 e0 00 3c 	be r7,r0,8004fc0 <_Thread_queue_Enqueue_priority+0x1b0><== NEVER TAKEN
      _ISR_Enable( level );                                           
      goto restart_forward_search;                                    
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
 8004ed4:	28 84 00 00 	lw r4,(r4+0)                                   
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->first;                   
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
 8004ed8:	5c 81 ff f8 	bne r4,r1,8004eb8 <_Thread_queue_Enqueue_priority+0xa8>
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
 8004edc:	29 a1 00 30 	lw r1,(r13+48)                                 
 8004ee0:	34 06 00 01 	mvi r6,1                                       
  the_node->previous     = previous_node;                             
  previous_node->next    = the_node;                                  
  search_node->previous  = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
 8004ee4:	b8 40 18 00 	mv r3,r2                                       
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
 8004ee8:	44 26 00 38 	be r1,r6,8004fc8 <_Thread_queue_Enqueue_priority+0x1b8>
   *  For example, the blocking thread could have been given          
   *  the mutex by an ISR or timed out.                               
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
 8004eec:	59 c3 00 00 	sw (r14+0),r3                                  
  return the_thread_queue->sync_state;                                
}                                                                     
 8004ef0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8004ef4:	2b 8b 00 14 	lw r11,(sp+20)                                 
 8004ef8:	2b 8c 00 10 	lw r12,(sp+16)                                 
 8004efc:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 8004f00:	2b 8e 00 08 	lw r14,(sp+8)                                  
 8004f04:	37 9c 00 14 	addi sp,sp,20                                  
 8004f08:	c3 a0 00 00 	ret                                            
 8004f0c:	78 01 08 01 	mvhi r1,0x801                                  
 8004f10:	38 21 c0 c0 	ori r1,r1,0xc0c0                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
 8004f14:	34 03 ff fe 	mvi r3,-2                                      
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
 8004f18:	40 25 00 00 	lbu r5,(r1+0)                                  
 8004f1c:	34 a5 00 01 	addi r5,r5,1                                   
                                                                      
  _ISR_Disable( level );                                              
 8004f20:	90 00 38 00 	rcsr r7,IE                                     
 8004f24:	a0 e3 48 00 	and r9,r7,r3                                   
 8004f28:	d0 09 00 00 	wcsr IE,r9                                     
  search_thread = (Thread_Control *) header->last;                    
 8004f2c:	29 04 00 08 	lw r4,(r8+8)                                   
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
 8004f30:	5c 88 00 04 	bne r4,r8,8004f40 <_Thread_queue_Enqueue_priority+0x130>
 8004f34:	e0 00 00 0c 	bi 8004f64 <_Thread_queue_Enqueue_priority+0x154>
    _ISR_Flash( level );                                              
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
      _ISR_Enable( level );                                           
      goto restart_reverse_search;                                    
    }                                                                 
    search_thread = (Thread_Control *)                                
 8004f38:	28 84 00 04 	lw r4,(r4+4)                                   
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->last;                    
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
 8004f3c:	45 04 00 0a 	be r8,r4,8004f64 <_Thread_queue_Enqueue_priority+0x154>
    search_priority = search_thread->current_priority;                
 8004f40:	28 85 00 14 	lw r5,(r4+20)                                  
    if ( priority >= search_priority )                                
 8004f44:	51 65 00 08 	bgeu r11,r5,8004f64 <_Thread_queue_Enqueue_priority+0x154>
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority >= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
 8004f48:	d0 07 00 00 	wcsr IE,r7                                     
 8004f4c:	d0 09 00 00 	wcsr IE,r9                                     
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
 8004f50:	28 82 00 10 	lw r2,(r4+16)                                  
 8004f54:	a0 c2 10 00 	and r2,r6,r2                                   
 8004f58:	5c 40 ff f8 	bne r2,r0,8004f38 <_Thread_queue_Enqueue_priority+0x128><== ALWAYS TAKEN
      _ISR_Enable( level );                                           
 8004f5c:	d0 07 00 00 	wcsr IE,r7                                     <== NOT EXECUTED
      goto restart_reverse_search;                                    
 8004f60:	e3 ff ff ee 	bi 8004f18 <_Thread_queue_Enqueue_priority+0x108><== NOT EXECUTED
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
 8004f64:	29 a1 00 30 	lw r1,(r13+48)                                 
 8004f68:	34 02 00 01 	mvi r2,1                                       
 8004f6c:	b8 e0 18 00 	mv r3,r7                                       
 8004f70:	5c 22 ff df 	bne r1,r2,8004eec <_Thread_queue_Enqueue_priority+0xdc>
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
 8004f74:	34 01 00 00 	mvi r1,0                                       
 8004f78:	59 a1 00 30 	sw (r13+48),r1                                 
                                                                      
  if ( priority == search_priority )                                  
 8004f7c:	b8 e0 10 00 	mv r2,r7                                       
 8004f80:	45 65 00 24 	be r11,r5,8005010 <_Thread_queue_Enqueue_priority+0x200>
    goto equal_priority;                                              
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
 8004f84:	28 81 00 00 	lw r1,(r4+0)                                   
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  the_node->previous      = search_node;                              
 8004f88:	59 84 00 04 	sw (r12+4),r4                                  
  search_node->next       = the_node;                                 
  next_node->previous    = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
 8004f8c:	59 8d 00 44 	sw (r12+68),r13                                
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
 8004f90:	59 81 00 00 	sw (r12+0),r1                                  
  the_node->previous      = search_node;                              
  search_node->next       = the_node;                                 
 8004f94:	58 8c 00 00 	sw (r4+0),r12                                  
  next_node->previous    = the_node;                                  
 8004f98:	58 2c 00 04 	sw (r1+4),r12                                  
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
 8004f9c:	d0 07 00 00 	wcsr IE,r7                                     
 8004fa0:	34 01 00 01 	mvi r1,1                                       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  return the_thread_queue->sync_state;                                
}                                                                     
 8004fa4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8004fa8:	2b 8b 00 14 	lw r11,(sp+20)                                 
 8004fac:	2b 8c 00 10 	lw r12,(sp+16)                                 
 8004fb0:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 8004fb4:	2b 8e 00 08 	lw r14,(sp+8)                                  
 8004fb8:	37 9c 00 14 	addi sp,sp,20                                  
 8004fbc:	c3 a0 00 00 	ret                                            
    if ( priority <= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
      _ISR_Enable( level );                                           
 8004fc0:	d0 02 00 00 	wcsr IE,r2                                     <== NOT EXECUTED
      goto restart_forward_search;                                    
 8004fc4:	e3 ff ff b0 	bi 8004e84 <_Thread_queue_Enqueue_priority+0x74><== NOT EXECUTED
                                                                      
  if ( the_thread_queue->sync_state !=                                
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
 8004fc8:	34 01 00 00 	mvi r1,0                                       
 8004fcc:	59 a1 00 30 	sw (r13+48),r1                                 
                                                                      
  if ( priority == search_priority )                                  
 8004fd0:	45 65 00 10 	be r11,r5,8005010 <_Thread_queue_Enqueue_priority+0x200>
    goto equal_priority;                                              
                                                                      
  search_node   = (Chain_Node *) search_thread;                       
  previous_node = search_node->previous;                              
 8004fd4:	28 81 00 04 	lw r1,(r4+4)                                   
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
 8004fd8:	59 84 00 00 	sw (r12+0),r4                                  
  the_node->previous     = previous_node;                             
  previous_node->next    = the_node;                                  
  search_node->previous  = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
 8004fdc:	59 8d 00 44 	sw (r12+68),r13                                
  search_node   = (Chain_Node *) search_thread;                       
  previous_node = search_node->previous;                              
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  the_node->previous     = previous_node;                             
 8004fe0:	59 81 00 04 	sw (r12+4),r1                                  
  previous_node->next    = the_node;                                  
 8004fe4:	58 2c 00 00 	sw (r1+0),r12                                  
  search_node->previous  = the_node;                                  
 8004fe8:	58 8c 00 04 	sw (r4+4),r12                                  
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
 8004fec:	d0 02 00 00 	wcsr IE,r2                                     
 8004ff0:	34 01 00 01 	mvi r1,1                                       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  return the_thread_queue->sync_state;                                
}                                                                     
 8004ff4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8004ff8:	2b 8b 00 14 	lw r11,(sp+20)                                 
 8004ffc:	2b 8c 00 10 	lw r12,(sp+16)                                 
 8005000:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 8005004:	2b 8e 00 08 	lw r14,(sp+8)                                  
 8005008:	37 9c 00 14 	addi sp,sp,20                                  
 800500c:	c3 a0 00 00 	ret                                            
 8005010:	34 84 00 3c 	addi r4,r4,60                                  
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
equal_priority:               /* add at end of priority group */      
  search_node   = _Chain_Tail( &search_thread->Wait.Block2n );        
  previous_node = search_node->previous;                              
 8005014:	28 81 00 04 	lw r1,(r4+4)                                   
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
 8005018:	59 84 00 00 	sw (r12+0),r4                                  
  the_node->previous     = previous_node;                             
  previous_node->next    = the_node;                                  
  search_node->previous  = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
 800501c:	59 8d 00 44 	sw (r12+68),r13                                
  search_node   = _Chain_Tail( &search_thread->Wait.Block2n );        
  previous_node = search_node->previous;                              
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  the_node->previous     = previous_node;                             
 8005020:	59 81 00 04 	sw (r12+4),r1                                  
  previous_node->next    = the_node;                                  
 8005024:	58 2c 00 00 	sw (r1+0),r12                                  
  search_node->previous  = the_node;                                  
 8005028:	58 8c 00 04 	sw (r4+4),r12                                  
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
 800502c:	d0 02 00 00 	wcsr IE,r2                                     
 8005030:	34 01 00 01 	mvi r1,1                                       
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
 8005034:	e3 ff ff af 	bi 8004ef0 <_Thread_queue_Enqueue_priority+0xe0>
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->first;                   
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
 8005038:	34 05 ff ff 	mvi r5,-1                                      
 800503c:	e3 ff ff a8 	bi 8004edc <_Thread_queue_Enqueue_priority+0xcc>
                                                                      
080050cc <_Thread_queue_Requeue>:                                     
                                                                      
void _Thread_queue_Requeue(                                           
  Thread_queue_Control *the_thread_queue,                             
  Thread_Control       *the_thread                                    
)                                                                     
{                                                                     
 80050cc:	37 9c ff ec 	addi sp,sp,-20                                 
 80050d0:	5b 8b 00 10 	sw (sp+16),r11                                 
 80050d4:	5b 8c 00 0c 	sw (sp+12),r12                                 
 80050d8:	5b 8d 00 08 	sw (sp+8),r13                                  
 80050dc:	5b 9d 00 04 	sw (sp+4),ra                                   
 80050e0:	b8 20 58 00 	mv r11,r1                                      
 80050e4:	b8 40 60 00 	mv r12,r2                                      
  /*                                                                  
   * Just in case the thread really wasn't blocked on a thread queue  
   * when we get here.                                                
   */                                                                 
  if ( !the_thread_queue )                                            
 80050e8:	44 20 00 04 	be r1,r0,80050f8 <_Thread_queue_Requeue+0x2c>  <== NEVER TAKEN
                                                                      
  /*                                                                  
   * If queueing by FIFO, there is nothing to do. This only applies to
   * priority blocking discipline.                                    
   */                                                                 
  if ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY ) {
 80050ec:	28 22 00 34 	lw r2,(r1+52)                                  
 80050f0:	34 01 00 01 	mvi r1,1                                       
 80050f4:	44 41 00 07 	be r2,r1,8005110 <_Thread_queue_Requeue+0x44>  <== ALWAYS TAKEN
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
    }                                                                 
    _ISR_Enable( level );                                             
  }                                                                   
}                                                                     
 80050f8:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 80050fc:	2b 8b 00 10 	lw r11,(sp+16)                                 <== NOT EXECUTED
 8005100:	2b 8c 00 0c 	lw r12,(sp+12)                                 <== NOT EXECUTED
 8005104:	2b 8d 00 08 	lw r13,(sp+8)                                  <== NOT EXECUTED
 8005108:	37 9c 00 14 	addi sp,sp,20                                  <== NOT EXECUTED
 800510c:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
  if ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY ) {
    Thread_queue_Control *tq = the_thread_queue;                      
    ISR_Level             level;                                      
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
 8005110:	90 00 68 00 	rcsr r13,IE                                    
 8005114:	34 01 ff fe 	mvi r1,-2                                      
 8005118:	a1 a1 08 00 	and r1,r13,r1                                  
 800511c:	d0 01 00 00 	wcsr IE,r1                                     
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
 8005120:	29 82 00 10 	lw r2,(r12+16)                                 
 8005124:	78 01 00 03 	mvhi r1,0x3                                    
 8005128:	38 21 be e0 	ori r1,r1,0xbee0                               
 800512c:	a0 41 08 00 	and r1,r2,r1                                   
 8005130:	5c 20 00 08 	bne r1,r0,8005150 <_Thread_queue_Requeue+0x84> <== ALWAYS TAKEN
      _Thread_queue_Enter_critical_section( tq );                     
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
    }                                                                 
    _ISR_Enable( level );                                             
 8005134:	d0 0d 00 00 	wcsr IE,r13                                    <== NOT EXECUTED
  }                                                                   
}                                                                     
 8005138:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800513c:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8005140:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8005144:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8005148:	37 9c 00 14 	addi sp,sp,20                                  
 800514c:	c3 a0 00 00 	ret                                            
 8005150:	34 03 00 01 	mvi r3,1                                       
 8005154:	59 63 00 30 	sw (r11+48),r3                                 
    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 );  
 8005158:	b9 60 08 00 	mv r1,r11                                      
 800515c:	b9 80 10 00 	mv r2,r12                                      
 8005160:	f8 00 11 83 	calli 800976c <_Thread_queue_Extract_priority_helper>
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
 8005164:	b9 60 08 00 	mv r1,r11                                      
 8005168:	b9 80 10 00 	mv r2,r12                                      
 800516c:	37 83 00 14 	addi r3,sp,20                                  
 8005170:	fb ff ff 28 	calli 8004e10 <_Thread_queue_Enqueue_priority> 
    }                                                                 
    _ISR_Enable( level );                                             
 8005174:	d0 0d 00 00 	wcsr IE,r13                                    
 8005178:	e3 ff ff f0 	bi 8005138 <_Thread_queue_Requeue+0x6c>        
                                                                      
0800517c <_Thread_queue_Timeout>:                                     
                                                                      
void _Thread_queue_Timeout(                                           
  Objects_Id  id,                                                     
  void       *ignored __attribute__((unused))                         
)                                                                     
{                                                                     
 800517c:	37 9c ff f8 	addi sp,sp,-8                                  
 8005180:	5b 9d 00 04 	sw (sp+4),ra                                   
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 8005184:	37 82 00 08 	addi r2,sp,8                                   
 8005188:	fb ff fd 5e 	calli 8004700 <_Thread_Get>                    
  switch ( location ) {                                               
 800518c:	2b 82 00 08 	lw r2,(sp+8)                                   
 8005190:	5c 40 00 07 	bne r2,r0,80051ac <_Thread_queue_Timeout+0x30> <== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
 8005194:	f8 00 11 c9 	calli 80098b8 <_Thread_queue_Process_timeout>  
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
 8005198:	78 01 08 01 	mvhi r1,0x801                                  
 800519c:	38 21 c8 24 	ori r1,r1,0xc824                               
 80051a0:	28 22 00 00 	lw r2,(r1+0)                                   
 80051a4:	34 42 ff ff 	addi r2,r2,-1                                  
 80051a8:	58 22 00 00 	sw (r1+0),r2                                   
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
 80051ac:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80051b0:	37 9c 00 08 	addi sp,sp,8                                   
 80051b4:	c3 a0 00 00 	ret                                            
                                                                      
08014998 <_Timer_server_Body>:                                        
 *  @a arg points to the corresponding timer server control block.    
 */                                                                   
static rtems_task _Timer_server_Body(                                 
  rtems_task_argument arg                                             
)                                                                     
{                                                                     
 8014998:	37 9c ff a0 	addi sp,sp,-96                                 
 801499c:	5b 8b 00 44 	sw (sp+68),r11                                 
 80149a0:	5b 8c 00 40 	sw (sp+64),r12                                 
 80149a4:	5b 8d 00 3c 	sw (sp+60),r13                                 
 80149a8:	5b 8e 00 38 	sw (sp+56),r14                                 
 80149ac:	5b 8f 00 34 	sw (sp+52),r15                                 
 80149b0:	5b 90 00 30 	sw (sp+48),r16                                 
 80149b4:	5b 91 00 2c 	sw (sp+44),r17                                 
 80149b8:	5b 92 00 28 	sw (sp+40),r18                                 
 80149bc:	5b 93 00 24 	sw (sp+36),r19                                 
 80149c0:	5b 94 00 20 	sw (sp+32),r20                                 
 80149c4:	5b 95 00 1c 	sw (sp+28),r21                                 
 80149c8:	5b 96 00 18 	sw (sp+24),r22                                 
 80149cc:	5b 97 00 14 	sw (sp+20),r23                                 
 80149d0:	5b 98 00 10 	sw (sp+16),r24                                 
 80149d4:	5b 99 00 0c 	sw (sp+12),r25                                 
 80149d8:	5b 9b 00 08 	sw (sp+8),fp                                   
 80149dc:	5b 9d 00 04 	sw (sp+4),ra                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
 80149e0:	34 17 00 00 	mvi r23,0                                      
 80149e4:	b8 20 58 00 	mv r11,r1                                      
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 80149e8:	37 98 00 58 	addi r24,sp,88                                 
 80149ec:	37 96 00 5c 	addi r22,sp,92                                 
 80149f0:	37 8f 00 4c 	addi r15,sp,76                                 
 80149f4:	37 95 00 50 	addi r21,sp,80                                 
 80149f8:	78 14 08 03 	mvhi r20,0x803                                 
 80149fc:	78 13 08 03 	mvhi r19,0x803                                 
 8014a00:	78 19 08 03 	mvhi r25,0x803                                 
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
 8014a04:	34 31 00 30 	addi r17,r1,48                                 
    /*                                                                
     *  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 );
 8014a08:	34 30 00 68 	addi r16,r1,104                                
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
 8014a0c:	34 21 00 08 	addi r1,r1,8                                   
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 8014a10:	5b 96 00 58 	sw (sp+88),r22                                 
  the_chain->permanent_null = NULL;                                   
 8014a14:	5b 97 00 5c 	sw (sp+92),r23                                 
  the_chain->last           = _Chain_Head(the_chain);                 
 8014a18:	5b 98 00 60 	sw (sp+96),r24                                 
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 8014a1c:	5b 95 00 4c 	sw (sp+76),r21                                 
  the_chain->permanent_null = NULL;                                   
 8014a20:	5b 97 00 50 	sw (sp+80),r23                                 
  the_chain->last           = _Chain_Head(the_chain);                 
 8014a24:	5b 8f 00 54 	sw (sp+84),r15                                 
 8014a28:	3a 94 ed 7c 	ori r20,r20,0xed7c                             
 8014a2c:	3a 73 ec bc 	ori r19,r19,0xecbc                             
 8014a30:	3b 39 ec 2c 	ori r25,r25,0xec2c                             
 8014a34:	5b 81 00 48 	sw (sp+72),r1                                  
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
 8014a38:	35 7b 00 40 	addi fp,r11,64                                 
     /*                                                               
      *  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 ); 
 8014a3c:	34 0c 00 01 	mvi r12,1                                      
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
 8014a40:	34 0d 00 03 	mvi r13,3                                      
     *  of zero it will be processed in the next iteration of the timer server
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
 8014a44:	34 12 ff fe 	mvi r18,-2                                     
{                                                                     
  /*                                                                  
   *  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;                                    
 8014a48:	59 78 00 78 	sw (r11+120),r24                               
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
 8014a4c:	2a 82 00 00 	lw r2,(r20+0)                                  
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
 8014a50:	29 63 00 3c 	lw r3,(r11+60)                                 
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
 8014a54:	ba 20 08 00 	mv r1,r17                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
 8014a58:	59 62 00 3c 	sw (r11+60),r2                                 
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
 8014a5c:	c8 43 10 00 	sub r2,r2,r3                                   
 8014a60:	b9 e0 18 00 	mv r3,r15                                      
 8014a64:	f8 00 15 5c 	calli 8019fd4 <_Watchdog_Adjust_to_chain>      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
 8014a68:	29 62 00 74 	lw r2,(r11+116)                                
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
 8014a6c:	2a 6e 00 00 	lw r14,(r19+0)                                 
  /*                                                                  
   *  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 ) {                                   
 8014a70:	50 4e 00 19 	bgeu r2,r14,8014ad4 <_Timer_server_Body+0x13c> 
    /*                                                                
     *  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 );
 8014a74:	c9 c2 10 00 	sub r2,r14,r2                                  
 8014a78:	ba 00 08 00 	mv r1,r16                                      
 8014a7c:	b9 e0 18 00 	mv r3,r15                                      
 8014a80:	f8 00 15 55 	calli 8019fd4 <_Watchdog_Adjust_to_chain>      
      */                                                              
     delta = last_snapshot - snapshot;                                
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
 8014a84:	59 6e 00 74 	sw (r11+116),r14                               
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
 8014a88:	29 61 00 78 	lw r1,(r11+120)                                
 8014a8c:	f8 00 03 1e 	calli 8015704 <_Chain_Get>                     
                                                                      
    if ( timer == NULL ) {                                            
 8014a90:	44 20 00 0a 	be r1,r0,8014ab8 <_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 ) {                 
 8014a94:	28 22 00 38 	lw r2,(r1+56)                                  <== NOT EXECUTED
 8014a98:	44 4c 00 15 	be r2,r12,8014aec <_Timer_server_Body+0x154>   <== NOT EXECUTED
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
 8014a9c:	5c 4d ff fb 	bne r2,r13,8014a88 <_Timer_server_Body+0xf0>   <== NOT EXECUTED
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
 8014aa0:	34 22 00 10 	addi r2,r1,16                                  <== NOT EXECUTED
 8014aa4:	ba 00 08 00 	mv r1,r16                                      <== NOT EXECUTED
 8014aa8:	f8 00 15 75 	calli 801a07c <_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 );
 8014aac:	29 61 00 78 	lw r1,(r11+120)                                <== NOT EXECUTED
 8014ab0:	f8 00 03 15 	calli 8015704 <_Chain_Get>                     <== NOT EXECUTED
                                                                      
    if ( timer == NULL ) {                                            
 8014ab4:	5c 20 ff f8 	bne r1,r0,8014a94 <_Timer_server_Body+0xfc>    <== NOT EXECUTED
     *  of zero it will be processed in the next iteration of the timer server
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
 8014ab8:	90 00 10 00 	rcsr r2,IE                                     
 8014abc:	a0 52 18 00 	and r3,r2,r18                                  
 8014ac0:	d0 03 00 00 	wcsr IE,r3                                     
    if ( _Chain_Is_empty( insert_chain ) ) {                          
 8014ac4:	2b 83 00 58 	lw r3,(sp+88)                                  
 8014ac8:	46 c3 00 0d 	be r22,r3,8014afc <_Timer_server_Body+0x164>   <== ALWAYS TAKEN
      ts->insert_chain = NULL;                                        
      _ISR_Enable( level );                                           
                                                                      
      break;                                                          
    } else {                                                          
      _ISR_Enable( level );                                           
 8014acc:	d0 02 00 00 	wcsr IE,r2                                     <== NOT EXECUTED
 8014ad0:	e3 ff ff df 	bi 8014a4c <_Timer_server_Body+0xb4>           <== NOT EXECUTED
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
 8014ad4:	51 c2 ff ec 	bgeu r14,r2,8014a84 <_Timer_server_Body+0xec>  
     /*                                                               
      *  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 ); 
 8014ad8:	c8 4e 18 00 	sub r3,r2,r14                                  
 8014adc:	ba 00 08 00 	mv r1,r16                                      
 8014ae0:	34 02 00 01 	mvi r2,1                                       
 8014ae4:	f8 00 14 fe 	calli 8019edc <_Watchdog_Adjust>               
 8014ae8:	e3 ff ff e7 	bi 8014a84 <_Timer_server_Body+0xec>           
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
 8014aec:	34 22 00 10 	addi r2,r1,16                                  <== NOT EXECUTED
 8014af0:	ba 20 08 00 	mv r1,r17                                      <== NOT EXECUTED
 8014af4:	f8 00 15 62 	calli 801a07c <_Watchdog_Insert>               <== NOT EXECUTED
 8014af8:	e3 ff ff e4 	bi 8014a88 <_Timer_server_Body+0xf0>           <== NOT EXECUTED
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
      ts->insert_chain = NULL;                                        
 8014afc:	59 77 00 78 	sw (r11+120),r23                               
      _ISR_Enable( level );                                           
 8014b00:	d0 02 00 00 	wcsr IE,r2                                     
  _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 ) ) {                          
 8014b04:	2b 82 00 4c 	lw r2,(sp+76)                                  
 8014b08:	5e a2 00 0b 	bne r21,r2,8014b34 <_Timer_server_Body+0x19c>  
 8014b0c:	e0 00 00 11 	bi 8014b50 <_Timer_server_Body+0x1b8>          
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
 8014b10:	28 83 00 00 	lw r3,(r4+0)                                   
         *  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;                        
 8014b14:	58 97 00 08 	sw (r4+8),r23                                  
  the_chain->first    = new_first;                                    
 8014b18:	5b 83 00 4c 	sw (sp+76),r3                                  
  new_first->previous = _Chain_Head(the_chain);                       
 8014b1c:	58 6f 00 04 	sw (r3+4),r15                                  
          _ISR_Enable( level );                                       
 8014b20:	d0 02 00 00 	wcsr IE,r2                                     
        /*                                                            
         *  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 );    
 8014b24:	28 82 00 24 	lw r2,(r4+36)                                  
 8014b28:	28 83 00 1c 	lw r3,(r4+28)                                  
 8014b2c:	28 81 00 20 	lw r1,(r4+32)                                  
 8014b30:	d8 60 00 00 	call r3                                        
                                                                      
        /*                                                            
         *  It is essential that interrupts are disable here since an interrupt
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
 8014b34:	90 00 10 00 	rcsr r2,IE                                     
 8014b38:	a0 52 18 00 	and r3,r2,r18                                  
 8014b3c:	d0 03 00 00 	wcsr IE,r3                                     
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
 8014b40:	2b 84 00 4c 	lw r4,(sp+76)                                  
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
 8014b44:	5e a4 ff f3 	bne r21,r4,8014b10 <_Timer_server_Body+0x178>  
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
          _ISR_Enable( level );                                       
        } else {                                                      
          _ISR_Enable( level );                                       
 8014b48:	d0 02 00 00 	wcsr IE,r2                                     
 8014b4c:	e3 ff ff bf 	bi 8014a48 <_Timer_server_Body+0xb0>           
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
 8014b50:	34 01 00 00 	mvi r1,0                                       
 8014b54:	31 61 00 7c 	sb (r11+124),r1                                
 8014b58:	2b 21 00 00 	lw r1,(r25+0)                                  
 8014b5c:	34 21 00 01 	addi r1,r1,1                                   
 8014b60:	5b 21 00 00 	sw (r25+0),r1                                  
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
 8014b64:	29 61 00 00 	lw r1,(r11+0)                                  
 8014b68:	34 02 00 08 	mvi r2,8                                       
 8014b6c:	f8 00 11 c1 	calli 8019270 <_Thread_Set_state>              
        _Timer_server_Reset_interval_system_watchdog( ts );           
 8014b70:	b9 60 08 00 	mv r1,r11                                      
 8014b74:	fb ff ff 47 	calli 8014890 <_Timer_server_Reset_interval_system_watchdog>
        _Timer_server_Reset_tod_system_watchdog( ts );                
 8014b78:	b9 60 08 00 	mv r1,r11                                      
 8014b7c:	fb ff ff 66 	calli 8014914 <_Timer_server_Reset_tod_system_watchdog>
      _Thread_Enable_dispatch();                                      
 8014b80:	f8 00 0e 5a 	calli 80184e8 <_Thread_Enable_dispatch>        
                                                                      
      ts->active = true;                                              
 8014b84:	34 01 00 01 	mvi r1,1                                       
 8014b88:	31 61 00 7c 	sb (r11+124),r1                                
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
 8014b8c:	2b 81 00 48 	lw r1,(sp+72)                                  
 8014b90:	f8 00 15 a2 	calli 801a218 <_Watchdog_Remove>               
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
 8014b94:	bb 60 08 00 	mv r1,fp                                       
 8014b98:	f8 00 15 a0 	calli 801a218 <_Watchdog_Remove>               
 8014b9c:	e3 ff ff ab 	bi 8014a48 <_Timer_server_Body+0xb0>           
                                                                      
08014ba0 <_Timer_server_Schedule_operation_method>:                   
                                                                      
static void _Timer_server_Schedule_operation_method(                  
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
 8014ba0:	37 9c ff f8 	addi sp,sp,-8                                  
 8014ba4:	5b 8b 00 08 	sw (sp+8),r11                                  
 8014ba8:	5b 9d 00 04 	sw (sp+4),ra                                   
  if ( ts->insert_chain == NULL ) {                                   
 8014bac:	28 23 00 78 	lw r3,(r1+120)                                 
                                                                      
static void _Timer_server_Schedule_operation_method(                  
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
 8014bb0:	b8 20 58 00 	mv r11,r1                                      
 8014bb4:	b8 40 08 00 	mv r1,r2                                       
  if ( ts->insert_chain == NULL ) {                                   
 8014bb8:	44 60 00 07 	be r3,r0,8014bd4 <_Timer_server_Schedule_operation_method+0x34><== 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 );           
 8014bbc:	29 61 00 78 	lw r1,(r11+120)                                <== NOT EXECUTED
 8014bc0:	f8 00 02 c5 	calli 80156d4 <_Chain_Append>                  <== NOT EXECUTED
  }                                                                   
}                                                                     
 8014bc4:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8014bc8:	2b 8b 00 08 	lw r11,(sp+8)                                  <== NOT EXECUTED
 8014bcc:	37 9c 00 08 	addi sp,sp,8                                   <== NOT EXECUTED
 8014bd0:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
 8014bd4:	78 02 08 03 	mvhi r2,0x803                                  
 8014bd8:	38 42 ec 2c 	ori r2,r2,0xec2c                               
 8014bdc:	28 43 00 00 	lw r3,(r2+0)                                   
 8014be0:	34 63 00 01 	addi r3,r3,1                                   
 8014be4:	58 43 00 00 	sw (r2+0),r3                                   
   *  being inserted.  This could result in an integer overflow.      
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
 8014be8:	28 22 00 38 	lw r2,(r1+56)                                  
 8014bec:	34 03 00 01 	mvi r3,1                                       
 8014bf0:	44 43 00 28 	be r2,r3,8014c90 <_Timer_server_Schedule_operation_method+0xf0>
    _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 ) {       
 8014bf4:	34 03 00 03 	mvi r3,3                                       
 8014bf8:	44 43 00 06 	be r2,r3,8014c10 <_Timer_server_Schedule_operation_method+0x70>
    if ( !ts->active ) {                                              
      _Timer_server_Reset_tod_system_watchdog( ts );                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
 8014bfc:	f8 00 0e 3b 	calli 80184e8 <_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 );           
  }                                                                   
}                                                                     
 8014c00:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8014c04:	2b 8b 00 08 	lw r11,(sp+8)                                  
 8014c08:	37 9c 00 08 	addi sp,sp,8                                   
 8014c0c:	c3 a0 00 00 	ret                                            
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
    /*                                                                
     *  We have to advance the last known seconds value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
 8014c10:	90 00 38 00 	rcsr r7,IE                                     
 8014c14:	34 02 ff fe 	mvi r2,-2                                      
 8014c18:	a0 e2 10 00 	and r2,r7,r2                                   
 8014c1c:	d0 02 00 00 	wcsr IE,r2                                     
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
 8014c20:	29 63 00 68 	lw r3,(r11+104)                                
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
 8014c24:	78 02 08 03 	mvhi r2,0x803                                  
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
 8014c28:	29 64 00 74 	lw r4,(r11+116)                                
    /*                                                                
     *  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();        
 8014c2c:	38 42 ec bc 	ori r2,r2,0xecbc                               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 8014c30:	35 65 00 6c 	addi r5,r11,108                                
 8014c34:	28 42 00 00 	lw r2,(r2+0)                                   
 8014c38:	44 65 00 0b 	be r3,r5,8014c64 <_Timer_server_Schedule_operation_method+0xc4>
    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;                
 8014c3c:	28 66 00 10 	lw r6,(r3+16)                                  
        }                                                             
      } else {                                                        
        /*                                                            
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
 8014c40:	b4 c4 28 00 	add r5,r6,r4                                   
        delta_interval += delta;                                      
 8014c44:	c8 a2 28 00 	sub r5,r5,r2                                   
    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 ) {                               
 8014c48:	50 82 00 06 	bgeu r4,r2,8014c60 <_Timer_server_Schedule_operation_method+0xc0>
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
 8014c4c:	c8 44 20 00 	sub r4,r2,r4                                   
        if (delta_interval > delta) {                                 
 8014c50:	f4 c4 40 00 	cmpgu r8,r6,r4                                 
          delta_interval -= delta;                                    
 8014c54:	c8 c4 28 00 	sub r5,r6,r4                                   
      if ( snapshot > last_snapshot ) {                               
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
        if (delta_interval > delta) {                                 
 8014c58:	c8 08 20 00 	sub r4,r0,r8                                   
 8014c5c:	a0 a4 28 00 	and r5,r5,r4                                   
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
        delta_interval += delta;                                      
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
 8014c60:	58 65 00 10 	sw (r3+16),r5                                  
    }                                                                 
    ts->TOD_watchdogs.last_snapshot = snapshot;                       
 8014c64:	59 62 00 74 	sw (r11+116),r2                                
    _ISR_Enable( level );                                             
 8014c68:	d0 07 00 00 	wcsr IE,r7                                     
                                                                      
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
 8014c6c:	34 22 00 10 	addi r2,r1,16                                  
 8014c70:	35 61 00 68 	addi r1,r11,104                                
 8014c74:	f8 00 15 02 	calli 801a07c <_Watchdog_Insert>               
                                                                      
    if ( !ts->active ) {                                              
 8014c78:	41 61 00 7c 	lbu r1,(r11+124)                               
 8014c7c:	5c 20 ff e0 	bne r1,r0,8014bfc <_Timer_server_Schedule_operation_method+0x5c><== NEVER TAKEN
      _Timer_server_Reset_tod_system_watchdog( ts );                  
 8014c80:	b9 60 08 00 	mv r1,r11                                      
 8014c84:	fb ff ff 24 	calli 8014914 <_Timer_server_Reset_tod_system_watchdog>
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
 8014c88:	f8 00 0e 18 	calli 80184e8 <_Thread_Enable_dispatch>        
 8014c8c:	e3 ff ff dd 	bi 8014c00 <_Timer_server_Schedule_operation_method+0x60>
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
    /*                                                                
     *  We have to advance the last known ticks value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
 8014c90:	90 00 20 00 	rcsr r4,IE                                     
 8014c94:	34 02 ff fe 	mvi r2,-2                                      
 8014c98:	a0 82 10 00 	and r2,r4,r2                                   
 8014c9c:	d0 02 00 00 	wcsr IE,r2                                     
    snapshot = _Watchdog_Ticks_since_boot;                            
 8014ca0:	78 03 08 03 	mvhi r3,0x803                                  
 8014ca4:	38 63 ed 7c 	ori r3,r3,0xed7c                               
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
 8014ca8:	29 62 00 30 	lw r2,(r11+48)                                 
 8014cac:	28 65 00 00 	lw r5,(r3+0)                                   
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
 8014cb0:	29 63 00 3c 	lw r3,(r11+60)                                 
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 8014cb4:	35 66 00 34 	addi r6,r11,52                                 
 8014cb8:	44 46 00 08 	be r2,r6,8014cd8 <_Timer_server_Schedule_operation_method+0x138>
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
 8014cbc:	28 47 00 10 	lw r7,(r2+16)                                  
      first_watchdog = _Watchdog_First( &ts->Interval_watchdogs.Chain );
                                                                      
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
 8014cc0:	c8 a3 18 00 	sub r3,r5,r3                                   
                                                                      
      delta_interval = first_watchdog->delta_interval;                
      if (delta_interval > delta) {                                   
 8014cc4:	f4 e3 30 00 	cmpgu r6,r7,r3                                 
        delta_interval -= delta;                                      
 8014cc8:	c8 e3 18 00 	sub r3,r7,r3                                   
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
      if (delta_interval > delta) {                                   
 8014ccc:	c8 06 30 00 	sub r6,r0,r6                                   
 8014cd0:	a0 66 18 00 	and r3,r3,r6                                   
        delta_interval -= delta;                                      
      } else {                                                        
        delta_interval = 0;                                           
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
 8014cd4:	58 43 00 10 	sw (r2+16),r3                                  
    }                                                                 
    ts->Interval_watchdogs.last_snapshot = snapshot;                  
 8014cd8:	59 65 00 3c 	sw (r11+60),r5                                 
    _ISR_Enable( level );                                             
 8014cdc:	d0 04 00 00 	wcsr IE,r4                                     
                                                                      
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
 8014ce0:	34 22 00 10 	addi r2,r1,16                                  
 8014ce4:	35 61 00 30 	addi r1,r11,48                                 
 8014ce8:	f8 00 14 e5 	calli 801a07c <_Watchdog_Insert>               
                                                                      
    if ( !ts->active ) {                                              
 8014cec:	41 61 00 7c 	lbu r1,(r11+124)                               
 8014cf0:	5c 20 ff c3 	bne r1,r0,8014bfc <_Timer_server_Schedule_operation_method+0x5c>
      _Timer_server_Reset_interval_system_watchdog( ts );             
 8014cf4:	b9 60 08 00 	mv r1,r11                                      
 8014cf8:	fb ff fe e6 	calli 8014890 <_Timer_server_Reset_interval_system_watchdog>
    if ( !ts->active ) {                                              
      _Timer_server_Reset_tod_system_watchdog( ts );                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
 8014cfc:	f8 00 0d fb 	calli 80184e8 <_Thread_Enable_dispatch>        
 8014d00:	e3 ff ff c0 	bi 8014c00 <_Timer_server_Schedule_operation_method+0x60>
                                                                      
080056dc <_Timespec_Add_to>:                                          
                                                                      
uint32_t _Timespec_Add_to(                                            
  struct timespec       *time,                                        
  const struct timespec *add                                          
)                                                                     
{                                                                     
 80056dc:	b8 20 28 00 	mv r5,r1                                       
  uint32_t seconds = add->tv_sec;                                     
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
  time->tv_nsec += add->tv_nsec;                                      
 80056e0:	28 44 00 04 	lw r4,(r2+4)                                   
uint32_t _Timespec_Add_to(                                            
  struct timespec       *time,                                        
  const struct timespec *add                                          
)                                                                     
{                                                                     
  uint32_t seconds = add->tv_sec;                                     
 80056e4:	28 41 00 00 	lw r1,(r2+0)                                   
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
 80056e8:	28 a3 00 00 	lw r3,(r5+0)                                   
  time->tv_nsec += add->tv_nsec;                                      
 80056ec:	28 a2 00 04 	lw r2,(r5+4)                                   
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
 80056f0:	78 06 3b 9a 	mvhi r6,0x3b9a                                 
)                                                                     
{                                                                     
  uint32_t seconds = add->tv_sec;                                     
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
 80056f4:	b4 61 18 00 	add r3,r3,r1                                   
  time->tv_nsec += add->tv_nsec;                                      
 80056f8:	b4 82 10 00 	add r2,r4,r2                                   
)                                                                     
{                                                                     
  uint32_t seconds = add->tv_sec;                                     
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
 80056fc:	58 a3 00 00 	sw (r5+0),r3                                   
  time->tv_nsec += add->tv_nsec;                                      
 8005700:	58 a2 00 04 	sw (r5+4),r2                                   
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
 8005704:	38 c6 c9 ff 	ori r6,r6,0xc9ff                               
 8005708:	50 c2 00 09 	bgeu r6,r2,800572c <_Timespec_Add_to+0x50>     
 800570c:	78 04 c4 65 	mvhi r4,0xc465                                 
    time->tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                      
 8005710:	38 84 36 00 	ori r4,r4,0x3600                               
 8005714:	b4 44 10 00 	add r2,r2,r4                                   
 *                                                                    
 *  This routines adds two timespecs.  The second argument is added   
 *  to the first.                                                     
 */                                                                   
                                                                      
uint32_t _Timespec_Add_to(                                            
 8005718:	34 63 00 01 	addi r3,r3,1                                   
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
    time->tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                      
    time->tv_sec++;                                                   
    seconds++;                                                        
 800571c:	34 21 00 01 	addi r1,r1,1                                   
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
  time->tv_nsec += add->tv_nsec;                                      
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
 8005720:	54 46 ff fd 	bgu r2,r6,8005714 <_Timespec_Add_to+0x38>      <== NEVER TAKEN
 8005724:	58 a3 00 00 	sw (r5+0),r3                                   
 8005728:	58 a2 00 04 	sw (r5+4),r2                                   
    time->tv_sec++;                                                   
    seconds++;                                                        
  }                                                                   
                                                                      
  return seconds;                                                     
}                                                                     
 800572c:	c3 a0 00 00 	ret                                            
                                                                      
080414ec <_Timespec_Greater_than>:                                    
bool _Timespec_Greater_than(                                          
  const struct timespec *lhs,                                         
  const struct timespec *rhs                                          
)                                                                     
{                                                                     
  if ( lhs->tv_sec > rhs->tv_sec )                                    
 80414ec:	28 24 00 00 	lw r4,(r1+0)                                   
 80414f0:	28 43 00 00 	lw r3,(r2+0)                                   
 80414f4:	4c 64 00 03 	bge r3,r4,8041500 <_Timespec_Greater_than+0x14>
 80414f8:	34 01 00 01 	mvi r1,1                                       
 80414fc:	c3 a0 00 00 	ret                                            
    return true;                                                      
                                                                      
  if ( lhs->tv_sec < rhs->tv_sec )                                    
 8041500:	4c 83 00 03 	bge r4,r3,804150c <_Timespec_Greater_than+0x20><== ALWAYS TAKEN
 8041504:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 8041508:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/timespec.h>                                     
#include <rtems/score/tod.h>                                          
                                                                      
bool _Timespec_Greater_than(                                          
 804150c:	28 23 00 04 	lw r3,(r1+4)                                   
 8041510:	28 41 00 04 	lw r1,(r2+4)                                   
 8041514:	e8 61 08 00 	cmpg r1,r3,r1                                  
  /* ASSERT: lhs->tv_sec == rhs->tv_sec */                            
  if ( lhs->tv_nsec > rhs->tv_nsec )                                  
    return true;                                                      
                                                                      
  return false;                                                       
}                                                                     
 8041518:	c3 a0 00 00 	ret                                            
                                                                      
0800594c <_User_extensions_Fatal>:                                    
void _User_extensions_Fatal (                                         
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
 800594c:	37 9c ff e8 	addi sp,sp,-24                                 
 8005950:	5b 8b 00 18 	sw (sp+24),r11                                 
 8005954:	5b 8c 00 14 	sw (sp+20),r12                                 
 8005958:	5b 8d 00 10 	sw (sp+16),r13                                 
 800595c:	5b 8e 00 0c 	sw (sp+12),r14                                 
 8005960:	5b 8f 00 08 	sw (sp+8),r15                                  
 8005964:	5b 9d 00 04 	sw (sp+4),ra                                   
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
 8005968:	78 0c 08 01 	mvhi r12,0x801                                 
 800596c:	39 8c c9 cc 	ori r12,r12,0xc9cc                             
 8005970:	29 8b 00 08 	lw r11,(r12+8)                                 
void _User_extensions_Fatal (                                         
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
 8005974:	b8 20 78 00 	mv r15,r1                                      
 8005978:	b8 60 70 00 	mv r14,r3                                      
 800597c:	20 4d 00 ff 	andi r13,r2,0xff                               
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
 8005980:	45 6c 00 09 	be r11,r12,80059a4 <_User_extensions_Fatal+0x58><== 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 )                      
 8005984:	29 64 00 30 	lw r4,(r11+48)                                 
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
 8005988:	b9 e0 08 00 	mv r1,r15                                      
 800598c:	b9 a0 10 00 	mv r2,r13                                      
 8005990:	b9 c0 18 00 	mv r3,r14                                      
        !_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 )                      
 8005994:	44 80 00 02 	be r4,r0,800599c <_User_extensions_Fatal+0x50> 
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
 8005998:	d8 80 00 00 	call r4                                        
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
 800599c:	29 6b 00 04 	lw r11,(r11+4)                                 
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
 80059a0:	5d 6c ff f9 	bne r11,r12,8005984 <_User_extensions_Fatal+0x38>
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
 80059a4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80059a8:	2b 8b 00 18 	lw r11,(sp+24)                                 
 80059ac:	2b 8c 00 14 	lw r12,(sp+20)                                 
 80059b0:	2b 8d 00 10 	lw r13,(sp+16)                                 
 80059b4:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 80059b8:	2b 8f 00 08 	lw r15,(sp+8)                                  
 80059bc:	37 9c 00 18 	addi sp,sp,24                                  
 80059c0:	c3 a0 00 00 	ret                                            
                                                                      
08005784 <_User_extensions_Handler_initialization>:                   
#include <rtems/score/userext.h>                                      
#include <rtems/score/wkspace.h>                                      
#include <string.h>                                                   
                                                                      
void _User_extensions_Handler_initialization(void)                    
{                                                                     
 8005784:	37 9c ff e8 	addi sp,sp,-24                                 
 8005788:	5b 8b 00 18 	sw (sp+24),r11                                 
 800578c:	5b 8c 00 14 	sw (sp+20),r12                                 
 8005790:	5b 8d 00 10 	sw (sp+16),r13                                 
 8005794:	5b 8e 00 0c 	sw (sp+12),r14                                 
 8005798:	5b 8f 00 08 	sw (sp+8),r15                                  
 800579c:	5b 9d 00 04 	sw (sp+4),ra                                   
  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;  
 80057a0:	78 04 08 01 	mvhi r4,0x801                                  
 80057a4:	38 84 c0 c4 	ori r4,r4,0xc0c4                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 80057a8:	78 03 08 01 	mvhi r3,0x801                                  
 80057ac:	78 01 08 01 	mvhi r1,0x801                                  
 80057b0:	38 63 c9 cc 	ori r3,r3,0xc9cc                               
 80057b4:	38 21 c8 28 	ori r1,r1,0xc828                               
  initial_extensions   = Configuration.User_extension_table;          
 80057b8:	28 8c 00 3c 	lw r12,(r4+60)                                 
  the_chain->permanent_null = NULL;                                   
 80057bc:	34 0d 00 00 	mvi r13,0                                      
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 80057c0:	34 65 00 04 	addi r5,r3,4                                   
 80057c4:	34 22 00 04 	addi r2,r1,4                                   
 80057c8:	58 65 00 00 	sw (r3+0),r5                                   
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
 80057cc:	58 63 00 08 	sw (r3+8),r3                                   
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 80057d0:	58 22 00 00 	sw (r1+0),r2                                   
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
 80057d4:	58 21 00 08 	sw (r1+8),r1                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
 80057d8:	58 6d 00 04 	sw (r3+4),r13                                  
 80057dc:	58 2d 00 04 	sw (r1+4),r13                                  
  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;  
 80057e0:	28 8e 00 38 	lw r14,(r4+56)                                 
  initial_extensions   = Configuration.User_extension_table;          
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
 80057e4:	45 8d 00 25 	be r12,r13,8005878 <_User_extensions_Handler_initialization+0xf4>
    extension = (User_extensions_Control *)                           
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
 80057e8:	b5 ce 78 00 	add r15,r14,r14                                
 80057ec:	b5 ee 78 00 	add r15,r15,r14                                
 80057f0:	34 02 00 04 	mvi r2,4                                       
 80057f4:	b9 e0 08 00 	mv r1,r15                                      
 80057f8:	fb ff ea 7e 	calli 80001f0 <__ashlsi3>                      
 80057fc:	b5 e1 78 00 	add r15,r15,r1                                 
 8005800:	b5 ee 78 00 	add r15,r15,r14                                
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
    extension = (User_extensions_Control *)                           
 8005804:	b9 e0 08 00 	mv r1,r15                                      
 8005808:	f8 00 01 b8 	calli 8005ee8 <_Workspace_Allocate_or_fatal_error>
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
 800580c:	b9 a0 10 00 	mv r2,r13                                      
 8005810:	b9 e0 18 00 	mv r3,r15                                      
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
    extension = (User_extensions_Control *)                           
 8005814:	b8 20 58 00 	mv r11,r1                                      
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
 8005818:	f8 00 1b ff 	calli 800c814 <memset>                         
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
 800581c:	45 cd 00 17 	be r14,r13,8005878 <_User_extensions_Handler_initialization+0xf4><== NEVER TAKEN
RTEMS_INLINE_ROUTINE void _User_extensions_Add_set_with_table(        
  User_extensions_Control     *extension,                             
  const User_extensions_Table *extension_table                        
)                                                                     
{                                                                     
  extension->Callouts = *extension_table;                             
 8005820:	29 81 00 00 	lw r1,(r12+0)                                  
 8005824:	35 ad 00 01 	addi r13,r13,1                                 
 8005828:	59 61 00 14 	sw (r11+20),r1                                 
 800582c:	29 82 00 04 	lw r2,(r12+4)                                  
                                                                      
  _User_extensions_Add_set( extension );                              
 8005830:	b9 60 08 00 	mv r1,r11                                      
RTEMS_INLINE_ROUTINE void _User_extensions_Add_set_with_table(        
  User_extensions_Control     *extension,                             
  const User_extensions_Table *extension_table                        
)                                                                     
{                                                                     
  extension->Callouts = *extension_table;                             
 8005834:	59 62 00 18 	sw (r11+24),r2                                 
 8005838:	29 82 00 08 	lw r2,(r12+8)                                  
 800583c:	59 62 00 1c 	sw (r11+28),r2                                 
 8005840:	29 82 00 0c 	lw r2,(r12+12)                                 
 8005844:	59 62 00 20 	sw (r11+32),r2                                 
 8005848:	29 82 00 10 	lw r2,(r12+16)                                 
 800584c:	59 62 00 24 	sw (r11+36),r2                                 
 8005850:	29 82 00 14 	lw r2,(r12+20)                                 
 8005854:	59 62 00 28 	sw (r11+40),r2                                 
 8005858:	29 82 00 18 	lw r2,(r12+24)                                 
 800585c:	59 62 00 2c 	sw (r11+44),r2                                 
 8005860:	29 82 00 1c 	lw r2,(r12+28)                                 
 8005864:	35 8c 00 20 	addi r12,r12,32                                
 8005868:	59 62 00 30 	sw (r11+48),r2                                 
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
 800586c:	35 6b 00 34 	addi r11,r11,52                                
                                                                      
  _User_extensions_Add_set( extension );                              
 8005870:	f8 00 10 b8 	calli 8009b50 <_User_extensions_Add_set>       
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
 8005874:	55 cd ff eb 	bgu r14,r13,8005820 <_User_extensions_Handler_initialization+0x9c>
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
    }                                                                 
  }                                                                   
}                                                                     
 8005878:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800587c:	2b 8b 00 18 	lw r11,(sp+24)                                 
 8005880:	2b 8c 00 14 	lw r12,(sp+20)                                 
 8005884:	2b 8d 00 10 	lw r13,(sp+16)                                 
 8005888:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 800588c:	2b 8f 00 08 	lw r15,(sp+8)                                  
 8005890:	37 9c 00 18 	addi sp,sp,24                                  
 8005894:	c3 a0 00 00 	ret                                            
                                                                      
08005898 <_User_extensions_Thread_begin>:                             
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_begin (                                  
  Thread_Control *executing                                           
)                                                                     
{                                                                     
 8005898:	37 9c ff f0 	addi sp,sp,-16                                 
 800589c:	5b 8b 00 10 	sw (sp+16),r11                                 
 80058a0:	5b 8c 00 0c 	sw (sp+12),r12                                 
 80058a4:	5b 8d 00 08 	sw (sp+8),r13                                  
 80058a8:	5b 9d 00 04 	sw (sp+4),ra                                   
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
 80058ac:	78 0c 08 01 	mvhi r12,0x801                                 
 80058b0:	39 8c c9 cc 	ori r12,r12,0xc9cc                             
 80058b4:	29 8b 00 00 	lw r11,(r12+0)                                 
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 80058b8:	35 8c 00 04 	addi r12,r12,4                                 
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_begin (                                  
  Thread_Control *executing                                           
)                                                                     
{                                                                     
 80058bc:	b8 20 68 00 	mv r13,r1                                      
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
 80058c0:	45 6c 00 07 	be r11,r12,80058dc <_User_extensions_Thread_begin+0x44><== 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 )               
 80058c4:	29 62 00 28 	lw r2,(r11+40)                                 
      (*the_extension->Callouts.thread_begin)( executing );           
 80058c8:	b9 a0 08 00 	mv r1,r13                                      
        !_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 )               
 80058cc:	44 40 00 02 	be r2,r0,80058d4 <_User_extensions_Thread_begin+0x3c>
      (*the_extension->Callouts.thread_begin)( executing );           
 80058d0:	d8 40 00 00 	call r2                                        
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
 80058d4:	29 6b 00 00 	lw r11,(r11+0)                                 
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
 80058d8:	5d 6c ff fb 	bne r11,r12,80058c4 <_User_extensions_Thread_begin+0x2c>
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_begin != NULL )               
      (*the_extension->Callouts.thread_begin)( executing );           
  }                                                                   
}                                                                     
 80058dc:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80058e0:	2b 8b 00 10 	lw r11,(sp+16)                                 
 80058e4:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 80058e8:	2b 8d 00 08 	lw r13,(sp+8)                                  
 80058ec:	37 9c 00 10 	addi sp,sp,16                                  
 80058f0:	c3 a0 00 00 	ret                                            
                                                                      
080059c4 <_User_extensions_Thread_create>:                            
#include <rtems/score/userext.h>                                      
                                                                      
bool _User_extensions_Thread_create (                                 
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
 80059c4:	37 9c ff ec 	addi sp,sp,-20                                 
 80059c8:	5b 8b 00 14 	sw (sp+20),r11                                 
 80059cc:	5b 8c 00 10 	sw (sp+16),r12                                 
 80059d0:	5b 8d 00 0c 	sw (sp+12),r13                                 
 80059d4:	5b 8e 00 08 	sw (sp+8),r14                                  
 80059d8:	5b 9d 00 04 	sw (sp+4),ra                                   
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
 80059dc:	78 0d 08 01 	mvhi r13,0x801                                 
 80059e0:	39 ad c9 cc 	ori r13,r13,0xc9cc                             
 80059e4:	29 ab 00 00 	lw r11,(r13+0)                                 
 80059e8:	35 ad 00 04 	addi r13,r13,4                                 
#include <rtems/score/userext.h>                                      
                                                                      
bool _User_extensions_Thread_create (                                 
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
 80059ec:	b8 20 70 00 	mv r14,r1                                      
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
 80059f0:	45 6d 00 0b 	be r11,r13,8005a1c <_User_extensions_Thread_create+0x58><== 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)(              
 80059f4:	78 0c 08 01 	mvhi r12,0x801                                 
 80059f8:	39 8c c8 e0 	ori r12,r12,0xc8e0                             
        !_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 ) {            
 80059fc:	29 63 00 14 	lw r3,(r11+20)                                 
      status = (*the_extension->Callouts.thread_create)(              
 8005a00:	b9 c0 10 00 	mv r2,r14                                      
        !_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 ) {            
 8005a04:	44 60 00 04 	be r3,r0,8005a14 <_User_extensions_Thread_create+0x50>
      status = (*the_extension->Callouts.thread_create)(              
 8005a08:	29 81 00 00 	lw r1,(r12+0)                                  
 8005a0c:	d8 60 00 00 	call r3                                        
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
      if ( !status )                                                  
 8005a10:	44 20 00 04 	be r1,r0,8005a20 <_User_extensions_Thread_create+0x5c>
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
 8005a14:	29 6b 00 00 	lw r11,(r11+0)                                 
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
 8005a18:	5d 6d ff f9 	bne r11,r13,80059fc <_User_extensions_Thread_create+0x38>
 8005a1c:	34 01 00 01 	mvi r1,1                                       
        return false;                                                 
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
 8005a20:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8005a24:	2b 8b 00 14 	lw r11,(sp+20)                                 
 8005a28:	2b 8c 00 10 	lw r12,(sp+16)                                 
 8005a2c:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 8005a30:	2b 8e 00 08 	lw r14,(sp+8)                                  
 8005a34:	37 9c 00 14 	addi sp,sp,20                                  
 8005a38:	c3 a0 00 00 	ret                                            
                                                                      
08005a3c <_User_extensions_Thread_delete>:                            
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_delete (                                 
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
 8005a3c:	37 9c ff ec 	addi sp,sp,-20                                 
 8005a40:	5b 8b 00 14 	sw (sp+20),r11                                 
 8005a44:	5b 8c 00 10 	sw (sp+16),r12                                 
 8005a48:	5b 8d 00 0c 	sw (sp+12),r13                                 
 8005a4c:	5b 8e 00 08 	sw (sp+8),r14                                  
 8005a50:	5b 9d 00 04 	sw (sp+4),ra                                   
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
 8005a54:	78 0d 08 01 	mvhi r13,0x801                                 
 8005a58:	39 ad c9 cc 	ori r13,r13,0xc9cc                             
 8005a5c:	29 ab 00 08 	lw r11,(r13+8)                                 
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_delete (                                 
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
 8005a60:	b8 20 70 00 	mv r14,r1                                      
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
 8005a64:	45 6d 00 0a 	be r11,r13,8005a8c <_User_extensions_Thread_delete+0x50><== 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)(                       
 8005a68:	78 0c 08 01 	mvhi r12,0x801                                 
 8005a6c:	39 8c c8 e0 	ori r12,r12,0xc8e0                             
        !_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 )              
 8005a70:	29 63 00 20 	lw r3,(r11+32)                                 
      (*the_extension->Callouts.thread_delete)(                       
 8005a74:	b9 c0 10 00 	mv r2,r14                                      
        !_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 )              
 8005a78:	44 60 00 03 	be r3,r0,8005a84 <_User_extensions_Thread_delete+0x48>
      (*the_extension->Callouts.thread_delete)(                       
 8005a7c:	29 81 00 00 	lw r1,(r12+0)                                  
 8005a80:	d8 60 00 00 	call r3                                        
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
 8005a84:	29 6b 00 04 	lw r11,(r11+4)                                 
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
 8005a88:	5d 6d ff fa 	bne r11,r13,8005a70 <_User_extensions_Thread_delete+0x34>
      (*the_extension->Callouts.thread_delete)(                       
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
 8005a8c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8005a90:	2b 8b 00 14 	lw r11,(sp+20)                                 
 8005a94:	2b 8c 00 10 	lw r12,(sp+16)                                 
 8005a98:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 8005a9c:	2b 8e 00 08 	lw r14,(sp+8)                                  
 8005aa0:	37 9c 00 14 	addi sp,sp,20                                  
 8005aa4:	c3 a0 00 00 	ret                                            
                                                                      
080058f4 <_User_extensions_Thread_exitted>:                           
                                                                      
void _User_extensions_Thread_exitted (                                
  Thread_Control *executing                                           
)                                                                     
{                                                                     
 80058f4:	37 9c ff f0 	addi sp,sp,-16                                 
 80058f8:	5b 8b 00 10 	sw (sp+16),r11                                 
 80058fc:	5b 8c 00 0c 	sw (sp+12),r12                                 
 8005900:	5b 8d 00 08 	sw (sp+8),r13                                  
 8005904:	5b 9d 00 04 	sw (sp+4),ra                                   
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
 8005908:	78 0c 08 01 	mvhi r12,0x801                                 
 800590c:	39 8c c9 cc 	ori r12,r12,0xc9cc                             
 8005910:	29 8b 00 08 	lw r11,(r12+8)                                 
}                                                                     
                                                                      
void _User_extensions_Thread_exitted (                                
  Thread_Control *executing                                           
)                                                                     
{                                                                     
 8005914:	b8 20 68 00 	mv r13,r1                                      
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
 8005918:	45 6c 00 07 	be r11,r12,8005934 <_User_extensions_Thread_exitted+0x40><== 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 )             
 800591c:	29 62 00 2c 	lw r2,(r11+44)                                 
      (*the_extension->Callouts.thread_exitted)( executing );         
 8005920:	b9 a0 08 00 	mv r1,r13                                      
        !_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 )             
 8005924:	44 40 00 02 	be r2,r0,800592c <_User_extensions_Thread_exitted+0x38>
      (*the_extension->Callouts.thread_exitted)( executing );         
 8005928:	d8 40 00 00 	call r2                                        
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
 800592c:	29 6b 00 04 	lw r11,(r11+4)                                 
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
 8005930:	5d 6c ff fb 	bne r11,r12,800591c <_User_extensions_Thread_exitted+0x28>
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_exitted != NULL )             
      (*the_extension->Callouts.thread_exitted)( executing );         
  }                                                                   
}                                                                     
 8005934:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8005938:	2b 8b 00 10 	lw r11,(sp+16)                                 
 800593c:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8005940:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8005944:	37 9c 00 10 	addi sp,sp,16                                  
 8005948:	c3 a0 00 00 	ret                                            
                                                                      
08006b9c <_User_extensions_Thread_restart>:                           
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_restart (                                
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
 8006b9c:	37 9c ff ec 	addi sp,sp,-20                                 
 8006ba0:	5b 8b 00 14 	sw (sp+20),r11                                 
 8006ba4:	5b 8c 00 10 	sw (sp+16),r12                                 
 8006ba8:	5b 8d 00 0c 	sw (sp+12),r13                                 
 8006bac:	5b 8e 00 08 	sw (sp+8),r14                                  
 8006bb0:	5b 9d 00 04 	sw (sp+4),ra                                   
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
 8006bb4:	78 0d 08 02 	mvhi r13,0x802                                 
 8006bb8:	39 ad 1a 2c 	ori r13,r13,0x1a2c                             
 8006bbc:	29 ab 00 00 	lw r11,(r13+0)                                 
 8006bc0:	35 ad 00 04 	addi r13,r13,4                                 
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_restart (                                
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
 8006bc4:	b8 20 70 00 	mv r14,r1                                      
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
 8006bc8:	45 6d 00 0a 	be r11,r13,8006bf0 <_User_extensions_Thread_restart+0x54><== 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)(                      
 8006bcc:	78 0c 08 02 	mvhi r12,0x802                                 
 8006bd0:	39 8c 19 40 	ori r12,r12,0x1940                             
        !_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 )             
 8006bd4:	29 63 00 1c 	lw r3,(r11+28)                                 
      (*the_extension->Callouts.thread_restart)(                      
 8006bd8:	b9 c0 10 00 	mv r2,r14                                      
        !_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 )             
 8006bdc:	44 60 00 03 	be r3,r0,8006be8 <_User_extensions_Thread_restart+0x4c>
      (*the_extension->Callouts.thread_restart)(                      
 8006be0:	29 81 00 00 	lw r1,(r12+0)                                  
 8006be4:	d8 60 00 00 	call r3                                        
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
 8006be8:	29 6b 00 00 	lw r11,(r11+0)                                 
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
 8006bec:	5d 6d ff fa 	bne r11,r13,8006bd4 <_User_extensions_Thread_restart+0x38>
      (*the_extension->Callouts.thread_restart)(                      
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
 8006bf0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8006bf4:	2b 8b 00 14 	lw r11,(sp+20)                                 
 8006bf8:	2b 8c 00 10 	lw r12,(sp+16)                                 
 8006bfc:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 8006c00:	2b 8e 00 08 	lw r14,(sp+8)                                  
 8006c04:	37 9c 00 14 	addi sp,sp,20                                  
 8006c08:	c3 a0 00 00 	ret                                            
                                                                      
08005aa8 <_User_extensions_Thread_start>:                             
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_start (                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
 8005aa8:	37 9c ff ec 	addi sp,sp,-20                                 
 8005aac:	5b 8b 00 14 	sw (sp+20),r11                                 
 8005ab0:	5b 8c 00 10 	sw (sp+16),r12                                 
 8005ab4:	5b 8d 00 0c 	sw (sp+12),r13                                 
 8005ab8:	5b 8e 00 08 	sw (sp+8),r14                                  
 8005abc:	5b 9d 00 04 	sw (sp+4),ra                                   
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
 8005ac0:	78 0d 08 01 	mvhi r13,0x801                                 
 8005ac4:	39 ad c9 cc 	ori r13,r13,0xc9cc                             
 8005ac8:	29 ab 00 00 	lw r11,(r13+0)                                 
 8005acc:	35 ad 00 04 	addi r13,r13,4                                 
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_start (                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
 8005ad0:	b8 20 70 00 	mv r14,r1                                      
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
 8005ad4:	45 6d 00 0a 	be r11,r13,8005afc <_User_extensions_Thread_start+0x54><== 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)(                        
 8005ad8:	78 0c 08 01 	mvhi r12,0x801                                 
 8005adc:	39 8c c8 e0 	ori r12,r12,0xc8e0                             
        !_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 )               
 8005ae0:	29 63 00 18 	lw r3,(r11+24)                                 
      (*the_extension->Callouts.thread_start)(                        
 8005ae4:	b9 c0 10 00 	mv r2,r14                                      
        !_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 )               
 8005ae8:	44 60 00 03 	be r3,r0,8005af4 <_User_extensions_Thread_start+0x4c>
      (*the_extension->Callouts.thread_start)(                        
 8005aec:	29 81 00 00 	lw r1,(r12+0)                                  
 8005af0:	d8 60 00 00 	call r3                                        
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
 8005af4:	29 6b 00 00 	lw r11,(r11+0)                                 
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
 8005af8:	5d 6d ff fa 	bne r11,r13,8005ae0 <_User_extensions_Thread_start+0x38>
      (*the_extension->Callouts.thread_start)(                        
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
 8005afc:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8005b00:	2b 8b 00 14 	lw r11,(sp+20)                                 
 8005b04:	2b 8c 00 10 	lw r12,(sp+16)                                 
 8005b08:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 8005b0c:	2b 8e 00 08 	lw r14,(sp+8)                                  
 8005b10:	37 9c 00 14 	addi sp,sp,20                                  
 8005b14:	c3 a0 00 00 	ret                                            
                                                                      
08005b18 <_User_extensions_Thread_switch>:                            
                                                                      
void _User_extensions_Thread_switch (                                 
  Thread_Control *executing,                                          
  Thread_Control *heir                                                
)                                                                     
{                                                                     
 8005b18:	37 9c ff ec 	addi sp,sp,-20                                 
 8005b1c:	5b 8b 00 14 	sw (sp+20),r11                                 
 8005b20:	5b 8c 00 10 	sw (sp+16),r12                                 
 8005b24:	5b 8d 00 0c 	sw (sp+12),r13                                 
 8005b28:	5b 8e 00 08 	sw (sp+8),r14                                  
 8005b2c:	5b 9d 00 04 	sw (sp+4),ra                                   
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _User_extensions_Switches_list.first ;             
 8005b30:	78 0c 08 01 	mvhi r12,0x801                                 
 8005b34:	39 8c c8 28 	ori r12,r12,0xc828                             
 8005b38:	29 8b 00 00 	lw r11,(r12+0)                                 
 8005b3c:	35 8c 00 04 	addi r12,r12,4                                 
                                                                      
void _User_extensions_Thread_switch (                                 
  Thread_Control *executing,                                          
  Thread_Control *heir                                                
)                                                                     
{                                                                     
 8005b40:	b8 20 70 00 	mv r14,r1                                      
 8005b44:	b8 40 68 00 	mv r13,r2                                      
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _User_extensions_Switches_list.first ;             
 8005b48:	45 6c 00 07 	be r11,r12,8005b64 <_User_extensions_Thread_switch+0x4c><== 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 );        
 8005b4c:	29 63 00 08 	lw r3,(r11+8)                                  
 8005b50:	b9 c0 08 00 	mv r1,r14                                      
 8005b54:	b9 a0 10 00 	mv r2,r13                                      
 8005b58:	d8 60 00 00 	call r3                                        
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _User_extensions_Switches_list.first ;             
        !_Chain_Is_tail( &_User_extensions_Switches_list, the_node ) ;
        the_node = the_node->next ) {                                 
 8005b5c:	29 6b 00 00 	lw r11,(r11+0)                                 
)                                                                     
{                                                                     
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _User_extensions_Switches_list.first ;             
 8005b60:	5d 6c ff fb 	bne r11,r12,8005b4c <_User_extensions_Thread_switch+0x34>
                                                                      
    the_extension_switch = (User_extensions_Switch_control *) the_node;
                                                                      
    (*the_extension_switch->thread_switch)( executing, heir );        
  }                                                                   
}                                                                     
 8005b64:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8005b68:	2b 8b 00 14 	lw r11,(sp+20)                                 
 8005b6c:	2b 8c 00 10 	lw r12,(sp+16)                                 
 8005b70:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 8005b74:	2b 8e 00 08 	lw r14,(sp+8)                                  
 8005b78:	37 9c 00 14 	addi sp,sp,20                                  
 8005b7c:	c3 a0 00 00 	ret                                            
                                                                      
08007f64 <_Watchdog_Adjust>:                                          
void _Watchdog_Adjust(                                                
  Chain_Control               *header,                                
  Watchdog_Adjust_directions   direction,                             
  Watchdog_Interval            units                                  
)                                                                     
{                                                                     
 8007f64:	37 9c ff e4 	addi sp,sp,-28                                 
 8007f68:	5b 8b 00 1c 	sw (sp+28),r11                                 
 8007f6c:	5b 8c 00 18 	sw (sp+24),r12                                 
 8007f70:	5b 8d 00 14 	sw (sp+20),r13                                 
 8007f74:	5b 8e 00 10 	sw (sp+16),r14                                 
 8007f78:	5b 8f 00 0c 	sw (sp+12),r15                                 
 8007f7c:	5b 90 00 08 	sw (sp+8),r16                                  
 8007f80:	5b 9d 00 04 	sw (sp+4),ra                                   
 8007f84:	b8 20 60 00 	mv r12,r1                                      
 8007f88:	b8 60 58 00 	mv r11,r3                                      
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
 8007f8c:	90 00 20 00 	rcsr r4,IE                                     
 8007f90:	34 01 ff fe 	mvi r1,-2                                      
 8007f94:	a0 81 08 00 	and r1,r4,r1                                   
 8007f98:	d0 01 00 00 	wcsr IE,r1                                     
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
 8007f9c:	29 81 00 00 	lw r1,(r12+0)                                  
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 8007fa0:	35 8e 00 04 	addi r14,r12,4                                 
   *       hence the compiler must not assume *header to remain       
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
 8007fa4:	44 2e 00 04 	be r1,r14,8007fb4 <_Watchdog_Adjust+0x50>      
    switch ( direction ) {                                            
 8007fa8:	44 40 00 11 	be r2,r0,8007fec <_Watchdog_Adjust+0x88>       
 8007fac:	34 03 00 01 	mvi r3,1                                       
 8007fb0:	44 43 00 0b 	be r2,r3,8007fdc <_Watchdog_Adjust+0x78>       <== ALWAYS TAKEN
        }                                                             
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
 8007fb4:	d0 04 00 00 	wcsr IE,r4                                     
                                                                      
}                                                                     
 8007fb8:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8007fbc:	2b 8b 00 1c 	lw r11,(sp+28)                                 
 8007fc0:	2b 8c 00 18 	lw r12,(sp+24)                                 
 8007fc4:	2b 8d 00 14 	lw r13,(sp+20)                                 
 8007fc8:	2b 8e 00 10 	lw r14,(sp+16)                                 
 8007fcc:	2b 8f 00 0c 	lw r15,(sp+12)                                 
 8007fd0:	2b 90 00 08 	lw r16,(sp+8)                                  
 8007fd4:	37 9c 00 1c 	addi sp,sp,28                                  
 8007fd8:	c3 a0 00 00 	ret                                            
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
 8007fdc:	28 22 00 10 	lw r2,(r1+16)                                  
 8007fe0:	b4 4b 58 00 	add r11,r2,r11                                 
 8007fe4:	58 2b 00 10 	sw (r1+16),r11                                 
        break;                                                        
 8007fe8:	e3 ff ff f3 	bi 8007fb4 <_Watchdog_Adjust+0x50>             
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
 8007fec:	44 62 ff f2 	be r3,r2,8007fb4 <_Watchdog_Adjust+0x50>       <== NEVER TAKEN
          if ( units < _Watchdog_First( header )->delta_interval ) {  
 8007ff0:	28 2d 00 10 	lw r13,(r1+16)                                 
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
 8007ff4:	b8 80 18 00 	mv r3,r4                                       
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
 8007ff8:	34 10 00 01 	mvi r16,1                                      
                                                                      
            _ISR_Enable( level );                                     
                                                                      
            _Watchdog_Tickle( header );                               
                                                                      
            _ISR_Disable( level );                                    
 8007ffc:	34 0f ff fe 	mvi r15,-2                                     
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
 8008000:	51 6d 00 02 	bgeu r11,r13,8008008 <_Watchdog_Adjust+0xa4>   <== ALWAYS TAKEN
 8008004:	e0 00 00 11 	bi 8008048 <_Watchdog_Adjust+0xe4>             <== NOT EXECUTED
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
 8008008:	58 30 00 10 	sw (r1+16),r16                                 
                                                                      
            _ISR_Enable( level );                                     
 800800c:	d0 03 00 00 	wcsr IE,r3                                     
                                                                      
            _Watchdog_Tickle( header );                               
 8008010:	b9 80 08 00 	mv r1,r12                                      
 8008014:	f8 00 00 b0 	calli 80082d4 <_Watchdog_Tickle>               
                                                                      
            _ISR_Disable( level );                                    
 8008018:	90 00 10 00 	rcsr r2,IE                                     
 800801c:	a0 4f 08 00 	and r1,r2,r15                                  
 8008020:	d0 01 00 00 	wcsr IE,r1                                     
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
 8008024:	29 84 00 00 	lw r4,(r12+0)                                  
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
 8008028:	c9 6d 58 00 	sub r11,r11,r13                                
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
 800802c:	b8 40 18 00 	mv r3,r2                                       
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) header->first );                      
 8008030:	b8 80 08 00 	mv r1,r4                                       
                                                                      
            _Watchdog_Tickle( header );                               
                                                                      
            _ISR_Disable( level );                                    
                                                                      
            if ( _Chain_Is_empty( header ) )                          
 8008034:	45 c4 00 08 	be r14,r4,8008054 <_Watchdog_Adjust+0xf0>      
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
 8008038:	45 60 00 07 	be r11,r0,8008054 <_Watchdog_Adjust+0xf0>      <== NEVER TAKEN
          if ( units < _Watchdog_First( header )->delta_interval ) {  
 800803c:	28 2d 00 10 	lw r13,(r1+16)                                 
 8008040:	51 6d ff f2 	bgeu r11,r13,8008008 <_Watchdog_Adjust+0xa4>   
 8008044:	b8 60 20 00 	mv r4,r3                                       
            _Watchdog_First( header )->delta_interval -= units;       
 8008048:	c9 ab 58 00 	sub r11,r13,r11                                
 800804c:	58 2b 00 10 	sw (r1+16),r11                                 
            break;                                                    
 8008050:	e3 ff ff d9 	bi 8007fb4 <_Watchdog_Adjust+0x50>             
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
 8008054:	b8 40 20 00 	mv r4,r2                                       
 8008058:	e3 ff ff d7 	bi 8007fb4 <_Watchdog_Adjust+0x50>             
                                                                      
08005b80 <_Watchdog_Insert>:                                          
                                                                      
void _Watchdog_Insert(                                                
  Chain_Control         *header,                                      
  Watchdog_Control      *the_watchdog                                 
)                                                                     
{                                                                     
 8005b80:	37 9c ff f8 	addi sp,sp,-8                                  
 8005b84:	5b 8b 00 08 	sw (sp+8),r11                                  
 8005b88:	5b 8c 00 04 	sw (sp+4),r12                                  
  Watchdog_Control  *after;                                           
  uint32_t           insert_isr_nest_level;                           
  Watchdog_Interval  delta_interval;                                  
                                                                      
                                                                      
  insert_isr_nest_level   = _ISR_Nest_level;                          
 8005b8c:	78 03 08 01 	mvhi r3,0x801                                  
 8005b90:	38 63 c8 bc 	ori r3,r3,0xc8bc                               
 8005b94:	28 69 00 00 	lw r9,(r3+0)                                   
                                                                      
  _ISR_Disable( level );                                              
 8005b98:	90 00 30 00 	rcsr r6,IE                                     
 8005b9c:	34 08 ff fe 	mvi r8,-2                                      
 8005ba0:	a0 c8 40 00 	and r8,r6,r8                                   
 8005ba4:	d0 08 00 00 	wcsr IE,r8                                     
  /*                                                                  
   *  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 ) {                   
 8005ba8:	28 43 00 08 	lw r3,(r2+8)                                   
 8005bac:	5c 60 00 3e 	bne r3,r0,8005ca4 <_Watchdog_Insert+0x124>     
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  the_watchdog->state = WATCHDOG_BEING_INSERTED;                      
  _Watchdog_Sync_count++;                                             
 8005bb0:	78 0c 08 01 	mvhi r12,0x801                                 
 8005bb4:	39 8c c9 70 	ori r12,r12,0xc970                             
 8005bb8:	29 83 00 00 	lw r3,(r12+0)                                  
  if ( the_watchdog->state != WATCHDOG_INACTIVE ) {                   
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  the_watchdog->state = WATCHDOG_BEING_INSERTED;                      
 8005bbc:	34 0a 00 01 	mvi r10,1                                      
 8005bc0:	78 07 08 01 	mvhi r7,0x801                                  
  _Watchdog_Sync_count++;                                             
 8005bc4:	b4 6a 18 00 	add r3,r3,r10                                  
 8005bc8:	59 83 00 00 	sw (r12+0),r3                                  
  if ( the_watchdog->state != WATCHDOG_INACTIVE ) {                   
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  the_watchdog->state = WATCHDOG_BEING_INSERTED;                      
 8005bcc:	58 4a 00 08 	sw (r2+8),r10                                  
 8005bd0:	38 e7 c8 dc 	ori r7,r7,0xc8dc                               
  _Watchdog_Sync_count++;                                             
                                                                      
restart:                                                              
  delta_interval = the_watchdog->initial;                             
 8005bd4:	28 44 00 0c 	lw r4,(r2+12)                                  
   * cache *header!!                                                  
   *                                                                  
   *  Till Straumann, 7/2003 (gcc-3.2.2 -O4 on powerpc)               
   *                                                                  
   */                                                                 
  for ( after = (Watchdog_Control *) ((volatile Chain_Control *)header)->first ;
 8005bd8:	28 23 00 00 	lw r3,(r1+0)                                   
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
 8005bdc:	44 80 00 14 	be r4,r0,8005c2c <_Watchdog_Insert+0xac>       
 8005be0:	28 65 00 00 	lw r5,(r3+0)                                   
 8005be4:	44 a0 00 12 	be r5,r0,8005c2c <_Watchdog_Insert+0xac>       
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
 8005be8:	28 65 00 10 	lw r5,(r3+16)                                  
 8005bec:	54 a4 00 0e 	bgu r5,r4,8005c24 <_Watchdog_Insert+0xa4>      
      *  used around this flash point allowed interrupts to execute   
      *  which violated the design assumptions.  The critical section 
      *  mechanism used here WAS redesigned to address this.          
      */                                                              
                                                                      
     _ISR_Flash( level );                                             
 8005bf0:	d0 06 00 00 	wcsr IE,r6                                     
 8005bf4:	d0 08 00 00 	wcsr IE,r8                                     
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
 8005bf8:	28 4b 00 08 	lw r11,(r2+8)                                  
 8005bfc:	5d 6a 00 19 	bne r11,r10,8005c60 <_Watchdog_Insert+0xe0>    
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
 8005c00:	28 eb 00 00 	lw r11,(r7+0)                                  
 8005c04:	55 69 00 2d 	bgu r11,r9,8005cb8 <_Watchdog_Insert+0x138>    
     if ( delta_interval < after->delta_interval ) {                  
       after->delta_interval -= delta_interval;                       
       break;                                                         
     }                                                                
                                                                      
     delta_interval -= after->delta_interval;                         
 8005c08:	c8 85 20 00 	sub r4,r4,r5                                   
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_Next(                
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) the_watchdog->Node.next );            
 8005c0c:	28 63 00 00 	lw r3,(r3+0)                                   
   */                                                                 
  for ( after = (Watchdog_Control *) ((volatile Chain_Control *)header)->first ;
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
 8005c10:	44 80 00 07 	be r4,r0,8005c2c <_Watchdog_Insert+0xac>       
 8005c14:	28 65 00 00 	lw r5,(r3+0)                                   
 8005c18:	44 a0 00 05 	be r5,r0,8005c2c <_Watchdog_Insert+0xac>       
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
 8005c1c:	28 65 00 10 	lw r5,(r3+16)                                  
 8005c20:	50 85 00 19 	bgeu r4,r5,8005c84 <_Watchdog_Insert+0x104>    
       after->delta_interval -= delta_interval;                       
 8005c24:	c8 a4 28 00 	sub r5,r5,r4                                   
 8005c28:	58 65 00 10 	sw (r3+16),r5                                  
                                                                      
  _Watchdog_Activate( the_watchdog );                                 
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
 8005c2c:	28 63 00 04 	lw r3,(r3+4)                                   
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
 8005c30:	78 01 08 01 	mvhi r1,0x801                                  
 8005c34:	38 21 c9 74 	ori r1,r1,0xc974                               
     }                                                                
  }                                                                   
                                                                      
  _Watchdog_Activate( the_watchdog );                                 
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
 8005c38:	58 44 00 10 	sw (r2+16),r4                                  
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
 8005c3c:	28 24 00 00 	lw r4,(r1+0)                                   
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
 8005c40:	28 61 00 00 	lw r1,(r3+0)                                   
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
 8005c44:	58 43 00 04 	sw (r2+4),r3                                   
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
 8005c48:	58 62 00 00 	sw (r3+0),r2                                   
RTEMS_INLINE_ROUTINE void _Watchdog_Activate(                         
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_ACTIVE;                              
 8005c4c:	34 03 00 02 	mvi r3,2                                       
 8005c50:	58 44 00 14 	sw (r2+20),r4                                  
 8005c54:	58 43 00 08 	sw (r2+8),r3                                   
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
 8005c58:	58 22 00 04 	sw (r1+4),r2                                   
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
  the_node->next        = before_node;                                
 8005c5c:	58 41 00 00 	sw (r2+0),r1                                   
                                                                      
exit_insert:                                                          
  _Watchdog_Sync_level = insert_isr_nest_level;                       
 8005c60:	58 e9 00 00 	sw (r7+0),r9                                   
  _Watchdog_Sync_count--;                                             
 8005c64:	29 81 00 00 	lw r1,(r12+0)                                  
 8005c68:	34 21 ff ff 	addi r1,r1,-1                                  
 8005c6c:	59 81 00 00 	sw (r12+0),r1                                  
  _ISR_Enable( level );                                               
 8005c70:	d0 06 00 00 	wcsr IE,r6                                     
}                                                                     
 8005c74:	2b 8b 00 08 	lw r11,(sp+8)                                  
 8005c78:	2b 8c 00 04 	lw r12,(sp+4)                                  
 8005c7c:	37 9c 00 08 	addi sp,sp,8                                   
 8005c80:	c3 a0 00 00 	ret                                            
      *  used around this flash point allowed interrupts to execute   
      *  which violated the design assumptions.  The critical section 
      *  mechanism used here WAS redesigned to address this.          
      */                                                              
                                                                      
     _ISR_Flash( level );                                             
 8005c84:	d0 06 00 00 	wcsr IE,r6                                     
 8005c88:	d0 08 00 00 	wcsr IE,r8                                     
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
 8005c8c:	28 4b 00 08 	lw r11,(r2+8)                                  
     if ( delta_interval < after->delta_interval ) {                  
       after->delta_interval -= delta_interval;                       
       break;                                                         
     }                                                                
                                                                      
     delta_interval -= after->delta_interval;                         
 8005c90:	c8 85 20 00 	sub r4,r4,r5                                   
      *  mechanism used here WAS redesigned to address this.          
      */                                                              
                                                                      
     _ISR_Flash( level );                                             
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
 8005c94:	5d 6a ff f3 	bne r11,r10,8005c60 <_Watchdog_Insert+0xe0>    <== NEVER TAKEN
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
 8005c98:	28 e5 00 00 	lw r5,(r7+0)                                   
 8005c9c:	54 a9 00 07 	bgu r5,r9,8005cb8 <_Watchdog_Insert+0x138>     <== NEVER TAKEN
 8005ca0:	e3 ff ff db 	bi 8005c0c <_Watchdog_Insert+0x8c>             
   *  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 ) {                   
    _ISR_Enable( level );                                             
 8005ca4:	d0 06 00 00 	wcsr IE,r6                                     
                                                                      
exit_insert:                                                          
  _Watchdog_Sync_level = insert_isr_nest_level;                       
  _Watchdog_Sync_count--;                                             
  _ISR_Enable( level );                                               
}                                                                     
 8005ca8:	2b 8b 00 08 	lw r11,(sp+8)                                  
 8005cac:	2b 8c 00 04 	lw r12,(sp+4)                                  
 8005cb0:	37 9c 00 08 	addi sp,sp,8                                   
 8005cb4:	c3 a0 00 00 	ret                                            
     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;                  
 8005cb8:	58 e9 00 00 	sw (r7+0),r9                                   
       goto restart;                                                  
 8005cbc:	e3 ff ff c6 	bi 8005bd4 <_Watchdog_Insert+0x54>             
                                                                      
08005d1c <_Watchdog_Remove>:                                          
{                                                                     
  ISR_Level         level;                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
 8005d1c:	90 00 20 00 	rcsr r4,IE                                     
 8005d20:	34 02 ff fe 	mvi r2,-2                                      
 8005d24:	a0 82 10 00 	and r2,r4,r2                                   
 8005d28:	d0 02 00 00 	wcsr IE,r2                                     
  previous_state = the_watchdog->state;                               
 8005d2c:	28 22 00 08 	lw r2,(r1+8)                                   
  switch ( previous_state ) {                                         
 8005d30:	34 03 00 01 	mvi r3,1                                       
 8005d34:	44 43 00 28 	be r2,r3,8005dd4 <_Watchdog_Remove+0xb8>       
 8005d38:	5c 40 00 08 	bne r2,r0,8005d58 <_Watchdog_Remove+0x3c>      
        _Watchdog_Sync_level = _ISR_Nest_level;                       
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
 8005d3c:	78 03 08 01 	mvhi r3,0x801                                  
 8005d40:	38 63 c9 74 	ori r3,r3,0xc974                               
 8005d44:	28 63 00 00 	lw r3,(r3+0)                                   
 8005d48:	58 23 00 18 	sw (r1+24),r3                                  
                                                                      
  _ISR_Enable( level );                                               
 8005d4c:	d0 04 00 00 	wcsr IE,r4                                     
  return( previous_state );                                           
}                                                                     
 8005d50:	b8 40 08 00 	mv r1,r2                                       
 8005d54:	c3 a0 00 00 	ret                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
  previous_state = the_watchdog->state;                               
  switch ( previous_state ) {                                         
 8005d58:	34 03 00 03 	mvi r3,3                                       
 8005d5c:	54 43 ff f8 	bgu r2,r3,8005d3c <_Watchdog_Remove+0x20>      <== NEVER TAKEN
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_Next(                
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) the_watchdog->Node.next );            
 8005d60:	28 23 00 00 	lw r3,(r1+0)                                   
      break;                                                          
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
 8005d64:	34 05 00 00 	mvi r5,0                                       
 8005d68:	58 25 00 08 	sw (r1+8),r5                                   
      next_watchdog = _Watchdog_Next( the_watchdog );                 
                                                                      
      if ( _Watchdog_Next(next_watchdog) )                            
 8005d6c:	28 65 00 00 	lw r5,(r3+0)                                   
 8005d70:	44 a0 00 05 	be r5,r0,8005d84 <_Watchdog_Remove+0x68>       
        next_watchdog->delta_interval += the_watchdog->delta_interval;
 8005d74:	28 66 00 10 	lw r6,(r3+16)                                  
 8005d78:	28 25 00 10 	lw r5,(r1+16)                                  
 8005d7c:	b4 c5 28 00 	add r5,r6,r5                                   
 8005d80:	58 65 00 10 	sw (r3+16),r5                                  
                                                                      
      if ( _Watchdog_Sync_count )                                     
 8005d84:	78 05 08 01 	mvhi r5,0x801                                  
 8005d88:	38 a5 c9 70 	ori r5,r5,0xc970                               
 8005d8c:	28 a5 00 00 	lw r5,(r5+0)                                   
 8005d90:	44 a0 00 07 	be r5,r0,8005dac <_Watchdog_Remove+0x90>       
        _Watchdog_Sync_level = _ISR_Nest_level;                       
 8005d94:	78 05 08 01 	mvhi r5,0x801                                  
 8005d98:	38 a5 c8 bc 	ori r5,r5,0xc8bc                               
 8005d9c:	28 a6 00 00 	lw r6,(r5+0)                                   
 8005da0:	78 05 08 01 	mvhi r5,0x801                                  
 8005da4:	38 a5 c8 dc 	ori r5,r5,0xc8dc                               
 8005da8:	58 a6 00 00 	sw (r5+0),r6                                   
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
 8005dac:	28 25 00 04 	lw r5,(r1+4)                                   
  next->previous = previous;                                          
  previous->next = next;                                              
 8005db0:	58 a3 00 00 	sw (r5+0),r3                                   
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
 8005db4:	58 65 00 04 	sw (r3+4),r5                                   
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
 8005db8:	78 03 08 01 	mvhi r3,0x801                                  
 8005dbc:	38 63 c9 74 	ori r3,r3,0xc974                               
 8005dc0:	28 63 00 00 	lw r3,(r3+0)                                   
 8005dc4:	58 23 00 18 	sw (r1+24),r3                                  
                                                                      
  _ISR_Enable( level );                                               
 8005dc8:	d0 04 00 00 	wcsr IE,r4                                     
  return( previous_state );                                           
}                                                                     
 8005dcc:	b8 40 08 00 	mv r1,r2                                       
 8005dd0:	c3 a0 00 00 	ret                                            
                                                                      
      /*                                                              
       *  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;                        
 8005dd4:	34 03 00 00 	mvi r3,0                                       
 8005dd8:	58 23 00 08 	sw (r1+8),r3                                   
        _Watchdog_Sync_level = _ISR_Nest_level;                       
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
 8005ddc:	78 03 08 01 	mvhi r3,0x801                                  
 8005de0:	38 63 c9 74 	ori r3,r3,0xc974                               
 8005de4:	28 63 00 00 	lw r3,(r3+0)                                   
 8005de8:	58 23 00 18 	sw (r1+24),r3                                  
                                                                      
  _ISR_Enable( level );                                               
 8005dec:	d0 04 00 00 	wcsr IE,r4                                     
  return( previous_state );                                           
}                                                                     
 8005df0:	b8 40 08 00 	mv r1,r2                                       
 8005df4:	c3 a0 00 00 	ret                                            
                                                                      
08007c9c <_Watchdog_Report_chain>:                                    
                                                                      
void _Watchdog_Report_chain(                                          
  const char        *name,                                            
  Chain_Control     *header                                           
)                                                                     
{                                                                     
 8007c9c:	37 9c ff ec 	addi sp,sp,-20                                 
 8007ca0:	5b 8b 00 14 	sw (sp+20),r11                                 
 8007ca4:	5b 8c 00 10 	sw (sp+16),r12                                 
 8007ca8:	5b 8d 00 0c 	sw (sp+12),r13                                 
 8007cac:	5b 8e 00 08 	sw (sp+8),r14                                  
 8007cb0:	5b 9d 00 04 	sw (sp+4),ra                                   
 8007cb4:	b8 20 70 00 	mv r14,r1                                      
 8007cb8:	b8 40 60 00 	mv r12,r2                                      
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
 8007cbc:	90 00 68 00 	rcsr r13,IE                                    
 8007cc0:	34 01 ff fe 	mvi r1,-2                                      
 8007cc4:	a1 a1 08 00 	and r1,r13,r1                                  
 8007cc8:	d0 01 00 00 	wcsr IE,r1                                     
    printk( "Watchdog Chain: %s %p\n", name, header );                
 8007ccc:	78 01 08 02 	mvhi r1,0x802                                  
 8007cd0:	b9 80 18 00 	mv r3,r12                                      
 8007cd4:	38 21 06 88 	ori r1,r1,0x688                                
 8007cd8:	b9 c0 10 00 	mv r2,r14                                      
 8007cdc:	fb ff eb dd 	calli 8002c50 <printk>                         
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
 8007ce0:	29 8b 00 00 	lw r11,(r12+0)                                 
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 8007ce4:	35 8c 00 04 	addi r12,r12,4                                 
    if ( !_Chain_Is_empty( header ) ) {                               
 8007ce8:	45 6c 00 12 	be r11,r12,8007d30 <_Watchdog_Report_chain+0x94>
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
 8007cec:	b9 60 10 00 	mv r2,r11                                      
 8007cf0:	34 01 00 00 	mvi r1,0                                       
 8007cf4:	f8 00 00 13 	calli 8007d40 <_Watchdog_Report>               
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = header->first ;                                    
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
 8007cf8:	29 6b 00 00 	lw r11,(r11+0)                                 
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = header->first ;                                    
 8007cfc:	5d 6c ff fc 	bne r11,r12,8007cec <_Watchdog_Report_chain+0x50><== NEVER TAKEN
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
 8007d00:	78 01 08 02 	mvhi r1,0x802                                  
 8007d04:	38 21 06 a0 	ori r1,r1,0x6a0                                
 8007d08:	b9 c0 10 00 	mv r2,r14                                      
 8007d0c:	fb ff eb d1 	calli 8002c50 <printk>                         
    } else {                                                          
      printk( "Chain is empty\n" );                                   
    }                                                                 
  _ISR_Enable( level );                                               
 8007d10:	d0 0d 00 00 	wcsr IE,r13                                    
}                                                                     
 8007d14:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8007d18:	2b 8b 00 14 	lw r11,(sp+20)                                 
 8007d1c:	2b 8c 00 10 	lw r12,(sp+16)                                 
 8007d20:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 8007d24:	2b 8e 00 08 	lw r14,(sp+8)                                  
 8007d28:	37 9c 00 14 	addi sp,sp,20                                  
 8007d2c:	c3 a0 00 00 	ret                                            
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
    } else {                                                          
      printk( "Chain is empty\n" );                                   
 8007d30:	78 01 08 02 	mvhi r1,0x802                                  
 8007d34:	38 21 06 b0 	ori r1,r1,0x6b0                                
 8007d38:	fb ff eb c6 	calli 8002c50 <printk>                         
 8007d3c:	e3 ff ff f5 	bi 8007d10 <_Watchdog_Report_chain+0x74>       
                                                                      
08005df8 <_Watchdog_Tickle>:                                          
 */                                                                   
                                                                      
void _Watchdog_Tickle(                                                
  Chain_Control *header                                               
)                                                                     
{                                                                     
 8005df8:	37 9c ff e4 	addi sp,sp,-28                                 
 8005dfc:	5b 8b 00 1c 	sw (sp+28),r11                                 
 8005e00:	5b 8c 00 18 	sw (sp+24),r12                                 
 8005e04:	5b 8d 00 14 	sw (sp+20),r13                                 
 8005e08:	5b 8e 00 10 	sw (sp+16),r14                                 
 8005e0c:	5b 8f 00 0c 	sw (sp+12),r15                                 
 8005e10:	5b 90 00 08 	sw (sp+8),r16                                  
 8005e14:	5b 9d 00 04 	sw (sp+4),ra                                   
 8005e18:	b8 20 60 00 	mv r12,r1                                      
   * See the comment in watchdoginsert.c and watchdogadjust.c         
   * about why it's safe not to declare header a pointer to           
   * volatile data - till, 2003/7                                     
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
 8005e1c:	90 00 68 00 	rcsr r13,IE                                    
 8005e20:	34 01 ff fe 	mvi r1,-2                                      
 8005e24:	a1 a1 08 00 	and r1,r13,r1                                  
 8005e28:	d0 01 00 00 	wcsr IE,r1                                     
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
 8005e2c:	29 8b 00 00 	lw r11,(r12+0)                                 
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 8005e30:	35 8e 00 04 	addi r14,r12,4                                 
                                                                      
  if ( _Chain_Is_empty( header ) )                                    
 8005e34:	45 6e 00 2b 	be r11,r14,8005ee0 <_Watchdog_Tickle+0xe8>     
   * to be inserted has already had its delta_interval adjusted to 0, and
   * so is added to the head of the chain with a delta_interval of 0. 
   *                                                                  
   * Steven Johnson - 12/2005 (gcc-3.2.3 -O3 on powerpc)              
   */                                                                 
  if (the_watchdog->delta_interval != 0) {                            
 8005e38:	29 61 00 10 	lw r1,(r11+16)                                 
 8005e3c:	5c 20 00 26 	bne r1,r0,8005ed4 <_Watchdog_Tickle+0xdc>      
  do {                                                                
     watchdog_state = _Watchdog_Remove( the_watchdog );               
                                                                      
     _ISR_Enable( level );                                            
                                                                      
     switch( watchdog_state ) {                                       
 8005e40:	34 10 00 02 	mvi r16,2                                      
                                                                      
       case WATCHDOG_REMOVE_IT:                                       
         break;                                                       
     }                                                                
                                                                      
     _ISR_Disable( level );                                           
 8005e44:	34 0f ff fe 	mvi r15,-2                                     
 8005e48:	e0 00 00 0a 	bi 8005e70 <_Watchdog_Tickle+0x78>             
 8005e4c:	90 00 10 00 	rcsr r2,IE                                     
 8005e50:	a0 4f 08 00 	and r1,r2,r15                                  
 8005e54:	d0 01 00 00 	wcsr IE,r1                                     
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) header->first );                      
 8005e58:	29 81 00 00 	lw r1,(r12+0)                                  
 8005e5c:	b8 40 68 00 	mv r13,r2                                      
 8005e60:	b8 20 58 00 	mv r11,r1                                      
                                                                      
     the_watchdog = _Watchdog_First( header );                        
   } while ( !_Chain_Is_empty( header ) &&                            
             (the_watchdog->delta_interval == 0) );                   
 8005e64:	45 c1 00 12 	be r14,r1,8005eac <_Watchdog_Tickle+0xb4>      <== ALWAYS TAKEN
 8005e68:	28 21 00 10 	lw r1,(r1+16)                                  
 8005e6c:	5c 20 00 10 	bne r1,r0,8005eac <_Watchdog_Tickle+0xb4>      
    if ( the_watchdog->delta_interval != 0 )                          
      goto leave;                                                     
  }                                                                   
                                                                      
  do {                                                                
     watchdog_state = _Watchdog_Remove( the_watchdog );               
 8005e70:	b9 60 08 00 	mv r1,r11                                      
 8005e74:	fb ff ff aa 	calli 8005d1c <_Watchdog_Remove>               
                                                                      
     _ISR_Enable( level );                                            
 8005e78:	d0 0d 00 00 	wcsr IE,r13                                    
                                                                      
     switch( watchdog_state ) {                                       
 8005e7c:	5c 30 ff f4 	bne r1,r16,8005e4c <_Watchdog_Tickle+0x54>     
       case WATCHDOG_ACTIVE:                                          
         (*the_watchdog->routine)(                                    
 8005e80:	29 62 00 24 	lw r2,(r11+36)                                 
 8005e84:	29 63 00 1c 	lw r3,(r11+28)                                 
 8005e88:	29 61 00 20 	lw r1,(r11+32)                                 
 8005e8c:	d8 60 00 00 	call r3                                        
                                                                      
       case WATCHDOG_REMOVE_IT:                                       
         break;                                                       
     }                                                                
                                                                      
     _ISR_Disable( level );                                           
 8005e90:	90 00 10 00 	rcsr r2,IE                                     
 8005e94:	a0 4f 08 00 	and r1,r2,r15                                  
 8005e98:	d0 01 00 00 	wcsr IE,r1                                     
 8005e9c:	29 81 00 00 	lw r1,(r12+0)                                  
 8005ea0:	b8 40 68 00 	mv r13,r2                                      
 8005ea4:	b8 20 58 00 	mv r11,r1                                      
                                                                      
     the_watchdog = _Watchdog_First( header );                        
   } while ( !_Chain_Is_empty( header ) &&                            
             (the_watchdog->delta_interval == 0) );                   
 8005ea8:	5d c1 ff f0 	bne r14,r1,8005e68 <_Watchdog_Tickle+0x70>     
                                                                      
leave:                                                                
   _ISR_Enable(level);                                                
 8005eac:	d0 02 00 00 	wcsr IE,r2                                     
}                                                                     
 8005eb0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8005eb4:	2b 8b 00 1c 	lw r11,(sp+28)                                 
 8005eb8:	2b 8c 00 18 	lw r12,(sp+24)                                 
 8005ebc:	2b 8d 00 14 	lw r13,(sp+20)                                 
 8005ec0:	2b 8e 00 10 	lw r14,(sp+16)                                 
 8005ec4:	2b 8f 00 0c 	lw r15,(sp+12)                                 
 8005ec8:	2b 90 00 08 	lw r16,(sp+8)                                  
 8005ecc:	37 9c 00 1c 	addi sp,sp,28                                  
 8005ed0:	c3 a0 00 00 	ret                                            
   * so is added to the head of the chain with a delta_interval of 0. 
   *                                                                  
   * Steven Johnson - 12/2005 (gcc-3.2.3 -O3 on powerpc)              
   */                                                                 
  if (the_watchdog->delta_interval != 0) {                            
    the_watchdog->delta_interval--;                                   
 8005ed4:	34 21 ff ff 	addi r1,r1,-1                                  
 8005ed8:	59 61 00 10 	sw (r11+16),r1                                 
    if ( the_watchdog->delta_interval != 0 )                          
 8005edc:	44 20 ff d9 	be r1,r0,8005e40 <_Watchdog_Tickle+0x48>       
                                                                      
     _ISR_Disable( level );                                           
                                                                      
     the_watchdog = _Watchdog_First( header );                        
   } while ( !_Chain_Is_empty( header ) &&                            
             (the_watchdog->delta_interval == 0) );                   
 8005ee0:	b9 a0 10 00 	mv r2,r13                                      
 8005ee4:	e3 ff ff f2 	bi 8005eac <_Watchdog_Tickle+0xb4>             
                                                                      
08005ee8 <_Workspace_Allocate_or_fatal_error>:                        
 *  _Workspace_Allocate_or_fatal_error                                
 */                                                                   
void *_Workspace_Allocate_or_fatal_error(                             
  size_t      size                                                    
)                                                                     
{                                                                     
 8005ee8:	37 9c ff fc 	addi sp,sp,-4                                  
 8005eec:	5b 9d 00 04 	sw (sp+4),ra                                   
 * @brief See _Heap_Allocate_aligned_with_boundary() with alignment and
 * boundary equals zero.                                              
 */                                                                   
RTEMS_INLINE_ROUTINE void *_Heap_Allocate( Heap_Control *heap, uintptr_t size )
{                                                                     
  return _Heap_Allocate_aligned_with_boundary( heap, size, 0, 0 );    
 8005ef0:	34 03 00 00 	mvi r3,0                                       
 8005ef4:	b8 20 10 00 	mv r2,r1                                       
 8005ef8:	78 01 08 01 	mvhi r1,0x801                                  
 8005efc:	38 21 c8 48 	ori r1,r1,0xc848                               
 8005f00:	b8 60 20 00 	mv r4,r3                                       
 8005f04:	f8 00 0b a8 	calli 8008da4 <_Heap_Allocate_aligned_with_boundary>
      __builtin_return_address( 1 ),                                  
      memory                                                          
    );                                                                
  #endif                                                              
                                                                      
  if ( memory == NULL )                                               
 8005f08:	44 20 00 04 	be r1,r0,8005f18 <_Workspace_Allocate_or_fatal_error+0x30><== NEVER TAKEN
      true,                                                           
      INTERNAL_ERROR_WORKSPACE_ALLOCATION                             
    );                                                                
                                                                      
  return memory;                                                      
}                                                                     
 8005f0c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8005f10:	37 9c 00 04 	addi sp,sp,4                                   
 8005f14:	c3 a0 00 00 	ret                                            
      memory                                                          
    );                                                                
  #endif                                                              
                                                                      
  if ( memory == NULL )                                               
    _Internal_error_Occurred(                                         
 8005f18:	34 02 00 01 	mvi r2,1                                       <== NOT EXECUTED
 8005f1c:	34 03 00 04 	mvi r3,4                                       <== NOT EXECUTED
 8005f20:	fb ff f5 f7 	calli 80036fc <_Internal_error_Occurred>       <== NOT EXECUTED
                                                                      
080262c8 <__kill>:                                                    
#endif                                                                
                                                                      
int __kill( pid_t pid, int sig )                                      
{                                                                     
  return 0;                                                           
}                                                                     
 80262c8:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 80262cc:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
0801a338 <_exit>:                                                     
  /*                                                                  
   *  If the toolset uses init/fini sections, then we need to         
   *  run the global destructors now.                                 
   */                                                                 
  #if defined(__USE_INIT_FINI__)                                      
    FINI_SYMBOL();                                                    
 801a338:	37 9c ff f8 	addi sp,sp,-8                                  
 801a33c:	5b 9d 00 04 	sw (sp+4),ra                                   
 801a340:	5b 81 00 08 	sw (sp+8),r1                                   
 801a344:	f8 00 02 93 	calli 801ad90 <__start_set_sysctl_set>         
   *  We need to do the exit processing on the global reentrancy structure.
   *  This has already been done on the per task reentrancy structure 
   *  associated with this task.                                      
   */                                                                 
                                                                      
  libc_wrapup();                                                      
 801a348:	fb ff ff d7 	calli 801a2a4 <libc_wrapup>                    
  rtems_shutdown_executive(status);                                   
 801a34c:	2b 81 00 08 	lw r1,(sp+8)                                   
 801a350:	f8 00 00 64 	calli 801a4e0 <rtems_shutdown_executive>       
 801a354:	e0 00 00 00 	bi 801a354 <_exit+0x1c>                        <== NOT EXECUTED
                                                                      
0804020c <_fcntl_r>:                                                  
  struct _reent *ptr __attribute__((unused)),                         
  int fd,                                                             
  int cmd,                                                            
  int arg                                                             
)                                                                     
{                                                                     
 804020c:	37 9c ff fc 	addi sp,sp,-4                                  <== NOT EXECUTED
 8040210:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  return fcntl( fd, cmd, arg );                                       
 8040214:	b8 40 08 00 	mv r1,r2                                       <== NOT EXECUTED
 8040218:	b8 60 10 00 	mv r2,r3                                       <== NOT EXECUTED
 804021c:	b8 80 18 00 	mv r3,r4                                       <== NOT EXECUTED
 8040220:	fb ff ff 5c 	calli 803ff90 <fcntl>                          <== NOT EXECUTED
}                                                                     
 8040224:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8040228:	37 9c 00 04 	addi sp,sp,4                                   <== NOT EXECUTED
 804022c:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08026294 <_getpid_r>:                                                 
pid_t _getpid_r(                                                      
  struct _reent *ptr __attribute__((unused))                          
)                                                                     
{                                                                     
  return getpid();                                                    
}                                                                     
 8026294:	34 01 00 01 	mvi r1,1                                       <== NOT EXECUTED
 8026298:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08007abc <_gettimeofday>:                                             
                                                                      
int _gettimeofday(                                                    
  struct timeval  *tp,                                                
  struct timezone *tzp                                                
)                                                                     
{                                                                     
 8007abc:	37 9c ff fc 	addi sp,sp,-4                                  <== NOT EXECUTED
 8007ac0:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  return gettimeofday( tp, tzp );                                     
 8007ac4:	fb ff ff e0 	calli 8007a44 <gettimeofday>                   <== NOT EXECUTED
}                                                                     
 8007ac8:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8007acc:	37 9c 00 04 	addi sp,sp,4                                   <== NOT EXECUTED
 8007ad0:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
080262c0 <_kill_r>:                                                   
#include <reent.h>                                                    
                                                                      
int _kill_r( struct _reent *ptr, pid_t pid, int sig )                 
{                                                                     
  return 0;                                                           
}                                                                     
 80262c0:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 80262c4:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
0802a5ac <_link_r>:                                                   
int _link_r(                                                          
  struct _reent *ptr __attribute__((unused)),                         
  const char    *existing,                                            
  const char    *new                                                  
)                                                                     
{                                                                     
 802a5ac:	37 9c ff fc 	addi sp,sp,-4                                  <== NOT EXECUTED
 802a5b0:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  return link( existing, new );                                       
 802a5b4:	b8 40 08 00 	mv r1,r2                                       <== NOT EXECUTED
 802a5b8:	b8 60 10 00 	mv r2,r3                                       <== NOT EXECUTED
 802a5bc:	fb ff ff 64 	calli 802a34c <link>                           <== NOT EXECUTED
}                                                                     
 802a5c0:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 802a5c4:	37 9c 00 04 	addi sp,sp,4                                   <== NOT EXECUTED
 802a5c8:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
0802a8a0 <_lstat_r>:                                                  
int _STAT_R_NAME(                                                     
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path,                                                
  struct stat   *buf                                                  
)                                                                     
{                                                                     
 802a8a0:	37 9c ff fc 	addi sp,sp,-4                                  <== NOT EXECUTED
 802a8a4:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  return _STAT_NAME( path, buf );                                     
 802a8a8:	b8 40 08 00 	mv r1,r2                                       <== NOT EXECUTED
 802a8ac:	b8 60 10 00 	mv r2,r3                                       <== NOT EXECUTED
 802a8b0:	fb ff ff b9 	calli 802a794 <lstat>                          <== NOT EXECUTED
}                                                                     
 802a8b4:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 802a8b8:	37 9c 00 04 	addi sp,sp,4                                   <== NOT EXECUTED
 802a8bc:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
0801a49c <_realloc_r>:                                                
void *_realloc_r(                                                     
  struct _reent *ignored __attribute__((unused)),                     
  void          *ptr,                                                 
  size_t         size                                                 
)                                                                     
{                                                                     
 801a49c:	37 9c ff fc 	addi sp,sp,-4                                  <== NOT EXECUTED
 801a4a0:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  return realloc( ptr, size );                                        
 801a4a4:	b8 40 08 00 	mv r1,r2                                       <== NOT EXECUTED
 801a4a8:	b8 60 10 00 	mv r2,r3                                       <== NOT EXECUTED
 801a4ac:	f8 00 00 1b 	calli 801a518 <realloc>                        <== NOT EXECUTED
}                                                                     
 801a4b0:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 801a4b4:	37 9c 00 04 	addi sp,sp,4                                   <== NOT EXECUTED
 801a4b8:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08063c50 <_rename_r>:                                                 
int _rename_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *old,                                                 
  const char    *new                                                  
)                                                                     
{                                                                     
 8063c50:	37 9c ff a8 	addi sp,sp,-88                                 <== NOT EXECUTED
 8063c54:	5b 8b 00 18 	sw (sp+24),r11                                 <== NOT EXECUTED
 8063c58:	5b 8c 00 14 	sw (sp+20),r12                                 <== NOT EXECUTED
 8063c5c:	5b 8d 00 10 	sw (sp+16),r13                                 <== NOT EXECUTED
 8063c60:	5b 8e 00 0c 	sw (sp+12),r14                                 <== NOT EXECUTED
 8063c64:	5b 8f 00 08 	sw (sp+8),r15                                  <== NOT EXECUTED
 8063c68:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
 8063c6c:	b8 40 08 00 	mv r1,r2                                       <== NOT EXECUTED
int _rename_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *old,                                                 
  const char    *new                                                  
)                                                                     
{                                                                     
 8063c70:	b8 40 60 00 	mv r12,r2                                      <== NOT EXECUTED
 8063c74:	b8 60 78 00 	mv r15,r3                                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
 8063c78:	fb fe 89 c7 	calli 8006394 <rtems_filesystem_dirname>       <== NOT EXECUTED
 8063c7c:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
                                                                      
  if ( old_parent_pathlen == 0 )                                      
 8063c80:	5c 20 00 e5 	bne r1,r0,8064014 <_rename_r+0x3c4>            <== NOT EXECUTED
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
 8063c84:	41 82 00 00 	lbu r2,(r12+0)                                 <== NOT EXECUTED
 8063c88:	64 43 00 5c 	cmpei r3,r2,92                                 <== NOT EXECUTED
 8063c8c:	64 41 00 2f 	cmpei r1,r2,47                                 <== NOT EXECUTED
 8063c90:	b8 61 08 00 	or r1,r3,r1                                    <== NOT EXECUTED
 8063c94:	44 2b 00 6d 	be r1,r11,8063e48 <_rename_r+0x1f8>            <== NOT EXECUTED
 8063c98:	78 02 08 07 	mvhi r2,0x807                                  <== NOT EXECUTED
 8063c9c:	38 42 12 f0 	ori r2,r2,0x12f0                               <== NOT EXECUTED
 8063ca0:	28 44 00 00 	lw r4,(r2+0)                                   <== NOT EXECUTED
 8063ca4:	34 0e 00 00 	mvi r14,0                                      <== NOT EXECUTED
 8063ca8:	28 81 00 18 	lw r1,(r4+24)                                  <== NOT EXECUTED
 8063cac:	5b 81 00 30 	sw (sp+48),r1                                  <== NOT EXECUTED
 8063cb0:	28 82 00 1c 	lw r2,(r4+28)                                  <== NOT EXECUTED
 8063cb4:	5b 82 00 34 	sw (sp+52),r2                                  <== NOT EXECUTED
 8063cb8:	28 83 00 20 	lw r3,(r4+32)                                  <== NOT EXECUTED
 8063cbc:	5b 83 00 38 	sw (sp+56),r3                                  <== NOT EXECUTED
 8063cc0:	28 81 00 24 	lw r1,(r4+36)                                  <== NOT EXECUTED
 8063cc4:	5b 81 00 3c 	sw (sp+60),r1                                  <== NOT EXECUTED
 8063cc8:	28 84 00 28 	lw r4,(r4+40)                                  <== NOT EXECUTED
 8063ccc:	5b 84 00 40 	sw (sp+64),r4                                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
 8063cd0:	2b 82 00 30 	lw r2,(sp+48)                                  <== NOT EXECUTED
 8063cd4:	2b 83 00 34 	lw r3,(sp+52)                                  <== NOT EXECUTED
  name = old + old_parent_pathlen;                                    
 8063cd8:	b5 8b 58 00 	add r11,r12,r11                                <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
 8063cdc:	5b 82 00 44 	sw (sp+68),r2                                  <== NOT EXECUTED
 8063ce0:	2b 82 00 38 	lw r2,(sp+56)                                  <== NOT EXECUTED
 8063ce4:	5b 83 00 48 	sw (sp+72),r3                                  <== NOT EXECUTED
 8063ce8:	2b 83 00 3c 	lw r3,(sp+60)                                  <== NOT EXECUTED
 8063cec:	5b 82 00 4c 	sw (sp+76),r2                                  <== NOT EXECUTED
 8063cf0:	2b 82 00 40 	lw r2,(sp+64)                                  <== NOT EXECUTED
  name = old + old_parent_pathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
 8063cf4:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
 8063cf8:	5b 83 00 50 	sw (sp+80),r3                                  <== NOT EXECUTED
 8063cfc:	5b 82 00 54 	sw (sp+84),r2                                  <== NOT EXECUTED
  name = old + old_parent_pathlen;                                    
 8063d00:	5b 8b 00 58 	sw (sp+88),r11                                 <== NOT EXECUTED
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
 8063d04:	fb ff ab 93 	calli 804eb50 <strlen>                         <== NOT EXECUTED
 8063d08:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
 8063d0c:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8063d10:	fb fe 89 88 	calli 8006330 <rtems_filesystem_prefix_separators><== NOT EXECUTED
 8063d14:	b5 61 58 00 	add r11,r11,r1                                 <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
 8063d18:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
   * 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 ) ); 
 8063d1c:	5b 8b 00 58 	sw (sp+88),r11                                 <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
 8063d20:	fb ff ab 8c 	calli 804eb50 <strlen>                         <== NOT EXECUTED
 8063d24:	34 03 00 00 	mvi r3,0                                       <== NOT EXECUTED
 8063d28:	37 8c 00 44 	addi r12,sp,68                                 <== NOT EXECUTED
 8063d2c:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
 8063d30:	b9 80 20 00 	mv r4,r12                                      <== NOT EXECUTED
 8063d34:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8063d38:	b8 60 28 00 	mv r5,r3                                       <== NOT EXECUTED
 8063d3c:	fb fe 89 b3 	calli 8006408 <rtems_filesystem_evaluate_relative_path><== NOT EXECUTED
 8063d40:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
 8063d44:	5c 20 00 80 	bne r1,r0,8063f44 <_rename_r+0x2f4>            <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
 8063d48:	41 e2 00 00 	lbu r2,(r15+0)                                 <== NOT EXECUTED
 8063d4c:	64 44 00 5c 	cmpei r4,r2,92                                 <== NOT EXECUTED
 8063d50:	64 41 00 2f 	cmpei r1,r2,47                                 <== NOT EXECUTED
 8063d54:	b8 81 20 00 	or r4,r4,r1                                    <== NOT EXECUTED
 8063d58:	44 8b 00 4c 	be r4,r11,8063e88 <_rename_r+0x238>            <== NOT EXECUTED
 8063d5c:	78 02 08 07 	mvhi r2,0x807                                  <== NOT EXECUTED
 8063d60:	38 42 12 f0 	ori r2,r2,0x12f0                               <== NOT EXECUTED
 8063d64:	28 42 00 00 	lw r2,(r2+0)                                   <== NOT EXECUTED
 8063d68:	34 01 00 01 	mvi r1,1                                       <== NOT EXECUTED
 8063d6c:	28 43 00 18 	lw r3,(r2+24)                                  <== NOT EXECUTED
 8063d70:	5b 83 00 1c 	sw (sp+28),r3                                  <== NOT EXECUTED
 8063d74:	28 43 00 1c 	lw r3,(r2+28)                                  <== NOT EXECUTED
 8063d78:	5b 83 00 20 	sw (sp+32),r3                                  <== NOT EXECUTED
 8063d7c:	28 43 00 20 	lw r3,(r2+32)                                  <== NOT EXECUTED
 8063d80:	5b 83 00 24 	sw (sp+36),r3                                  <== NOT EXECUTED
 8063d84:	28 43 00 24 	lw r3,(r2+36)                                  <== NOT EXECUTED
 8063d88:	5b 83 00 28 	sw (sp+40),r3                                  <== NOT EXECUTED
 8063d8c:	28 42 00 28 	lw r2,(r2+40)                                  <== NOT EXECUTED
 8063d90:	5b 82 00 2c 	sw (sp+44),r2                                  <== NOT EXECUTED
                                                                      
  if ( !new_parent_loc.ops->evalformake_h ) {                         
 8063d94:	2b 82 00 28 	lw r2,(sp+40)                                  <== NOT EXECUTED
 8063d98:	28 44 00 04 	lw r4,(r2+4)                                   <== NOT EXECUTED
 8063d9c:	44 80 00 8c 	be r4,r0,8063fcc <_rename_r+0x37c>             <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_filesystem_freenode( &old_loc );                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
 8063da0:	37 8b 00 1c 	addi r11,sp,28                                 <== NOT EXECUTED
 8063da4:	b5 e1 08 00 	add r1,r15,r1                                  <== NOT EXECUTED
 8063da8:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 8063dac:	37 83 00 58 	addi r3,sp,88                                  <== NOT EXECUTED
 8063db0:	d8 80 00 00 	call r4                                        <== NOT EXECUTED
 8063db4:	b8 20 68 00 	mv r13,r1                                      <== NOT EXECUTED
  if ( result != 0 ) {                                                
 8063db8:	5c 20 00 6e 	bne r1,r0,8063f70 <_rename_r+0x320>            <== NOT EXECUTED
  /*                                                                  
   *  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 ) {         
 8063dbc:	2b 81 00 2c 	lw r1,(sp+44)                                  <== NOT EXECUTED
 8063dc0:	2b 82 00 40 	lw r2,(sp+64)                                  <== NOT EXECUTED
 8063dc4:	5c 41 00 48 	bne r2,r1,8063ee4 <_rename_r+0x294>            <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_filesystem_freenode( &old_loc );                            
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  }                                                                   
                                                                      
  if ( !new_parent_loc.ops->rename_h ) {                              
 8063dc8:	2b 81 00 28 	lw r1,(sp+40)                                  <== NOT EXECUTED
 8063dcc:	28 25 00 40 	lw r5,(r1+64)                                  <== NOT EXECUTED
 8063dd0:	44 a0 00 9b 	be r5,r0,806403c <_rename_r+0x3ec>             <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_filesystem_freenode( &old_loc );                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
 8063dd4:	2b 84 00 58 	lw r4,(sp+88)                                  <== NOT EXECUTED
 8063dd8:	37 8f 00 30 	addi r15,sp,48                                 <== NOT EXECUTED
 8063ddc:	b9 80 10 00 	mv r2,r12                                      <== NOT EXECUTED
 8063de0:	b9 e0 08 00 	mv r1,r15                                      <== NOT EXECUTED
 8063de4:	b9 60 18 00 	mv r3,r11                                      <== NOT EXECUTED
 8063de8:	d8 a0 00 00 	call r5                                        <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
 8063dec:	2b 82 00 28 	lw r2,(sp+40)                                  <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_filesystem_freenode( &old_loc );                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
 8063df0:	b8 20 68 00 	mv r13,r1                                      <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
 8063df4:	44 40 00 05 	be r2,r0,8063e08 <_rename_r+0x1b8>             <== NOT EXECUTED
 8063df8:	28 42 00 1c 	lw r2,(r2+28)                                  <== NOT EXECUTED
 8063dfc:	44 40 00 03 	be r2,r0,8063e08 <_rename_r+0x1b8>             <== NOT EXECUTED
 8063e00:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8063e04:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
  if ( free_old_parentloc )                                           
 8063e08:	5d c0 00 30 	bne r14,r0,8063ec8 <_rename_r+0x278>           <== NOT EXECUTED
    rtems_filesystem_freenode( &old_parent_loc );                     
  rtems_filesystem_freenode( &old_loc );                              
 8063e0c:	2b 81 00 50 	lw r1,(sp+80)                                  <== NOT EXECUTED
 8063e10:	44 20 00 05 	be r1,r0,8063e24 <_rename_r+0x1d4>             <== NOT EXECUTED
 8063e14:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 8063e18:	44 40 00 03 	be r2,r0,8063e24 <_rename_r+0x1d4>             <== NOT EXECUTED
 8063e1c:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8063e20:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
 8063e24:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 8063e28:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8063e2c:	2b 8b 00 18 	lw r11,(sp+24)                                 <== NOT EXECUTED
 8063e30:	2b 8c 00 14 	lw r12,(sp+20)                                 <== NOT EXECUTED
 8063e34:	2b 8d 00 10 	lw r13,(sp+16)                                 <== NOT EXECUTED
 8063e38:	2b 8e 00 0c 	lw r14,(sp+12)                                 <== NOT EXECUTED
 8063e3c:	2b 8f 00 08 	lw r15,(sp+8)                                  <== NOT EXECUTED
 8063e40:	37 9c 00 58 	addi sp,sp,88                                  <== NOT EXECUTED
 8063e44:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
                                                                      
  if ( old_parent_pathlen == 0 )                                      
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
 8063e48:	44 40 ff 94 	be r2,r0,8063c98 <_rename_r+0x48>              <== NOT EXECUTED
 8063e4c:	78 01 08 07 	mvhi r1,0x807                                  <== NOT EXECUTED
 8063e50:	38 21 12 f0 	ori r1,r1,0x12f0                               <== NOT EXECUTED
 8063e54:	28 21 00 00 	lw r1,(r1+0)                                   <== NOT EXECUTED
 8063e58:	b9 60 70 00 	mv r14,r11                                     <== NOT EXECUTED
 8063e5c:	28 22 00 04 	lw r2,(r1+4)                                   <== NOT EXECUTED
 8063e60:	5b 82 00 30 	sw (sp+48),r2                                  <== NOT EXECUTED
 8063e64:	28 23 00 08 	lw r3,(r1+8)                                   <== NOT EXECUTED
 8063e68:	5b 83 00 34 	sw (sp+52),r3                                  <== NOT EXECUTED
 8063e6c:	28 22 00 0c 	lw r2,(r1+12)                                  <== NOT EXECUTED
 8063e70:	5b 82 00 38 	sw (sp+56),r2                                  <== NOT EXECUTED
 8063e74:	28 23 00 10 	lw r3,(r1+16)                                  <== NOT EXECUTED
 8063e78:	5b 83 00 3c 	sw (sp+60),r3                                  <== NOT EXECUTED
 8063e7c:	28 21 00 14 	lw r1,(r1+20)                                  <== NOT EXECUTED
 8063e80:	5b 81 00 40 	sw (sp+64),r1                                  <== NOT EXECUTED
 8063e84:	e3 ff ff 93 	bi 8063cd0 <_rename_r+0x80>                    <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
 8063e88:	44 44 ff b5 	be r2,r4,8063d5c <_rename_r+0x10c>             <== NOT EXECUTED
 8063e8c:	78 01 08 07 	mvhi r1,0x807                                  <== NOT EXECUTED
 8063e90:	38 21 12 f0 	ori r1,r1,0x12f0                               <== NOT EXECUTED
 8063e94:	28 22 00 00 	lw r2,(r1+0)                                   <== NOT EXECUTED
 8063e98:	b8 80 08 00 	mv r1,r4                                       <== NOT EXECUTED
 8063e9c:	28 43 00 04 	lw r3,(r2+4)                                   <== NOT EXECUTED
 8063ea0:	5b 83 00 1c 	sw (sp+28),r3                                  <== NOT EXECUTED
 8063ea4:	28 43 00 08 	lw r3,(r2+8)                                   <== NOT EXECUTED
 8063ea8:	5b 83 00 20 	sw (sp+32),r3                                  <== NOT EXECUTED
 8063eac:	28 43 00 0c 	lw r3,(r2+12)                                  <== NOT EXECUTED
 8063eb0:	5b 83 00 24 	sw (sp+36),r3                                  <== NOT EXECUTED
 8063eb4:	28 43 00 10 	lw r3,(r2+16)                                  <== NOT EXECUTED
 8063eb8:	5b 83 00 28 	sw (sp+40),r3                                  <== NOT EXECUTED
 8063ebc:	28 42 00 14 	lw r2,(r2+20)                                  <== NOT EXECUTED
 8063ec0:	5b 82 00 2c 	sw (sp+44),r2                                  <== NOT EXECUTED
 8063ec4:	e3 ff ff b4 	bi 8063d94 <_rename_r+0x144>                   <== NOT EXECUTED
                                                                      
  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 );                     
 8063ec8:	2b 81 00 3c 	lw r1,(sp+60)                                  <== NOT EXECUTED
 8063ecc:	44 20 ff d0 	be r1,r0,8063e0c <_rename_r+0x1bc>             <== NOT EXECUTED
 8063ed0:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 8063ed4:	44 40 ff ce 	be r2,r0,8063e0c <_rename_r+0x1bc>             <== NOT EXECUTED
 8063ed8:	b9 e0 08 00 	mv r1,r15                                      <== NOT EXECUTED
 8063edc:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
 8063ee0:	e3 ff ff cb 	bi 8063e0c <_rename_r+0x1bc>                   <== NOT EXECUTED
   *  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 );                     
 8063ee4:	2b 81 00 28 	lw r1,(sp+40)                                  <== NOT EXECUTED
 8063ee8:	44 20 00 05 	be r1,r0,8063efc <_rename_r+0x2ac>             <== NOT EXECUTED
 8063eec:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 8063ef0:	44 40 00 03 	be r2,r0,8063efc <_rename_r+0x2ac>             <== NOT EXECUTED
 8063ef4:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8063ef8:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
    if ( free_old_parentloc )                                         
 8063efc:	45 c0 00 07 	be r14,r0,8063f18 <_rename_r+0x2c8>            <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
 8063f00:	2b 81 00 3c 	lw r1,(sp+60)                                  <== NOT EXECUTED
 8063f04:	44 20 00 05 	be r1,r0,8063f18 <_rename_r+0x2c8>             <== NOT EXECUTED
 8063f08:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 8063f0c:	44 40 00 03 	be r2,r0,8063f18 <_rename_r+0x2c8>             <== NOT EXECUTED
 8063f10:	37 81 00 30 	addi r1,sp,48                                  <== NOT EXECUTED
 8063f14:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
    rtems_filesystem_freenode( &old_loc );                            
 8063f18:	2b 81 00 50 	lw r1,(sp+80)                                  <== NOT EXECUTED
 8063f1c:	44 20 00 05 	be r1,r0,8063f30 <_rename_r+0x2e0>             <== NOT EXECUTED
 8063f20:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 8063f24:	44 40 00 03 	be r2,r0,8063f30 <_rename_r+0x2e0>             <== NOT EXECUTED
 8063f28:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8063f2c:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EXDEV );                    
 8063f30:	fb ff 8d 1e 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 8063f34:	34 02 00 12 	mvi r2,18                                      <== NOT EXECUTED
 8063f38:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8063f3c:	34 0d ff ff 	mvi r13,-1                                     <== NOT EXECUTED
 8063f40:	e3 ff ff b9 	bi 8063e24 <_rename_r+0x1d4>                   <== NOT EXECUTED
  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 )                                         
 8063f44:	45 c0 00 07 	be r14,r0,8063f60 <_rename_r+0x310>            <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
 8063f48:	2b 81 00 3c 	lw r1,(sp+60)                                  <== NOT EXECUTED
 8063f4c:	44 20 00 05 	be r1,r0,8063f60 <_rename_r+0x310>             <== NOT EXECUTED
 8063f50:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 8063f54:	44 40 00 03 	be r2,r0,8063f60 <_rename_r+0x310>             <== NOT EXECUTED
 8063f58:	37 81 00 30 	addi r1,sp,48                                  <== NOT EXECUTED
 8063f5c:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( result );                   
 8063f60:	fb ff 8d 12 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 8063f64:	58 2b 00 00 	sw (r1+0),r11                                  <== NOT EXECUTED
 8063f68:	34 0d ff ff 	mvi r13,-1                                     <== NOT EXECUTED
 8063f6c:	e3 ff ff ae 	bi 8063e24 <_rename_r+0x1d4>                   <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
  if ( result != 0 ) {                                                
    rtems_filesystem_freenode( &new_parent_loc );                     
 8063f70:	2b 81 00 28 	lw r1,(sp+40)                                  <== NOT EXECUTED
 8063f74:	44 20 00 05 	be r1,r0,8063f88 <_rename_r+0x338>             <== NOT EXECUTED
 8063f78:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 8063f7c:	44 40 00 03 	be r2,r0,8063f88 <_rename_r+0x338>             <== NOT EXECUTED
 8063f80:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8063f84:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
    if ( free_old_parentloc )                                         
 8063f88:	45 c0 00 07 	be r14,r0,8063fa4 <_rename_r+0x354>            <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
 8063f8c:	2b 81 00 3c 	lw r1,(sp+60)                                  <== NOT EXECUTED
 8063f90:	44 20 00 05 	be r1,r0,8063fa4 <_rename_r+0x354>             <== NOT EXECUTED
 8063f94:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 8063f98:	44 40 00 03 	be r2,r0,8063fa4 <_rename_r+0x354>             <== NOT EXECUTED
 8063f9c:	37 81 00 30 	addi r1,sp,48                                  <== NOT EXECUTED
 8063fa0:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
    rtems_filesystem_freenode( &old_loc );                            
 8063fa4:	2b 81 00 50 	lw r1,(sp+80)                                  <== NOT EXECUTED
 8063fa8:	44 20 00 05 	be r1,r0,8063fbc <_rename_r+0x36c>             <== NOT EXECUTED
 8063fac:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 8063fb0:	44 40 00 03 	be r2,r0,8063fbc <_rename_r+0x36c>             <== NOT EXECUTED
 8063fb4:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8063fb8:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( result );                   
 8063fbc:	fb ff 8c fb 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 8063fc0:	58 2d 00 00 	sw (r1+0),r13                                  <== NOT EXECUTED
 8063fc4:	34 0d ff ff 	mvi r13,-1                                     <== NOT EXECUTED
 8063fc8:	e3 ff ff 97 	bi 8063e24 <_rename_r+0x1d4>                   <== NOT EXECUTED
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
                                                                      
  if ( !new_parent_loc.ops->evalformake_h ) {                         
    if ( free_old_parentloc )                                         
 8063fcc:	45 c4 00 07 	be r14,r4,8063fe8 <_rename_r+0x398>            <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( !new_parent_loc.ops->rename_h ) {                              
    rtems_filesystem_freenode( &new_parent_loc );                     
    if ( free_old_parentloc )                                         
      rtems_filesystem_freenode( &old_parent_loc );                   
 8063fd0:	2b 81 00 3c 	lw r1,(sp+60)                                  <== NOT EXECUTED
 8063fd4:	44 20 00 05 	be r1,r0,8063fe8 <_rename_r+0x398>             <== NOT EXECUTED
 8063fd8:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 8063fdc:	44 40 00 03 	be r2,r0,8063fe8 <_rename_r+0x398>             <== NOT EXECUTED
 8063fe0:	37 81 00 30 	addi r1,sp,48                                  <== NOT EXECUTED
 8063fe4:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
    rtems_filesystem_freenode( &old_loc );                            
 8063fe8:	2b 81 00 50 	lw r1,(sp+80)                                  <== NOT EXECUTED
 8063fec:	44 20 00 05 	be r1,r0,8064000 <_rename_r+0x3b0>             <== NOT EXECUTED
 8063ff0:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 8063ff4:	44 40 00 03 	be r2,r0,8064000 <_rename_r+0x3b0>             <== NOT EXECUTED
 8063ff8:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8063ffc:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 8064000:	fb ff 8c ea 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 8064004:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 8064008:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 806400c:	34 0d ff ff 	mvi r13,-1                                     <== NOT EXECUTED
 8064010:	e3 ff ff 85 	bi 8063e24 <_rename_r+0x1d4>                   <== NOT EXECUTED
  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, 
 8064014:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8064018:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 806401c:	34 03 00 02 	mvi r3,2                                       <== NOT EXECUTED
 8064020:	37 84 00 30 	addi r4,sp,48                                  <== NOT EXECUTED
 8064024:	34 05 00 00 	mvi r5,0                                       <== NOT EXECUTED
 8064028:	fb fe 89 3b 	calli 8006514 <rtems_filesystem_evaluate_path> <== NOT EXECUTED
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &old_parent_loc,         
                                             false );                 
    if ( result != 0 )                                                
 806402c:	34 0e 00 01 	mvi r14,1                                      <== NOT EXECUTED
 8064030:	34 0d ff ff 	mvi r13,-1                                     <== NOT EXECUTED
 8064034:	44 20 ff 27 	be r1,r0,8063cd0 <_rename_r+0x80>              <== NOT EXECUTED
 8064038:	e3 ff ff 7b 	bi 8063e24 <_rename_r+0x1d4>                   <== NOT EXECUTED
    rtems_filesystem_freenode( &old_loc );                            
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  }                                                                   
                                                                      
  if ( !new_parent_loc.ops->rename_h ) {                              
    rtems_filesystem_freenode( &new_parent_loc );                     
 806403c:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 8064040:	44 45 00 03 	be r2,r5,806404c <_rename_r+0x3fc>             <== NOT EXECUTED
 8064044:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8064048:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
    if ( free_old_parentloc )                                         
 806404c:	45 c0 ff e7 	be r14,r0,8063fe8 <_rename_r+0x398>            <== NOT EXECUTED
 8064050:	e3 ff ff e0 	bi 8063fd0 <_rename_r+0x380>                   <== NOT EXECUTED
                                                                      
08007f5c <_stat_r>:                                                   
int _STAT_R_NAME(                                                     
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path,                                                
  struct stat   *buf                                                  
)                                                                     
{                                                                     
 8007f5c:	37 9c ff fc 	addi sp,sp,-4                                  <== NOT EXECUTED
 8007f60:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  return _STAT_NAME( path, buf );                                     
 8007f64:	b8 40 08 00 	mv r1,r2                                       <== NOT EXECUTED
 8007f68:	b8 60 10 00 	mv r2,r3                                       <== NOT EXECUTED
 8007f6c:	fb ff ff b9 	calli 8007e50 <stat>                           <== NOT EXECUTED
}                                                                     
 8007f70:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8007f74:	37 9c 00 04 	addi sp,sp,4                                   <== NOT EXECUTED
 8007f78:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
0800bad8 <_unlink_r>:                                                 
                                                                      
int _unlink_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path                                                 
)                                                                     
{                                                                     
 800bad8:	37 9c ff fc 	addi sp,sp,-4                                  <== NOT EXECUTED
 800badc:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  return unlink( path );                                              
 800bae0:	b8 40 08 00 	mv r1,r2                                       <== NOT EXECUTED
 800bae4:	fb ff ff 56 	calli 800b83c <unlink>                         <== NOT EXECUTED
}                                                                     
 800bae8:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 800baec:	37 9c 00 04 	addi sp,sp,4                                   <== NOT EXECUTED
 800baf0:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
080076f0 <calloc>:                                                    
)                                                                     
{                                                                     
  register char *cptr;                                                
  size_t length;                                                      
                                                                      
  MSBUMP(calloc_calls, 1);                                            
 80076f0:	37 9c ff f0 	addi sp,sp,-16                                 
 80076f4:	5b 8b 00 10 	sw (sp+16),r11                                 
 80076f8:	5b 8c 00 0c 	sw (sp+12),r12                                 
 80076fc:	5b 8d 00 08 	sw (sp+8),r13                                  
 8007700:	5b 9d 00 04 	sw (sp+4),ra                                   
 8007704:	78 0b 08 01 	mvhi r11,0x801                                 
 8007708:	39 6b c6 a8 	ori r11,r11,0xc6a8                             
 800770c:	29 64 00 14 	lw r4,(r11+20)                                 
 8007710:	b8 20 18 00 	mv r3,r1                                       
                                                                      
  length = nelem * elsize;                                            
 8007714:	b8 40 08 00 	mv r1,r2                                       
)                                                                     
{                                                                     
  register char *cptr;                                                
  size_t length;                                                      
                                                                      
  MSBUMP(calloc_calls, 1);                                            
 8007718:	34 84 00 01 	addi r4,r4,1                                   
                                                                      
  length = nelem * elsize;                                            
 800771c:	b8 60 10 00 	mv r2,r3                                       
)                                                                     
{                                                                     
  register char *cptr;                                                
  size_t length;                                                      
                                                                      
  MSBUMP(calloc_calls, 1);                                            
 8007720:	59 64 00 14 	sw (r11+20),r4                                 
                                                                      
  length = nelem * elsize;                                            
 8007724:	f8 00 49 1d 	calli 8019b98 <__mulsi3>                       
 8007728:	b8 20 68 00 	mv r13,r1                                      
  cptr = malloc( length );                                            
 800772c:	f8 00 02 00 	calli 8007f2c <malloc>                         
 8007730:	b8 20 60 00 	mv r12,r1                                      
  if ( cptr )                                                         
 8007734:	44 20 00 04 	be r1,r0,8007744 <calloc+0x54>                 <== NEVER TAKEN
    memset( cptr, '\0', length );                                     
 8007738:	b9 a0 18 00 	mv r3,r13                                      
 800773c:	34 02 00 00 	mvi r2,0                                       
 8007740:	f8 00 14 35 	calli 800c814 <memset>                         
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
 8007744:	29 62 00 04 	lw r2,(r11+4)                                  
                                                                      
  return cptr;                                                        
}                                                                     
 8007748:	b9 80 08 00 	mv r1,r12                                      
  length = nelem * elsize;                                            
  cptr = malloc( length );                                            
  if ( cptr )                                                         
    memset( cptr, '\0', length );                                     
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
 800774c:	34 42 ff ff 	addi r2,r2,-1                                  
 8007750:	59 62 00 04 	sw (r11+4),r2                                  
                                                                      
  return cptr;                                                        
}                                                                     
 8007754:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8007758:	2b 8b 00 10 	lw r11,(sp+16)                                 
 800775c:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8007760:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8007764:	37 9c 00 10 	addi sp,sp,16                                  
 8007768:	c3 a0 00 00 	ret                                            
                                                                      
08028bcc <chdir>:                                                     
#include <rtems/seterr.h>                                             
                                                                      
int chdir(                                                            
  const char *pathname                                                
)                                                                     
{                                                                     
 8028bcc:	37 9c ff e0 	addi sp,sp,-32                                 
 8028bd0:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8028bd4:	5b 8c 00 08 	sw (sp+8),r12                                  
 8028bd8:	5b 9d 00 04 	sw (sp+4),ra                                   
 8028bdc:	b8 20 60 00 	mv r12,r1                                      
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if ( !pathname )                                                    
 8028be0:	44 20 00 2d 	be r1,r0,8028c94 <chdir+0xc8>                  
                                                                      
  /*                                                                  
   *  Get the node where we wish to go.                               
   */                                                                 
  result = rtems_filesystem_evaluate_path(                            
    pathname, strlen( pathname ), RTEMS_LIBIO_PERMS_SEARCH, &loc, true );
 8028be4:	f8 00 97 db 	calli 804eb50 <strlen>                         
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  /*                                                                  
   *  Get the node where we wish to go.                               
   */                                                                 
  result = rtems_filesystem_evaluate_path(                            
 8028be8:	34 03 00 01 	mvi r3,1                                       
 8028bec:	37 8b 00 10 	addi r11,sp,16                                 
    pathname, strlen( pathname ), RTEMS_LIBIO_PERMS_SEARCH, &loc, true );
 8028bf0:	b8 20 10 00 	mv r2,r1                                       
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  /*                                                                  
   *  Get the node where we wish to go.                               
   */                                                                 
  result = rtems_filesystem_evaluate_path(                            
 8028bf4:	b8 60 28 00 	mv r5,r3                                       
 8028bf8:	b9 80 08 00 	mv r1,r12                                      
 8028bfc:	b9 60 20 00 	mv r4,r11                                      
 8028c00:	fb ff 76 45 	calli 8006514 <rtems_filesystem_evaluate_path> 
    pathname, strlen( pathname ), RTEMS_LIBIO_PERMS_SEARCH, &loc, true );
  if ( result != 0 )                                                  
 8028c04:	34 03 ff ff 	mvi r3,-1                                      
 8028c08:	5c 20 00 1d 	bne r1,r0,8028c7c <chdir+0xb0>                 
     return -1;                                                       
                                                                      
  /*                                                                  
   * Verify you can change directory into this node.                  
   */                                                                 
  if ( !loc.ops->node_type_h ) {                                      
 8028c0c:	2b 83 00 1c 	lw r3,(sp+28)                                  
 8028c10:	28 62 00 10 	lw r2,(r3+16)                                  
 8028c14:	44 41 00 35 	be r2,r1,8028ce8 <chdir+0x11c>                 <== NEVER TAKEN
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
 8028c18:	b9 60 08 00 	mv r1,r11                                      
 8028c1c:	d8 40 00 00 	call r2                                        
 8028c20:	34 02 00 01 	mvi r2,1                                       
 8028c24:	5c 22 00 26 	bne r1,r2,8028cbc <chdir+0xf0>                 
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
  }                                                                   
                                                                      
  rtems_filesystem_freenode( &rtems_filesystem_current );             
 8028c28:	78 0b 08 07 	mvhi r11,0x807                                 
 8028c2c:	39 6b 12 f0 	ori r11,r11,0x12f0                             
 8028c30:	29 62 00 00 	lw r2,(r11+0)                                  
 8028c34:	28 41 00 10 	lw r1,(r2+16)                                  
 8028c38:	44 20 00 06 	be r1,r0,8028c50 <chdir+0x84>                  <== NEVER TAKEN
 8028c3c:	28 23 00 1c 	lw r3,(r1+28)                                  
 8028c40:	44 60 00 04 	be r3,r0,8028c50 <chdir+0x84>                  <== NEVER TAKEN
 8028c44:	34 41 00 04 	addi r1,r2,4                                   
 8028c48:	d8 60 00 00 	call r3                                        
 8028c4c:	29 62 00 00 	lw r2,(r11+0)                                  
                                                                      
  rtems_filesystem_current = loc;                                     
 8028c50:	2b 81 00 10 	lw r1,(sp+16)                                  
 8028c54:	34 03 00 00 	mvi r3,0                                       
 8028c58:	58 41 00 04 	sw (r2+4),r1                                   
 8028c5c:	2b 81 00 14 	lw r1,(sp+20)                                  
 8028c60:	58 41 00 08 	sw (r2+8),r1                                   
 8028c64:	2b 81 00 18 	lw r1,(sp+24)                                  
 8028c68:	58 41 00 0c 	sw (r2+12),r1                                  
 8028c6c:	2b 81 00 1c 	lw r1,(sp+28)                                  
 8028c70:	58 41 00 10 	sw (r2+16),r1                                  
 8028c74:	2b 81 00 20 	lw r1,(sp+32)                                  
 8028c78:	58 41 00 14 	sw (r2+20),r1                                  
                                                                      
  return 0;                                                           
}                                                                     
 8028c7c:	b8 60 08 00 	mv r1,r3                                       
 8028c80:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8028c84:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8028c88:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8028c8c:	37 9c 00 20 	addi sp,sp,32                                  
 8028c90:	c3 a0 00 00 	ret                                            
{                                                                     
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if ( !pathname )                                                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
 8028c94:	f8 00 79 c5 	calli 80473a8 <__errno>                        
 8028c98:	34 02 00 0e 	mvi r2,14                                      
 8028c9c:	34 03 ff ff 	mvi r3,-1                                      
 8028ca0:	58 22 00 00 	sw (r1+0),r2                                   
  rtems_filesystem_freenode( &rtems_filesystem_current );             
                                                                      
  rtems_filesystem_current = loc;                                     
                                                                      
  return 0;                                                           
}                                                                     
 8028ca4:	b8 60 08 00 	mv r1,r3                                       
 8028ca8:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8028cac:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8028cb0:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8028cb4:	37 9c 00 20 	addi sp,sp,32                                  
 8028cb8:	c3 a0 00 00 	ret                                            
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_filesystem_freenode( &loc );                                
 8028cbc:	2b 81 00 1c 	lw r1,(sp+28)                                  
 8028cc0:	44 20 00 05 	be r1,r0,8028cd4 <chdir+0x108>                 <== NEVER TAKEN
 8028cc4:	28 22 00 1c 	lw r2,(r1+28)                                  
 8028cc8:	44 40 00 03 	be r2,r0,8028cd4 <chdir+0x108>                 <== NEVER TAKEN
 8028ccc:	b9 60 08 00 	mv r1,r11                                      
 8028cd0:	d8 40 00 00 	call r2                                        
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
 8028cd4:	f8 00 79 b5 	calli 80473a8 <__errno>                        
 8028cd8:	34 02 00 14 	mvi r2,20                                      
 8028cdc:	58 22 00 00 	sw (r1+0),r2                                   
 8028ce0:	34 03 ff ff 	mvi r3,-1                                      
 8028ce4:	e3 ff ff e6 	bi 8028c7c <chdir+0xb0>                        
                                                                      
  /*                                                                  
   * Verify you can change directory into this node.                  
   */                                                                 
  if ( !loc.ops->node_type_h ) {                                      
    rtems_filesystem_freenode( &loc );                                
 8028ce8:	28 63 00 1c 	lw r3,(r3+28)                                  <== NOT EXECUTED
 8028cec:	44 62 00 03 	be r3,r2,8028cf8 <chdir+0x12c>                 <== NOT EXECUTED
 8028cf0:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8028cf4:	d8 60 00 00 	call r3                                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 8028cf8:	f8 00 79 ac 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 8028cfc:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 8028d00:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8028d04:	34 03 ff ff 	mvi r3,-1                                      <== NOT EXECUTED
 8028d08:	e3 ff ff dd 	bi 8028c7c <chdir+0xb0>                        <== NOT EXECUTED
                                                                      
08006160 <chmod>:                                                     
                                                                      
int chmod(                                                            
  const char *path,                                                   
  mode_t      mode                                                    
)                                                                     
{                                                                     
 8006160:	37 9c ff dc 	addi sp,sp,-36                                 
 8006164:	5b 8b 00 10 	sw (sp+16),r11                                 
 8006168:	5b 8c 00 0c 	sw (sp+12),r12                                 
 800616c:	5b 8d 00 08 	sw (sp+8),r13                                  
 8006170:	5b 9d 00 04 	sw (sp+4),ra                                   
 8006174:	b8 20 58 00 	mv r11,r1                                      
 8006178:	b8 40 68 00 	mv r13,r2                                      
  int                              status;                            
  rtems_filesystem_location_info_t loc;                               
  int                              result;                            
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ), 0, &loc, true );
 800617c:	37 8c 00 14 	addi r12,sp,20                                 
 8006180:	f8 01 22 74 	calli 804eb50 <strlen>                         
 8006184:	b8 20 10 00 	mv r2,r1                                       
 8006188:	34 03 00 00 	mvi r3,0                                       
 800618c:	b9 60 08 00 	mv r1,r11                                      
 8006190:	b9 80 20 00 	mv r4,r12                                      
 8006194:	34 05 00 01 	mvi r5,1                                       
 8006198:	f8 00 00 df 	calli 8006514 <rtems_filesystem_evaluate_path> 
  if ( status != 0 )                                                  
 800619c:	34 0b ff ff 	mvi r11,-1                                     
 80061a0:	5c 20 00 0f 	bne r1,r0,80061dc <chmod+0x7c>                 
    return -1;                                                        
                                                                      
  if ( !loc.handlers ){                                               
 80061a4:	2b 83 00 1c 	lw r3,(sp+28)                                  
 80061a8:	44 61 00 1f 	be r3,r1,8006224 <chmod+0xc4>                  <== NEVER TAKEN
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( EBADF );                    
  }                                                                   
                                                                      
  if ( !loc.handlers->fchmod_h ){                                     
 80061ac:	28 63 00 1c 	lw r3,(r3+28)                                  
 80061b0:	44 60 00 12 	be r3,r0,80061f8 <chmod+0x98>                  <== NEVER TAKEN
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.handlers->fchmod_h)( &loc, mode );                   
 80061b4:	b9 a0 10 00 	mv r2,r13                                      
 80061b8:	b9 80 08 00 	mv r1,r12                                      
 80061bc:	d8 60 00 00 	call r3                                        
 80061c0:	b8 20 58 00 	mv r11,r1                                      
                                                                      
  rtems_filesystem_freenode( &loc );                                  
 80061c4:	2b 81 00 20 	lw r1,(sp+32)                                  
 80061c8:	44 20 00 05 	be r1,r0,80061dc <chmod+0x7c>                  <== NEVER TAKEN
 80061cc:	28 22 00 1c 	lw r2,(r1+28)                                  
 80061d0:	44 40 00 03 	be r2,r0,80061dc <chmod+0x7c>                  <== NEVER TAKEN
 80061d4:	b9 80 08 00 	mv r1,r12                                      
 80061d8:	d8 40 00 00 	call r2                                        
                                                                      
  return result;                                                      
}                                                                     
 80061dc:	b9 60 08 00 	mv r1,r11                                      
 80061e0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80061e4:	2b 8b 00 10 	lw r11,(sp+16)                                 
 80061e8:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 80061ec:	2b 8d 00 08 	lw r13,(sp+8)                                  
 80061f0:	37 9c 00 24 	addi sp,sp,36                                  
 80061f4:	c3 a0 00 00 	ret                                            
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( EBADF );                    
  }                                                                   
                                                                      
  if ( !loc.handlers->fchmod_h ){                                     
    rtems_filesystem_freenode( &loc );                                
 80061f8:	2b 81 00 20 	lw r1,(sp+32)                                  <== NOT EXECUTED
 80061fc:	44 23 00 05 	be r1,r3,8006210 <chmod+0xb0>                  <== NOT EXECUTED
 8006200:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 8006204:	44 40 00 03 	be r2,r0,8006210 <chmod+0xb0>                  <== NOT EXECUTED
 8006208:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 800620c:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 8006210:	f8 01 04 66 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 8006214:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 8006218:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 800621c:	34 0b ff ff 	mvi r11,-1                                     <== NOT EXECUTED
 8006220:	e3 ff ff ef 	bi 80061dc <chmod+0x7c>                        <== NOT EXECUTED
  status = rtems_filesystem_evaluate_path( path, strlen( path ), 0, &loc, true );
  if ( status != 0 )                                                  
    return -1;                                                        
                                                                      
  if ( !loc.handlers ){                                               
    rtems_filesystem_freenode( &loc );                                
 8006224:	2b 81 00 20 	lw r1,(sp+32)                                  <== NOT EXECUTED
 8006228:	44 23 00 05 	be r1,r3,800623c <chmod+0xdc>                  <== NOT EXECUTED
 800622c:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 8006230:	44 43 00 03 	be r2,r3,800623c <chmod+0xdc>                  <== NOT EXECUTED
 8006234:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8006238:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EBADF );                    
 800623c:	f8 01 04 5b 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 8006240:	34 02 00 09 	mvi r2,9                                       <== NOT EXECUTED
 8006244:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8006248:	34 0b ff ff 	mvi r11,-1                                     <== NOT EXECUTED
 800624c:	e3 ff ff e4 	bi 80061dc <chmod+0x7c>                        <== NOT EXECUTED
                                                                      
08028d0c <chown>:                                                     
int chown(                                                            
  const char *path,                                                   
  uid_t       owner,                                                  
  gid_t       group                                                   
)                                                                     
{                                                                     
 8028d0c:	37 9c ff d8 	addi sp,sp,-40                                 
 8028d10:	5b 8b 00 14 	sw (sp+20),r11                                 
 8028d14:	5b 8c 00 10 	sw (sp+16),r12                                 
 8028d18:	5b 8d 00 0c 	sw (sp+12),r13                                 
 8028d1c:	5b 8e 00 08 	sw (sp+8),r14                                  
 8028d20:	5b 9d 00 04 	sw (sp+4),ra                                   
 8028d24:	b8 20 58 00 	mv r11,r1                                      
 8028d28:	20 4e ff ff 	andi r14,r2,0xffff                             
 8028d2c:	20 6d ff ff 	andi r13,r3,0xffff                             
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &loc, true ) )
 8028d30:	37 8c 00 18 	addi r12,sp,24                                 
 8028d34:	f8 00 97 87 	calli 804eb50 <strlen>                         
 8028d38:	b8 20 10 00 	mv r2,r1                                       
 8028d3c:	34 03 00 00 	mvi r3,0                                       
 8028d40:	b9 60 08 00 	mv r1,r11                                      
 8028d44:	b9 80 20 00 	mv r4,r12                                      
 8028d48:	34 05 00 01 	mvi r5,1                                       
 8028d4c:	fb ff 75 f2 	calli 8006514 <rtems_filesystem_evaluate_path> 
 8028d50:	34 0b ff ff 	mvi r11,-1                                     
 8028d54:	5c 20 00 0f 	bne r1,r0,8028d90 <chown+0x84>                 
    return -1;                                                        
                                                                      
  if ( !loc.ops->chown_h ) {                                          
 8028d58:	2b 82 00 24 	lw r2,(sp+36)                                  
 8028d5c:	28 44 00 18 	lw r4,(r2+24)                                  
 8028d60:	44 81 00 14 	be r4,r1,8028db0 <chown+0xa4>                  <== NEVER TAKEN
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->chown_h)( &loc, owner, group );                 
 8028d64:	b9 c0 10 00 	mv r2,r14                                      
 8028d68:	b9 a0 18 00 	mv r3,r13                                      
 8028d6c:	b9 80 08 00 	mv r1,r12                                      
 8028d70:	d8 80 00 00 	call r4                                        
 8028d74:	b8 20 58 00 	mv r11,r1                                      
                                                                      
  rtems_filesystem_freenode( &loc );                                  
 8028d78:	2b 81 00 24 	lw r1,(sp+36)                                  
 8028d7c:	44 20 00 05 	be r1,r0,8028d90 <chown+0x84>                  <== NEVER TAKEN
 8028d80:	28 22 00 1c 	lw r2,(r1+28)                                  
 8028d84:	44 40 00 03 	be r2,r0,8028d90 <chown+0x84>                  <== NEVER TAKEN
 8028d88:	b9 80 08 00 	mv r1,r12                                      
 8028d8c:	d8 40 00 00 	call r2                                        
                                                                      
  return result;                                                      
}                                                                     
 8028d90:	b9 60 08 00 	mv r1,r11                                      
 8028d94:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8028d98:	2b 8b 00 14 	lw r11,(sp+20)                                 
 8028d9c:	2b 8c 00 10 	lw r12,(sp+16)                                 
 8028da0:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 8028da4:	2b 8e 00 08 	lw r14,(sp+8)                                  
 8028da8:	37 9c 00 28 	addi sp,sp,40                                  
 8028dac:	c3 a0 00 00 	ret                                            
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &loc, true ) )
    return -1;                                                        
                                                                      
  if ( !loc.ops->chown_h ) {                                          
    rtems_filesystem_freenode( &loc );                                
 8028db0:	28 42 00 1c 	lw r2,(r2+28)                                  <== NOT EXECUTED
 8028db4:	44 44 00 03 	be r2,r4,8028dc0 <chown+0xb4>                  <== NOT EXECUTED
 8028db8:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8028dbc:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 8028dc0:	f8 00 79 7a 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 8028dc4:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 8028dc8:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8028dcc:	34 0b ff ff 	mvi r11,-1                                     <== NOT EXECUTED
 8028dd0:	e3 ff ff f0 	bi 8028d90 <chown+0x84>                        <== NOT EXECUTED
                                                                      
08028dd4 <chroot>:                                                    
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
 8028dd4:	37 9c ff dc 	addi sp,sp,-36                                 
 8028dd8:	5b 8b 00 10 	sw (sp+16),r11                                 
 8028ddc:	5b 8c 00 0c 	sw (sp+12),r12                                 
 8028de0:	5b 8d 00 08 	sw (sp+8),r13                                  
 8028de4:	5b 9d 00 04 	sw (sp+4),ra                                   
  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) {             
 8028de8:	78 0b 08 07 	mvhi r11,0x807                                 
 8028dec:	39 6b 12 f0 	ori r11,r11,0x12f0                             
 8028df0:	29 6d 00 00 	lw r13,(r11+0)                                 
 8028df4:	78 02 08 07 	mvhi r2,0x807                                  
 8028df8:	38 42 4e e4 	ori r2,r2,0x4ee4                               
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
 8028dfc:	b8 20 60 00 	mv r12,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) {             
 8028e00:	45 a2 00 26 	be r13,r2,8028e98 <chroot+0xc4>                <== ALWAYS TAKEN
   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);                                           
 8028e04:	b9 80 08 00 	mv r1,r12                                      
 8028e08:	fb ff ff 71 	calli 8028bcc <chdir>                          
 8028e0c:	b8 20 60 00 	mv r12,r1                                      
  if (result) {                                                       
 8028e10:	5c 20 00 2a 	bne r1,r0,8028eb8 <chroot+0xe4>                <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( errno );                    
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
 8028e14:	78 01 08 06 	mvhi r1,0x806                                  
 8028e18:	38 21 5d 58 	ori r1,r1,0x5d58                               
 8028e1c:	34 02 00 01 	mvi r2,1                                       
 8028e20:	b9 80 18 00 	mv r3,r12                                      
 8028e24:	37 84 00 14 	addi r4,sp,20                                  
 8028e28:	b9 80 28 00 	mv r5,r12                                      
 8028e2c:	fb ff 75 ba 	calli 8006514 <rtems_filesystem_evaluate_path> 
 8028e30:	5c 2c 00 22 	bne r1,r12,8028eb8 <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);                  
 8028e34:	29 62 00 00 	lw r2,(r11+0)                                  
 8028e38:	28 43 00 24 	lw r3,(r2+36)                                  
 8028e3c:	44 61 00 06 	be r3,r1,8028e54 <chroot+0x80>                 <== NEVER TAKEN
 8028e40:	28 63 00 1c 	lw r3,(r3+28)                                  
 8028e44:	44 61 00 04 	be r3,r1,8028e54 <chroot+0x80>                 <== NEVER TAKEN
 8028e48:	34 41 00 18 	addi r1,r2,24                                  
 8028e4c:	d8 60 00 00 	call r3                                        
 8028e50:	29 62 00 00 	lw r2,(r11+0)                                  
  rtems_filesystem_root = loc;                                        
 8028e54:	2b 81 00 14 	lw r1,(sp+20)                                  
 8028e58:	58 41 00 18 	sw (r2+24),r1                                  
 8028e5c:	2b 83 00 18 	lw r3,(sp+24)                                  
 8028e60:	34 01 00 00 	mvi r1,0                                       
 8028e64:	58 43 00 1c 	sw (r2+28),r3                                  
 8028e68:	2b 83 00 1c 	lw r3,(sp+28)                                  
 8028e6c:	58 43 00 20 	sw (r2+32),r3                                  
 8028e70:	2b 83 00 20 	lw r3,(sp+32)                                  
 8028e74:	58 43 00 24 	sw (r2+36),r3                                  
 8028e78:	2b 83 00 24 	lw r3,(sp+36)                                  
 8028e7c:	58 43 00 28 	sw (r2+40),r3                                  
                                                                      
  return 0;                                                           
}                                                                     
 8028e80:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8028e84:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8028e88:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8028e8c:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8028e90:	37 9c 00 24 	addi sp,sp,36                                  
 8028e94:	c3 a0 00 00 	ret                                            
  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*/   
 8028e98:	f8 00 07 9d 	calli 802ad0c <rtems_libio_set_private_env>    
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
 8028e9c:	29 61 00 00 	lw r1,(r11+0)                                  
 8028ea0:	5c 2d ff d9 	bne r1,r13,8028e04 <chroot+0x30>               <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 8028ea4:	f8 00 79 41 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 8028ea8:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 8028eac:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8028eb0:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8028eb4:	e3 ff ff f3 	bi 8028e80 <chroot+0xac>                       <== NOT EXECUTED
  }                                                                   
                                                                      
  /* 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 );                    
 8028eb8:	f8 00 79 3c 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 8028ebc:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
 8028ec0:	f8 00 79 3a 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 8028ec4:	28 21 00 00 	lw r1,(r1+0)                                   <== NOT EXECUTED
 8028ec8:	59 61 00 00 	sw (r11+0),r1                                  <== NOT EXECUTED
 8028ecc:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8028ed0:	e3 ff ff ec 	bi 8028e80 <chroot+0xac>                       <== NOT EXECUTED
                                                                      
0800776c <close>:                                                     
#include <rtems/libio_.h>                                             
                                                                      
int close(                                                            
  int  fd                                                             
)                                                                     
{                                                                     
 800776c:	37 9c ff f0 	addi sp,sp,-16                                 
 8007770:	5b 8b 00 10 	sw (sp+16),r11                                 
 8007774:	5b 8c 00 0c 	sw (sp+12),r12                                 
 8007778:	5b 8d 00 08 	sw (sp+8),r13                                  
 800777c:	5b 9d 00 04 	sw (sp+4),ra                                   
  rtems_libio_t      *iop;                                            
  rtems_status_code   rc;                                             
                                                                      
  rtems_libio_check_fd(fd);                                           
 8007780:	78 02 08 01 	mvhi r2,0x801                                  
 8007784:	38 42 c0 10 	ori r2,r2,0xc010                               
 8007788:	28 42 00 00 	lw r2,(r2+0)                                   
 800778c:	54 41 00 06 	bgu r2,r1,80077a4 <close+0x38>                 
  iop = rtems_libio_iop(fd);                                          
  rtems_libio_check_is_open(iop);                                     
 8007790:	f8 00 11 1d 	calli 800bc04 <__errno>                        
 8007794:	34 02 00 09 	mvi r2,9                                       
 8007798:	58 22 00 00 	sw (r1+0),r2                                   
 800779c:	34 0c ff ff 	mvi r12,-1                                     
 80077a0:	e0 00 00 1d 	bi 8007814 <close+0xa8>                        
{                                                                     
  rtems_libio_t      *iop;                                            
  rtems_status_code   rc;                                             
                                                                      
  rtems_libio_check_fd(fd);                                           
  iop = rtems_libio_iop(fd);                                          
 80077a4:	34 02 00 03 	mvi r2,3                                       
 80077a8:	fb ff e2 92 	calli 80001f0 <__ashlsi3>                      
 80077ac:	78 0c 08 01 	mvhi r12,0x801                                 
 80077b0:	39 8c c6 9c 	ori r12,r12,0xc69c                             
 80077b4:	34 02 00 03 	mvi r2,3                                       
 80077b8:	b8 20 68 00 	mv r13,r1                                      
 80077bc:	fb ff e2 8d 	calli 80001f0 <__ashlsi3>                      
 80077c0:	29 8b 00 00 	lw r11,(r12+0)                                 
 80077c4:	b5 a1 08 00 	add r1,r13,r1                                  
 80077c8:	b5 61 58 00 	add r11,r11,r1                                 
  rtems_libio_check_is_open(iop);                                     
 80077cc:	29 61 00 18 	lw r1,(r11+24)                                 
 80077d0:	20 21 01 00 	andi r1,r1,0x100                               
 80077d4:	44 20 ff ef 	be r1,r0,8007790 <close+0x24>                  
                                                                      
  rc = RTEMS_SUCCESSFUL;                                              
  if ( iop->handlers->close_h )                                       
 80077d8:	29 61 00 40 	lw r1,(r11+64)                                 
 80077dc:	28 22 00 04 	lw r2,(r1+4)                                   
 80077e0:	b8 40 60 00 	mv r12,r2                                      
 80077e4:	44 40 00 04 	be r2,r0,80077f4 <close+0x88>                  <== NEVER TAKEN
    rc = (*iop->handlers->close_h)( iop );                            
 80077e8:	b9 60 08 00 	mv r1,r11                                      
 80077ec:	d8 40 00 00 	call r2                                        
 80077f0:	b8 20 60 00 	mv r12,r1                                      
                                                                      
  rtems_filesystem_freenode( &iop->pathinfo );                        
 80077f4:	29 61 00 28 	lw r1,(r11+40)                                 
 80077f8:	44 20 00 05 	be r1,r0,800780c <close+0xa0>                  <== NEVER TAKEN
 80077fc:	28 22 00 1c 	lw r2,(r1+28)                                  
 8007800:	44 40 00 03 	be r2,r0,800780c <close+0xa0>                  
 8007804:	35 61 00 1c 	addi r1,r11,28                                 
 8007808:	d8 40 00 00 	call r2                                        
  rtems_libio_free( iop );                                            
 800780c:	b9 60 08 00 	mv r1,r11                                      
 8007810:	f8 00 01 52 	calli 8007d58 <rtems_libio_free>               
                                                                      
  return rc;                                                          
}                                                                     
 8007814:	b9 80 08 00 	mv r1,r12                                      
 8007818:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800781c:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8007820:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8007824:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8007828:	37 9c 00 10 	addi sp,sp,16                                  
 800782c:	c3 a0 00 00 	ret                                            
                                                                      
08004fbc <devFS_close>:                                               
#include "devfs.h"                                                    
                                                                      
int devFS_close(                                                      
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
 8004fbc:	37 9c ff f0 	addi sp,sp,-16                                 
 8004fc0:	5b 9d 00 04 	sw (sp+4),ra                                   
  rtems_libio_open_close_args_t  args;                                
  rtems_status_code              status;                              
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
 8004fc4:	28 23 00 3c 	lw r3,(r1+60)                                  
#include "devfs.h"                                                    
                                                                      
int devFS_close(                                                      
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
 8004fc8:	b8 20 20 00 	mv r4,r1                                       
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
 8004fcc:	34 01 00 00 	mvi r1,0                                       
  args.mode  = 0;                                                     
 8004fd0:	5b 81 00 10 	sw (sp+16),r1                                  
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
 8004fd4:	5b 81 00 0c 	sw (sp+12),r1                                  
  args.mode  = 0;                                                     
                                                                      
  status = rtems_io_close(                                            
 8004fd8:	28 62 00 0c 	lw r2,(r3+12)                                  
 8004fdc:	28 61 00 08 	lw r1,(r3+8)                                   
 8004fe0:	37 83 00 08 	addi r3,sp,8                                   
  rtems_status_code              status;                              
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
 8004fe4:	5b 84 00 08 	sw (sp+8),r4                                   
  args.flags = 0;                                                     
  args.mode  = 0;                                                     
                                                                      
  status = rtems_io_close(                                            
 8004fe8:	f8 00 05 38 	calli 80064c8 <rtems_io_close>                 
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
  if ( status ) {                                                     
 8004fec:	b8 20 10 00 	mv r2,r1                                       
 8004ff0:	44 20 00 03 	be r1,r0,8004ffc <devFS_close+0x40>            <== ALWAYS TAKEN
    return rtems_deviceio_errno(status);                              
 8004ff4:	f8 00 00 54 	calli 8005144 <rtems_deviceio_errno>           <== NOT EXECUTED
 8004ff8:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
 8004ffc:	b8 40 08 00 	mv r1,r2                                       
 8005000:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8005004:	37 9c 00 10 	addi sp,sp,16                                  
 8005008:	c3 a0 00 00 	ret                                            
                                                                      
08005018 <devFS_evaluate_path>:                                       
  const char                        *pathname,                        
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
 8005018:	37 9c ff dc 	addi sp,sp,-36                                 
 800501c:	5b 8b 00 24 	sw (sp+36),r11                                 
 8005020:	5b 8c 00 20 	sw (sp+32),r12                                 
 8005024:	5b 8d 00 1c 	sw (sp+28),r13                                 
 8005028:	5b 8e 00 18 	sw (sp+24),r14                                 
 800502c:	5b 8f 00 14 	sw (sp+20),r15                                 
 8005030:	5b 90 00 10 	sw (sp+16),r16                                 
 8005034:	5b 91 00 0c 	sw (sp+12),r17                                 
 8005038:	5b 92 00 08 	sw (sp+8),r18                                  
 800503c:	5b 9d 00 04 	sw (sp+4),ra                                   
     assert( 0 );                                                     
     rtems_set_errno_and_return_minus_one( EIO );                     
  }                                                                   
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
 8005040:	28 90 00 00 	lw r16,(r4+0)                                  
  const char                        *pathname,                        
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
 8005044:	b8 80 78 00 	mv r15,r4                                      
 8005048:	b8 20 90 00 	mv r18,r1                                      
 800504c:	b8 40 70 00 	mv r14,r2                                      
     rtems_set_errno_and_return_minus_one( EIO );                     
  }                                                                   
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
 8005050:	46 00 00 38 	be r16,r0,8005130 <devFS_evaluate_path+0x118>  <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
 8005054:	78 02 08 00 	mvhi r2,0x800                                  
 8005058:	38 42 d0 14 	ori r2,r2,0xd014                               
 800505c:	28 51 00 00 	lw r17,(r2+0)                                  
  }                                                                   
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
 8005060:	34 01 00 00 	mvi r1,0                                       
 8005064:	b8 20 58 00 	mv r11,r1                                      
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
 8005068:	46 21 00 15 	be r17,r1,80050bc <devFS_evaluate_path+0xa4>   <== NEVER TAKEN
    if (!device_name_table[i].device_name)                            
 800506c:	34 02 00 02 	mvi r2,2                                       
 8005070:	fb ff ec 3a 	calli 8000158 <__ashlsi3>                      
 8005074:	34 02 00 02 	mvi r2,2                                       
 8005078:	b8 20 68 00 	mv r13,r1                                      
 800507c:	fb ff ec 37 	calli 8000158 <__ashlsi3>                      
 8005080:	b5 a1 68 00 	add r13,r13,r1                                 
 8005084:	b6 0d 68 00 	add r13,r16,r13                                
 8005088:	29 ac 00 00 	lw r12,(r13+0)                                 
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
 800508c:	ba 40 08 00 	mv r1,r18                                      
 8005090:	b9 c0 18 00 	mv r3,r14                                      
 8005094:	b9 80 10 00 	mv r2,r12                                      
  /* 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++) {                     
 8005098:	35 6b 00 01 	addi r11,r11,1                                 
    if (!device_name_table[i].device_name)                            
 800509c:	45 80 00 06 	be r12,r0,80050b4 <devFS_evaluate_path+0x9c>   
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
 80050a0:	f8 00 13 b3 	calli 8009f6c <strncmp>                        
      continue;                                                       
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
 80050a4:	b5 8e 60 00 	add r12,r12,r14                                
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
    if (!device_name_table[i].device_name)                            
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
 80050a8:	5c 20 00 03 	bne r1,r0,80050b4 <devFS_evaluate_path+0x9c>   <== NEVER TAKEN
      continue;                                                       
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
 80050ac:	41 82 00 00 	lbu r2,(r12+0)                                 
 80050b0:	44 41 00 08 	be r2,r1,80050d0 <devFS_evaluate_path+0xb8>    <== 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++) {                     
 80050b4:	b9 60 08 00 	mv r1,r11                                      
 80050b8:	56 2b ff ed 	bgu r17,r11,800506c <devFS_evaluate_path+0x54> 
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
 80050bc:	f8 00 0f 17 	calli 8008d18 <__errno>                        
 80050c0:	34 02 00 02 	mvi r2,2                                       
 80050c4:	58 22 00 00 	sw (r1+0),r2                                   
 80050c8:	34 01 ff ff 	mvi r1,-1                                      
 80050cc:	e0 00 00 0e 	bi 8005104 <devFS_evaluate_path+0xec>          
                                                                      
    /* 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;               
 80050d0:	78 01 08 00 	mvhi r1,0x800                                  
 80050d4:	38 21 d1 7c 	ori r1,r1,0xd17c                               
 80050d8:	28 24 00 00 	lw r4,(r1+0)                                   
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
 80050dc:	78 03 08 00 	mvhi r3,0x800                                  
    pathloc->ops = &devFS_ops;                                        
 80050e0:	78 01 08 00 	mvhi r1,0x800                                  
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
 80050e4:	28 84 00 28 	lw r4,(r4+40)                                  
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
 80050e8:	38 21 d0 fc 	ori r1,r1,0xd0fc                               
    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;                         
 80050ec:	38 63 d1 44 	ori r3,r3,0xd144                               
    pathloc->ops = &devFS_ops;                                        
 80050f0:	59 e1 00 0c 	sw (r15+12),r1                                 
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
 80050f4:	59 e4 00 10 	sw (r15+16),r4                                 
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
 80050f8:	59 ed 00 00 	sw (r15+0),r13                                 
    pathloc->handlers = &devFS_file_handlers;                         
 80050fc:	59 e3 00 08 	sw (r15+8),r3                                  
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
 8005100:	b8 40 08 00 	mv r1,r2                                       
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
 8005104:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8005108:	2b 8b 00 24 	lw r11,(sp+36)                                 
 800510c:	2b 8c 00 20 	lw r12,(sp+32)                                 
 8005110:	2b 8d 00 1c 	lw r13,(sp+28)                                 
 8005114:	2b 8e 00 18 	lw r14,(sp+24)                                 
 8005118:	2b 8f 00 14 	lw r15,(sp+20)                                 
 800511c:	2b 90 00 10 	lw r16,(sp+16)                                 
 8005120:	2b 91 00 0c 	lw r17,(sp+12)                                 
 8005124:	2b 92 00 08 	lw r18,(sp+8)                                  
 8005128:	37 9c 00 24 	addi sp,sp,36                                  
 800512c:	c3 a0 00 00 	ret                                            
  }                                                                   
                                                                      
  /* 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 );                   
 8005130:	f8 00 0e fa 	calli 8008d18 <__errno>                        <== NOT EXECUTED
 8005134:	34 02 00 0e 	mvi r2,14                                      <== NOT EXECUTED
 8005138:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 800513c:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8005140:	e3 ff ff f1 	bi 8005104 <devFS_evaluate_path+0xec>          <== NOT EXECUTED
                                                                      
08000810 <devFS_initialize>:                                          
                                                                      
                                                                      
int devFS_initialize(                                                 
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
 8000810:	37 9c ff f0 	addi sp,sp,-16                                 
 8000814:	5b 8b 00 10 	sw (sp+16),r11                                 
 8000818:	5b 8c 00 0c 	sw (sp+12),r12                                 
 800081c:	5b 8d 00 08 	sw (sp+8),r13                                  
 8000820:	5b 9d 00 04 	sw (sp+4),ra                                   
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* allocate device only filesystem name table */                    
  device_name_table = (rtems_device_name_t *)_Workspace_Allocate(     
 8000824:	78 0b 08 00 	mvhi r11,0x800                                 
 8000828:	39 6b d0 14 	ori r11,r11,0xd014                             
                                                                      
                                                                      
int devFS_initialize(                                                 
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
 800082c:	b8 20 68 00 	mv r13,r1                                      
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* allocate device only filesystem name table */                    
  device_name_table = (rtems_device_name_t *)_Workspace_Allocate(     
 8000830:	29 61 00 00 	lw r1,(r11+0)                                  
 8000834:	34 02 00 02 	mvi r2,2                                       
 8000838:	fb ff fe 48 	calli 8000158 <__ashlsi3>                      
 800083c:	34 02 00 02 	mvi r2,2                                       
 8000840:	b8 20 60 00 	mv r12,r1                                      
 8000844:	fb ff fe 45 	calli 8000158 <__ashlsi3>                      
 8000848:	b5 81 08 00 	add r1,r12,r1                                  
 800084c:	f8 00 10 c3 	calli 8004b58 <_Workspace_Allocate>            
 8000850:	b8 20 60 00 	mv r12,r1                                      
        sizeof( rtems_device_name_t ) * ( rtems_device_table_size )   
        );                                                            
                                                                      
  /* no memory for device filesystem */                               
  if (!device_name_table)                                             
 8000854:	44 20 00 19 	be r1,r0,80008b8 <devFS_initialize+0xa8>       <== NEVER TAKEN
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  memset(                                                             
 8000858:	29 61 00 00 	lw r1,(r11+0)                                  
 800085c:	34 02 00 02 	mvi r2,2                                       
 8000860:	fb ff fe 3e 	calli 8000158 <__ashlsi3>                      
 8000864:	34 02 00 02 	mvi r2,2                                       
 8000868:	b8 20 58 00 	mv r11,r1                                      
 800086c:	fb ff fe 3b 	calli 8000158 <__ashlsi3>                      
 8000870:	b5 61 18 00 	add r3,r11,r1                                  
 8000874:	34 02 00 00 	mvi r2,0                                       
 8000878:	b9 80 08 00 	mv r1,r12                                      
 800087c:	f8 00 24 0a 	calli 80098a4 <memset>                         
    device_name_table, 0,                                             
    sizeof( rtems_device_name_t ) * ( rtems_device_table_size )       
    );                                                                
                                                                      
  /* set file handlers */                                             
  temp_mt_entry->mt_fs_root.handlers     = &devFS_file_handlers;      
 8000880:	78 02 08 00 	mvhi r2,0x800                                  
  temp_mt_entry->mt_fs_root.ops          = &devFS_ops;                
 8000884:	78 01 08 00 	mvhi r1,0x800                                  
 8000888:	38 21 d0 fc 	ori r1,r1,0xd0fc                               
    device_name_table, 0,                                             
    sizeof( rtems_device_name_t ) * ( rtems_device_table_size )       
    );                                                                
                                                                      
  /* set file handlers */                                             
  temp_mt_entry->mt_fs_root.handlers     = &devFS_file_handlers;      
 800088c:	38 42 d1 44 	ori r2,r2,0xd144                               
  temp_mt_entry->mt_fs_root.ops          = &devFS_ops;                
 8000890:	59 a1 00 28 	sw (r13+40),r1                                 
                                                                      
  /* Set the node_access to device name table */                      
  temp_mt_entry->mt_fs_root.node_access = (void *)device_name_table;  
 8000894:	59 ac 00 1c 	sw (r13+28),r12                                
    device_name_table, 0,                                             
    sizeof( rtems_device_name_t ) * ( rtems_device_table_size )       
    );                                                                
                                                                      
  /* set file handlers */                                             
  temp_mt_entry->mt_fs_root.handlers     = &devFS_file_handlers;      
 8000898:	59 a2 00 24 	sw (r13+36),r2                                 
  temp_mt_entry->mt_fs_root.ops          = &devFS_ops;                
                                                                      
  /* Set the node_access to device name table */                      
  temp_mt_entry->mt_fs_root.node_access = (void *)device_name_table;  
 800089c:	34 01 00 00 	mvi r1,0                                       
                                                                      
  return 0;                                                           
}                                                                     
 80008a0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80008a4:	2b 8b 00 10 	lw r11,(sp+16)                                 
 80008a8:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 80008ac:	2b 8d 00 08 	lw r13,(sp+8)                                  
 80008b0:	37 9c 00 10 	addi sp,sp,16                                  
 80008b4:	c3 a0 00 00 	ret                                            
        sizeof( rtems_device_name_t ) * ( rtems_device_table_size )   
        );                                                            
                                                                      
  /* no memory for device filesystem */                               
  if (!device_name_table)                                             
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
 80008b8:	f8 00 21 18 	calli 8008d18 <__errno>                        <== NOT EXECUTED
 80008bc:	34 02 00 0c 	mvi r2,12                                      <== NOT EXECUTED
 80008c0:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 80008c4:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 80008c8:	e3 ff ff f6 	bi 80008a0 <devFS_initialize+0x90>             <== NOT EXECUTED
                                                                      
08000a9c <devFS_ioctl>:                                               
int devFS_ioctl(                                                      
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
 8000a9c:	37 9c ff ec 	addi sp,sp,-20                                 
 8000aa0:	5b 9d 00 04 	sw (sp+4),ra                                   
 8000aa4:	b8 20 20 00 	mv r4,r1                                       
  rtems_libio_ioctl_args_t  args;                                     
  rtems_status_code         status;                                   
  rtems_device_name_t      *np;                                       
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
 8000aa8:	28 21 00 3c 	lw r1,(r1+60)                                  
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
 8000aac:	5b 82 00 0c 	sw (sp+12),r2                                  
  args.buffer  = buffer;                                              
 8000ab0:	5b 83 00 10 	sw (sp+16),r3                                  
                                                                      
  status = rtems_io_control(                                          
 8000ab4:	28 22 00 0c 	lw r2,(r1+12)                                  
 8000ab8:	28 21 00 08 	lw r1,(r1+8)                                   
 8000abc:	37 83 00 08 	addi r3,sp,8                                   
  rtems_status_code         status;                                   
  rtems_device_name_t      *np;                                       
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop     = iop;                                                 
 8000ac0:	5b 84 00 08 	sw (sp+8),r4                                   
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control(                                          
 8000ac4:	f8 00 07 5a 	calli 800282c <rtems_io_control>               
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
 8000ac8:	5c 20 00 05 	bne r1,r0,8000adc <devFS_ioctl+0x40>           <== NEVER TAKEN
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
 8000acc:	2b 81 00 14 	lw r1,(sp+20)                                  
}                                                                     
 8000ad0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8000ad4:	37 9c 00 14 	addi sp,sp,20                                  
 8000ad8:	c3 a0 00 00 	ret                                            
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
 8000adc:	f8 00 11 9a 	calli 8005144 <rtems_deviceio_errno>           <== NOT EXECUTED
                                                                      
  return args.ioctl_return;                                           
}                                                                     
 8000ae0:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8000ae4:	37 9c 00 14 	addi sp,sp,20                                  <== NOT EXECUTED
 8000ae8:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
080008cc <devFS_mknod>:                                               
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
 80008cc:	37 9c ff d8 	addi sp,sp,-40                                 
 80008d0:	5b 8b 00 28 	sw (sp+40),r11                                 
 80008d4:	5b 8c 00 24 	sw (sp+36),r12                                 
 80008d8:	5b 8d 00 20 	sw (sp+32),r13                                 
 80008dc:	5b 8e 00 1c 	sw (sp+28),r14                                 
 80008e0:	5b 8f 00 18 	sw (sp+24),r15                                 
 80008e4:	5b 90 00 14 	sw (sp+20),r16                                 
 80008e8:	5b 91 00 10 	sw (sp+16),r17                                 
 80008ec:	5b 92 00 0c 	sw (sp+12),r18                                 
 80008f0:	5b 93 00 08 	sw (sp+8),r19                                  
 80008f4:	5b 9d 00 04 	sw (sp+4),ra                                   
   * 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') &&                         
 80008f8:	40 26 00 00 	lbu r6,(r1+0)                                  
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
 80008fc:	b8 20 60 00 	mv r12,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') &&                         
 8000900:	34 01 00 64 	mvi r1,100                                     
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
 8000904:	b8 40 88 00 	mv r17,r2                                      
 8000908:	b8 60 98 00 	mv r19,r3                                      
 800090c:	b8 80 90 00 	mv r18,r4                                      
   * 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') &&                         
 8000910:	44 c1 00 48 	be r6,r1,8000a30 <devFS_mknod+0x164>           <== ALWAYS TAKEN
      (path[2] == 'v') && (path[3] == '\0'))                          
      return 0;                                                       
                                                                      
  /* must be a character device or a block device */                  
  if (!S_ISBLK(mode) && !S_ISCHR(mode))                               
 8000914:	22 26 f0 00 	andi r6,r17,0xf000                             
 8000918:	7c c2 60 00 	cmpnei r2,r6,24576                             
 800091c:	7c c1 20 00 	cmpnei r1,r6,8192                              
 8000920:	a0 22 08 00 	and r1,r1,r2                                   
 8000924:	5c 20 00 4d 	bne r1,r0,8000a58 <devFS_mknod+0x18c>          <== NEVER TAKEN
    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;    
 8000928:	28 ae 00 00 	lw r14,(r5+0)                                  
  if (!device_name_table)                                             
 800092c:	45 c1 00 55 	be r14,r1,8000a80 <devFS_mknod+0x1b4>          <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
 8000930:	78 05 08 00 	mvhi r5,0x800                                  
 8000934:	38 a5 d0 14 	ori r5,r5,0xd014                               
 8000938:	28 af 00 00 	lw r15,(r5+0)                                  
    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 );                   
 800093c:	34 10 ff ff 	mvi r16,-1                                     
 8000940:	b8 20 58 00 	mv r11,r1                                      
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
 8000944:	45 e0 00 4a 	be r15,r0,8000a6c <devFS_mknod+0x1a0>          <== NEVER TAKEN
      if (device_name_table[i].device_name == NULL)                   
 8000948:	34 02 00 02 	mvi r2,2                                       
 800094c:	fb ff fe 03 	calli 8000158 <__ashlsi3>                      
 8000950:	34 02 00 02 	mvi r2,2                                       
 8000954:	b8 20 68 00 	mv r13,r1                                      
 8000958:	fb ff fe 00 	calli 8000158 <__ashlsi3>                      
 800095c:	b5 a1 08 00 	add r1,r13,r1                                  
 8000960:	b5 c1 08 00 	add r1,r14,r1                                  
 8000964:	28 25 00 00 	lw r5,(r1+0)                                   
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
 8000968:	b9 80 08 00 	mv r1,r12                                      
 800096c:	b8 a0 10 00 	mv r2,r5                                       
  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)                   
 8000970:	44 a0 00 29 	be r5,r0,8000a14 <devFS_mknod+0x148>           <== ALWAYS TAKEN
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
 8000974:	f8 00 25 03 	calli 8009d80 <strcmp>                         <== NOT EXECUTED
 8000978:	44 20 00 29 	be r1,r0,8000a1c <devFS_mknod+0x150>           <== NOT EXECUTED
  /* 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++){           
 800097c:	35 6b 00 01 	addi r11,r11,1                                 
 8000980:	b9 60 08 00 	mv r1,r11                                      
 8000984:	55 eb ff f1 	bgu r15,r11,8000948 <devFS_mknod+0x7c>         
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
  }                                                                   
                                                                      
  if (slot == -1)                                                     
 8000988:	34 01 ff ff 	mvi r1,-1                                      
 800098c:	46 01 00 38 	be r16,r1,8000a6c <devFS_mknod+0x1a0>          <== NEVER TAKEN
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  _ISR_Disable(level);                                                
 8000990:	90 00 58 00 	rcsr r11,IE                                    
 8000994:	34 01 ff fe 	mvi r1,-2                                      
 8000998:	a1 61 08 00 	and r1,r11,r1                                  
 800099c:	d0 01 00 00 	wcsr IE,r1                                     
  device_name_table[slot].device_name  = (char *)path;                
 80009a0:	34 02 00 02 	mvi r2,2                                       
 80009a4:	ba 00 08 00 	mv r1,r16                                      
 80009a8:	fb ff fd ec 	calli 8000158 <__ashlsi3>                      
 80009ac:	34 02 00 02 	mvi r2,2                                       
 80009b0:	b8 20 68 00 	mv r13,r1                                      
 80009b4:	fb ff fd e9 	calli 8000158 <__ashlsi3>                      
 80009b8:	b5 a1 08 00 	add r1,r13,r1                                  
 80009bc:	b5 c1 70 00 	add r14,r14,r1                                 
 80009c0:	59 cc 00 00 	sw (r14+0),r12                                 
  device_name_table[slot].device_name_length = strlen(path);          
 80009c4:	b9 80 08 00 	mv r1,r12                                      
 80009c8:	f8 00 25 3e 	calli 8009ec0 <strlen>                         
 80009cc:	59 c1 00 04 	sw (r14+4),r1                                  
  device_name_table[slot].major = major;                              
  device_name_table[slot].minor = minor;                              
  device_name_table[slot].mode  = mode;                               
 80009d0:	59 d1 00 10 	sw (r14+16),r17                                
      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);          
  device_name_table[slot].major = major;                              
 80009d4:	59 d3 00 08 	sw (r14+8),r19                                 
  device_name_table[slot].minor = minor;                              
 80009d8:	59 d2 00 0c 	sw (r14+12),r18                                
  device_name_table[slot].mode  = mode;                               
  _ISR_Enable(level);                                                 
 80009dc:	d0 0b 00 00 	wcsr IE,r11                                    
 80009e0:	34 01 00 00 	mvi r1,0                                       
                                                                      
  return 0;                                                           
}                                                                     
 80009e4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80009e8:	2b 8b 00 28 	lw r11,(sp+40)                                 
 80009ec:	2b 8c 00 24 	lw r12,(sp+36)                                 
 80009f0:	2b 8d 00 20 	lw r13,(sp+32)                                 
 80009f4:	2b 8e 00 1c 	lw r14,(sp+28)                                 
 80009f8:	2b 8f 00 18 	lw r15,(sp+24)                                 
 80009fc:	2b 90 00 14 	lw r16,(sp+20)                                 
 8000a00:	2b 91 00 10 	lw r17,(sp+16)                                 
 8000a04:	2b 92 00 0c 	lw r18,(sp+12)                                 
 8000a08:	2b 93 00 08 	lw r19,(sp+8)                                  
 8000a0c:	37 9c 00 28 	addi sp,sp,40                                  
 8000a10:	c3 a0 00 00 	ret                                            
  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 );         
 8000a14:	b9 60 80 00 	mv r16,r11                                     
 8000a18:	e3 ff ff d9 	bi 800097c <devFS_mknod+0xb0>                  
 8000a1c:	f8 00 20 bf 	calli 8008d18 <__errno>                        <== NOT EXECUTED
 8000a20:	34 02 00 11 	mvi r2,17                                      <== NOT EXECUTED
 8000a24:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8000a28:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8000a2c:	e3 ff ff ee 	bi 80009e4 <devFS_mknod+0x118>                 <== NOT EXECUTED
   * 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') &&                         
 8000a30:	41 82 00 01 	lbu r2,(r12+1)                                 
 8000a34:	34 01 00 65 	mvi r1,101                                     
 8000a38:	5c 41 ff b7 	bne r2,r1,8000914 <devFS_mknod+0x48>           <== NEVER TAKEN
      (path[2] == 'v') && (path[3] == '\0'))                          
 8000a3c:	41 82 00 02 	lbu r2,(r12+2)                                 
 8000a40:	34 01 00 76 	mvi r1,118                                     
 8000a44:	5c 41 ff b4 	bne r2,r1,8000914 <devFS_mknod+0x48>           <== NEVER TAKEN
 8000a48:	41 82 00 03 	lbu r2,(r12+3)                                 
 8000a4c:	b8 40 08 00 	mv r1,r2                                       
 8000a50:	5c 40 ff b1 	bne r2,r0,8000914 <devFS_mknod+0x48>           
 8000a54:	e3 ff ff e4 	bi 80009e4 <devFS_mknod+0x118>                 
      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 );                   
 8000a58:	f8 00 20 b0 	calli 8008d18 <__errno>                        <== NOT EXECUTED
 8000a5c:	34 02 00 16 	mvi r2,22                                      <== NOT EXECUTED
 8000a60:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8000a64:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8000a68:	e3 ff ff df 	bi 80009e4 <devFS_mknod+0x118>                 <== NOT EXECUTED
          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 );                 
 8000a6c:	f8 00 20 ab 	calli 8008d18 <__errno>                        <== NOT EXECUTED
 8000a70:	34 02 00 0c 	mvi r2,12                                      <== NOT EXECUTED
 8000a74:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8000a78:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8000a7c:	e3 ff ff da 	bi 80009e4 <devFS_mknod+0x118>                 <== NOT EXECUTED
    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 );                   
 8000a80:	f8 00 20 a6 	calli 8008d18 <__errno>                        <== NOT EXECUTED
 8000a84:	34 02 00 0e 	mvi r2,14                                      <== NOT EXECUTED
 8000a88:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8000a8c:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8000a90:	e3 ff ff d5 	bi 80009e4 <devFS_mknod+0x118>                 <== NOT EXECUTED
                                                                      
08000aec <devFS_open>:                                                
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
 8000aec:	37 9c ff f0 	addi sp,sp,-16                                 
 8000af0:	5b 9d 00 04 	sw (sp+4),ra                                   
 8000af4:	b8 20 28 00 	mv r5,r1                                       
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
 8000af8:	28 21 00 18 	lw r1,(r1+24)                                  
  args.mode  = mode;                                                  
 8000afc:	5b 84 00 10 	sw (sp+16),r4                                  
                                                                      
  status = rtems_io_open(                                             
 8000b00:	37 83 00 08 	addi r3,sp,8                                   
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
 8000b04:	5b 81 00 0c 	sw (sp+12),r1                                  
{                                                                     
  rtems_libio_open_close_args_t  args;                                
  rtems_status_code              status;                              
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
 8000b08:	28 a1 00 3c 	lw r1,(r5+60)                                  
                                                                      
  args.iop   = iop;                                                   
 8000b0c:	5b 85 00 08 	sw (sp+8),r5                                   
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
                                                                      
  status = rtems_io_open(                                             
 8000b10:	28 22 00 0c 	lw r2,(r1+12)                                  
 8000b14:	28 21 00 08 	lw r1,(r1+8)                                   
 8000b18:	f8 00 07 c9 	calli 8002a3c <rtems_io_open>                  
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
  if ( status )                                                       
 8000b1c:	b8 20 10 00 	mv r2,r1                                       
 8000b20:	44 20 00 03 	be r1,r0,8000b2c <devFS_open+0x40>             <== ALWAYS TAKEN
    return rtems_deviceio_errno(status);                              
 8000b24:	f8 00 11 88 	calli 8005144 <rtems_deviceio_errno>           <== NOT EXECUTED
 8000b28:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
 8000b2c:	b8 40 08 00 	mv r1,r2                                       
 8000b30:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8000b34:	37 9c 00 10 	addi sp,sp,16                                  
 8000b38:	c3 a0 00 00 	ret                                            
                                                                      
08000b3c <devFS_read>:                                                
ssize_t devFS_read(                                                   
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
 8000b3c:	37 9c ff dc 	addi sp,sp,-36                                 <== NOT EXECUTED
 8000b40:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 8000b44:	b8 20 20 00 	mv r4,r1                                       <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
 8000b48:	28 21 00 18 	lw r1,(r1+24)                                  <== NOT EXECUTED
 8000b4c:	5b 81 00 20 	sw (sp+32),r1                                  <== NOT EXECUTED
  rtems_device_name_t     *np;                                        
                                                                      
  np               = (rtems_device_name_t *)iop->file_info;           
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
 8000b50:	28 81 00 14 	lw r1,(r4+20)                                  <== NOT EXECUTED
 8000b54:	5b 81 00 14 	sw (sp+20),r1                                  <== NOT EXECUTED
 8000b58:	28 81 00 10 	lw r1,(r4+16)                                  <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
 8000b5c:	5b 83 00 1c 	sw (sp+28),r3                                  <== NOT EXECUTED
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
 8000b60:	34 03 00 00 	mvi r3,0                                       <== NOT EXECUTED
  rtems_device_name_t     *np;                                        
                                                                      
  np               = (rtems_device_name_t *)iop->file_info;           
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
 8000b64:	5b 81 00 10 	sw (sp+16),r1                                  <== NOT EXECUTED
{                                                                     
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  rtems_device_name_t     *np;                                        
                                                                      
  np               = (rtems_device_name_t *)iop->file_info;           
 8000b68:	28 81 00 3c 	lw r1,(r4+60)                                  <== NOT EXECUTED
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
 8000b6c:	5b 83 00 24 	sw (sp+36),r3                                  <== NOT EXECUTED
                                                                      
  np               = (rtems_device_name_t *)iop->file_info;           
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
 8000b70:	5b 82 00 18 	sw (sp+24),r2                                  <== NOT EXECUTED
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
 8000b74:	28 22 00 0c 	lw r2,(r1+12)                                  <== NOT EXECUTED
 8000b78:	28 21 00 08 	lw r1,(r1+8)                                   <== NOT EXECUTED
 8000b7c:	37 83 00 08 	addi r3,sp,8                                   <== NOT EXECUTED
  rtems_status_code       status;                                     
  rtems_device_name_t     *np;                                        
                                                                      
  np               = (rtems_device_name_t *)iop->file_info;           
                                                                      
  args.iop         = iop;                                             
 8000b80:	5b 84 00 08 	sw (sp+8),r4                                   <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
 8000b84:	f8 00 07 d6 	calli 8002adc <rtems_io_read>                  <== NOT EXECUTED
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
 8000b88:	5c 20 00 05 	bne r1,r0,8000b9c <devFS_read+0x60>            <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
 8000b8c:	2b 81 00 24 	lw r1,(sp+36)                                  <== NOT EXECUTED
}                                                                     
 8000b90:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8000b94:	37 9c 00 24 	addi sp,sp,36                                  <== NOT EXECUTED
 8000b98:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
 8000b9c:	f8 00 11 6a 	calli 8005144 <rtems_deviceio_errno>           <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
 8000ba0:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8000ba4:	37 9c 00 24 	addi sp,sp,36                                  <== NOT EXECUTED
 8000ba8:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08000bac <devFS_stat>:                                                
                                                                      
int devFS_stat(                                                       
  rtems_filesystem_location_info_t *loc,                              
  struct stat                      *buf                               
)                                                                     
{                                                                     
 8000bac:	37 9c ff fc 	addi sp,sp,-4                                  
 8000bb0:	5b 9d 00 04 	sw (sp+4),ra                                   
  rtems_device_name_t *the_dev;                                       
                                                                      
  the_dev = (rtems_device_name_t *)loc->node_access;                  
 8000bb4:	28 21 00 00 	lw r1,(r1+0)                                   
  if (!the_dev)                                                       
 8000bb8:	44 20 00 0b 	be r1,r0,8000be4 <devFS_stat+0x38>             <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  buf->st_rdev  = rtems_filesystem_make_dev_t( the_dev->major, the_dev->minor );
 8000bbc:	28 23 00 0c 	lw r3,(r1+12)                                  
                                                                      
  buf->st_mode = the_dev->mode;                                       
 8000bc0:	28 24 00 10 	lw r4,(r1+16)                                  
                                                                      
  the_dev = (rtems_device_name_t *)loc->node_access;                  
  if (!the_dev)                                                       
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  buf->st_rdev  = rtems_filesystem_make_dev_t( the_dev->major, the_dev->minor );
 8000bc4:	28 21 00 08 	lw r1,(r1+8)                                   
 8000bc8:	58 43 00 1c 	sw (r2+28),r3                                  
                                                                      
  buf->st_mode = the_dev->mode;                                       
 8000bcc:	58 44 00 0c 	sw (r2+12),r4                                  
                                                                      
  the_dev = (rtems_device_name_t *)loc->node_access;                  
  if (!the_dev)                                                       
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  buf->st_rdev  = rtems_filesystem_make_dev_t( the_dev->major, the_dev->minor );
 8000bd0:	58 41 00 18 	sw (r2+24),r1                                  
                                                                      
  buf->st_mode = the_dev->mode;                                       
 8000bd4:	34 01 00 00 	mvi r1,0                                       
                                                                      
  return 0;                                                           
}                                                                     
 8000bd8:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8000bdc:	37 9c 00 04 	addi sp,sp,4                                   
 8000be0:	c3 a0 00 00 	ret                                            
{                                                                     
  rtems_device_name_t *the_dev;                                       
                                                                      
  the_dev = (rtems_device_name_t *)loc->node_access;                  
  if (!the_dev)                                                       
    rtems_set_errno_and_return_minus_one( EFAULT );                   
 8000be4:	f8 00 20 4d 	calli 8008d18 <__errno>                        <== NOT EXECUTED
 8000be8:	34 02 00 0e 	mvi r2,14                                      <== NOT EXECUTED
 8000bec:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8000bf0:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8000bf4:	e3 ff ff f9 	bi 8000bd8 <devFS_stat+0x2c>                   <== NOT EXECUTED
                                                                      
08000bf8 <devFS_write>:                                               
ssize_t devFS_write(                                                  
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
 8000bf8:	37 9c ff dc 	addi sp,sp,-36                                 
 8000bfc:	5b 9d 00 04 	sw (sp+4),ra                                   
 8000c00:	b8 20 20 00 	mv r4,r1                                       
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
 8000c04:	28 21 00 18 	lw r1,(r1+24)                                  
 8000c08:	5b 81 00 20 	sw (sp+32),r1                                  
  rtems_device_name_t    *np;                                         
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
 8000c0c:	28 81 00 14 	lw r1,(r4+20)                                  
 8000c10:	5b 81 00 14 	sw (sp+20),r1                                  
 8000c14:	28 81 00 10 	lw r1,(r4+16)                                  
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
 8000c18:	5b 83 00 1c 	sw (sp+28),r3                                  
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
 8000c1c:	34 03 00 00 	mvi r3,0                                       
  rtems_device_name_t    *np;                                         
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
 8000c20:	5b 81 00 10 	sw (sp+16),r1                                  
{                                                                     
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  rtems_device_name_t    *np;                                         
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
 8000c24:	28 81 00 3c 	lw r1,(r4+60)                                  
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
 8000c28:	5b 83 00 24 	sw (sp+36),r3                                  
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
 8000c2c:	5b 82 00 18 	sw (sp+24),r2                                  
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
 8000c30:	28 22 00 0c 	lw r2,(r1+12)                                  
 8000c34:	28 21 00 08 	lw r1,(r1+8)                                   
 8000c38:	37 83 00 08 	addi r3,sp,8                                   
  rtems_status_code       status;                                     
  rtems_device_name_t    *np;                                         
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop         = iop;                                             
 8000c3c:	5b 84 00 08 	sw (sp+8),r4                                   
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
 8000c40:	f8 00 07 cf 	calli 8002b7c <rtems_io_write>                 
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
 8000c44:	5c 20 00 05 	bne r1,r0,8000c58 <devFS_write+0x60>           <== NEVER TAKEN
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
 8000c48:	2b 81 00 24 	lw r1,(sp+36)                                  
}                                                                     
 8000c4c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8000c50:	37 9c 00 24 	addi sp,sp,36                                  
 8000c54:	c3 a0 00 00 	ret                                            
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
 8000c58:	f8 00 11 3b 	calli 8005144 <rtems_deviceio_errno>           <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
 8000c5c:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8000c60:	37 9c 00 24 	addi sp,sp,36                                  <== NOT EXECUTED
 8000c64:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08009cd4 <device_close>:                                              
 */                                                                   
                                                                      
int device_close(                                                     
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
 8009cd4:	37 9c ff f0 	addi sp,sp,-16                                 
 8009cd8:	5b 9d 00 04 	sw (sp+4),ra                                   
  rtems_libio_open_close_args_t  args;                                
  rtems_status_code              status;                              
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode = iop->file_info;                                         
 8009cdc:	28 23 00 3c 	lw r3,(r1+60)                                  
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
 8009ce0:	34 02 00 00 	mvi r2,0                                       
  rtems_status_code              status;                              
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop   = iop;                                                   
 8009ce4:	5b 81 00 08 	sw (sp+8),r1                                   
  args.flags = 0;                                                     
  args.mode  = 0;                                                     
 8009ce8:	5b 82 00 10 	sw (sp+16),r2                                  
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
 8009cec:	5b 82 00 0c 	sw (sp+12),r2                                  
  args.mode  = 0;                                                     
                                                                      
  status = rtems_io_close(                                            
 8009cf0:	28 62 00 54 	lw r2,(r3+84)                                  
 8009cf4:	28 61 00 50 	lw r1,(r3+80)                                  
 8009cf8:	37 83 00 08 	addi r3,sp,8                                   
 8009cfc:	f8 00 04 ce 	calli 800b034 <rtems_io_close>                 
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
  if ( status ) {                                                     
 8009d00:	b8 20 10 00 	mv r2,r1                                       
 8009d04:	44 20 00 03 	be r1,r0,8009d10 <device_close+0x3c>           <== ALWAYS TAKEN
    return rtems_deviceio_errno(status);                              
 8009d08:	f8 00 06 aa 	calli 800b7b0 <rtems_deviceio_errno>           <== NOT EXECUTED
 8009d0c:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
 8009d10:	b8 40 08 00 	mv r1,r2                                       
 8009d14:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8009d18:	37 9c 00 10 	addi sp,sp,16                                  
 8009d1c:	c3 a0 00 00 	ret                                            
                                                                      
08009bb0 <device_ioctl>:                                              
int device_ioctl(                                                     
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
 8009bb0:	37 9c ff ec 	addi sp,sp,-20                                 
 8009bb4:	5b 9d 00 04 	sw (sp+4),ra                                   
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  the_jnode = iop->file_info;                                         
 8009bb8:	28 24 00 3c 	lw r4,(r1+60)                                  
  rtems_libio_ioctl_args_t  args;                                     
  rtems_status_code         status;                                   
  IMFS_jnode_t             *the_jnode;                                
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
 8009bbc:	5b 82 00 0c 	sw (sp+12),r2                                  
  args.buffer  = buffer;                                              
 8009bc0:	5b 83 00 10 	sw (sp+16),r3                                  
{                                                                     
  rtems_libio_ioctl_args_t  args;                                     
  rtems_status_code         status;                                   
  IMFS_jnode_t             *the_jnode;                                
                                                                      
  args.iop     = iop;                                                 
 8009bc4:	5b 81 00 08 	sw (sp+8),r1                                   
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  status = rtems_io_control(                                          
 8009bc8:	28 82 00 54 	lw r2,(r4+84)                                  
 8009bcc:	28 81 00 50 	lw r1,(r4+80)                                  
 8009bd0:	37 83 00 08 	addi r3,sp,8                                   
 8009bd4:	f8 00 05 40 	calli 800b0d4 <rtems_io_control>               
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
 8009bd8:	5c 20 00 05 	bne r1,r0,8009bec <device_ioctl+0x3c>          <== NEVER TAKEN
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
 8009bdc:	2b 81 00 14 	lw r1,(sp+20)                                  
}                                                                     
 8009be0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8009be4:	37 9c 00 14 	addi sp,sp,20                                  
 8009be8:	c3 a0 00 00 	ret                                            
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
 8009bec:	f8 00 06 f1 	calli 800b7b0 <rtems_deviceio_errno>           <== NOT EXECUTED
                                                                      
  return args.ioctl_return;                                           
}                                                                     
 8009bf0:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8009bf4:	37 9c 00 14 	addi sp,sp,20                                  <== NOT EXECUTED
 8009bf8:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08009d20 <device_open>:                                               
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
 8009d20:	37 9c ff f0 	addi sp,sp,-16                                 
 8009d24:	5b 9d 00 04 	sw (sp+4),ra                                   
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode  = iop->file_info;                                        
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
 8009d28:	28 22 00 18 	lw r2,(r1+24)                                  
{                                                                     
  rtems_libio_open_close_args_t  args;                                
  rtems_status_code              status;                              
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode  = iop->file_info;                                        
 8009d2c:	28 23 00 3c 	lw r3,(r1+60)                                  
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
 8009d30:	5b 84 00 10 	sw (sp+16),r4                                  
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode  = iop->file_info;                                        
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
 8009d34:	5b 82 00 0c 	sw (sp+12),r2                                  
  rtems_status_code              status;                              
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode  = iop->file_info;                                        
                                                                      
  args.iop   = iop;                                                   
 8009d38:	5b 81 00 08 	sw (sp+8),r1                                   
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
                                                                      
  status = rtems_io_open(                                             
 8009d3c:	28 62 00 54 	lw r2,(r3+84)                                  
 8009d40:	28 61 00 50 	lw r1,(r3+80)                                  
 8009d44:	37 83 00 08 	addi r3,sp,8                                   
 8009d48:	f8 00 05 0b 	calli 800b174 <rtems_io_open>                  
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
  if ( status )                                                       
 8009d4c:	b8 20 10 00 	mv r2,r1                                       
 8009d50:	44 20 00 03 	be r1,r0,8009d5c <device_open+0x3c>            <== ALWAYS TAKEN
    return rtems_deviceio_errno(status);                              
 8009d54:	f8 00 06 97 	calli 800b7b0 <rtems_deviceio_errno>           <== NOT EXECUTED
 8009d58:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
 8009d5c:	b8 40 08 00 	mv r1,r2                                       
 8009d60:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8009d64:	37 9c 00 10 	addi sp,sp,16                                  
 8009d68:	c3 a0 00 00 	ret                                            
                                                                      
08009c68 <device_read>:                                               
ssize_t device_read(                                                  
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
 8009c68:	37 9c ff dc 	addi sp,sp,-36                                 <== NOT EXECUTED
 8009c6c:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
 8009c70:	28 24 00 18 	lw r4,(r1+24)                                  <== NOT EXECUTED
 8009c74:	5b 84 00 20 	sw (sp+32),r4                                  <== NOT EXECUTED
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
 8009c78:	28 24 00 14 	lw r4,(r1+20)                                  <== NOT EXECUTED
 8009c7c:	5b 84 00 14 	sw (sp+20),r4                                  <== NOT EXECUTED
 8009c80:	28 24 00 10 	lw r4,(r1+16)                                  <== NOT EXECUTED
  args.buffer      = buffer;                                          
 8009c84:	5b 82 00 18 	sw (sp+24),r2                                  <== NOT EXECUTED
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
 8009c88:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
 8009c8c:	5b 84 00 10 	sw (sp+16),r4                                  <== NOT EXECUTED
{                                                                     
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
 8009c90:	28 24 00 3c 	lw r4,(r1+60)                                  <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
 8009c94:	5b 83 00 1c 	sw (sp+28),r3                                  <== NOT EXECUTED
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
 8009c98:	5b 82 00 24 	sw (sp+36),r2                                  <== NOT EXECUTED
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
 8009c9c:	5b 81 00 08 	sw (sp+8),r1                                   <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
 8009ca0:	28 82 00 54 	lw r2,(r4+84)                                  <== NOT EXECUTED
 8009ca4:	28 81 00 50 	lw r1,(r4+80)                                  <== NOT EXECUTED
 8009ca8:	37 83 00 08 	addi r3,sp,8                                   <== NOT EXECUTED
 8009cac:	f8 00 05 5a 	calli 800b214 <rtems_io_read>                  <== NOT EXECUTED
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
 8009cb0:	5c 20 00 05 	bne r1,r0,8009cc4 <device_read+0x5c>           <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
 8009cb4:	2b 81 00 24 	lw r1,(sp+36)                                  <== NOT EXECUTED
}                                                                     
 8009cb8:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8009cbc:	37 9c 00 24 	addi sp,sp,36                                  <== NOT EXECUTED
 8009cc0:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
 8009cc4:	f8 00 06 bb 	calli 800b7b0 <rtems_deviceio_errno>           <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
 8009cc8:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8009ccc:	37 9c 00 24 	addi sp,sp,36                                  <== NOT EXECUTED
 8009cd0:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08009bfc <device_write>:                                              
ssize_t device_write(                                                 
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
 8009bfc:	37 9c ff dc 	addi sp,sp,-36                                 
 8009c00:	5b 9d 00 04 	sw (sp+4),ra                                   
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
 8009c04:	28 24 00 18 	lw r4,(r1+24)                                  
 8009c08:	5b 84 00 20 	sw (sp+32),r4                                  
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
 8009c0c:	28 24 00 14 	lw r4,(r1+20)                                  
 8009c10:	5b 84 00 14 	sw (sp+20),r4                                  
 8009c14:	28 24 00 10 	lw r4,(r1+16)                                  
  args.buffer      = (void *) buffer;                                 
 8009c18:	5b 82 00 18 	sw (sp+24),r2                                  
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
 8009c1c:	34 02 00 00 	mvi r2,0                                       
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
 8009c20:	5b 84 00 10 	sw (sp+16),r4                                  
{                                                                     
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
 8009c24:	28 24 00 3c 	lw r4,(r1+60)                                  
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
 8009c28:	5b 83 00 1c 	sw (sp+28),r3                                  
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
 8009c2c:	5b 82 00 24 	sw (sp+36),r2                                  
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
 8009c30:	5b 81 00 08 	sw (sp+8),r1                                   
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
 8009c34:	28 82 00 54 	lw r2,(r4+84)                                  
 8009c38:	28 81 00 50 	lw r1,(r4+80)                                  
 8009c3c:	37 83 00 08 	addi r3,sp,8                                   
 8009c40:	f8 00 05 9d 	calli 800b2b4 <rtems_io_write>                 
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
 8009c44:	5c 20 00 05 	bne r1,r0,8009c58 <device_write+0x5c>          <== NEVER TAKEN
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
 8009c48:	2b 81 00 24 	lw r1,(sp+36)                                  
}                                                                     
 8009c4c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8009c50:	37 9c 00 24 	addi sp,sp,36                                  
 8009c54:	c3 a0 00 00 	ret                                            
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
 8009c58:	f8 00 06 d6 	calli 800b7b0 <rtems_deviceio_errno>           <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
 8009c5c:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8009c60:	37 9c 00 24 	addi sp,sp,36                                  <== NOT EXECUTED
 8009c64:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08004c38 <drainOutput>:                                               
/*                                                                    
 * Drain output queue                                                 
 */                                                                   
static void                                                           
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
 8004c38:	37 9c ff f0 	addi sp,sp,-16                                 
 8004c3c:	5b 8b 00 10 	sw (sp+16),r11                                 
 8004c40:	5b 8c 00 0c 	sw (sp+12),r12                                 
 8004c44:	5b 8d 00 08 	sw (sp+8),r13                                  
 8004c48:	5b 9d 00 04 	sw (sp+4),ra                                   
 8004c4c:	b8 20 58 00 	mv r11,r1                                      
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {            
 8004c50:	28 21 00 b4 	lw r1,(r1+180)                                 
 8004c54:	44 20 00 1a 	be r1,r0,8004cbc <drainOutput+0x84>            <== ALWAYS TAKEN
		rtems_interrupt_disable (level);                                    
 8004c58:	90 00 08 00 	rcsr r1,IE                                     <== NOT EXECUTED
 8004c5c:	34 02 ff fe 	mvi r2,-2                                      <== NOT EXECUTED
 8004c60:	a0 22 10 00 	and r2,r1,r2                                   <== NOT EXECUTED
 8004c64:	d0 02 00 00 	wcsr IE,r2                                     <== NOT EXECUTED
		while (tty->rawOutBuf.Tail != tty->rawOutBuf.Head) {                
 8004c68:	29 64 00 84 	lw r4,(r11+132)                                <== NOT EXECUTED
 8004c6c:	29 63 00 80 	lw r3,(r11+128)                                <== NOT EXECUTED
 8004c70:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
 8004c74:	44 83 00 11 	be r4,r3,8004cb8 <drainOutput+0x80>            <== NOT EXECUTED
			tty->rawOutBufState = rob_wait;                                    
 8004c78:	34 0c 00 02 	mvi r12,2                                      <== NOT EXECUTED
			sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,             
							RTEMS_WAIT,                                                    
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
			rtems_interrupt_disable (level);                                   
 8004c7c:	34 0d ff fe 	mvi r13,-2                                     <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {            
		rtems_interrupt_disable (level);                                    
		while (tty->rawOutBuf.Tail != tty->rawOutBuf.Head) {                
			tty->rawOutBufState = rob_wait;                                    
 8004c80:	59 6c 00 94 	sw (r11+148),r12                               <== NOT EXECUTED
			rtems_interrupt_enable (level);                                    
 8004c84:	d0 01 00 00 	wcsr IE,r1                                     <== NOT EXECUTED
			sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,             
 8004c88:	29 61 00 8c 	lw r1,(r11+140)                                <== NOT EXECUTED
 8004c8c:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 8004c90:	b8 40 18 00 	mv r3,r2                                       <== NOT EXECUTED
 8004c94:	f8 00 07 1d 	calli 8006908 <rtems_semaphore_obtain>         <== NOT EXECUTED
							RTEMS_WAIT,                                                    
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
 8004c98:	5c 20 00 0f 	bne r1,r0,8004cd4 <drainOutput+0x9c>           <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
			rtems_interrupt_disable (level);                                   
 8004c9c:	90 00 08 00 	rcsr r1,IE                                     <== NOT EXECUTED
 8004ca0:	a0 2d 10 00 	and r2,r1,r13                                  <== NOT EXECUTED
 8004ca4:	d0 02 00 00 	wcsr IE,r2                                     <== 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) {                
 8004ca8:	29 63 00 84 	lw r3,(r11+132)                                <== NOT EXECUTED
 8004cac:	29 62 00 80 	lw r2,(r11+128)                                <== NOT EXECUTED
 8004cb0:	5c 62 ff f4 	bne r3,r2,8004c80 <drainOutput+0x48>           <== NOT EXECUTED
 8004cb4:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
			rtems_interrupt_disable (level);                                   
		}                                                                   
		rtems_interrupt_enable (level);                                     
 8004cb8:	d0 02 00 00 	wcsr IE,r2                                     <== NOT EXECUTED
	}                                                                    
}                                                                     
 8004cbc:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8004cc0:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8004cc4:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8004cc8:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8004ccc:	37 9c 00 10 	addi sp,sp,16                                  
 8004cd0:	c3 a0 00 00 	ret                                            
			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);                                  
 8004cd4:	f8 00 09 39 	calli 80071b8 <rtems_fatal_error_occurred>     <== NOT EXECUTED
                                                                      
08001f20 <dup2>:                                                      
                                                                      
int dup2(                                                             
  int fildes,                                                         
  int fildes2                                                         
)                                                                     
{                                                                     
 8001f20:	37 9c ff a4 	addi sp,sp,-92                                 
 8001f24:	5b 8b 00 14 	sw (sp+20),r11                                 
 8001f28:	5b 8c 00 10 	sw (sp+16),r12                                 
 8001f2c:	5b 8d 00 0c 	sw (sp+12),r13                                 
 8001f30:	5b 8e 00 08 	sw (sp+8),r14                                  
 8001f34:	5b 9d 00 04 	sw (sp+4),ra                                   
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
 8001f38:	37 8c 00 18 	addi r12,sp,24                                 
                                                                      
int dup2(                                                             
  int fildes,                                                         
  int fildes2                                                         
)                                                                     
{                                                                     
 8001f3c:	b8 40 68 00 	mv r13,r2                                      
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
 8001f40:	b9 80 10 00 	mv r2,r12                                      
  if ( status == -1 )                                                 
 8001f44:	34 0b ff ff 	mvi r11,-1                                     
                                                                      
int dup2(                                                             
  int fildes,                                                         
  int fildes2                                                         
)                                                                     
{                                                                     
 8001f48:	b8 20 70 00 	mv r14,r1                                      
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
 8001f4c:	f8 00 02 1c 	calli 80027bc <fstat>                          
  if ( status == -1 )                                                 
 8001f50:	5c 2b 00 09 	bne r1,r11,8001f74 <dup2+0x54>                 <== ALWAYS TAKEN
                                                                      
  /*                                                                  
   *  This fcntl handles everything else.                             
   */                                                                 
                                                                      
  return fcntl( fildes, F_DUPFD, fildes2 );                           
 8001f54:	34 01 ff ff 	mvi r1,-1                                      
}                                                                     
 8001f58:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8001f5c:	2b 8b 00 14 	lw r11,(sp+20)                                 
 8001f60:	2b 8c 00 10 	lw r12,(sp+16)                                 
 8001f64:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 8001f68:	2b 8e 00 08 	lw r14,(sp+8)                                  
 8001f6c:	37 9c 00 5c 	addi sp,sp,92                                  
 8001f70:	c3 a0 00 00 	ret                                            
                                                                      
  /*                                                                  
   *  If fildes2 is not valid, then we should not do anything either. 
   */                                                                 
                                                                      
  status = fstat( fildes2, &buf );                                    
 8001f74:	b9 80 10 00 	mv r2,r12                                      
 8001f78:	b9 a0 08 00 	mv r1,r13                                      
 8001f7c:	f8 00 02 10 	calli 80027bc <fstat>                          
  if ( status == -1 )                                                 
 8001f80:	44 2b ff f5 	be r1,r11,8001f54 <dup2+0x34>                  <== ALWAYS TAKEN
                                                                      
  /*                                                                  
   *  This fcntl handles everything else.                             
   */                                                                 
                                                                      
  return fcntl( fildes, F_DUPFD, fildes2 );                           
 8001f84:	b9 c0 08 00 	mv r1,r14                                      <== NOT EXECUTED
 8001f88:	b9 a0 18 00 	mv r3,r13                                      <== NOT EXECUTED
 8001f8c:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 8001f90:	f8 00 00 bb 	calli 800227c <fcntl>                          <== NOT EXECUTED
 8001f94:	e3 ff ff f1 	bi 8001f58 <dup2+0x38>                         <== NOT EXECUTED
                                                                      
080045dc <echo>:                                                      
/*                                                                    
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
 80045dc:	37 9c ff f0 	addi sp,sp,-16                                 <== NOT EXECUTED
 80045e0:	5b 8b 00 0c 	sw (sp+12),r11                                 <== NOT EXECUTED
 80045e4:	5b 8c 00 08 	sw (sp+8),r12                                  <== NOT EXECUTED
 80045e8:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 80045ec:	b8 40 58 00 	mv r11,r2                                      <== NOT EXECUTED
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
 80045f0:	28 42 00 3c 	lw r2,(r2+60)                                  <== NOT EXECUTED
/*                                                                    
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
 80045f4:	20 2c 00 ff 	andi r12,r1,0xff                               <== NOT EXECUTED
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
 80045f8:	20 41 02 00 	andi r1,r2,0x200                               <== NOT EXECUTED
 80045fc:	44 20 00 0b 	be r1,r0,8004628 <echo+0x4c>                   <== NOT EXECUTED
 8004600:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8004604:	38 21 42 c8 	ori r1,r1,0x42c8                               <== NOT EXECUTED
 8004608:	28 21 00 00 	lw r1,(r1+0)                                   <== NOT EXECUTED
 800460c:	34 02 00 05 	mvi r2,5                                       <== NOT EXECUTED
 8004610:	b4 2c 08 00 	add r1,r1,r12                                  <== NOT EXECUTED
 8004614:	40 21 00 01 	lbu r1,(r1+1)                                  <== NOT EXECUTED
 8004618:	fb ff f3 d4 	calli 8001568 <__lshrsi3>                      <== NOT EXECUTED
 800461c:	7d 82 00 09 	cmpnei r2,r12,9                                <== NOT EXECUTED
 8004620:	a0 22 08 00 	and r1,r1,r2                                   <== NOT EXECUTED
 8004624:	5c 20 00 09 	bne r1,r0,8004648 <echo+0x6c>                  <== NOT EXECUTED
		echobuf[1] = c ^ 0x40;                                              
		rtems_termios_puts (echobuf, 2, tty);                               
		tty->column += 2;                                                   
	}                                                                    
	else {                                                               
		oproc (c, tty);                                                     
 8004628:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 800462c:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 8004630:	fb ff ff 86 	calli 8004448 <oproc>                          <== NOT EXECUTED
	}                                                                    
}                                                                     
 8004634:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8004638:	2b 8b 00 0c 	lw r11,(sp+12)                                 <== NOT EXECUTED
 800463c:	2b 8c 00 08 	lw r12,(sp+8)                                  <== NOT EXECUTED
 8004640:	37 9c 00 10 	addi sp,sp,16                                  <== NOT EXECUTED
 8004644:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
 8004648:	34 01 00 0a 	mvi r1,10                                      <== NOT EXECUTED
 800464c:	45 81 ff f7 	be r12,r1,8004628 <echo+0x4c>                  <== NOT EXECUTED
		char echobuf[2];                                                    
                                                                      
		echobuf[0] = '^';                                                   
 8004650:	34 04 00 5e 	mvi r4,94                                      <== NOT EXECUTED
		echobuf[1] = c ^ 0x40;                                              
		rtems_termios_puts (echobuf, 2, tty);                               
 8004654:	37 81 00 10 	addi r1,sp,16                                  <== NOT EXECUTED
{                                                                     
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
		char echobuf[2];                                                    
                                                                      
		echobuf[0] = '^';                                                   
		echobuf[1] = c ^ 0x40;                                              
 8004658:	19 8c 00 40 	xori r12,r12,0x40                              <== NOT EXECUTED
		rtems_termios_puts (echobuf, 2, tty);                               
 800465c:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 8004660:	b9 60 18 00 	mv r3,r11                                      <== NOT EXECUTED
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
		char echobuf[2];                                                    
                                                                      
		echobuf[0] = '^';                                                   
 8004664:	33 84 00 10 	sb (sp+16),r4                                  <== NOT EXECUTED
		echobuf[1] = c ^ 0x40;                                              
 8004668:	33 8c 00 11 	sb (sp+17),r12                                 <== NOT EXECUTED
		rtems_termios_puts (echobuf, 2, tty);                               
 800466c:	fb ff ff 1c 	calli 80042dc <rtems_termios_puts>             <== NOT EXECUTED
		tty->column += 2;                                                   
 8004670:	29 61 00 28 	lw r1,(r11+40)                                 <== NOT EXECUTED
 8004674:	34 21 00 02 	addi r1,r1,2                                   <== NOT EXECUTED
 8004678:	59 61 00 28 	sw (r11+40),r1                                 <== NOT EXECUTED
	}                                                                    
	else {                                                               
		oproc (c, tty);                                                     
	}                                                                    
}                                                                     
 800467c:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8004680:	2b 8b 00 0c 	lw r11,(sp+12)                                 <== NOT EXECUTED
 8004684:	2b 8c 00 08 	lw r12,(sp+8)                                  <== NOT EXECUTED
 8004688:	37 9c 00 10 	addi sp,sp,16                                  <== NOT EXECUTED
 800468c:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
0802968c <endgrent>:                                                  
    fclose(group_fp);                                                 
  group_fp = fopen("/etc/group", "r");                                
}                                                                     
                                                                      
void endgrent(void)                                                   
{                                                                     
 802968c:	37 9c ff fc 	addi sp,sp,-4                                  <== NOT EXECUTED
 8029690:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  if (group_fp != NULL)                                               
 8029694:	78 01 08 07 	mvhi r1,0x807                                  <== NOT EXECUTED
 8029698:	38 21 4c a0 	ori r1,r1,0x4ca0                               <== NOT EXECUTED
 802969c:	28 21 00 00 	lw r1,(r1+0)                                   <== NOT EXECUTED
 80296a0:	44 20 00 02 	be r1,r0,80296a8 <endgrent+0x1c>               <== NOT EXECUTED
    fclose(group_fp);                                                 
 80296a4:	f8 00 77 a3 	calli 8047530 <fclose>                         <== NOT EXECUTED
}                                                                     
 80296a8:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 80296ac:	37 9c 00 04 	addi sp,sp,4                                   <== NOT EXECUTED
 80296b0:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
080296b4 <endpwent>:                                                  
    fclose(passwd_fp);                                                
  passwd_fp = fopen("/etc/passwd", "r");                              
}                                                                     
                                                                      
void endpwent(void)                                                   
{                                                                     
 80296b4:	37 9c ff fc 	addi sp,sp,-4                                  <== NOT EXECUTED
 80296b8:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  if (passwd_fp != NULL)                                              
 80296bc:	78 01 08 07 	mvhi r1,0x807                                  <== NOT EXECUTED
 80296c0:	38 21 4b b8 	ori r1,r1,0x4bb8                               <== NOT EXECUTED
 80296c4:	28 21 00 00 	lw r1,(r1+0)                                   <== NOT EXECUTED
 80296c8:	44 20 00 02 	be r1,r0,80296d0 <endpwent+0x1c>               <== NOT EXECUTED
    fclose(passwd_fp);                                                
 80296cc:	f8 00 77 99 	calli 8047530 <fclose>                         <== NOT EXECUTED
}                                                                     
 80296d0:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 80296d4:	37 9c 00 04 	addi sp,sp,4                                   <== NOT EXECUTED
 80296d8:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08004690 <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)                   
{                                                                     
 8004690:	37 9c ff e0 	addi sp,sp,-32                                 <== NOT EXECUTED
 8004694:	5b 8b 00 20 	sw (sp+32),r11                                 <== NOT EXECUTED
 8004698:	5b 8c 00 1c 	sw (sp+28),r12                                 <== NOT EXECUTED
 800469c:	5b 8d 00 18 	sw (sp+24),r13                                 <== NOT EXECUTED
 80046a0:	5b 8e 00 14 	sw (sp+20),r14                                 <== NOT EXECUTED
 80046a4:	5b 8f 00 10 	sw (sp+16),r15                                 <== NOT EXECUTED
 80046a8:	5b 90 00 0c 	sw (sp+12),r16                                 <== NOT EXECUTED
 80046ac:	5b 91 00 08 	sw (sp+8),r17                                  <== NOT EXECUTED
 80046b0:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
	if (tty->ccount == 0)                                                
 80046b4:	28 23 00 20 	lw r3,(r1+32)                                  <== NOT EXECUTED
 * 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)                   
{                                                                     
 80046b8:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
 80046bc:	b8 40 68 00 	mv r13,r2                                      <== NOT EXECUTED
	if (tty->ccount == 0)                                                
 80046c0:	44 60 00 24 	be r3,r0,8004750 <erase+0xc0>                  <== NOT EXECUTED
		return;                                                             
	if (lineFlag) {                                                      
 80046c4:	5c 40 00 1f 	bne r2,r0,8004740 <erase+0xb0>                 <== NOT EXECUTED
 80046c8:	28 21 00 3c 	lw r1,(r1+60)                                  <== NOT EXECUTED
					rtems_termios_puts ("\b", 1, tty);                               
					tty->column--;                                                   
				}                                                                 
			}                                                                  
			else {                                                             
				if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {            
 80046cc:	78 0e 08 02 	mvhi r14,0x802                                 <== NOT EXECUTED
 80046d0:	39 ce 42 c8 	ori r14,r14,0x42c8                             <== NOT EXECUTED
                                                                      
		if (tty->termios.c_lflag & ECHO) {                                  
			if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {                
				echo (tty->termios.c_cc[VERASE], tty);                            
			}                                                                  
			else if (c == '\t') {                                              
 80046d4:	34 0f 00 09 	mvi r15,9                                      <== NOT EXECUTED
					rtems_termios_puts ("\b \b", 3, tty);                            
					if (tty->column)                                                 
						tty->column--;                                                  
				}                                                                 
				if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {           
					rtems_termios_puts ("\b \b", 3, tty);                            
 80046d8:	78 11 08 02 	mvhi r17,0x802                                 <== NOT EXECUTED
                                                                      
				/*                                                                
				 * Back up over the tab                                           
				 */                                                               
				while (tty->column > col) {                                       
					rtems_termios_puts ("\b", 1, tty);                               
 80046dc:	78 10 08 02 	mvhi r16,0x802                                 <== NOT EXECUTED
				echo ('\n', tty);                                                 
			return;                                                            
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
		unsigned char c = tty->cbuf[--tty->ccount];                         
 80046e0:	29 62 00 1c 	lw r2,(r11+28)                                 <== NOT EXECUTED
 80046e4:	34 63 ff ff 	addi r3,r3,-1                                  <== NOT EXECUTED
 80046e8:	59 63 00 20 	sw (r11+32),r3                                 <== NOT EXECUTED
 80046ec:	b4 43 28 00 	add r5,r2,r3                                   <== NOT EXECUTED
                                                                      
		if (tty->termios.c_lflag & ECHO) {                                  
 80046f0:	20 24 00 08 	andi r4,r1,0x8                                 <== NOT EXECUTED
				echo ('\n', tty);                                                 
			return;                                                            
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
		unsigned char c = tty->cbuf[--tty->ccount];                         
 80046f4:	40 a5 00 00 	lbu r5,(r5+0)                                  <== NOT EXECUTED
                                                                      
		if (tty->termios.c_lflag & ECHO) {                                  
 80046f8:	44 80 00 0d 	be r4,r0,800472c <erase+0x9c>                  <== NOT EXECUTED
			if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {                
 80046fc:	5d a0 00 03 	bne r13,r0,8004708 <erase+0x78>                <== NOT EXECUTED
 8004700:	20 24 00 10 	andi r4,r1,0x10                                <== NOT EXECUTED
 8004704:	44 8d 00 68 	be r4,r13,80048a4 <erase+0x214>                <== NOT EXECUTED
				echo (tty->termios.c_cc[VERASE], tty);                            
			}                                                                  
			else if (c == '\t') {                                              
 8004708:	44 af 00 37 	be r5,r15,80047e4 <erase+0x154>                <== NOT EXECUTED
					rtems_termios_puts ("\b", 1, tty);                               
					tty->column--;                                                   
				}                                                                 
			}                                                                  
			else {                                                             
				if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {            
 800470c:	29 c2 00 00 	lw r2,(r14+0)                                  <== NOT EXECUTED
 8004710:	34 ac 00 01 	addi r12,r5,1                                  <== NOT EXECUTED
 8004714:	b4 4c 10 00 	add r2,r2,r12                                  <== NOT EXECUTED
 8004718:	40 42 00 00 	lbu r2,(r2+0)                                  <== NOT EXECUTED
 800471c:	20 42 00 20 	andi r2,r2,0x20                                <== NOT EXECUTED
 8004720:	44 40 00 27 	be r2,r0,80047bc <erase+0x12c>                 <== NOT EXECUTED
 8004724:	20 21 02 00 	andi r1,r1,0x200                               <== NOT EXECUTED
 8004728:	5c 20 00 14 	bne r1,r0,8004778 <erase+0xe8>                 <== NOT EXECUTED
					if (tty->column)                                                 
						tty->column--;                                                  
				}                                                                 
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
 800472c:	45 a0 00 09 	be r13,r0,8004750 <erase+0xc0>                 <== NOT EXECUTED
			if (tty->termios.c_lflag & ECHOK)                                  
				echo ('\n', tty);                                                 
			return;                                                            
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
 8004730:	29 63 00 20 	lw r3,(r11+32)                                 <== NOT EXECUTED
 8004734:	44 60 00 07 	be r3,r0,8004750 <erase+0xc0>                  <== NOT EXECUTED
 8004738:	29 61 00 3c 	lw r1,(r11+60)                                 <== NOT EXECUTED
 800473c:	e3 ff ff e9 	bi 80046e0 <erase+0x50>                        <== NOT EXECUTED
erase (struct rtems_termios_tty *tty, int lineFlag)                   
{                                                                     
	if (tty->ccount == 0)                                                
		return;                                                             
	if (lineFlag) {                                                      
		if (!(tty->termios.c_lflag & ECHO)) {                               
 8004740:	28 21 00 3c 	lw r1,(r1+60)                                  <== NOT EXECUTED
 8004744:	20 22 00 08 	andi r2,r1,0x8                                 <== NOT EXECUTED
 8004748:	5c 40 00 4a 	bne r2,r0,8004870 <erase+0x1e0>                <== NOT EXECUTED
			tty->ccount = 0;                                                   
 800474c:	59 62 00 20 	sw (r11+32),r2                                 <== NOT EXECUTED
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
			break;                                                             
	}                                                                    
}                                                                     
 8004750:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8004754:	2b 8b 00 20 	lw r11,(sp+32)                                 <== NOT EXECUTED
 8004758:	2b 8c 00 1c 	lw r12,(sp+28)                                 <== NOT EXECUTED
 800475c:	2b 8d 00 18 	lw r13,(sp+24)                                 <== NOT EXECUTED
 8004760:	2b 8e 00 14 	lw r14,(sp+20)                                 <== NOT EXECUTED
 8004764:	2b 8f 00 10 	lw r15,(sp+16)                                 <== NOT EXECUTED
 8004768:	2b 90 00 0c 	lw r16,(sp+12)                                 <== NOT EXECUTED
 800476c:	2b 91 00 08 	lw r17,(sp+8)                                  <== NOT EXECUTED
 8004770:	37 9c 00 20 	addi sp,sp,32                                  <== NOT EXECUTED
 8004774:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
					tty->column--;                                                   
				}                                                                 
			}                                                                  
			else {                                                             
				if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {            
					rtems_termios_puts ("\b \b", 3, tty);                            
 8004778:	ba 20 08 00 	mv r1,r17                                      <== NOT EXECUTED
 800477c:	38 21 25 a8 	ori r1,r1,0x25a8                               <== NOT EXECUTED
 8004780:	34 02 00 03 	mvi r2,3                                       <== NOT EXECUTED
 8004784:	b9 60 18 00 	mv r3,r11                                      <== NOT EXECUTED
 8004788:	fb ff fe d5 	calli 80042dc <rtems_termios_puts>             <== NOT EXECUTED
					if (tty->column)                                                 
 800478c:	29 61 00 28 	lw r1,(r11+40)                                 <== NOT EXECUTED
 8004790:	44 20 00 03 	be r1,r0,800479c <erase+0x10c>                 <== NOT EXECUTED
						tty->column--;                                                  
 8004794:	34 21 ff ff 	addi r1,r1,-1                                  <== NOT EXECUTED
 8004798:	59 61 00 28 	sw (r11+40),r1                                 <== NOT EXECUTED
				}                                                                 
				if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {           
 800479c:	29 c1 00 00 	lw r1,(r14+0)                                  <== NOT EXECUTED
 80047a0:	b4 2c 60 00 	add r12,r1,r12                                 <== NOT EXECUTED
 80047a4:	41 81 00 00 	lbu r1,(r12+0)                                 <== NOT EXECUTED
 80047a8:	20 21 00 20 	andi r1,r1,0x20                                <== NOT EXECUTED
 80047ac:	44 20 00 04 	be r1,r0,80047bc <erase+0x12c>                 <== NOT EXECUTED
 80047b0:	29 61 00 3c 	lw r1,(r11+60)                                 <== NOT EXECUTED
 80047b4:	20 21 02 00 	andi r1,r1,0x200                               <== NOT EXECUTED
 80047b8:	44 20 ff dd 	be r1,r0,800472c <erase+0x9c>                  <== NOT EXECUTED
					rtems_termios_puts ("\b \b", 3, tty);                            
 80047bc:	ba 20 08 00 	mv r1,r17                                      <== NOT EXECUTED
 80047c0:	38 21 25 a8 	ori r1,r1,0x25a8                               <== NOT EXECUTED
 80047c4:	34 02 00 03 	mvi r2,3                                       <== NOT EXECUTED
 80047c8:	b9 60 18 00 	mv r3,r11                                      <== NOT EXECUTED
 80047cc:	fb ff fe c4 	calli 80042dc <rtems_termios_puts>             <== NOT EXECUTED
					if (tty->column)                                                 
 80047d0:	29 61 00 28 	lw r1,(r11+40)                                 <== NOT EXECUTED
 80047d4:	44 20 ff d6 	be r1,r0,800472c <erase+0x9c>                  <== NOT EXECUTED
						tty->column--;                                                  
 80047d8:	34 21 ff ff 	addi r1,r1,-1                                  <== NOT EXECUTED
 80047dc:	59 61 00 28 	sw (r11+40),r1                                 <== NOT EXECUTED
 80047e0:	e3 ff ff d3 	bi 800472c <erase+0x9c>                        <== NOT EXECUTED
		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;                                 
 80047e4:	29 6c 00 2c 	lw r12,(r11+44)                                <== NOT EXECUTED
				int i = 0;                                                        
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
 80047e8:	44 60 00 0f 	be r3,r0,8004824 <erase+0x194>                 <== NOT EXECUTED
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
 80047ec:	29 c6 00 00 	lw r6,(r14+0)                                  <== NOT EXECUTED
						if (tty->termios.c_lflag & ECHOCTL)                             
 80047f0:	20 27 02 00 	andi r7,r1,0x200                               <== NOT EXECUTED
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
 80047f4:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
 80047f8:	b4 41 20 00 	add r4,r2,r1                                   <== NOT EXECUTED
 80047fc:	40 84 00 00 	lbu r4,(r4+0)                                  <== NOT EXECUTED
 8004800:	34 21 00 01 	addi r1,r1,1                                   <== NOT EXECUTED
					if (c == '\t') {                                                 
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
 8004804:	b4 c4 28 00 	add r5,r6,r4                                   <== NOT EXECUTED
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
 8004808:	44 8f 00 16 	be r4,r15,8004860 <erase+0x1d0>                <== NOT EXECUTED
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
 800480c:	40 a4 00 01 	lbu r4,(r5+1)                                  <== NOT EXECUTED
 8004810:	20 84 00 20 	andi r4,r4,0x20                                <== NOT EXECUTED
 8004814:	44 80 00 10 	be r4,r0,8004854 <erase+0x1c4>                 <== NOT EXECUTED
						if (tty->termios.c_lflag & ECHOCTL)                             
 8004818:	44 e0 00 02 	be r7,r0,8004820 <erase+0x190>                 <== NOT EXECUTED
							col += 2;                                                      
 800481c:	35 8c 00 02 	addi r12,r12,2                                 <== NOT EXECUTED
				int i = 0;                                                        
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
 8004820:	5c 61 ff f6 	bne r3,r1,80047f8 <erase+0x168>                <== NOT EXECUTED
				}                                                                 
                                                                      
				/*                                                                
				 * Back up over the tab                                           
				 */                                                               
				while (tty->column > col) {                                       
 8004824:	29 61 00 28 	lw r1,(r11+40)                                 <== NOT EXECUTED
 8004828:	4d 81 ff c1 	bge r12,r1,800472c <erase+0x9c>                <== NOT EXECUTED
					rtems_termios_puts ("\b", 1, tty);                               
 800482c:	ba 00 08 00 	mv r1,r16                                      <== NOT EXECUTED
 8004830:	38 21 25 a4 	ori r1,r1,0x25a4                               <== NOT EXECUTED
 8004834:	34 02 00 01 	mvi r2,1                                       <== NOT EXECUTED
 8004838:	b9 60 18 00 	mv r3,r11                                      <== NOT EXECUTED
 800483c:	fb ff fe a8 	calli 80042dc <rtems_termios_puts>             <== NOT EXECUTED
					tty->column--;                                                   
 8004840:	29 61 00 28 	lw r1,(r11+40)                                 <== NOT EXECUTED
 8004844:	34 21 ff ff 	addi r1,r1,-1                                  <== NOT EXECUTED
 8004848:	59 61 00 28 	sw (r11+40),r1                                 <== NOT EXECUTED
				}                                                                 
                                                                      
				/*                                                                
				 * Back up over the tab                                           
				 */                                                               
				while (tty->column > col) {                                       
 800484c:	48 2c ff f8 	bg r1,r12,800482c <erase+0x19c>                <== NOT EXECUTED
 8004850:	e3 ff ff b7 	bi 800472c <erase+0x9c>                        <== NOT EXECUTED
					else if (iscntrl (c)) {                                          
						if (tty->termios.c_lflag & ECHOCTL)                             
							col += 2;                                                      
					}                                                                
					else {                                                           
						col++;                                                          
 8004854:	35 8c 00 01 	addi r12,r12,1                                 <== NOT EXECUTED
				int i = 0;                                                        
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
 8004858:	5c 61 ff e8 	bne r3,r1,80047f8 <erase+0x168>                <== NOT EXECUTED
 800485c:	e3 ff ff f2 	bi 8004824 <erase+0x194>                       <== NOT EXECUTED
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
						col = (col | 7) + 1;                                            
 8004860:	39 8c 00 07 	ori r12,r12,0x7                                <== NOT EXECUTED
 8004864:	35 8c 00 01 	addi r12,r12,1                                 <== NOT EXECUTED
				int i = 0;                                                        
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
 8004868:	5c 61 ff e4 	bne r3,r1,80047f8 <erase+0x168>                <== NOT EXECUTED
 800486c:	e3 ff ff ee 	bi 8004824 <erase+0x194>                       <== NOT EXECUTED
	if (lineFlag) {                                                      
		if (!(tty->termios.c_lflag & ECHO)) {                               
			tty->ccount = 0;                                                   
			return;                                                            
		}                                                                   
		if (!(tty->termios.c_lflag & ECHOE)) {                              
 8004870:	20 2c 00 10 	andi r12,r1,0x10                               <== NOT EXECUTED
 8004874:	5d 80 ff 96 	bne r12,r0,80046cc <erase+0x3c>                <== NOT EXECUTED
			tty->ccount = 0;                                                   
			echo (tty->termios.c_cc[VKILL], tty);                              
 8004878:	41 61 00 44 	lbu r1,(r11+68)                                <== NOT EXECUTED
		if (!(tty->termios.c_lflag & ECHO)) {                               
			tty->ccount = 0;                                                   
			return;                                                            
		}                                                                   
		if (!(tty->termios.c_lflag & ECHOE)) {                              
			tty->ccount = 0;                                                   
 800487c:	59 6c 00 20 	sw (r11+32),r12                                <== NOT EXECUTED
			echo (tty->termios.c_cc[VKILL], tty);                              
 8004880:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 8004884:	fb ff ff 56 	calli 80045dc <echo>                           <== NOT EXECUTED
			if (tty->termios.c_lflag & ECHOK)                                  
 8004888:	29 61 00 3c 	lw r1,(r11+60)                                 <== NOT EXECUTED
 800488c:	20 21 00 20 	andi r1,r1,0x20                                <== NOT EXECUTED
 8004890:	44 2c ff b0 	be r1,r12,8004750 <erase+0xc0>                 <== NOT EXECUTED
				echo ('\n', tty);                                                 
 8004894:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 8004898:	34 01 00 0a 	mvi r1,10                                      <== NOT EXECUTED
 800489c:	fb ff ff 50 	calli 80045dc <echo>                           <== NOT EXECUTED
 80048a0:	e3 ff ff ac 	bi 8004750 <erase+0xc0>                        <== 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);                            
 80048a4:	41 61 00 43 	lbu r1,(r11+67)                                <== NOT EXECUTED
 80048a8:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 80048ac:	fb ff ff 4c 	calli 80045dc <echo>                           <== NOT EXECUTED
 80048b0:	e3 ff ff a8 	bi 8004750 <erase+0xc0>                        <== NOT EXECUTED
                                                                      
0803fdb0 <fchdir>:                                                    
#include <rtems/seterr.h>                                             
                                                                      
int fchdir(                                                           
  int       fd                                                        
)                                                                     
{                                                                     
 803fdb0:	37 9c ff c8 	addi sp,sp,-56                                 <== NOT EXECUTED
 803fdb4:	5b 8b 00 10 	sw (sp+16),r11                                 <== NOT EXECUTED
 803fdb8:	5b 8c 00 0c 	sw (sp+12),r12                                 <== NOT EXECUTED
 803fdbc:	5b 8d 00 08 	sw (sp+8),r13                                  <== NOT EXECUTED
 803fdc0:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
  rtems_filesystem_location_info_t loc, saved;                        
                                                                      
  rtems_libio_check_fd( fd );                                         
 803fdc4:	78 02 08 07 	mvhi r2,0x807                                  <== NOT EXECUTED
 803fdc8:	38 42 10 10 	ori r2,r2,0x1010                               <== NOT EXECUTED
 803fdcc:	28 42 00 00 	lw r2,(r2+0)                                   <== NOT EXECUTED
 803fdd0:	54 41 00 06 	bgu r2,r1,803fde8 <fchdir+0x38>                <== NOT EXECUTED
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
 803fdd4:	f8 00 1d 75 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 803fdd8:	34 02 00 09 	mvi r2,9                                       <== NOT EXECUTED
 803fddc:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 803fde0:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 803fde4:	e0 00 00 49 	bi 803ff08 <fchdir+0x158>                      <== NOT EXECUTED
{                                                                     
  rtems_libio_t *iop;                                                 
  rtems_filesystem_location_info_t loc, saved;                        
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
 803fde8:	34 02 00 03 	mvi r2,3                                       <== NOT EXECUTED
 803fdec:	fb ff 04 dd 	calli 8001160 <__ashlsi3>                      <== NOT EXECUTED
 803fdf0:	78 0c 08 07 	mvhi r12,0x807                                 <== NOT EXECUTED
 803fdf4:	34 02 00 03 	mvi r2,3                                       <== NOT EXECUTED
 803fdf8:	39 8c 4e 90 	ori r12,r12,0x4e90                             <== NOT EXECUTED
 803fdfc:	b8 20 68 00 	mv r13,r1                                      <== NOT EXECUTED
 803fe00:	fb ff 04 d8 	calli 8001160 <__ashlsi3>                      <== NOT EXECUTED
 803fe04:	29 8b 00 00 	lw r11,(r12+0)                                 <== NOT EXECUTED
 803fe08:	b5 a1 08 00 	add r1,r13,r1                                  <== NOT EXECUTED
 803fe0c:	b5 61 58 00 	add r11,r11,r1                                 <== NOT EXECUTED
  rtems_libio_check_is_open(iop);                                     
 803fe10:	29 61 00 18 	lw r1,(r11+24)                                 <== NOT EXECUTED
 803fe14:	20 22 01 00 	andi r2,r1,0x100                               <== NOT EXECUTED
 803fe18:	44 40 ff ef 	be r2,r0,803fdd4 <fchdir+0x24>                 <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the fchmod().                                       
   */                                                                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
 803fe1c:	20 21 00 02 	andi r1,r1,0x2                                 <== NOT EXECUTED
 803fe20:	44 20 00 52 	be r1,r0,803ff68 <fchdir+0x1b8>                <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Verify you can change directory into this node.                  
   */                                                                 
                                                                      
  if ( !iop->pathinfo.ops ) {                                         
 803fe24:	29 61 00 28 	lw r1,(r11+40)                                 <== NOT EXECUTED
 803fe28:	44 20 00 55 	be r1,r0,803ff7c <fchdir+0x1cc>                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if ( !iop->pathinfo.ops->node_type_h ) {                            
 803fe2c:	28 22 00 10 	lw r2,(r1+16)                                  <== NOT EXECUTED
 803fe30:	44 40 00 53 	be r2,r0,803ff7c <fchdir+0x1cc>                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*iop->pathinfo.ops->node_type_h)( &iop->pathinfo ) !=        
 803fe34:	35 61 00 1c 	addi r1,r11,28                                 <== NOT EXECUTED
 803fe38:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
 803fe3c:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
 803fe40:	34 01 00 01 	mvi r1,1                                       <== NOT EXECUTED
 803fe44:	5c 41 00 37 	bne r2,r1,803ff20 <fchdir+0x170>               <== NOT EXECUTED
   *         but note the race condition. Threads who                 
   *         share their rtems_filesystem_current better              
   *         be synchronized!                                         
   */                                                                 
                                                                      
  saved                    = rtems_filesystem_current;                
 803fe48:	78 0c 08 07 	mvhi r12,0x807                                 <== NOT EXECUTED
 803fe4c:	39 8c 12 f0 	ori r12,r12,0x12f0                             <== NOT EXECUTED
 803fe50:	29 86 00 00 	lw r6,(r12+0)                                  <== NOT EXECUTED
  rtems_filesystem_current = iop->pathinfo;                           
                                                                      
  /* clone the current node */                                        
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
 803fe54:	34 03 00 00 	mvi r3,0                                       <== NOT EXECUTED
 803fe58:	78 01 08 06 	mvhi r1,0x806                                  <== NOT EXECUTED
   *         but note the race condition. Threads who                 
   *         share their rtems_filesystem_current better              
   *         be synchronized!                                         
   */                                                                 
                                                                      
  saved                    = rtems_filesystem_current;                
 803fe5c:	28 c4 00 04 	lw r4,(r6+4)                                   <== NOT EXECUTED
  rtems_filesystem_current = iop->pathinfo;                           
                                                                      
  /* clone the current node */                                        
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
 803fe60:	38 21 5d 58 	ori r1,r1,0x5d58                               <== NOT EXECUTED
 803fe64:	b8 60 28 00 	mv r5,r3                                       <== NOT EXECUTED
   *         but note the race condition. Threads who                 
   *         share their rtems_filesystem_current better              
   *         be synchronized!                                         
   */                                                                 
                                                                      
  saved                    = rtems_filesystem_current;                
 803fe68:	5b 84 00 14 	sw (sp+20),r4                                  <== NOT EXECUTED
 803fe6c:	28 c7 00 08 	lw r7,(r6+8)                                   <== NOT EXECUTED
  rtems_filesystem_current = iop->pathinfo;                           
                                                                      
  /* clone the current node */                                        
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
 803fe70:	37 84 00 28 	addi r4,sp,40                                  <== NOT EXECUTED
   *         but note the race condition. Threads who                 
   *         share their rtems_filesystem_current better              
   *         be synchronized!                                         
   */                                                                 
                                                                      
  saved                    = rtems_filesystem_current;                
 803fe74:	5b 87 00 18 	sw (sp+24),r7                                  <== NOT EXECUTED
 803fe78:	28 c7 00 0c 	lw r7,(r6+12)                                  <== NOT EXECUTED
 803fe7c:	5b 87 00 1c 	sw (sp+28),r7                                  <== NOT EXECUTED
 803fe80:	28 c7 00 10 	lw r7,(r6+16)                                  <== NOT EXECUTED
 803fe84:	5b 87 00 20 	sw (sp+32),r7                                  <== NOT EXECUTED
 803fe88:	28 c7 00 14 	lw r7,(r6+20)                                  <== NOT EXECUTED
 803fe8c:	5b 87 00 24 	sw (sp+36),r7                                  <== NOT EXECUTED
  rtems_filesystem_current = iop->pathinfo;                           
 803fe90:	29 67 00 1c 	lw r7,(r11+28)                                 <== NOT EXECUTED
 803fe94:	58 c7 00 04 	sw (r6+4),r7                                   <== NOT EXECUTED
 803fe98:	29 67 00 20 	lw r7,(r11+32)                                 <== NOT EXECUTED
 803fe9c:	58 c7 00 08 	sw (r6+8),r7                                   <== NOT EXECUTED
 803fea0:	29 67 00 24 	lw r7,(r11+36)                                 <== NOT EXECUTED
 803fea4:	58 c7 00 0c 	sw (r6+12),r7                                  <== NOT EXECUTED
 803fea8:	29 67 00 28 	lw r7,(r11+40)                                 <== NOT EXECUTED
 803feac:	58 c7 00 10 	sw (r6+16),r7                                  <== NOT EXECUTED
 803feb0:	29 6b 00 2c 	lw r11,(r11+44)                                <== NOT EXECUTED
 803feb4:	58 cb 00 14 	sw (r6+20),r11                                 <== NOT EXECUTED
                                                                      
  /* clone the current node */                                        
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
 803feb8:	fb ff 19 97 	calli 8006514 <rtems_filesystem_evaluate_path> <== NOT EXECUTED
 803febc:	5c 20 00 1e 	bne r1,r0,803ff34 <fchdir+0x184>               <== NOT EXECUTED
    /* cloning failed; restore original and bail out */               
    rtems_filesystem_current = saved;                                 
	return -1;                                                           
  }                                                                   
  /* release the old one */                                           
  rtems_filesystem_freenode( &saved );                                
 803fec0:	2b 82 00 20 	lw r2,(sp+32)                                  <== NOT EXECUTED
 803fec4:	44 41 00 05 	be r2,r1,803fed8 <fchdir+0x128>                <== NOT EXECUTED
 803fec8:	28 42 00 1c 	lw r2,(r2+28)                                  <== NOT EXECUTED
 803fecc:	44 40 00 03 	be r2,r0,803fed8 <fchdir+0x128>                <== NOT EXECUTED
 803fed0:	37 81 00 14 	addi r1,sp,20                                  <== NOT EXECUTED
 803fed4:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
                                                                      
  rtems_filesystem_current = loc;                                     
 803fed8:	2b 87 00 28 	lw r7,(sp+40)                                  <== NOT EXECUTED
 803fedc:	29 82 00 00 	lw r2,(r12+0)                                  <== NOT EXECUTED
 803fee0:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 803fee4:	58 47 00 04 	sw (r2+4),r7                                   <== NOT EXECUTED
 803fee8:	2b 83 00 2c 	lw r3,(sp+44)                                  <== NOT EXECUTED
 803feec:	58 43 00 08 	sw (r2+8),r3                                   <== NOT EXECUTED
 803fef0:	2b 84 00 30 	lw r4,(sp+48)                                  <== NOT EXECUTED
 803fef4:	58 44 00 0c 	sw (r2+12),r4                                  <== NOT EXECUTED
 803fef8:	2b 87 00 34 	lw r7,(sp+52)                                  <== NOT EXECUTED
 803fefc:	58 47 00 10 	sw (r2+16),r7                                  <== NOT EXECUTED
 803ff00:	2b 83 00 38 	lw r3,(sp+56)                                  <== NOT EXECUTED
 803ff04:	58 43 00 14 	sw (r2+20),r3                                  <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
 803ff08:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 803ff0c:	2b 8b 00 10 	lw r11,(sp+16)                                 <== NOT EXECUTED
 803ff10:	2b 8c 00 0c 	lw r12,(sp+12)                                 <== NOT EXECUTED
 803ff14:	2b 8d 00 08 	lw r13,(sp+8)                                  <== NOT EXECUTED
 803ff18:	37 9c 00 38 	addi sp,sp,56                                  <== NOT EXECUTED
 803ff1c:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*iop->pathinfo.ops->node_type_h)( &iop->pathinfo ) !=        
                                          RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
 803ff20:	f8 00 1d 22 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 803ff24:	34 02 00 14 	mvi r2,20                                      <== NOT EXECUTED
 803ff28:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 803ff2c:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 803ff30:	e3 ff ff f6 	bi 803ff08 <fchdir+0x158>                      <== NOT EXECUTED
  rtems_filesystem_current = iop->pathinfo;                           
                                                                      
  /* clone the current node */                                        
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
    /* cloning failed; restore original and bail out */               
    rtems_filesystem_current = saved;                                 
 803ff34:	2b 83 00 14 	lw r3,(sp+20)                                  <== NOT EXECUTED
 803ff38:	29 82 00 00 	lw r2,(r12+0)                                  <== NOT EXECUTED
 803ff3c:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 803ff40:	58 43 00 04 	sw (r2+4),r3                                   <== NOT EXECUTED
 803ff44:	2b 84 00 18 	lw r4,(sp+24)                                  <== NOT EXECUTED
 803ff48:	58 44 00 08 	sw (r2+8),r4                                   <== NOT EXECUTED
 803ff4c:	2b 87 00 1c 	lw r7,(sp+28)                                  <== NOT EXECUTED
 803ff50:	58 47 00 0c 	sw (r2+12),r7                                  <== NOT EXECUTED
 803ff54:	2b 83 00 20 	lw r3,(sp+32)                                  <== NOT EXECUTED
 803ff58:	58 43 00 10 	sw (r2+16),r3                                  <== NOT EXECUTED
 803ff5c:	2b 84 00 24 	lw r4,(sp+36)                                  <== NOT EXECUTED
 803ff60:	58 44 00 14 	sw (r2+20),r4                                  <== NOT EXECUTED
	return -1;                                                           
 803ff64:	e3 ff ff e9 	bi 803ff08 <fchdir+0x158>                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the fchmod().                                       
   */                                                                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
 803ff68:	f8 00 1d 10 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 803ff6c:	34 02 00 16 	mvi r2,22                                      <== NOT EXECUTED
 803ff70:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 803ff74:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 803ff78:	e3 ff ff e4 	bi 803ff08 <fchdir+0x158>                      <== NOT EXECUTED
  if ( !iop->pathinfo.ops ) {                                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if ( !iop->pathinfo.ops->node_type_h ) {                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 803ff7c:	f8 00 1d 0b 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 803ff80:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 803ff84:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 803ff88:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 803ff8c:	e3 ff ff df 	bi 803ff08 <fchdir+0x158>                      <== NOT EXECUTED
                                                                      
08029174 <fchmod>:                                                    
                                                                      
int fchmod(                                                           
  int       fd,                                                       
  mode_t    mode                                                      
)                                                                     
{                                                                     
 8029174:	37 9c ff f0 	addi sp,sp,-16                                 <== NOT EXECUTED
 8029178:	5b 8b 00 10 	sw (sp+16),r11                                 <== NOT EXECUTED
 802917c:	5b 8c 00 0c 	sw (sp+12),r12                                 <== NOT EXECUTED
 8029180:	5b 8d 00 08 	sw (sp+8),r13                                  <== NOT EXECUTED
 8029184:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
 8029188:	78 03 08 07 	mvhi r3,0x807                                  <== NOT EXECUTED
 802918c:	38 63 10 10 	ori r3,r3,0x1010                               <== NOT EXECUTED
 8029190:	28 63 00 00 	lw r3,(r3+0)                                   <== NOT EXECUTED
                                                                      
int fchmod(                                                           
  int       fd,                                                       
  mode_t    mode                                                      
)                                                                     
{                                                                     
 8029194:	b8 40 60 00 	mv r12,r2                                      <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
 8029198:	54 61 00 06 	bgu r3,r1,80291b0 <fchmod+0x3c>                <== NOT EXECUTED
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
 802919c:	f8 00 78 83 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 80291a0:	34 02 00 09 	mvi r2,9                                       <== NOT EXECUTED
 80291a4:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 80291a8:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 80291ac:	e0 00 00 18 	bi 802920c <fchmod+0x98>                       <== NOT EXECUTED
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
 80291b0:	34 02 00 03 	mvi r2,3                                       <== NOT EXECUTED
 80291b4:	fb ff 5f eb 	calli 8001160 <__ashlsi3>                      <== NOT EXECUTED
 80291b8:	34 02 00 03 	mvi r2,3                                       <== NOT EXECUTED
 80291bc:	78 0b 08 07 	mvhi r11,0x807                                 <== NOT EXECUTED
 80291c0:	b8 20 68 00 	mv r13,r1                                      <== NOT EXECUTED
 80291c4:	39 6b 4e 90 	ori r11,r11,0x4e90                             <== NOT EXECUTED
 80291c8:	fb ff 5f e6 	calli 8001160 <__ashlsi3>                      <== NOT EXECUTED
 80291cc:	29 62 00 00 	lw r2,(r11+0)                                  <== NOT EXECUTED
 80291d0:	b5 a1 08 00 	add r1,r13,r1                                  <== NOT EXECUTED
 80291d4:	b4 41 08 00 	add r1,r2,r1                                   <== NOT EXECUTED
  rtems_libio_check_is_open(iop);                                     
 80291d8:	28 22 00 18 	lw r2,(r1+24)                                  <== NOT EXECUTED
 80291dc:	20 43 01 00 	andi r3,r2,0x100                               <== NOT EXECUTED
 80291e0:	44 60 ff ef 	be r3,r0,802919c <fchmod+0x28>                 <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the fchmod().                                       
   */                                                                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
 80291e4:	20 42 00 04 	andi r2,r2,0x4                                 <== NOT EXECUTED
 80291e8:	44 40 00 0f 	be r2,r0,8029224 <fchmod+0xb0>                 <== NOT EXECUTED
                                                                      
  if ( !iop->handlers->fchmod_h )                                     
 80291ec:	28 22 00 40 	lw r2,(r1+64)                                  <== NOT EXECUTED
 80291f0:	28 42 00 1c 	lw r2,(r2+28)                                  <== NOT EXECUTED
 80291f4:	44 40 00 11 	be r2,r0,8029238 <fchmod+0xc4>                 <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  return (*iop->pathinfo.handlers->fchmod_h)( &iop->pathinfo, mode ); 
 80291f8:	28 23 00 24 	lw r3,(r1+36)                                  <== NOT EXECUTED
 80291fc:	b9 80 10 00 	mv r2,r12                                      <== NOT EXECUTED
 8029200:	34 21 00 1c 	addi r1,r1,28                                  <== NOT EXECUTED
 8029204:	28 63 00 1c 	lw r3,(r3+28)                                  <== NOT EXECUTED
 8029208:	d8 60 00 00 	call r3                                        <== NOT EXECUTED
}                                                                     
 802920c:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8029210:	2b 8b 00 10 	lw r11,(sp+16)                                 <== NOT EXECUTED
 8029214:	2b 8c 00 0c 	lw r12,(sp+12)                                 <== NOT EXECUTED
 8029218:	2b 8d 00 08 	lw r13,(sp+8)                                  <== NOT EXECUTED
 802921c:	37 9c 00 10 	addi sp,sp,16                                  <== NOT EXECUTED
 8029220:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the fchmod().                                       
   */                                                                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
 8029224:	f8 00 78 61 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 8029228:	34 02 00 16 	mvi r2,22                                      <== NOT EXECUTED
 802922c:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8029230:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8029234:	e3 ff ff f6 	bi 802920c <fchmod+0x98>                       <== NOT EXECUTED
                                                                      
  if ( !iop->handlers->fchmod_h )                                     
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 8029238:	f8 00 78 5c 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 802923c:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 8029240:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8029244:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8029248:	e3 ff ff f1 	bi 802920c <fchmod+0x98>                       <== NOT EXECUTED
                                                                      
0802924c <fchown>:                                                    
int fchown(                                                           
  int   fd,                                                           
  uid_t owner,                                                        
  gid_t group                                                         
)                                                                     
{                                                                     
 802924c:	37 9c ff ec 	addi sp,sp,-20                                 <== NOT EXECUTED
 8029250:	5b 8b 00 10 	sw (sp+16),r11                                 <== NOT EXECUTED
 8029254:	5b 8c 00 0c 	sw (sp+12),r12                                 <== NOT EXECUTED
 8029258:	5b 8d 00 08 	sw (sp+8),r13                                  <== NOT EXECUTED
 802925c:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
 8029260:	78 04 08 07 	mvhi r4,0x807                                  <== NOT EXECUTED
 8029264:	38 84 10 10 	ori r4,r4,0x1010                               <== NOT EXECUTED
 8029268:	28 84 00 00 	lw r4,(r4+0)                                   <== NOT EXECUTED
int fchown(                                                           
  int   fd,                                                           
  uid_t owner,                                                        
  gid_t group                                                         
)                                                                     
{                                                                     
 802926c:	20 4c ff ff 	andi r12,r2,0xffff                             <== NOT EXECUTED
 8029270:	20 63 ff ff 	andi r3,r3,0xffff                              <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
 8029274:	54 81 00 06 	bgu r4,r1,802928c <fchown+0x40>                <== NOT EXECUTED
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
 8029278:	f8 00 78 4c 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 802927c:	34 02 00 09 	mvi r2,9                                       <== NOT EXECUTED
 8029280:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8029284:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8029288:	e0 00 00 18 	bi 80292e8 <fchown+0x9c>                       <== NOT EXECUTED
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
 802928c:	34 02 00 03 	mvi r2,3                                       <== NOT EXECUTED
 8029290:	5b 83 00 14 	sw (sp+20),r3                                  <== NOT EXECUTED
 8029294:	fb ff 5f b3 	calli 8001160 <__ashlsi3>                      <== NOT EXECUTED
 8029298:	34 02 00 03 	mvi r2,3                                       <== NOT EXECUTED
 802929c:	78 0b 08 07 	mvhi r11,0x807                                 <== NOT EXECUTED
 80292a0:	b8 20 68 00 	mv r13,r1                                      <== NOT EXECUTED
 80292a4:	39 6b 4e 90 	ori r11,r11,0x4e90                             <== NOT EXECUTED
 80292a8:	fb ff 5f ae 	calli 8001160 <__ashlsi3>                      <== NOT EXECUTED
 80292ac:	29 62 00 00 	lw r2,(r11+0)                                  <== NOT EXECUTED
 80292b0:	b5 a1 08 00 	add r1,r13,r1                                  <== NOT EXECUTED
  rtems_libio_check_is_open(iop);                                     
 80292b4:	2b 83 00 14 	lw r3,(sp+20)                                  <== NOT EXECUTED
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
 80292b8:	b4 41 08 00 	add r1,r2,r1                                   <== NOT EXECUTED
  rtems_libio_check_is_open(iop);                                     
 80292bc:	28 22 00 18 	lw r2,(r1+24)                                  <== NOT EXECUTED
 80292c0:	20 44 01 00 	andi r4,r2,0x100                               <== NOT EXECUTED
 80292c4:	44 80 ff ed 	be r4,r0,8029278 <fchown+0x2c>                 <== NOT EXECUTED
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
 80292c8:	20 42 00 04 	andi r2,r2,0x4                                 <== NOT EXECUTED
 80292cc:	44 40 00 0d 	be r2,r0,8029300 <fchown+0xb4>                 <== NOT EXECUTED
                                                                      
  if ( !iop->pathinfo.ops->chown_h )                                  
 80292d0:	28 22 00 28 	lw r2,(r1+40)                                  <== NOT EXECUTED
 80292d4:	28 44 00 18 	lw r4,(r2+24)                                  <== NOT EXECUTED
 80292d8:	44 80 00 0f 	be r4,r0,8029314 <fchown+0xc8>                 <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  return (*iop->pathinfo.ops->chown_h)( &iop->pathinfo, owner, group );
 80292dc:	34 21 00 1c 	addi r1,r1,28                                  <== NOT EXECUTED
 80292e0:	b9 80 10 00 	mv r2,r12                                      <== NOT EXECUTED
 80292e4:	d8 80 00 00 	call r4                                        <== NOT EXECUTED
}                                                                     
 80292e8:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 80292ec:	2b 8b 00 10 	lw r11,(sp+16)                                 <== NOT EXECUTED
 80292f0:	2b 8c 00 0c 	lw r12,(sp+12)                                 <== NOT EXECUTED
 80292f4:	2b 8d 00 08 	lw r13,(sp+8)                                  <== NOT EXECUTED
 80292f8:	37 9c 00 14 	addi sp,sp,20                                  <== NOT EXECUTED
 80292fc:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
 8029300:	f8 00 78 2a 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 8029304:	34 02 00 16 	mvi r2,22                                      <== NOT EXECUTED
 8029308:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 802930c:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8029310:	e3 ff ff f6 	bi 80292e8 <fchown+0x9c>                       <== NOT EXECUTED
                                                                      
  if ( !iop->pathinfo.ops->chown_h )                                  
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 8029314:	f8 00 78 25 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 8029318:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 802931c:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8029320:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8029324:	e3 ff ff f1 	bi 80292e8 <fchown+0x9c>                       <== NOT EXECUTED
                                                                      
0803ff90 <fcntl>:                                                     
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
 803ff90:	37 9c ff c0 	addi sp,sp,-64                                 
 803ff94:	5b 8b 00 24 	sw (sp+36),r11                                 
 803ff98:	5b 8c 00 20 	sw (sp+32),r12                                 
 803ff9c:	5b 8d 00 1c 	sw (sp+28),r13                                 
 803ffa0:	5b 8e 00 18 	sw (sp+24),r14                                 
 803ffa4:	5b 8f 00 14 	sw (sp+20),r15                                 
 803ffa8:	5b 90 00 10 	sw (sp+16),r16                                 
 803ffac:	5b 91 00 0c 	sw (sp+12),r17                                 
 803ffb0:	5b 92 00 08 	sw (sp+8),r18                                  
 803ffb4:	5b 9d 00 04 	sw (sp+4),ra                                   
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
 803ffb8:	78 09 08 07 	mvhi r9,0x807                                  
 803ffbc:	39 29 10 10 	ori r9,r9,0x1010                               
 803ffc0:	29 30 00 00 	lw r16,(r9+0)                                  
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
 803ffc4:	5b 83 00 2c 	sw (sp+44),r3                                  
 803ffc8:	5b 84 00 30 	sw (sp+48),r4                                  
 803ffcc:	5b 85 00 34 	sw (sp+52),r5                                  
 803ffd0:	5b 86 00 38 	sw (sp+56),r6                                  
 803ffd4:	5b 87 00 3c 	sw (sp+60),r7                                  
 803ffd8:	5b 88 00 40 	sw (sp+64),r8                                  
 803ffdc:	5b 82 00 28 	sw (sp+40),r2                                  
 803ffe0:	b8 40 68 00 	mv r13,r2                                      
#include <sys/types.h>                                                
#include <sys/stat.h>		/* sigh. for the mode bits for open/creat */   
                                                                      
extern int open _PARAMS ((const char *, int, ...));                   
extern int creat _PARAMS ((const char *, mode_t));                    
extern int fcntl _PARAMS ((int, int, ...));                           
 803ffe4:	37 91 00 2c 	addi r17,sp,44                                 
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
 803ffe8:	56 01 00 06 	bgu r16,r1,8040000 <fcntl+0x70>                <== ALWAYS TAKEN
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
 803ffec:	f8 00 1c ef 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 803fff0:	34 02 00 09 	mvi r2,9                                       <== NOT EXECUTED
 803fff4:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 803fff8:	34 0c ff ff 	mvi r12,-1                                     <== NOT EXECUTED
 803fffc:	e0 00 00 1c 	bi 804006c <fcntl+0xdc>                        <== NOT EXECUTED
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
 8040000:	34 02 00 03 	mvi r2,3                                       
 8040004:	78 0e 08 07 	mvhi r14,0x807                                 
 8040008:	fb ff 04 56 	calli 8001160 <__ashlsi3>                      
 804000c:	39 ce 4e 90 	ori r14,r14,0x4e90                             
 8040010:	29 d2 00 00 	lw r18,(r14+0)                                 
 8040014:	34 02 00 03 	mvi r2,3                                       
 8040018:	b8 20 58 00 	mv r11,r1                                      
 804001c:	fb ff 04 51 	calli 8001160 <__ashlsi3>                      
 8040020:	b5 61 08 00 	add r1,r11,r1                                  
 8040024:	b6 41 58 00 	add r11,r18,r1                                 
  rtems_libio_check_is_open(iop);                                     
 8040028:	29 6f 00 18 	lw r15,(r11+24)                                
 804002c:	21 e1 01 00 	andi r1,r15,0x100                              
 8040030:	44 20 ff ef 	be r1,r0,803ffec <fcntl+0x5c>                  <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
 8040034:	34 02 00 09 	mvi r2,9                                       
 8040038:	55 a2 00 5b 	bgu r13,r2,80401a4 <fcntl+0x214>               
 804003c:	78 0c 08 06 	mvhi r12,0x806                                 
 8040040:	b9 a0 08 00 	mv r1,r13                                      
 8040044:	34 02 00 02 	mvi r2,2                                       
 8040048:	fb ff 04 46 	calli 8001160 <__ashlsi3>                      
 804004c:	39 8c dd cc 	ori r12,r12,0xddcc                             
 8040050:	b5 81 08 00 	add r1,r12,r1                                  
 8040054:	28 21 00 00 	lw r1,(r1+0)                                   
 8040058:	c0 20 00 00 	b r1                                           
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    case F_GETOWN:       /*  for sockets. */                          
      errno = ENOTSUP;                                                
 804005c:	f8 00 1c d3 	calli 80473a8 <__errno>                        
 8040060:	34 02 00 86 	mvi r2,134                                     
 8040064:	58 22 00 00 	sw (r1+0),r2                                   
 8040068:	34 0c ff ff 	mvi r12,-1                                     
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
 804006c:	b9 80 08 00 	mv r1,r12                                      
 8040070:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8040074:	2b 8b 00 24 	lw r11,(sp+36)                                 
 8040078:	2b 8c 00 20 	lw r12,(sp+32)                                 
 804007c:	2b 8d 00 1c 	lw r13,(sp+28)                                 
 8040080:	2b 8e 00 18 	lw r14,(sp+24)                                 
 8040084:	2b 8f 00 14 	lw r15,(sp+20)                                 
 8040088:	2b 90 00 10 	lw r16,(sp+16)                                 
 804008c:	2b 91 00 0c 	lw r17,(sp+12)                                 
 8040090:	2b 92 00 08 	lw r18,(sp+8)                                  
 8040094:	37 9c 00 40 	addi sp,sp,64                                  
 8040098:	c3 a0 00 00 	ret                                            
    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 ) );           
 804009c:	2a 21 00 00 	lw r1,(r17+0)                                  
                                                                      
      /*                                                              
       *  XXX If we are turning on append, should we seek to the end? 
       */                                                             
                                                                      
      iop->flags = (iop->flags & ~mask) | (flags & mask);             
 80400a0:	34 0c 00 00 	mvi r12,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 ) );           
 80400a4:	fb ff 1a 12 	calli 80068ec <rtems_libio_fcntl_flags>        
                                                                      
      /*                                                              
       *  XXX If we are turning on append, should we seek to the end? 
       */                                                             
                                                                      
      iop->flags = (iop->flags & ~mask) | (flags & mask);             
 80400a8:	29 63 00 18 	lw r3,(r11+24)                                 
 80400ac:	34 02 fd fe 	mvi r2,-514                                    
 80400b0:	20 21 02 01 	andi r1,r1,0x201                               
 80400b4:	a0 62 10 00 	and r2,r3,r2                                   
 80400b8:	b8 22 08 00 	or r1,r1,r2                                    
 80400bc:	59 61 00 18 	sw (r11+24),r1                                 
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
    if (iop->handlers->fcntl_h) {                                     
 80400c0:	29 61 00 40 	lw r1,(r11+64)                                 
 80400c4:	28 23 00 30 	lw r3,(r1+48)                                  
 80400c8:	44 60 ff e9 	be r3,r0,804006c <fcntl+0xdc>                  <== NEVER TAKEN
      int err = (*iop->handlers->fcntl_h)( cmd, iop );                
 80400cc:	b9 60 10 00 	mv r2,r11                                      
 80400d0:	b9 a0 08 00 	mv r1,r13                                      
 80400d4:	d8 60 00 00 	call r3                                        
 80400d8:	b8 20 58 00 	mv r11,r1                                      
      if (err) {                                                      
 80400dc:	44 20 ff e4 	be r1,r0,804006c <fcntl+0xdc>                  <== ALWAYS TAKEN
        errno = err;                                                  
 80400e0:	f8 00 1c b2 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 80400e4:	58 2b 00 00 	sw (r1+0),r11                                  <== NOT EXECUTED
 80400e8:	34 0c ff ff 	mvi r12,-1                                     <== NOT EXECUTED
 80400ec:	e3 ff ff e0 	bi 804006c <fcntl+0xdc>                        <== NOT EXECUTED
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
      break;                                                          
                                                                      
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
 80400f0:	b9 e0 08 00 	mv r1,r15                                      
 80400f4:	fb ff 19 e1 	calli 8006878 <rtems_libio_to_fcntl_flags>     
 80400f8:	b8 20 60 00 	mv r12,r1                                      
  /*                                                                  
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
 80400fc:	48 0c ff dc 	bg r0,r12,804006c <fcntl+0xdc>                 <== NEVER TAKEN
 8040100:	e3 ff ff f0 	bi 80400c0 <fcntl+0x130>                       
       *  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 ) )                                        
 8040104:	2a 2c 00 00 	lw r12,(r17+0)                                 
 8040108:	45 80 00 2c 	be r12,r0,80401b8 <fcntl+0x228>                <== NEVER TAKEN
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
 804010c:	39 ef 08 00 	ori r15,r15,0x800                              
 8040110:	59 6f 00 18 	sw (r11+24),r15                                
 8040114:	34 0c 00 00 	mvi r12,0                                      
 8040118:	e3 ff ff ea 	bi 80400c0 <fcntl+0x130>                       
      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);          
 804011c:	b9 e0 08 00 	mv r1,r15                                      
 8040120:	34 02 00 0b 	mvi r2,11                                      
 8040124:	fb ff 04 37 	calli 8001200 <__lshrsi3>                      
 8040128:	20 2c 00 01 	andi r12,r1,0x1                                
 804012c:	e3 ff ff e5 	bi 80400c0 <fcntl+0x130>                       
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
 8040130:	2a 31 00 00 	lw r17,(r17+0)                                 
      if ( fd2 )                                                      
 8040134:	46 20 00 2f 	be r17,r0,80401f0 <fcntl+0x260>                <== ALWAYS TAKEN
        diop = rtems_libio_iop( fd2 );                                
 8040138:	56 11 00 24 	bgu r16,r17,80401c8 <fcntl+0x238>              <== NOT EXECUTED
 804013c:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 8040140:	b8 20 18 00 	mv r3,r1                                       <== NOT EXECUTED
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
 8040144:	29 62 00 1c 	lw r2,(r11+28)                                 
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
 8040148:	29 64 00 40 	lw r4,(r11+64)                                 
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
 804014c:	58 6f 00 18 	sw (r3+24),r15                                 
      diop->pathinfo   = iop->pathinfo;                               
 8040150:	58 62 00 1c 	sw (r3+28),r2                                  
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
 8040154:	58 64 00 40 	sw (r3+64),r4                                  
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
 8040158:	29 64 00 20 	lw r4,(r11+32)                                 
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
 804015c:	29 62 00 3c 	lw r2,(r11+60)                                 
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
 8040160:	c8 32 08 00 	sub r1,r1,r18                                  
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
 8040164:	58 64 00 20 	sw (r3+32),r4                                  
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
 8040168:	58 62 00 3c 	sw (r3+60),r2                                  
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
 804016c:	29 62 00 24 	lw r2,(r11+36)                                 
 8040170:	58 62 00 24 	sw (r3+36),r2                                  
 8040174:	29 64 00 28 	lw r4,(r11+40)                                 
      ret = (int) (diop - rtems_libio_iops);                          
 8040178:	34 02 00 03 	mvi r2,3                                       
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
 804017c:	58 64 00 28 	sw (r3+40),r4                                  
 8040180:	29 64 00 2c 	lw r4,(r11+44)                                 
 8040184:	58 64 00 2c 	sw (r3+44),r4                                  
      ret = (int) (diop - rtems_libio_iops);                          
 8040188:	fb ff 04 46 	calli 80012a0 <__ashrsi3>                      
 804018c:	78 02 38 e3 	mvhi r2,0x38e3                                 
 8040190:	38 42 8e 39 	ori r2,r2,0x8e39                               
 8040194:	fb ff 0d 0c 	calli 80035c4 <__mulsi3>                       
 8040198:	b8 20 60 00 	mv r12,r1                                      
  /*                                                                  
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
 804019c:	48 0c ff b4 	bg r0,r12,804006c <fcntl+0xdc>                 <== NEVER TAKEN
 80401a0:	e3 ff ff c8 	bi 80400c0 <fcntl+0x130>                       
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    default:                                                          
      errno = EINVAL;                                                 
 80401a4:	f8 00 1c 81 	calli 80473a8 <__errno>                        
 80401a8:	34 02 00 16 	mvi r2,22                                      
 80401ac:	58 22 00 00 	sw (r1+0),r2                                   
 80401b0:	34 0c ff ff 	mvi r12,-1                                     
 80401b4:	e3 ff ff ae 	bi 804006c <fcntl+0xdc>                        
       */                                                             
                                                                      
      if ( va_arg( ap, int ) )                                        
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
 80401b8:	34 01 f7 ff 	mvi r1,-2049                                   <== NOT EXECUTED
 80401bc:	a1 e1 78 00 	and r15,r15,r1                                 <== NOT EXECUTED
 80401c0:	59 6f 00 18 	sw (r11+24),r15                                <== NOT EXECUTED
 80401c4:	e3 ff ff bf 	bi 80400c0 <fcntl+0x130>                       <== NOT EXECUTED
                                                                      
  switch ( cmd ) {                                                    
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
      if ( fd2 )                                                      
        diop = rtems_libio_iop( fd2 );                                
 80401c8:	34 02 00 03 	mvi r2,3                                       <== NOT EXECUTED
 80401cc:	ba 20 08 00 	mv r1,r17                                      <== NOT EXECUTED
 80401d0:	fb ff 03 e4 	calli 8001160 <__ashlsi3>                      <== NOT EXECUTED
 80401d4:	34 02 00 03 	mvi r2,3                                       <== NOT EXECUTED
 80401d8:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
 80401dc:	fb ff 03 e1 	calli 8001160 <__ashlsi3>                      <== NOT EXECUTED
 80401e0:	b5 81 08 00 	add r1,r12,r1                                  <== NOT EXECUTED
 80401e4:	b6 41 18 00 	add r3,r18,r1                                  <== NOT EXECUTED
 80401e8:	b8 60 08 00 	mv r1,r3                                       <== NOT EXECUTED
 80401ec:	e3 ff ff d6 	bi 8040144 <fcntl+0x1b4>                       <== NOT EXECUTED
      else {                                                          
        /* allocate a file control block */                           
        diop = rtems_libio_allocate();                                
 80401f0:	fb ff 19 d4 	calli 8006940 <rtems_libio_allocate>           
 80401f4:	b8 20 18 00 	mv r3,r1                                       
        if ( diop == 0 ) {                                            
 80401f8:	34 0c ff ff 	mvi r12,-1                                     
 80401fc:	44 31 ff 9c 	be r1,r17,804006c <fcntl+0xdc>                 <== NEVER TAKEN
 8040200:	29 d2 00 00 	lw r18,(r14+0)                                 
 8040204:	29 6f 00 18 	lw r15,(r11+24)                                
 8040208:	e3 ff ff cf 	bi 8040144 <fcntl+0x1b4>                       
                                                                      
0800251c <fdatasync>:                                                 
#include <rtems/seterr.h>                                             
                                                                      
int fdatasync(                                                        
  int     fd                                                          
)                                                                     
{                                                                     
 800251c:	37 9c ff f4 	addi sp,sp,-12                                 
 8002520:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8002524:	5b 8c 00 08 	sw (sp+8),r12                                  
 8002528:	5b 9d 00 04 	sw (sp+4),ra                                   
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
 800252c:	78 02 08 02 	mvhi r2,0x802                                  
 8002530:	38 42 10 10 	ori r2,r2,0x1010                               
 8002534:	28 42 00 00 	lw r2,(r2+0)                                   
 8002538:	54 41 00 06 	bgu r2,r1,8002550 <fdatasync+0x34>             
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
 800253c:	f8 00 31 34 	calli 800ea0c <__errno>                        
 8002540:	34 02 00 09 	mvi r2,9                                       
 8002544:	58 22 00 00 	sw (r1+0),r2                                   
 8002548:	34 01 ff ff 	mvi r1,-1                                      
 800254c:	e0 00 00 14 	bi 800259c <fdatasync+0x80>                    
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
 8002550:	34 02 00 03 	mvi r2,3                                       
 8002554:	fb ff f9 9c 	calli 8000bc4 <__ashlsi3>                      
 8002558:	34 02 00 03 	mvi r2,3                                       
 800255c:	78 0b 08 02 	mvhi r11,0x802                                 
 8002560:	b8 20 60 00 	mv r12,r1                                      
 8002564:	39 6b 16 a4 	ori r11,r11,0x16a4                             
 8002568:	fb ff f9 97 	calli 8000bc4 <__ashlsi3>                      
 800256c:	29 62 00 00 	lw r2,(r11+0)                                  
 8002570:	b5 81 08 00 	add r1,r12,r1                                  
 8002574:	b4 41 08 00 	add r1,r2,r1                                   
  rtems_libio_check_is_open(iop);                                     
 8002578:	28 22 00 18 	lw r2,(r1+24)                                  
 800257c:	20 43 01 00 	andi r3,r2,0x100                               
 8002580:	44 60 ff ef 	be r3,r0,800253c <fdatasync+0x20>              <== NEVER TAKEN
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
 8002584:	20 42 00 04 	andi r2,r2,0x4                                 
 8002588:	44 40 00 0a 	be r2,r0,80025b0 <fdatasync+0x94>              
                                                                      
  /*                                                                  
   *  Now process the fdatasync().                                    
   */                                                                 
                                                                      
  if ( !iop->handlers->fdatasync_h )                                  
 800258c:	28 22 00 40 	lw r2,(r1+64)                                  
 8002590:	28 42 00 2c 	lw r2,(r2+44)                                  
 8002594:	44 40 00 0c 	be r2,r0,80025c4 <fdatasync+0xa8>              
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  return (*iop->handlers->fdatasync_h)( iop );                        
 8002598:	d8 40 00 00 	call r2                                        
}                                                                     
 800259c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80025a0:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 80025a4:	2b 8c 00 08 	lw r12,(sp+8)                                  
 80025a8:	37 9c 00 0c 	addi sp,sp,12                                  
 80025ac:	c3 a0 00 00 	ret                                            
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
 80025b0:	f8 00 31 17 	calli 800ea0c <__errno>                        
 80025b4:	34 02 00 16 	mvi r2,22                                      
 80025b8:	58 22 00 00 	sw (r1+0),r2                                   
 80025bc:	34 01 ff ff 	mvi r1,-1                                      
 80025c0:	e3 ff ff f7 	bi 800259c <fdatasync+0x80>                    
  /*                                                                  
   *  Now process the fdatasync().                                    
   */                                                                 
                                                                      
  if ( !iop->handlers->fdatasync_h )                                  
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 80025c4:	f8 00 31 12 	calli 800ea0c <__errno>                        
 80025c8:	34 02 00 86 	mvi r2,134                                     
 80025cc:	58 22 00 00 	sw (r1+0),r2                                   
 80025d0:	34 01 ff ff 	mvi r1,-1                                      
 80025d4:	e3 ff ff f2 	bi 800259c <fdatasync+0x80>                    
                                                                      
0800a3b4 <fifo_open>:                                                 
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
 800a3b4:	37 9c ff d8 	addi sp,sp,-40                                 
 800a3b8:	5b 8b 00 24 	sw (sp+36),r11                                 
 800a3bc:	5b 8c 00 20 	sw (sp+32),r12                                 
 800a3c0:	5b 8d 00 1c 	sw (sp+28),r13                                 
 800a3c4:	5b 8e 00 18 	sw (sp+24),r14                                 
 800a3c8:	5b 8f 00 14 	sw (sp+20),r15                                 
 800a3cc:	5b 90 00 10 	sw (sp+16),r16                                 
 800a3d0:	5b 91 00 0c 	sw (sp+12),r17                                 
 800a3d4:	5b 92 00 08 	sw (sp+8),r18                                  
 800a3d8:	5b 9d 00 04 	sw (sp+4),ra                                   
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  if (rtems_semaphore_obtain(rtems_pipe_semaphore,                    
 800a3dc:	78 0d 08 01 	mvhi r13,0x801                                 
 800a3e0:	39 ad c6 28 	ori r13,r13,0xc628                             
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
 800a3e4:	b8 20 70 00 	mv r14,r1                                      
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  if (rtems_semaphore_obtain(rtems_pipe_semaphore,                    
 800a3e8:	29 a1 00 00 	lw r1,(r13+0)                                  
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
 800a3ec:	b8 40 88 00 	mv r17,r2                                      
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  if (rtems_semaphore_obtain(rtems_pipe_semaphore,                    
 800a3f0:	34 02 00 00 	mvi r2,0                                       
 800a3f4:	b8 40 18 00 	mv r3,r2                                       
 800a3f8:	fb ff f7 d3 	calli 8008344 <rtems_semaphore_obtain>         
 800a3fc:	b8 20 58 00 	mv r11,r1                                      
 800a400:	34 0c ff fc 	mvi r12,-4                                     
 800a404:	5c 20 00 1b 	bne r1,r0,800a470 <fifo_open+0xbc>             <== ALWAYS TAKEN
        RTEMS_WAIT, RTEMS_NO_TIMEOUT) != RTEMS_SUCCESSFUL)            
    return -EINTR;                                                    
                                                                      
  pipe = *pipep;                                                      
 800a408:	29 cf 00 00 	lw r15,(r14+0)                                 <== NOT EXECUTED
  if (pipe == NULL) {                                                 
 800a40c:	45 e1 00 7c 	be r15,r1,800a5fc <fifo_open+0x248>            <== NOT EXECUTED
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
 800a410:	29 e1 00 28 	lw r1,(r15+40)                                 <== NOT EXECUTED
 800a414:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 800a418:	b8 40 18 00 	mv r3,r2                                       <== NOT EXECUTED
 800a41c:	fb ff f7 ca 	calli 8008344 <rtems_semaphore_obtain>         <== NOT EXECUTED
 800a420:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
 800a424:	44 20 00 02 	be r1,r0,800a42c <fifo_open+0x78>              <== NOT EXECUTED
 800a428:	34 0c ff fc 	mvi r12,-4                                     <== NOT EXECUTED
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
 800a42c:	29 c1 00 00 	lw r1,(r14+0)                                  <== NOT EXECUTED
 800a430:	44 20 00 3e 	be r1,r0,800a528 <fifo_open+0x174>             <== NOT EXECUTED
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  rtems_semaphore_release(rtems_pipe_semaphore);                      
 800a434:	29 a1 00 00 	lw r1,(r13+0)                                  <== NOT EXECUTED
 800a438:	fb ff f8 24 	calli 80084c8 <rtems_semaphore_release>        <== NOT EXECUTED
  pipe_control_t *pipe;                                               
  uint prevCounter;                                                   
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
 800a43c:	5d 80 00 0d 	bne r12,r0,800a470 <fifo_open+0xbc>            <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
 800a440:	2a 22 00 18 	lw r2,(r17+24)                                 <== NOT EXECUTED
 800a444:	34 03 00 04 	mvi r3,4                                       <== NOT EXECUTED
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
    return err;                                                       
  pipe = *pipep;                                                      
 800a448:	29 cb 00 00 	lw r11,(r14+0)                                 <== NOT EXECUTED
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
 800a44c:	20 41 00 06 	andi r1,r2,0x6                                 <== NOT EXECUTED
 800a450:	44 23 00 14 	be r1,r3,800a4a0 <fifo_open+0xec>              <== NOT EXECUTED
 800a454:	34 02 00 06 	mvi r2,6                                       <== NOT EXECUTED
 800a458:	44 22 00 57 	be r1,r2,800a5b4 <fifo_open+0x200>             <== NOT EXECUTED
 800a45c:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 800a460:	44 22 00 37 	be r1,r2,800a53c <fifo_open+0x188>             <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
 800a464:	29 61 00 28 	lw r1,(r11+40)                                 <== NOT EXECUTED
 800a468:	34 0c 00 00 	mvi r12,0                                      <== NOT EXECUTED
 800a46c:	fb ff f8 17 	calli 80084c8 <rtems_semaphore_release>        <== NOT EXECUTED
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
  return err;                                                         
}                                                                     
 800a470:	b9 80 08 00 	mv r1,r12                                      
 800a474:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800a478:	2b 8b 00 24 	lw r11,(sp+36)                                 
 800a47c:	2b 8c 00 20 	lw r12,(sp+32)                                 
 800a480:	2b 8d 00 1c 	lw r13,(sp+28)                                 
 800a484:	2b 8e 00 18 	lw r14,(sp+24)                                 
 800a488:	2b 8f 00 14 	lw r15,(sp+20)                                 
 800a48c:	2b 90 00 10 	lw r16,(sp+16)                                 
 800a490:	2b 91 00 0c 	lw r17,(sp+12)                                 
 800a494:	2b 92 00 08 	lw r18,(sp+8)                                  
 800a498:	37 9c 00 28 	addi sp,sp,40                                  
 800a49c:	c3 a0 00 00 	ret                                            
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
 800a4a0:	29 61 00 10 	lw r1,(r11+16)                                 <== NOT EXECUTED
 800a4a4:	5c 20 00 04 	bne r1,r0,800a4b4 <fifo_open+0x100>            <== NOT EXECUTED
 800a4a8:	20 42 00 01 	andi r2,r2,0x1                                 <== NOT EXECUTED
 800a4ac:	34 0c ff fa 	mvi r12,-6                                     <== NOT EXECUTED
 800a4b0:	5c 41 00 1a 	bne r2,r1,800a518 <fifo_open+0x164>            <== NOT EXECUTED
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      pipe->writerCounter ++;                                         
 800a4b4:	29 64 00 24 	lw r4,(r11+36)                                 <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
 800a4b8:	29 62 00 14 	lw r2,(r11+20)                                 <== NOT EXECUTED
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      pipe->writerCounter ++;                                         
 800a4bc:	34 84 00 01 	addi r4,r4,1                                   <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
 800a4c0:	34 43 00 01 	addi r3,r2,1                                   <== NOT EXECUTED
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      pipe->writerCounter ++;                                         
 800a4c4:	59 64 00 24 	sw (r11+36),r4                                 <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
 800a4c8:	59 63 00 14 	sw (r11+20),r3                                 <== NOT EXECUTED
 800a4cc:	44 40 00 96 	be r2,r0,800a724 <fifo_open+0x370>             <== NOT EXECUTED
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0) {                                       
 800a4d0:	5c 20 ff e5 	bne r1,r0,800a464 <fifo_open+0xb0>             <== NOT EXECUTED
        prevCounter = pipe->readerCounter;                            
 800a4d4:	29 6d 00 20 	lw r13,(r11+32)                                <== NOT EXECUTED
 800a4d8:	e0 00 00 06 	bi 800a4f0 <fifo_open+0x13c>                   <== NOT EXECUTED
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
 800a4dc:	29 61 00 28 	lw r1,(r11+40)                                 <== NOT EXECUTED
 800a4e0:	fb ff f7 99 	calli 8008344 <rtems_semaphore_obtain>         <== NOT EXECUTED
 800a4e4:	5c 2c 00 0c 	bne r1,r12,800a514 <fifo_open+0x160>           <== NOT EXECUTED
            goto out_error;                                           
        } while (prevCounter == pipe->readerCounter);                 
 800a4e8:	29 61 00 20 	lw r1,(r11+32)                                 <== NOT EXECUTED
 800a4ec:	5c 2d ff de 	bne r1,r13,800a464 <fifo_open+0xb0>            <== NOT EXECUTED
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
 800a4f0:	29 61 00 28 	lw r1,(r11+40)                                 <== NOT EXECUTED
 800a4f4:	fb ff f7 f5 	calli 80084c8 <rtems_semaphore_release>        <== NOT EXECUTED
          if (! PIPE_WRITEWAIT(pipe))                                 
 800a4f8:	29 61 00 30 	lw r1,(r11+48)                                 <== NOT EXECUTED
 800a4fc:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 800a500:	f8 00 02 2e 	calli 800adb8 <rtems_barrier_wait>             <== NOT EXECUTED
 800a504:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
 800a508:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
 800a50c:	b8 20 18 00 	mv r3,r1                                       <== NOT EXECUTED
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
 800a510:	44 20 ff f3 	be r1,r0,800a4dc <fifo_open+0x128>             <== NOT EXECUTED
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  return 0;                                                           
 800a514:	34 0c ff fc 	mvi r12,-4                                     <== NOT EXECUTED
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
 800a518:	b9 c0 08 00 	mv r1,r14                                      <== NOT EXECUTED
 800a51c:	ba 20 10 00 	mv r2,r17                                      <== NOT EXECUTED
 800a520:	fb ff ff 54 	calli 800a270 <pipe_release>                   <== NOT EXECUTED
  return err;                                                         
 800a524:	e3 ff ff d3 	bi 800a470 <fifo_open+0xbc>                    <== NOT EXECUTED
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
    if (err)                                                          
 800a528:	5d 81 00 8c 	bne r12,r1,800a758 <fifo_open+0x3a4>           <== NOT EXECUTED
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  rtems_semaphore_release(rtems_pipe_semaphore);                      
 800a52c:	29 a1 00 00 	lw r1,(r13+0)                                  <== NOT EXECUTED
                                                                      
  if (*pipep == NULL) {                                               
    if (err)                                                          
      pipe_free(pipe);                                                
    else                                                              
      *pipep = pipe;                                                  
 800a530:	59 cf 00 00 	sw (r14+0),r15                                 <== NOT EXECUTED
  }                                                                   
                                                                      
out:                                                                  
  rtems_semaphore_release(rtems_pipe_semaphore);                      
 800a534:	fb ff f7 e5 	calli 80084c8 <rtems_semaphore_release>        <== NOT EXECUTED
 800a538:	e3 ff ff c2 	bi 800a440 <fifo_open+0x8c>                    <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
 800a53c:	29 63 00 20 	lw r3,(r11+32)                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
 800a540:	29 61 00 10 	lw r1,(r11+16)                                 <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
 800a544:	34 63 00 01 	addi r3,r3,1                                   <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
 800a548:	34 22 00 01 	addi r2,r1,1                                   <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
 800a54c:	59 63 00 20 	sw (r11+32),r3                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
 800a550:	59 62 00 10 	sw (r11+16),r2                                 <== NOT EXECUTED
 800a554:	44 20 00 79 	be r1,r0,800a738 <fifo_open+0x384>             <== NOT EXECUTED
        PIPE_WAKEUPWRITERS(pipe);                                     
                                                                      
      if (pipe->Writers == 0) {                                       
 800a558:	29 61 00 14 	lw r1,(r11+20)                                 <== NOT EXECUTED
 800a55c:	5c 20 ff c2 	bne r1,r0,800a464 <fifo_open+0xb0>             <== NOT EXECUTED
        /* Not an error */                                            
        if (LIBIO_NODELAY(iop))                                       
 800a560:	2a 22 00 18 	lw r2,(r17+24)                                 <== NOT EXECUTED
 800a564:	20 42 00 01 	andi r2,r2,0x1                                 <== NOT EXECUTED
 800a568:	5c 41 ff bf 	bne r2,r1,800a464 <fifo_open+0xb0>             <== NOT EXECUTED
          break;                                                      
                                                                      
        prevCounter = pipe->writerCounter;                            
 800a56c:	29 6d 00 24 	lw r13,(r11+36)                                <== NOT EXECUTED
 800a570:	e0 00 00 06 	bi 800a588 <fifo_open+0x1d4>                   <== NOT EXECUTED
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_READWAIT(pipe))                                  
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
 800a574:	29 61 00 28 	lw r1,(r11+40)                                 <== NOT EXECUTED
 800a578:	fb ff f7 73 	calli 8008344 <rtems_semaphore_obtain>         <== NOT EXECUTED
 800a57c:	5c 2c ff e6 	bne r1,r12,800a514 <fifo_open+0x160>           <== NOT EXECUTED
            goto out_error;                                           
        } while (prevCounter == pipe->writerCounter);                 
 800a580:	29 61 00 24 	lw r1,(r11+36)                                 <== NOT EXECUTED
 800a584:	5c 2d ff b8 	bne r1,r13,800a464 <fifo_open+0xb0>            <== NOT EXECUTED
                                                                      
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
 800a588:	29 61 00 28 	lw r1,(r11+40)                                 <== NOT EXECUTED
 800a58c:	fb ff f7 cf 	calli 80084c8 <rtems_semaphore_release>        <== NOT EXECUTED
          if (! PIPE_READWAIT(pipe))                                  
 800a590:	29 61 00 2c 	lw r1,(r11+44)                                 <== NOT EXECUTED
 800a594:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 800a598:	f8 00 02 08 	calli 800adb8 <rtems_barrier_wait>             <== NOT EXECUTED
 800a59c:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
 800a5a0:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
 800a5a4:	b8 20 18 00 	mv r3,r1                                       <== NOT EXECUTED
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_READWAIT(pipe))                                  
 800a5a8:	44 20 ff f3 	be r1,r0,800a574 <fifo_open+0x1c0>             <== NOT EXECUTED
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  return 0;                                                           
 800a5ac:	34 0c ff fc 	mvi r12,-4                                     <== NOT EXECUTED
 800a5b0:	e3 ff ff da 	bi 800a518 <fifo_open+0x164>                   <== NOT EXECUTED
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
 800a5b4:	29 63 00 20 	lw r3,(r11+32)                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
 800a5b8:	29 61 00 10 	lw r1,(r11+16)                                 <== NOT EXECUTED
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
 800a5bc:	34 63 00 01 	addi r3,r3,1                                   <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
 800a5c0:	34 22 00 01 	addi r2,r1,1                                   <== NOT EXECUTED
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
 800a5c4:	59 63 00 20 	sw (r11+32),r3                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
 800a5c8:	59 62 00 10 	sw (r11+16),r2                                 <== NOT EXECUTED
 800a5cc:	44 20 00 5f 	be r1,r0,800a748 <fifo_open+0x394>             <== NOT EXECUTED
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
 800a5d0:	29 63 00 24 	lw r3,(r11+36)                                 <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
 800a5d4:	29 61 00 14 	lw r1,(r11+20)                                 <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
 800a5d8:	34 63 00 01 	addi r3,r3,1                                   <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
 800a5dc:	34 22 00 01 	addi r2,r1,1                                   <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
 800a5e0:	59 63 00 24 	sw (r11+36),r3                                 <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
 800a5e4:	59 62 00 14 	sw (r11+20),r2                                 <== NOT EXECUTED
 800a5e8:	5c 20 ff 9f 	bne r1,r0,800a464 <fifo_open+0xb0>             <== NOT EXECUTED
        PIPE_WAKEUPREADERS(pipe);                                     
 800a5ec:	29 61 00 2c 	lw r1,(r11+44)                                 <== NOT EXECUTED
 800a5f0:	37 82 00 28 	addi r2,sp,40                                  <== NOT EXECUTED
 800a5f4:	f8 00 01 d2 	calli 800ad3c <rtems_barrier_release>          <== NOT EXECUTED
 800a5f8:	e3 ff ff 9b 	bi 800a464 <fifo_open+0xb0>                    <== NOT EXECUTED
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
 800a5fc:	34 01 00 34 	mvi r1,52                                      <== NOT EXECUTED
 800a600:	fb ff f6 4b 	calli 8007f2c <malloc>                         <== NOT EXECUTED
 800a604:	b8 20 80 00 	mv r16,r1                                      <== NOT EXECUTED
 800a608:	b8 20 78 00 	mv r15,r1                                      <== NOT EXECUTED
  if (pipe == NULL)                                                   
 800a60c:	34 0c ff f4 	mvi r12,-12                                    <== NOT EXECUTED
 800a610:	44 20 ff 89 	be r1,r0,800a434 <fifo_open+0x80>              <== NOT EXECUTED
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
                                                                      
  pipe->Size = PIPE_BUF;                                              
 800a614:	34 02 02 00 	mvi r2,512                                     <== NOT EXECUTED
  pipe->Buffer = malloc(pipe->Size);                                  
 800a618:	b8 40 08 00 	mv r1,r2                                       <== NOT EXECUTED
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
  if (pipe == NULL)                                                   
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
 800a61c:	5a 0b 00 00 	sw (r16+0),r11                                 <== NOT EXECUTED
 800a620:	5a 0b 00 08 	sw (r16+8),r11                                 <== NOT EXECUTED
 800a624:	5a 0b 00 0c 	sw (r16+12),r11                                <== NOT EXECUTED
 800a628:	5a 0b 00 10 	sw (r16+16),r11                                <== NOT EXECUTED
 800a62c:	5a 0b 00 14 	sw (r16+20),r11                                <== NOT EXECUTED
 800a630:	5a 0b 00 18 	sw (r16+24),r11                                <== NOT EXECUTED
 800a634:	5a 0b 00 1c 	sw (r16+28),r11                                <== NOT EXECUTED
 800a638:	5a 0b 00 20 	sw (r16+32),r11                                <== NOT EXECUTED
 800a63c:	5a 0b 00 24 	sw (r16+36),r11                                <== NOT EXECUTED
 800a640:	5a 0b 00 28 	sw (r16+40),r11                                <== NOT EXECUTED
 800a644:	5a 0b 00 2c 	sw (r16+44),r11                                <== NOT EXECUTED
 800a648:	5a 0b 00 30 	sw (r16+48),r11                                <== NOT EXECUTED
                                                                      
  pipe->Size = PIPE_BUF;                                              
 800a64c:	5a 02 00 04 	sw (r16+4),r2                                  <== NOT EXECUTED
  pipe->Buffer = malloc(pipe->Size);                                  
 800a650:	fb ff f6 37 	calli 8007f2c <malloc>                         <== NOT EXECUTED
 800a654:	5a 01 00 00 	sw (r16+0),r1                                  <== NOT EXECUTED
  if (! pipe->Buffer)                                                 
 800a658:	44 20 00 30 	be r1,r0,800a718 <fifo_open+0x364>             <== NOT EXECUTED
    goto err_buf;                                                     
                                                                      
  err = -EINTR;                                                       
  if (rtems_barrier_create(                                           
 800a65c:	78 0c 08 01 	mvhi r12,0x801                                 <== NOT EXECUTED
 800a660:	39 8c c1 58 	ori r12,r12,0xc158                             <== NOT EXECUTED
 800a664:	41 83 00 00 	lbu r3,(r12+0)                                 <== NOT EXECUTED
 800a668:	78 01 50 49 	mvhi r1,0x5049                                 <== NOT EXECUTED
 800a66c:	38 21 72 00 	ori r1,r1,0x7200                               <== NOT EXECUTED
 800a670:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 800a674:	b8 61 08 00 	or r1,r3,r1                                    <== NOT EXECUTED
 800a678:	36 04 00 2c 	addi r4,r16,44                                 <== NOT EXECUTED
 800a67c:	b9 60 18 00 	mv r3,r11                                      <== NOT EXECUTED
 800a680:	f8 00 01 49 	calli 800aba4 <rtems_barrier_create>           <== NOT EXECUTED
 800a684:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
 800a688:	5c 20 00 21 	bne r1,r0,800a70c <fifo_open+0x358>            <== NOT EXECUTED
        rtems_build_name ('P', 'I', 'r', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->readBarrier) != RTEMS_SUCCESSFUL)                      
    goto err_rbar;                                                    
  if (rtems_barrier_create(                                           
 800a68c:	41 82 00 00 	lbu r2,(r12+0)                                 <== NOT EXECUTED
 800a690:	78 01 50 49 	mvhi r1,0x5049                                 <== NOT EXECUTED
 800a694:	38 21 77 00 	ori r1,r1,0x7700                               <== NOT EXECUTED
 800a698:	b8 41 08 00 	or r1,r2,r1                                    <== NOT EXECUTED
 800a69c:	b9 60 18 00 	mv r3,r11                                      <== NOT EXECUTED
 800a6a0:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 800a6a4:	36 04 00 30 	addi r4,r16,48                                 <== NOT EXECUTED
 800a6a8:	f8 00 01 3f 	calli 800aba4 <rtems_barrier_create>           <== NOT EXECUTED
 800a6ac:	b8 20 90 00 	mv r18,r1                                      <== NOT EXECUTED
 800a6b0:	5c 2b 00 15 	bne r1,r11,800a704 <fifo_open+0x350>           <== NOT EXECUTED
        rtems_build_name ('P', 'I', 'w', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->writeBarrier) != RTEMS_SUCCESSFUL)                     
    goto err_wbar;                                                    
  if (rtems_semaphore_create(                                         
 800a6b4:	41 82 00 00 	lbu r2,(r12+0)                                 <== NOT EXECUTED
 800a6b8:	78 01 50 49 	mvhi r1,0x5049                                 <== NOT EXECUTED
 800a6bc:	38 21 73 00 	ori r1,r1,0x7300                               <== NOT EXECUTED
 800a6c0:	b8 41 08 00 	or r1,r2,r1                                    <== NOT EXECUTED
 800a6c4:	34 03 00 10 	mvi r3,16                                      <== NOT EXECUTED
 800a6c8:	34 02 00 01 	mvi r2,1                                       <== NOT EXECUTED
 800a6cc:	ba 40 20 00 	mv r4,r18                                      <== NOT EXECUTED
 800a6d0:	36 05 00 28 	addi r5,r16,40                                 <== NOT EXECUTED
 800a6d4:	fb ff de bb 	calli 80021c0 <rtems_semaphore_create>         <== NOT EXECUTED
 800a6d8:	5c 32 00 09 	bne r1,r18,800a6fc <fifo_open+0x348>           <== NOT EXECUTED
#ifdef RTEMS_POSIX_API                                                
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
 800a6dc:	41 81 00 00 	lbu r1,(r12+0)                                 <== NOT EXECUTED
 800a6e0:	34 22 00 01 	addi r2,r1,1                                   <== NOT EXECUTED
 800a6e4:	31 82 00 00 	sb (r12+0),r2                                  <== NOT EXECUTED
 800a6e8:	34 02 00 7a 	mvi r2,122                                     <== NOT EXECUTED
 800a6ec:	5c 22 ff 49 	bne r1,r2,800a410 <fifo_open+0x5c>             <== NOT EXECUTED
    c = 'a';                                                          
 800a6f0:	34 01 00 61 	mvi r1,97                                      <== NOT EXECUTED
 800a6f4:	31 81 00 00 	sb (r12+0),r1                                  <== NOT EXECUTED
 800a6f8:	e3 ff ff 46 	bi 800a410 <fifo_open+0x5c>                    <== NOT EXECUTED
  return 0;                                                           
                                                                      
err_sem:                                                              
  rtems_barrier_delete(pipe->writeBarrier);                           
 800a6fc:	2a 01 00 30 	lw r1,(r16+48)                                 <== NOT EXECUTED
 800a700:	f8 00 01 6f 	calli 800acbc <rtems_barrier_delete>           <== NOT EXECUTED
err_wbar:                                                             
  rtems_barrier_delete(pipe->readBarrier);                            
 800a704:	2a 01 00 2c 	lw r1,(r16+44)                                 <== NOT EXECUTED
 800a708:	f8 00 01 6d 	calli 800acbc <rtems_barrier_delete>           <== NOT EXECUTED
err_rbar:                                                             
  free(pipe->Buffer);                                                 
 800a70c:	2a 01 00 00 	lw r1,(r16+0)                                  <== NOT EXECUTED
 800a710:	34 0c ff fc 	mvi r12,-4                                     <== NOT EXECUTED
 800a714:	fb ff f4 4e 	calli 800784c <free>                           <== NOT EXECUTED
err_buf:                                                              
  free(pipe);                                                         
 800a718:	ba 00 08 00 	mv r1,r16                                      <== NOT EXECUTED
 800a71c:	fb ff f4 4c 	calli 800784c <free>                           <== NOT EXECUTED
 800a720:	e3 ff ff 45 	bi 800a434 <fifo_open+0x80>                    <== NOT EXECUTED
        goto out_error;                                               
      }                                                               
                                                                      
      pipe->writerCounter ++;                                         
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
 800a724:	29 61 00 2c 	lw r1,(r11+44)                                 <== NOT EXECUTED
 800a728:	37 82 00 28 	addi r2,sp,40                                  <== NOT EXECUTED
 800a72c:	f8 00 01 84 	calli 800ad3c <rtems_barrier_release>          <== NOT EXECUTED
 800a730:	29 61 00 10 	lw r1,(r11+16)                                 <== NOT EXECUTED
 800a734:	e3 ff ff 67 	bi 800a4d0 <fifo_open+0x11c>                   <== NOT EXECUTED
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
 800a738:	29 61 00 30 	lw r1,(r11+48)                                 <== NOT EXECUTED
 800a73c:	37 82 00 28 	addi r2,sp,40                                  <== NOT EXECUTED
 800a740:	f8 00 01 7f 	calli 800ad3c <rtems_barrier_release>          <== NOT EXECUTED
 800a744:	e3 ff ff 85 	bi 800a558 <fifo_open+0x1a4>                   <== NOT EXECUTED
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
 800a748:	29 61 00 30 	lw r1,(r11+48)                                 <== NOT EXECUTED
 800a74c:	37 82 00 28 	addi r2,sp,40                                  <== NOT EXECUTED
 800a750:	f8 00 01 7b 	calli 800ad3c <rtems_barrier_release>          <== NOT EXECUTED
 800a754:	e3 ff ff 9f 	bi 800a5d0 <fifo_open+0x21c>                   <== NOT EXECUTED
/* Called with rtems_pipe_semaphore held. */                          
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
 800a758:	29 e1 00 2c 	lw r1,(r15+44)                                 <== NOT EXECUTED
 800a75c:	f8 00 01 58 	calli 800acbc <rtems_barrier_delete>           <== NOT EXECUTED
  rtems_barrier_delete(pipe->writeBarrier);                           
 800a760:	29 e1 00 30 	lw r1,(r15+48)                                 <== NOT EXECUTED
 800a764:	f8 00 01 56 	calli 800acbc <rtems_barrier_delete>           <== NOT EXECUTED
  rtems_semaphore_delete(pipe->Semaphore);                            
 800a768:	29 e1 00 28 	lw r1,(r15+40)                                 <== NOT EXECUTED
 800a76c:	fb ff f6 b3 	calli 8008238 <rtems_semaphore_delete>         <== NOT EXECUTED
  free(pipe->Buffer);                                                 
 800a770:	29 e1 00 00 	lw r1,(r15+0)                                  <== NOT EXECUTED
 800a774:	fb ff f4 36 	calli 800784c <free>                           <== NOT EXECUTED
  free(pipe);                                                         
 800a778:	b9 e0 08 00 	mv r1,r15                                      <== NOT EXECUTED
 800a77c:	fb ff f4 34 	calli 800784c <free>                           <== NOT EXECUTED
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  rtems_semaphore_release(rtems_pipe_semaphore);                      
 800a780:	29 a1 00 00 	lw r1,(r13+0)                                  <== NOT EXECUTED
 800a784:	fb ff f7 51 	calli 80084c8 <rtems_semaphore_release>        <== NOT EXECUTED
 800a788:	e3 ff ff 3a 	bi 800a470 <fifo_open+0xbc>                    <== NOT EXECUTED
                                                                      
0802b738 <file_systems_below_this_mountpoint>:                        
  /*                                                                  
   * Search the mount table for any mount entries referencing this    
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
 802b738:	78 03 08 07 	mvhi r3,0x807                                  <== NOT EXECUTED
 802b73c:	38 63 4e d8 	ori r3,r3,0x4ed8                               <== NOT EXECUTED
 802b740:	28 61 00 00 	lw r1,(r3+0)                                   <== NOT EXECUTED
 802b744:	34 63 00 04 	addi r3,r3,4                                   <== NOT EXECUTED
 802b748:	44 23 00 09 	be r1,r3,802b76c <file_systems_below_this_mountpoint+0x34><== NOT EXECUTED
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
     the_mount_entry = ( rtems_filesystem_mount_table_entry_t * )the_node;
     if (the_mount_entry->mt_point_node.mt_entry  == fs_root_loc->mt_entry ) {
 802b74c:	28 42 00 10 	lw r2,(r2+16)                                  <== NOT EXECUTED
 802b750:	28 24 00 18 	lw r4,(r1+24)                                  <== NOT EXECUTED
 802b754:	5c 82 00 04 	bne r4,r2,802b764 <file_systems_below_this_mountpoint+0x2c><== NOT EXECUTED
 802b758:	e0 00 00 07 	bi 802b774 <file_systems_below_this_mountpoint+0x3c><== NOT EXECUTED
 802b75c:	28 24 00 18 	lw r4,(r1+24)                                  <== NOT EXECUTED
 802b760:	44 82 00 05 	be r4,r2,802b774 <file_systems_below_this_mountpoint+0x3c><== NOT EXECUTED
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
 802b764:	28 21 00 00 	lw r1,(r1+0)                                   <== NOT EXECUTED
  /*                                                                  
   * Search the mount table for any mount entries referencing this    
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
 802b768:	5c 23 ff fd 	bne r1,r3,802b75c <file_systems_below_this_mountpoint+0x24><== NOT EXECUTED
 802b76c:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
        return true;                                                  
     }                                                                
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
 802b770:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
  /*                                                                  
   * Search the mount table for any mount entries referencing this    
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
 802b774:	34 01 00 01 	mvi r1,1                                       <== NOT EXECUTED
 802b778:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
080025d8 <fpathconf>:                                                 
                                                                      
long fpathconf(                                                       
  int   fd,                                                           
  int   name                                                          
)                                                                     
{                                                                     
 80025d8:	37 9c ff f0 	addi sp,sp,-16                                 
 80025dc:	5b 8b 00 10 	sw (sp+16),r11                                 
 80025e0:	5b 8c 00 0c 	sw (sp+12),r12                                 
 80025e4:	5b 8d 00 08 	sw (sp+8),r13                                  
 80025e8:	5b 9d 00 04 	sw (sp+4),ra                                   
  long                                    return_value;               
  rtems_libio_t                          *iop;                        
  rtems_filesystem_limits_and_options_t  *the_limits;                 
                                                                      
  rtems_libio_check_fd(fd);                                           
 80025ec:	78 03 08 02 	mvhi r3,0x802                                  
 80025f0:	38 63 10 10 	ori r3,r3,0x1010                               
 80025f4:	28 63 00 00 	lw r3,(r3+0)                                   
                                                                      
long fpathconf(                                                       
  int   fd,                                                           
  int   name                                                          
)                                                                     
{                                                                     
 80025f8:	b8 40 60 00 	mv r12,r2                                      
  long                                    return_value;               
  rtems_libio_t                          *iop;                        
  rtems_filesystem_limits_and_options_t  *the_limits;                 
                                                                      
  rtems_libio_check_fd(fd);                                           
 80025fc:	54 61 00 06 	bgu r3,r1,8002614 <fpathconf+0x3c>             
  iop = rtems_libio_iop(fd);                                          
  rtems_libio_check_is_open(iop);                                     
 8002600:	f8 00 31 03 	calli 800ea0c <__errno>                        
 8002604:	34 02 00 09 	mvi r2,9                                       
 8002608:	58 22 00 00 	sw (r1+0),r2                                   
 800260c:	34 01 ff ff 	mvi r1,-1                                      
 8002610:	e0 00 00 1c 	bi 8002680 <fpathconf+0xa8>                    
  long                                    return_value;               
  rtems_libio_t                          *iop;                        
  rtems_filesystem_limits_and_options_t  *the_limits;                 
                                                                      
  rtems_libio_check_fd(fd);                                           
  iop = rtems_libio_iop(fd);                                          
 8002614:	34 02 00 03 	mvi r2,3                                       
 8002618:	fb ff f9 6b 	calli 8000bc4 <__ashlsi3>                      
 800261c:	34 02 00 03 	mvi r2,3                                       
 8002620:	78 0b 08 02 	mvhi r11,0x802                                 
 8002624:	b8 20 68 00 	mv r13,r1                                      
 8002628:	39 6b 16 a4 	ori r11,r11,0x16a4                             
 800262c:	fb ff f9 66 	calli 8000bc4 <__ashlsi3>                      
 8002630:	29 62 00 00 	lw r2,(r11+0)                                  
 8002634:	b5 a1 08 00 	add r1,r13,r1                                  
 8002638:	b4 41 08 00 	add r1,r2,r1                                   
  rtems_libio_check_is_open(iop);                                     
 800263c:	28 22 00 18 	lw r2,(r1+24)                                  
 8002640:	20 43 01 00 	andi r3,r2,0x100                               
 8002644:	44 60 ff ef 	be r3,r0,8002600 <fpathconf+0x28>              <== NEVER TAKEN
  rtems_libio_check_permissions(iop, LIBIO_FLAGS_READ);               
 8002648:	20 42 00 02 	andi r2,r2,0x2                                 
 800264c:	44 40 00 29 	be r2,r0,80026f0 <fpathconf+0x118>             <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
 8002650:	28 2b 00 2c 	lw r11,(r1+44)                                 
                                                                      
  switch ( name ) {                                                   
 8002654:	34 01 00 0b 	mvi r1,11                                      
 8002658:	55 81 00 26 	bgu r12,r1,80026f0 <fpathconf+0x118>           
 800265c:	b9 80 08 00 	mv r1,r12                                      
 8002660:	34 02 00 02 	mvi r2,2                                       
 8002664:	78 0c 08 01 	mvhi r12,0x801                                 
 8002668:	fb ff f9 57 	calli 8000bc4 <__ashlsi3>                      
 800266c:	39 8c f3 5c 	ori r12,r12,0xf35c                             
 8002670:	b5 81 08 00 	add r1,r12,r1                                  
 8002674:	28 21 00 00 	lw r1,(r1+0)                                   
 8002678:	c0 20 00 00 	b r1                                           
      break;                                                          
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
      break;                                                          
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
 800267c:	29 61 00 5c 	lw r1,(r11+92)                                 
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
 8002680:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8002684:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8002688:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 800268c:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8002690:	37 9c 00 10 	addi sp,sp,16                                  
 8002694:	c3 a0 00 00 	ret                                            
      break;                                                          
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
      break;                                                          
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
 8002698:	29 61 00 50 	lw r1,(r11+80)                                 
      break;                                                          
 800269c:	e3 ff ff f9 	bi 8002680 <fpathconf+0xa8>                    
      break;                                                          
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
      break;                                                          
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
 80026a0:	29 61 00 64 	lw r1,(r11+100)                                
      break;                                                          
 80026a4:	e3 ff ff f7 	bi 8002680 <fpathconf+0xa8>                    
      break;                                                          
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
      break;                                                          
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
 80026a8:	29 61 00 58 	lw r1,(r11+88)                                 
      break;                                                          
 80026ac:	e3 ff ff f5 	bi 8002680 <fpathconf+0xa8>                    
      break;                                                          
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
      break;                                                          
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
 80026b0:	29 61 00 54 	lw r1,(r11+84)                                 
      break;                                                          
 80026b4:	e3 ff ff f3 	bi 8002680 <fpathconf+0xa8>                    
      break;                                                          
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
      break;                                                          
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
 80026b8:	29 61 00 4c 	lw r1,(r11+76)                                 
      break;                                                          
 80026bc:	e3 ff ff f1 	bi 8002680 <fpathconf+0xa8>                    
      break;                                                          
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
      break;                                                          
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
 80026c0:	29 61 00 48 	lw r1,(r11+72)                                 
      break;                                                          
 80026c4:	e3 ff ff ef 	bi 8002680 <fpathconf+0xa8>                    
      break;                                                          
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
      break;                                                          
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
 80026c8:	29 61 00 44 	lw r1,(r11+68)                                 
      break;                                                          
 80026cc:	e3 ff ff ed 	bi 8002680 <fpathconf+0xa8>                    
      break;                                                          
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
      break;                                                          
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
 80026d0:	29 61 00 40 	lw r1,(r11+64)                                 
      break;                                                          
 80026d4:	e3 ff ff eb 	bi 8002680 <fpathconf+0xa8>                    
  switch ( name ) {                                                   
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
      break;                                                          
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
 80026d8:	29 61 00 3c 	lw r1,(r11+60)                                 
      break;                                                          
 80026dc:	e3 ff ff e9 	bi 8002680 <fpathconf+0xa8>                    
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
                                                                      
  switch ( name ) {                                                   
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
 80026e0:	29 61 00 38 	lw r1,(r11+56)                                 
      break;                                                          
 80026e4:	e3 ff ff e7 	bi 8002680 <fpathconf+0xa8>                    
      break;                                                          
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
      break;                                                          
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
 80026e8:	29 61 00 60 	lw r1,(r11+96)                                 
      break;                                                          
 80026ec:	e3 ff ff e5 	bi 8002680 <fpathconf+0xa8>                    
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 80026f0:	f8 00 30 c7 	calli 800ea0c <__errno>                        
 80026f4:	34 02 00 16 	mvi r2,22                                      
 80026f8:	58 22 00 00 	sw (r1+0),r2                                   
 80026fc:	34 01 ff ff 	mvi r1,-1                                      
 8002700:	e3 ff ff e0 	bi 8002680 <fpathconf+0xa8>                    
                                                                      
0800784c <free>:                                                      
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
  MSBUMP(free_calls, 1);                                              
 800784c:	37 9c ff f4 	addi sp,sp,-12                                 
 8007850:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8007854:	5b 8c 00 08 	sw (sp+8),r12                                  
 8007858:	5b 9d 00 04 	sw (sp+4),ra                                   
 800785c:	78 03 08 01 	mvhi r3,0x801                                  
 8007860:	38 63 c6 a8 	ori r3,r3,0xc6a8                               
 8007864:	28 62 00 0c 	lw r2,(r3+12)                                  
 8007868:	b8 20 58 00 	mv r11,r1                                      
 800786c:	34 41 00 01 	addi r1,r2,1                                   
 8007870:	58 61 00 0c 	sw (r3+12),r1                                  
                                                                      
  if ( !ptr )                                                         
 8007874:	45 60 00 1a 	be r11,r0,80078dc <free+0x90>                  
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
                                                                      
  if ( _System_state_Is_up(_System_state_Get()) &&                    
 8007878:	78 01 08 01 	mvhi r1,0x801                                  
 800787c:	38 21 c9 c0 	ori r1,r1,0xc9c0                               
 8007880:	28 22 00 00 	lw r2,(r1+0)                                   
 8007884:	34 01 00 03 	mvi r1,3                                       
 8007888:	44 41 00 1a 	be r2,r1,80078f0 <free+0xa4>                   <== ALWAYS TAKEN
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
 800788c:	78 01 08 01 	mvhi r1,0x801                                  
 8007890:	38 21 c6 10 	ori r1,r1,0xc610                               
 8007894:	28 21 00 00 	lw r1,(r1+0)                                   
 8007898:	44 20 00 04 	be r1,r0,80078a8 <free+0x5c>                   <== ALWAYS TAKEN
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
 800789c:	28 22 00 08 	lw r2,(r1+8)                                   <== NOT EXECUTED
 80078a0:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 80078a4:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
 80078a8:	78 0c 08 01 	mvhi r12,0x801                                 
 80078ac:	39 8c c0 1c 	ori r12,r12,0xc01c                             
 80078b0:	29 81 00 00 	lw r1,(r12+0)                                  
 80078b4:	b9 60 10 00 	mv r2,r11                                      
 80078b8:	f8 00 06 e0 	calli 8009438 <_Protected_heap_Free>           
 80078bc:	5c 20 00 08 	bne r1,r0,80078dc <free+0x90>                  <== ALWAYS TAKEN
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
      ptr,                                                            
      RTEMS_Malloc_Heap->area_begin,                                  
 80078c0:	29 82 00 00 	lw r2,(r12+0)                                  <== NOT EXECUTED
   */                                                                 
  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",
 80078c4:	78 01 08 01 	mvhi r1,0x801                                  <== NOT EXECUTED
 80078c8:	38 21 b3 e4 	ori r1,r1,0xb3e4                               <== NOT EXECUTED
 80078cc:	28 44 00 1c 	lw r4,(r2+28)                                  <== NOT EXECUTED
 80078d0:	28 43 00 18 	lw r3,(r2+24)                                  <== NOT EXECUTED
 80078d4:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 80078d8:	fb ff e9 0b 	calli 8001d04 <printk>                         <== NOT EXECUTED
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
 80078dc:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80078e0:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 80078e4:	2b 8c 00 08 	lw r12,(sp+8)                                  
 80078e8:	37 9c 00 0c 	addi sp,sp,12                                  
 80078ec:	c3 a0 00 00 	ret                                            
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
                                                                      
  if ( _System_state_Is_up(_System_state_Get()) &&                    
 80078f0:	f8 00 01 66 	calli 8007e88 <malloc_is_system_state_OK>      
 80078f4:	5c 20 ff e6 	bne r1,r0,800788c <free+0x40>                  <== ALWAYS TAKEN
       !malloc_is_system_state_OK() ) {                               
      malloc_deferred_free(ptr);                                      
 80078f8:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 80078fc:	f8 00 01 75 	calli 8007ed0 <malloc_deferred_free>           <== NOT EXECUTED
      return;                                                         
 8007900:	e3 ff ff f7 	bi 80078dc <free+0x90>                         <== NOT EXECUTED
                                                                      
0802abd4 <free_user_env>:                                             
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
 802abd4:	37 9c ff f8 	addi sp,sp,-8                                  <== NOT EXECUTED
 802abd8:	5b 8b 00 08 	sw (sp+8),r11                                  <== NOT EXECUTED
 802abdc:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
	if (env != &rtems_global_user_env                                    
 802abe0:	78 02 08 07 	mvhi r2,0x807                                  <== NOT EXECUTED
 802abe4:	38 42 4e e4 	ori r2,r2,0x4ee4                               <== NOT EXECUTED
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
 802abe8:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
	if (env != &rtems_global_user_env                                    
 802abec:	44 22 00 0f 	be r1,r2,802ac28 <free_user_env+0x54>          <== NOT EXECUTED
#ifdef HAVE_USERENV_REFCNT                                            
		&& --env->refcnt <= 0                                               
#endif                                                                
		) {                                                                 
		rtems_filesystem_freenode( &env->current_directory);                
 802abf0:	28 21 00 10 	lw r1,(r1+16)                                  <== NOT EXECUTED
 802abf4:	44 20 00 05 	be r1,r0,802ac08 <free_user_env+0x34>          <== NOT EXECUTED
 802abf8:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 802abfc:	44 40 00 03 	be r2,r0,802ac08 <free_user_env+0x34>          <== NOT EXECUTED
 802ac00:	35 61 00 04 	addi r1,r11,4                                  <== NOT EXECUTED
 802ac04:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
		rtems_filesystem_freenode( &env->root_directory);                   
 802ac08:	29 61 00 24 	lw r1,(r11+36)                                 <== NOT EXECUTED
 802ac0c:	44 20 00 05 	be r1,r0,802ac20 <free_user_env+0x4c>          <== NOT EXECUTED
 802ac10:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 802ac14:	44 40 00 03 	be r2,r0,802ac20 <free_user_env+0x4c>          <== NOT EXECUTED
 802ac18:	35 61 00 18 	addi r1,r11,24                                 <== NOT EXECUTED
 802ac1c:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
		free(env);                                                          
 802ac20:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 802ac24:	fb ff 6e 74 	calli 80065f4 <free>                           <== NOT EXECUTED
	}                                                                    
}                                                                     
 802ac28:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 802ac2c:	2b 8b 00 08 	lw r11,(sp+8)                                  <== NOT EXECUTED
 802ac30:	37 9c 00 08 	addi sp,sp,8                                   <== NOT EXECUTED
 802ac34:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08019f94 <fstat>:                                                     
                                                                      
int fstat(                                                            
  int          fd,                                                    
  struct stat *sbuf                                                   
)                                                                     
{                                                                     
 8019f94:	37 9c ff ec 	addi sp,sp,-20                                 
 8019f98:	5b 8b 00 14 	sw (sp+20),r11                                 
 8019f9c:	5b 8c 00 10 	sw (sp+16),r12                                 
 8019fa0:	5b 8d 00 0c 	sw (sp+12),r13                                 
 8019fa4:	5b 8e 00 08 	sw (sp+8),r14                                  
 8019fa8:	5b 9d 00 04 	sw (sp+4),ra                                   
 8019fac:	b8 40 60 00 	mv r12,r2                                      
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !sbuf )                                                        
 8019fb0:	45 80 00 30 	be r12,r0,801a070 <fstat+0xdc>                 
                                                                      
  /*                                                                  
   *  Now process the stat() request.                                 
   */                                                                 
                                                                      
  iop = rtems_libio_iop( fd );                                        
 8019fb4:	78 03 08 01 	mvhi r3,0x801                                  
 8019fb8:	38 63 c0 10 	ori r3,r3,0xc010                               
 8019fbc:	28 63 00 00 	lw r3,(r3+0)                                   
 8019fc0:	50 23 00 22 	bgeu r1,r3,801a048 <fstat+0xb4>                
 8019fc4:	34 02 00 03 	mvi r2,3                                       
 8019fc8:	fb ff 98 8a 	calli 80001f0 <__ashlsi3>                      
 8019fcc:	78 0d 08 01 	mvhi r13,0x801                                 
 8019fd0:	39 ad c6 9c 	ori r13,r13,0xc69c                             
 8019fd4:	34 02 00 03 	mvi r2,3                                       
 8019fd8:	b8 20 70 00 	mv r14,r1                                      
 8019fdc:	fb ff 98 85 	calli 80001f0 <__ashlsi3>                      
 8019fe0:	29 ab 00 00 	lw r11,(r13+0)                                 
 8019fe4:	b5 c1 08 00 	add r1,r14,r1                                  
 8019fe8:	b5 61 58 00 	add r11,r11,r1                                 
  rtems_libio_check_fd( fd );                                         
  rtems_libio_check_is_open(iop);                                     
 8019fec:	29 61 00 18 	lw r1,(r11+24)                                 
 8019ff0:	20 21 01 00 	andi r1,r1,0x100                               
 8019ff4:	44 20 00 15 	be r1,r0,801a048 <fstat+0xb4>                  <== NEVER TAKEN
                                                                      
  if ( !iop->handlers )                                               
 8019ff8:	29 61 00 40 	lw r1,(r11+64)                                 
 8019ffc:	44 20 00 13 	be r1,r0,801a048 <fstat+0xb4>                  <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EBADF );                    
                                                                      
  if ( !iop->handlers->fstat_h )                                      
 801a000:	28 21 00 18 	lw r1,(r1+24)                                  
 801a004:	44 20 00 16 	be r1,r0,801a05c <fstat+0xc8>                  <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
 801a008:	34 02 00 00 	mvi r2,0                                       
 801a00c:	34 03 00 48 	mvi r3,72                                      
 801a010:	b9 80 08 00 	mv r1,r12                                      
 801a014:	fb ff ca 00 	calli 800c814 <memset>                         
                                                                      
  return (*iop->handlers->fstat_h)( &iop->pathinfo, sbuf );           
 801a018:	29 63 00 40 	lw r3,(r11+64)                                 
 801a01c:	35 61 00 1c 	addi r1,r11,28                                 
 801a020:	b9 80 10 00 	mv r2,r12                                      
 801a024:	28 63 00 18 	lw r3,(r3+24)                                  
 801a028:	d8 60 00 00 	call r3                                        
}                                                                     
 801a02c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 801a030:	2b 8b 00 14 	lw r11,(sp+20)                                 
 801a034:	2b 8c 00 10 	lw r12,(sp+16)                                 
 801a038:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 801a03c:	2b 8e 00 08 	lw r14,(sp+8)                                  
 801a040:	37 9c 00 14 	addi sp,sp,20                                  
 801a044:	c3 a0 00 00 	ret                                            
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_fd( fd );                                         
  rtems_libio_check_is_open(iop);                                     
                                                                      
  if ( !iop->handlers )                                               
    rtems_set_errno_and_return_minus_one( EBADF );                    
 801a048:	fb ff c6 ef 	calli 800bc04 <__errno>                        
 801a04c:	34 02 00 09 	mvi r2,9                                       
 801a050:	58 22 00 00 	sw (r1+0),r2                                   
 801a054:	34 01 ff ff 	mvi r1,-1                                      
 801a058:	e3 ff ff f5 	bi 801a02c <fstat+0x98>                        
                                                                      
  if ( !iop->handlers->fstat_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 801a05c:	fb ff c6 ea 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 801a060:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 801a064:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 801a068:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 801a06c:	e3 ff ff f0 	bi 801a02c <fstat+0x98>                        <== NOT EXECUTED
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !sbuf )                                                        
    rtems_set_errno_and_return_minus_one( EFAULT );                   
 801a070:	fb ff c6 e5 	calli 800bc04 <__errno>                        
 801a074:	34 02 00 0e 	mvi r2,14                                      
 801a078:	58 22 00 00 	sw (r1+0),r2                                   
 801a07c:	34 01 ff ff 	mvi r1,-1                                      
 801a080:	e3 ff ff eb 	bi 801a02c <fstat+0x98>                        
                                                                      
08029438 <fsync>:                                                     
#include <rtems/seterr.h>                                             
                                                                      
int fsync(                                                            
  int     fd                                                          
)                                                                     
{                                                                     
 8029438:	37 9c ff f4 	addi sp,sp,-12                                 
 802943c:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8029440:	5b 8c 00 08 	sw (sp+8),r12                                  
 8029444:	5b 9d 00 04 	sw (sp+4),ra                                   
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
 8029448:	78 02 08 07 	mvhi r2,0x807                                  
 802944c:	38 42 10 10 	ori r2,r2,0x1010                               
 8029450:	28 42 00 00 	lw r2,(r2+0)                                   
 8029454:	54 41 00 06 	bgu r2,r1,802946c <fsync+0x34>                 <== ALWAYS TAKEN
  /*                                                                  
   *  Now process the fsync().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
    rtems_set_errno_and_return_minus_one( EBADF );                    
 8029458:	f8 00 77 d4 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 802945c:	34 02 00 09 	mvi r2,9                                       <== NOT EXECUTED
 8029460:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8029464:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8029468:	e0 00 00 15 	bi 80294bc <fsync+0x84>                        <== NOT EXECUTED
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
 802946c:	34 02 00 03 	mvi r2,3                                       
 8029470:	fb ff 5f 3c 	calli 8001160 <__ashlsi3>                      
 8029474:	34 02 00 03 	mvi r2,3                                       
 8029478:	78 0b 08 07 	mvhi r11,0x807                                 
 802947c:	b8 20 60 00 	mv r12,r1                                      
 8029480:	39 6b 4e 90 	ori r11,r11,0x4e90                             
 8029484:	fb ff 5f 37 	calli 8001160 <__ashlsi3>                      
 8029488:	29 62 00 00 	lw r2,(r11+0)                                  
 802948c:	b5 81 08 00 	add r1,r12,r1                                  
 8029490:	b4 41 08 00 	add r1,r2,r1                                   
  rtems_libio_check_is_open(iop);                                     
 8029494:	28 22 00 18 	lw r2,(r1+24)                                  
 8029498:	20 43 01 00 	andi r3,r2,0x100                               
 802949c:	44 60 ff ef 	be r3,r0,8029458 <fsync+0x20>                  <== NEVER TAKEN
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
 80294a0:	20 42 00 04 	andi r2,r2,0x4                                 
 80294a4:	44 40 00 0b 	be r2,r0,80294d0 <fsync+0x98>                  
                                                                      
  /*                                                                  
   *  Now process the fsync().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
 80294a8:	28 22 00 40 	lw r2,(r1+64)                                  
 80294ac:	44 40 ff eb 	be r2,r0,8029458 <fsync+0x20>                  <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EBADF );                    
                                                                      
  if ( !iop->handlers->fsync_h )                                      
 80294b0:	28 42 00 28 	lw r2,(r2+40)                                  
 80294b4:	44 40 00 0c 	be r2,r0,80294e4 <fsync+0xac>                  
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  return (*iop->handlers->fsync_h)( iop );                            
 80294b8:	d8 40 00 00 	call r2                                        
}                                                                     
 80294bc:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80294c0:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 80294c4:	2b 8c 00 08 	lw r12,(sp+8)                                  
 80294c8:	37 9c 00 0c 	addi sp,sp,12                                  
 80294cc:	c3 a0 00 00 	ret                                            
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
 80294d0:	f8 00 77 b6 	calli 80473a8 <__errno>                        
 80294d4:	34 02 00 16 	mvi r2,22                                      
 80294d8:	58 22 00 00 	sw (r1+0),r2                                   
 80294dc:	34 01 ff ff 	mvi r1,-1                                      
 80294e0:	e3 ff ff f7 	bi 80294bc <fsync+0x84>                        
                                                                      
  if ( !iop->handlers )                                               
    rtems_set_errno_and_return_minus_one( EBADF );                    
                                                                      
  if ( !iop->handlers->fsync_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 80294e4:	f8 00 77 b1 	calli 80473a8 <__errno>                        
 80294e8:	34 02 00 86 	mvi r2,134                                     
 80294ec:	58 22 00 00 	sw (r1+0),r2                                   
 80294f0:	34 01 ff ff 	mvi r1,-1                                      
 80294f4:	e3 ff ff f2 	bi 80294bc <fsync+0x84>                        
                                                                      
08007904 <ftruncate>:                                                 
                                                                      
int ftruncate(                                                        
  int     fd,                                                         
  off_t   length                                                      
)                                                                     
{                                                                     
 8007904:	37 9c ff d8 	addi sp,sp,-40                                 
 8007908:	5b 8b 00 14 	sw (sp+20),r11                                 
 800790c:	5b 8c 00 10 	sw (sp+16),r12                                 
 8007910:	5b 8d 00 0c 	sw (sp+12),r13                                 
 8007914:	5b 8e 00 08 	sw (sp+8),r14                                  
 8007918:	5b 9d 00 04 	sw (sp+4),ra                                   
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
 800791c:	78 03 08 01 	mvhi r3,0x801                                  
 8007920:	38 63 c0 10 	ori r3,r3,0xc010                               
 8007924:	28 63 00 00 	lw r3,(r3+0)                                   
                                                                      
int ftruncate(                                                        
  int     fd,                                                         
  off_t   length                                                      
)                                                                     
{                                                                     
 8007928:	b8 40 68 00 	mv r13,r2                                      
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
 800792c:	54 61 00 06 	bgu r3,r1,8007944 <ftruncate+0x40>             <== ALWAYS TAKEN
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
 8007930:	f8 00 10 b5 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 8007934:	34 02 00 09 	mvi r2,9                                       <== NOT EXECUTED
 8007938:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 800793c:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8007940:	e0 00 00 2b 	bi 80079ec <ftruncate+0xe8>                    <== NOT EXECUTED
{                                                                     
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
 8007944:	34 02 00 03 	mvi r2,3                                       
 8007948:	fb ff e2 2a 	calli 80001f0 <__ashlsi3>                      
 800794c:	78 0c 08 01 	mvhi r12,0x801                                 
 8007950:	39 8c c6 9c 	ori r12,r12,0xc69c                             
 8007954:	34 02 00 03 	mvi r2,3                                       
 8007958:	b8 20 70 00 	mv r14,r1                                      
 800795c:	fb ff e2 25 	calli 80001f0 <__ashlsi3>                      
 8007960:	29 8b 00 00 	lw r11,(r12+0)                                 
 8007964:	b5 c1 08 00 	add r1,r14,r1                                  
 8007968:	b5 61 58 00 	add r11,r11,r1                                 
  rtems_libio_check_is_open(iop);                                     
 800796c:	29 61 00 18 	lw r1,(r11+24)                                 
 8007970:	20 21 01 00 	andi r1,r1,0x100                               
 8007974:	44 20 ff ef 	be r1,r0,8007930 <ftruncate+0x2c>              <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
 8007978:	29 61 00 1c 	lw r1,(r11+28)                                 
 800797c:	5b 81 00 18 	sw (sp+24),r1                                  
 8007980:	29 61 00 20 	lw r1,(r11+32)                                 
 8007984:	5b 81 00 1c 	sw (sp+28),r1                                  
 8007988:	29 61 00 24 	lw r1,(r11+36)                                 
 800798c:	5b 81 00 20 	sw (sp+32),r1                                  
 8007990:	29 64 00 28 	lw r4,(r11+40)                                 
 8007994:	5b 84 00 24 	sw (sp+36),r4                                  
 8007998:	29 61 00 2c 	lw r1,(r11+44)                                 
  if ( !loc.ops->node_type_h )                                        
 800799c:	28 84 00 10 	lw r4,(r4+16)                                  
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
 80079a0:	5b 81 00 28 	sw (sp+40),r1                                  
  if ( !loc.ops->node_type_h )                                        
 80079a4:	44 80 00 1e 	be r4,r0,8007a1c <ftruncate+0x118>             <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY )
 80079a8:	37 81 00 18 	addi r1,sp,24                                  
 80079ac:	d8 80 00 00 	call r4                                        
 80079b0:	34 02 00 01 	mvi r2,1                                       
 80079b4:	44 22 00 1f 	be r1,r2,8007a30 <ftruncate+0x12c>             
    rtems_set_errno_and_return_minus_one( EISDIR );                   
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
 80079b8:	29 61 00 18 	lw r1,(r11+24)                                 
 80079bc:	20 21 00 04 	andi r1,r1,0x4                                 
 80079c0:	44 20 00 12 	be r1,r0,8007a08 <ftruncate+0x104>             <== NEVER TAKEN
                                                                      
  if ( !iop->handlers->ftruncate_h )                                  
 80079c4:	29 61 00 40 	lw r1,(r11+64)                                 
 80079c8:	28 2c 00 20 	lw r12,(r1+32)                                 
 80079cc:	45 80 00 14 	be r12,r0,8007a1c <ftruncate+0x118>            <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  return (*iop->handlers->ftruncate_h)( iop, length );                
 80079d0:	34 02 00 1f 	mvi r2,31                                      
 80079d4:	b9 a0 08 00 	mv r1,r13                                      
 80079d8:	fb ff e2 56 	calli 8000330 <__ashrsi3>                      
 80079dc:	b8 20 10 00 	mv r2,r1                                       
 80079e0:	b9 a0 18 00 	mv r3,r13                                      
 80079e4:	b9 60 08 00 	mv r1,r11                                      
 80079e8:	d9 80 00 00 	call r12                                       
}                                                                     
 80079ec:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80079f0:	2b 8b 00 14 	lw r11,(sp+20)                                 
 80079f4:	2b 8c 00 10 	lw r12,(sp+16)                                 
 80079f8:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 80079fc:	2b 8e 00 08 	lw r14,(sp+8)                                  
 8007a00:	37 9c 00 28 	addi sp,sp,40                                  
 8007a04:	c3 a0 00 00 	ret                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY )
    rtems_set_errno_and_return_minus_one( EISDIR );                   
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
 8007a08:	f8 00 10 7f 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 8007a0c:	34 02 00 16 	mvi r2,22                                      <== NOT EXECUTED
 8007a10:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8007a14:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8007a18:	e3 ff ff f5 	bi 80079ec <ftruncate+0xe8>                    <== NOT EXECUTED
                                                                      
  if ( !iop->handlers->ftruncate_h )                                  
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 8007a1c:	f8 00 10 7a 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 8007a20:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 8007a24:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8007a28:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8007a2c:	e3 ff ff f0 	bi 80079ec <ftruncate+0xe8>                    <== NOT EXECUTED
  loc = iop->pathinfo;                                                
  if ( !loc.ops->node_type_h )                                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY )
    rtems_set_errno_and_return_minus_one( EISDIR );                   
 8007a30:	f8 00 10 75 	calli 800bc04 <__errno>                        
 8007a34:	34 02 00 15 	mvi r2,21                                      
 8007a38:	58 22 00 00 	sw (r1+0),r2                                   
 8007a3c:	34 01 ff ff 	mvi r1,-1                                      
 8007a40:	e3 ff ff eb 	bi 80079ec <ftruncate+0xe8>                    
                                                                      
08063ac8 <getdents>:                                                  
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
 8063ac8:	37 9c ff d4 	addi sp,sp,-44                                 
 8063acc:	5b 8b 00 18 	sw (sp+24),r11                                 
 8063ad0:	5b 8c 00 14 	sw (sp+20),r12                                 
 8063ad4:	5b 8d 00 10 	sw (sp+16),r13                                 
 8063ad8:	5b 8e 00 0c 	sw (sp+12),r14                                 
 8063adc:	5b 8f 00 08 	sw (sp+8),r15                                  
 8063ae0:	5b 9d 00 04 	sw (sp+4),ra                                   
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
 8063ae4:	78 04 08 07 	mvhi r4,0x807                                  
 8063ae8:	38 84 10 10 	ori r4,r4,0x1010                               
 8063aec:	28 84 00 00 	lw r4,(r4+0)                                   
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
 8063af0:	b8 40 70 00 	mv r14,r2                                      
 8063af4:	b8 60 68 00 	mv r13,r3                                      
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
 8063af8:	54 81 00 21 	bgu r4,r1,8063b7c <getdents+0xb4>              <== ALWAYS TAKEN
 8063afc:	34 0b 00 00 	mvi r11,0                                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
 8063b00:	29 61 00 1c 	lw r1,(r11+28)                                 
 8063b04:	5b 81 00 1c 	sw (sp+28),r1                                  
 8063b08:	29 61 00 20 	lw r1,(r11+32)                                 
 8063b0c:	5b 81 00 20 	sw (sp+32),r1                                  
 8063b10:	29 61 00 24 	lw r1,(r11+36)                                 
 8063b14:	5b 81 00 24 	sw (sp+36),r1                                  
 8063b18:	29 61 00 28 	lw r1,(r11+40)                                 
 8063b1c:	5b 81 00 28 	sw (sp+40),r1                                  
  if ( !loc.ops->node_type_h )                                        
 8063b20:	28 24 00 10 	lw r4,(r1+16)                                  
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
 8063b24:	29 61 00 2c 	lw r1,(r11+44)                                 
 8063b28:	5b 81 00 2c 	sw (sp+44),r1                                  
  if ( !loc.ops->node_type_h )                                        
 8063b2c:	44 80 00 24 	be r4,r0,8063bbc <getdents+0xf4>               <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
 8063b30:	37 81 00 1c 	addi r1,sp,28                                  
 8063b34:	d8 80 00 00 	call r4                                        
 8063b38:	34 04 00 01 	mvi r4,1                                       
 8063b3c:	5c 24 00 1b 	bne r1,r4,8063ba8 <getdents+0xe0>              
  /*                                                                  
   *  Return the number of bytes that were actually transfered as a result
   *  of the read attempt.                                            
   */                                                                 
                                                                      
  if ( !iop->handlers->read_h )                                       
 8063b40:	29 61 00 40 	lw r1,(r11+64)                                 
 8063b44:	28 24 00 08 	lw r4,(r1+8)                                   
 8063b48:	44 80 00 1d 	be r4,r0,8063bbc <getdents+0xf4>               <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  return (*iop->handlers->read_h)( iop, dd_buf, dd_len  );            
 8063b4c:	b9 60 08 00 	mv r1,r11                                      
 8063b50:	b9 c0 10 00 	mv r2,r14                                      
 8063b54:	b9 a0 18 00 	mv r3,r13                                      
 8063b58:	d8 80 00 00 	call r4                                        
}                                                                     
 8063b5c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8063b60:	2b 8b 00 18 	lw r11,(sp+24)                                 
 8063b64:	2b 8c 00 14 	lw r12,(sp+20)                                 
 8063b68:	2b 8d 00 10 	lw r13,(sp+16)                                 
 8063b6c:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 8063b70:	2b 8f 00 08 	lw r15,(sp+8)                                  
 8063b74:	37 9c 00 2c 	addi sp,sp,44                                  
 8063b78:	c3 a0 00 00 	ret                                            
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
 8063b7c:	34 02 00 03 	mvi r2,3                                       
 8063b80:	fb fe 75 78 	calli 8001160 <__ashlsi3>                      
 8063b84:	78 0c 08 07 	mvhi r12,0x807                                 
 8063b88:	39 8c 4e 90 	ori r12,r12,0x4e90                             
 8063b8c:	34 02 00 03 	mvi r2,3                                       
 8063b90:	b8 20 78 00 	mv r15,r1                                      
 8063b94:	fb fe 75 73 	calli 8001160 <__ashlsi3>                      
 8063b98:	29 8b 00 00 	lw r11,(r12+0)                                 
 8063b9c:	b5 e1 08 00 	add r1,r15,r1                                  
 8063ba0:	b5 61 58 00 	add r11,r11,r1                                 
 8063ba4:	e3 ff ff d7 	bi 8063b00 <getdents+0x38>                     
  loc = iop->pathinfo;                                                
  if ( !loc.ops->node_type_h )                                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
 8063ba8:	fb ff 8e 00 	calli 80473a8 <__errno>                        
 8063bac:	34 02 00 14 	mvi r2,20                                      
 8063bb0:	58 22 00 00 	sw (r1+0),r2                                   
 8063bb4:	34 01 ff ff 	mvi r1,-1                                      
 8063bb8:	e3 ff ff e9 	bi 8063b5c <getdents+0x94>                     
   *  Return the number of bytes that were actually transfered as a result
   *  of the read attempt.                                            
   */                                                                 
                                                                      
  if ( !iop->handlers->read_h )                                       
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 8063bbc:	fb ff 8d fb 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 8063bc0:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 8063bc4:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8063bc8:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8063bcc:	e3 ff ff e4 	bi 8063b5c <getdents+0x94>                     <== NOT EXECUTED
                                                                      
08029660 <getgid>:                                                    
 *  4.2.1 Get Real User, Effective User, Ral Group, and Effective Group IDs,
 *        P1003.1b-1993, p. 84                                        
 */                                                                   
                                                                      
gid_t getgid( void )                                                  
{                                                                     
 8029660:	78 01 08 07 	mvhi r1,0x807                                  <== NOT EXECUTED
 8029664:	38 21 12 f0 	ori r1,r1,0x12f0                               <== NOT EXECUTED
 8029668:	28 21 00 00 	lw r1,(r1+0)                                   <== NOT EXECUTED
  return _POSIX_types_Gid;                                            
}                                                                     
 802966c:	2c 21 00 34 	lhu r1,(r1+52)                                 <== NOT EXECUTED
 8029670:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08029e3c <getgr_r>:                                                   
  struct group   *grp,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct group  **result                                              
)                                                                     
{                                                                     
 8029e3c:	37 9c ff e0 	addi sp,sp,-32                                 
 8029e40:	5b 8b 00 20 	sw (sp+32),r11                                 
 8029e44:	5b 8c 00 1c 	sw (sp+28),r12                                 
 8029e48:	5b 8d 00 18 	sw (sp+24),r13                                 
 8029e4c:	5b 8e 00 14 	sw (sp+20),r14                                 
 8029e50:	5b 8f 00 10 	sw (sp+16),r15                                 
 8029e54:	5b 90 00 0c 	sw (sp+12),r16                                 
 8029e58:	5b 91 00 08 	sw (sp+8),r17                                  
 8029e5c:	5b 9d 00 04 	sw (sp+4),ra                                   
 8029e60:	b8 20 68 00 	mv r13,r1                                      
 8029e64:	b8 40 80 00 	mv r16,r2                                      
 8029e68:	b8 60 58 00 	mv r11,r3                                      
 8029e6c:	b8 80 78 00 	mv r15,r4                                      
 8029e70:	b8 a0 70 00 	mv r14,r5                                      
 8029e74:	b8 c0 88 00 	mv r17,r6                                      
  FILE *fp;                                                           
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
 8029e78:	fb ff ff 97 	calli 8029cd4 <init_etc_passwd_group>          
                                                                      
  if ((fp = fopen("/etc/group", "r")) == NULL) {                      
 8029e7c:	78 01 08 06 	mvhi r1,0x806                                  
 8029e80:	78 02 08 06 	mvhi r2,0x806                                  
 8029e84:	38 21 49 54 	ori r1,r1,0x4954                               
 8029e88:	38 42 cf 7c 	ori r2,r2,0xcf7c                               
 8029e8c:	f8 00 78 4e 	calli 8047fc4 <fopen>                          
 8029e90:	b8 20 60 00 	mv r12,r1                                      
 8029e94:	44 20 00 26 	be r1,r0,8029f2c <getgr_r+0xf0>                <== NEVER TAKEN
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize)) {                          
 8029e98:	b9 60 10 00 	mv r2,r11                                      
 8029e9c:	b9 e0 18 00 	mv r3,r15                                      
 8029ea0:	b9 c0 20 00 	mv r4,r14                                      
 8029ea4:	b9 80 08 00 	mv r1,r12                                      
 8029ea8:	fb ff fe b0 	calli 8029968 <scangr>                         
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
      match = (strcmp(grp->gr_name, name) == 0);                      
 8029eac:	b9 a0 10 00 	mv r2,r13                                      
  if ((fp = fopen("/etc/group", "r")) == NULL) {                      
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize)) {                          
 8029eb0:	44 20 00 18 	be r1,r0,8029f10 <getgr_r+0xd4>                <== NEVER TAKEN
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
 8029eb4:	45 a0 00 13 	be r13,r0,8029f00 <getgr_r+0xc4>               <== NEVER TAKEN
      match = (strcmp(grp->gr_name, name) == 0);                      
 8029eb8:	29 61 00 00 	lw r1,(r11+0)                                  
 8029ebc:	f8 00 91 a9 	calli 804e560 <strcmp>                         
 8029ec0:	64 21 00 00 	cmpei r1,r1,0                                  
    }                                                                 
    else {                                                            
      match = (grp->gr_gid == gid);                                   
    }                                                                 
    if (match) {                                                      
 8029ec4:	44 20 ff f5 	be r1,r0,8029e98 <getgr_r+0x5c>                
      fclose(fp);                                                     
 8029ec8:	b9 80 08 00 	mv r1,r12                                      
 8029ecc:	f8 00 75 99 	calli 8047530 <fclose>                         
      *result = grp;                                                  
 8029ed0:	34 01 00 00 	mvi r1,0                                       
 8029ed4:	5a 2b 00 00 	sw (r17+0),r11                                 
    }                                                                 
  }                                                                   
  fclose(fp);                                                         
  errno = EINVAL;                                                     
  return -1;                                                          
}                                                                     
 8029ed8:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8029edc:	2b 8b 00 20 	lw r11,(sp+32)                                 
 8029ee0:	2b 8c 00 1c 	lw r12,(sp+28)                                 
 8029ee4:	2b 8d 00 18 	lw r13,(sp+24)                                 
 8029ee8:	2b 8e 00 14 	lw r14,(sp+20)                                 
 8029eec:	2b 8f 00 10 	lw r15,(sp+16)                                 
 8029ef0:	2b 90 00 0c 	lw r16,(sp+12)                                 
 8029ef4:	2b 91 00 08 	lw r17,(sp+8)                                  
 8029ef8:	37 9c 00 20 	addi sp,sp,32                                  
 8029efc:	c3 a0 00 00 	ret                                            
    }                                                                 
    if (name) {                                                       
      match = (strcmp(grp->gr_name, name) == 0);                      
    }                                                                 
    else {                                                            
      match = (grp->gr_gid == gid);                                   
 8029f00:	2d 61 00 08 	lhu r1,(r11+8)                                 <== NOT EXECUTED
 8029f04:	e4 30 08 00 	cmpe r1,r1,r16                                 <== NOT EXECUTED
    }                                                                 
    if (match) {                                                      
 8029f08:	44 20 ff e4 	be r1,r0,8029e98 <getgr_r+0x5c>                <== NOT EXECUTED
 8029f0c:	e3 ff ff ef 	bi 8029ec8 <getgr_r+0x8c>                      <== NOT EXECUTED
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize)) {                          
      errno = EINVAL;                                                 
 8029f10:	f8 00 75 26 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 8029f14:	34 02 00 16 	mvi r2,22                                      <== NOT EXECUTED
 8029f18:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
      fclose(fp);                                                     
 8029f1c:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8029f20:	f8 00 75 84 	calli 8047530 <fclose>                         <== NOT EXECUTED
 8029f24:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
      return -1;                                                      
 8029f28:	e3 ff ff ec 	bi 8029ed8 <getgr_r+0x9c>                      <== NOT EXECUTED
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
                                                                      
  if ((fp = fopen("/etc/group", "r")) == NULL) {                      
    errno = EINVAL;                                                   
 8029f2c:	f8 00 75 1f 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 8029f30:	34 02 00 16 	mvi r2,22                                      <== NOT EXECUTED
 8029f34:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8029f38:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
    return -1;                                                        
 8029f3c:	e3 ff ff e7 	bi 8029ed8 <getgr_r+0x9c>                      <== NOT EXECUTED
                                                                      
08029afc <getgrent>:                                                  
    return NULL;                                                      
  return p;                                                           
}                                                                     
                                                                      
struct group *getgrent(void)                                          
{                                                                     
 8029afc:	37 9c ff fc 	addi sp,sp,-4                                  <== NOT EXECUTED
 8029b00:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  if (group_fp == NULL)                                               
 8029b04:	78 01 08 07 	mvhi r1,0x807                                  <== NOT EXECUTED
 8029b08:	38 21 4c a0 	ori r1,r1,0x4ca0                               <== NOT EXECUTED
 8029b0c:	28 21 00 00 	lw r1,(r1+0)                                   <== NOT EXECUTED
 8029b10:	5c 20 00 05 	bne r1,r0,8029b24 <getgrent+0x28>              <== NOT EXECUTED
    return NULL;                                                      
  if (!scangr(group_fp, &grent, grbuf, sizeof grbuf))                 
 8029b14:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
    return NULL;                                                      
  return &grent;                                                      
}                                                                     
 8029b18:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8029b1c:	37 9c 00 04 	addi sp,sp,4                                   <== NOT EXECUTED
 8029b20:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
struct group *getgrent(void)                                          
{                                                                     
  if (group_fp == NULL)                                               
    return NULL;                                                      
  if (!scangr(group_fp, &grent, grbuf, sizeof grbuf))                 
 8029b24:	78 02 08 07 	mvhi r2,0x807                                  <== NOT EXECUTED
 8029b28:	78 03 08 07 	mvhi r3,0x807                                  <== NOT EXECUTED
 8029b2c:	38 42 4d 6c 	ori r2,r2,0x4d6c                               <== NOT EXECUTED
 8029b30:	38 63 4c a4 	ori r3,r3,0x4ca4                               <== NOT EXECUTED
 8029b34:	34 04 00 c8 	mvi r4,200                                     <== NOT EXECUTED
 8029b38:	fb ff ff 8c 	calli 8029968 <scangr>                         <== NOT EXECUTED
 8029b3c:	44 20 ff f6 	be r1,r0,8029b14 <getgrent+0x18>               <== NOT EXECUTED
 8029b40:	78 01 08 07 	mvhi r1,0x807                                  <== NOT EXECUTED
 8029b44:	38 21 4d 6c 	ori r1,r1,0x4d6c                               <== NOT EXECUTED
    return NULL;                                                      
  return &grent;                                                      
}                                                                     
 8029b48:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8029b4c:	37 9c 00 04 	addi sp,sp,4                                   <== NOT EXECUTED
 8029b50:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08029f7c <getgrgid>:                                                  
                                                                      
struct group *getgrgid(                                               
  gid_t gid                                                           
)                                                                     
{                                                                     
 8029f7c:	37 9c ff f8 	addi sp,sp,-8                                  <== NOT EXECUTED
 8029f80:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  struct group *p;                                                    
                                                                      
  if(getgrgid_r(gid, &grent, grbuf, sizeof grbuf, &p))                
 8029f84:	78 02 08 07 	mvhi r2,0x807                                  <== NOT EXECUTED
 8029f88:	78 03 08 07 	mvhi r3,0x807                                  <== NOT EXECUTED
 8029f8c:	38 42 4d 6c 	ori r2,r2,0x4d6c                               <== NOT EXECUTED
 8029f90:	20 21 ff ff 	andi r1,r1,0xffff                              <== NOT EXECUTED
 8029f94:	38 63 4c a4 	ori r3,r3,0x4ca4                               <== NOT EXECUTED
 8029f98:	34 04 00 c8 	mvi r4,200                                     <== NOT EXECUTED
 8029f9c:	37 85 00 08 	addi r5,sp,8                                   <== NOT EXECUTED
 8029fa0:	fb ff ff e8 	calli 8029f40 <getgrgid_r>                     <== NOT EXECUTED
 8029fa4:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 8029fa8:	5c 22 00 02 	bne r1,r2,8029fb0 <getgrgid+0x34>              <== NOT EXECUTED
    return NULL;                                                      
  return p;                                                           
 8029fac:	2b 82 00 08 	lw r2,(sp+8)                                   <== NOT EXECUTED
}                                                                     
 8029fb0:	b8 40 08 00 	mv r1,r2                                       <== NOT EXECUTED
 8029fb4:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8029fb8:	37 9c 00 08 	addi sp,sp,8                                   <== NOT EXECUTED
 8029fbc:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08029f40 <getgrgid_r>:                                                
  struct group   *grp,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct group  **result                                              
)                                                                     
{                                                                     
 8029f40:	37 9c ff fc 	addi sp,sp,-4                                  <== NOT EXECUTED
 8029f44:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 8029f48:	b8 40 48 00 	mv r9,r2                                       <== NOT EXECUTED
 8029f4c:	b8 60 40 00 	mv r8,r3                                       <== NOT EXECUTED
 8029f50:	b8 80 38 00 	mv r7,r4                                       <== NOT EXECUTED
 8029f54:	b8 a0 30 00 	mv r6,r5                                       <== NOT EXECUTED
 8029f58:	20 22 ff ff 	andi r2,r1,0xffff                              <== NOT EXECUTED
  return getgr_r(NULL, gid, grp, buffer, bufsize, result);            
 8029f5c:	b9 20 18 00 	mv r3,r9                                       <== NOT EXECUTED
 8029f60:	b9 00 20 00 	mv r4,r8                                       <== NOT EXECUTED
 8029f64:	b8 e0 28 00 	mv r5,r7                                       <== NOT EXECUTED
 8029f68:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 8029f6c:	fb ff ff b4 	calli 8029e3c <getgr_r>                        <== NOT EXECUTED
}                                                                     
 8029f70:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8029f74:	37 9c 00 04 	addi sp,sp,4                                   <== NOT EXECUTED
 8029f78:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08029ff4 <getgrnam>:                                                  
                                                                      
struct group *getgrnam(                                               
  const char *name                                                    
)                                                                     
{                                                                     
 8029ff4:	37 9c ff f8 	addi sp,sp,-8                                  
 8029ff8:	5b 9d 00 04 	sw (sp+4),ra                                   
  struct group *p;                                                    
                                                                      
  if(getgrnam_r(name, &grent, grbuf, sizeof grbuf, &p))               
 8029ffc:	78 02 08 07 	mvhi r2,0x807                                  
 802a000:	78 03 08 07 	mvhi r3,0x807                                  
 802a004:	38 42 4d 6c 	ori r2,r2,0x4d6c                               
 802a008:	38 63 4c a4 	ori r3,r3,0x4ca4                               
 802a00c:	34 04 00 c8 	mvi r4,200                                     
 802a010:	37 85 00 08 	addi r5,sp,8                                   
 802a014:	fb ff ff eb 	calli 8029fc0 <getgrnam_r>                     
 802a018:	34 02 00 00 	mvi r2,0                                       
 802a01c:	5c 22 00 02 	bne r1,r2,802a024 <getgrnam+0x30>              <== NEVER TAKEN
    return NULL;                                                      
  return p;                                                           
 802a020:	2b 82 00 08 	lw r2,(sp+8)                                   
}                                                                     
 802a024:	b8 40 08 00 	mv r1,r2                                       
 802a028:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802a02c:	37 9c 00 08 	addi sp,sp,8                                   
 802a030:	c3 a0 00 00 	ret                                            
                                                                      
0802628c <getpid>:                                                    
 */                                                                   
                                                                      
pid_t getpid( void )                                                  
{                                                                     
  return _Objects_Local_node;                                         
}                                                                     
 802628c:	34 01 00 01 	mvi r1,1                                       <== NOT EXECUTED
 8026290:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
0802a080 <getpw_r>:                                                   
  struct passwd  *pwd,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct passwd **result                                              
)                                                                     
{                                                                     
 802a080:	37 9c ff e0 	addi sp,sp,-32                                 
 802a084:	5b 8b 00 20 	sw (sp+32),r11                                 
 802a088:	5b 8c 00 1c 	sw (sp+28),r12                                 
 802a08c:	5b 8d 00 18 	sw (sp+24),r13                                 
 802a090:	5b 8e 00 14 	sw (sp+20),r14                                 
 802a094:	5b 8f 00 10 	sw (sp+16),r15                                 
 802a098:	5b 90 00 0c 	sw (sp+12),r16                                 
 802a09c:	5b 91 00 08 	sw (sp+8),r17                                  
 802a0a0:	5b 9d 00 04 	sw (sp+4),ra                                   
 802a0a4:	b8 20 68 00 	mv r13,r1                                      
 802a0a8:	b8 40 80 00 	mv r16,r2                                      
 802a0ac:	b8 60 58 00 	mv r11,r3                                      
 802a0b0:	b8 80 78 00 	mv r15,r4                                      
 802a0b4:	b8 a0 70 00 	mv r14,r5                                      
 802a0b8:	b8 c0 88 00 	mv r17,r6                                      
  FILE *fp;                                                           
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
 802a0bc:	fb ff ff 06 	calli 8029cd4 <init_etc_passwd_group>          
                                                                      
  if ((fp = fopen("/etc/passwd", "r")) == NULL) {                     
 802a0c0:	78 01 08 06 	mvhi r1,0x806                                  
 802a0c4:	78 02 08 06 	mvhi r2,0x806                                  
 802a0c8:	38 21 48 a4 	ori r1,r1,0x48a4                               
 802a0cc:	38 42 cf 7c 	ori r2,r2,0xcf7c                               
 802a0d0:	f8 00 77 bd 	calli 8047fc4 <fopen>                          
 802a0d4:	b8 20 60 00 	mv r12,r1                                      
 802a0d8:	44 20 00 26 	be r1,r0,802a170 <getpw_r+0xf0>                <== NEVER TAKEN
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize)) {                          
 802a0dc:	b9 60 10 00 	mv r2,r11                                      
 802a0e0:	b9 e0 18 00 	mv r3,r15                                      
 802a0e4:	b9 c0 20 00 	mv r4,r14                                      
 802a0e8:	b9 80 08 00 	mv r1,r12                                      
 802a0ec:	fb ff fe 9a 	calli 8029b54 <scanpw>                         
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
      match = (strcmp(pwd->pw_name, name) == 0);                      
 802a0f0:	b9 a0 10 00 	mv r2,r13                                      
  if ((fp = fopen("/etc/passwd", "r")) == NULL) {                     
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize)) {                          
 802a0f4:	44 20 00 18 	be r1,r0,802a154 <getpw_r+0xd4>                <== NEVER TAKEN
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
 802a0f8:	45 a0 00 13 	be r13,r0,802a144 <getpw_r+0xc4>               <== NEVER TAKEN
      match = (strcmp(pwd->pw_name, name) == 0);                      
 802a0fc:	29 61 00 00 	lw r1,(r11+0)                                  
 802a100:	f8 00 91 18 	calli 804e560 <strcmp>                         
 802a104:	64 21 00 00 	cmpei r1,r1,0                                  
    }                                                                 
    else {                                                            
      match = (pwd->pw_uid == uid);                                   
    }                                                                 
    if (match) {                                                      
 802a108:	44 20 ff f5 	be r1,r0,802a0dc <getpw_r+0x5c>                
      fclose(fp);                                                     
 802a10c:	b9 80 08 00 	mv r1,r12                                      
 802a110:	f8 00 75 08 	calli 8047530 <fclose>                         
      *result = pwd;                                                  
 802a114:	34 01 00 00 	mvi r1,0                                       
 802a118:	5a 2b 00 00 	sw (r17+0),r11                                 
    }                                                                 
  }                                                                   
  fclose(fp);                                                         
  errno = EINVAL;                                                     
  return -1;                                                          
}                                                                     
 802a11c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802a120:	2b 8b 00 20 	lw r11,(sp+32)                                 
 802a124:	2b 8c 00 1c 	lw r12,(sp+28)                                 
 802a128:	2b 8d 00 18 	lw r13,(sp+24)                                 
 802a12c:	2b 8e 00 14 	lw r14,(sp+20)                                 
 802a130:	2b 8f 00 10 	lw r15,(sp+16)                                 
 802a134:	2b 90 00 0c 	lw r16,(sp+12)                                 
 802a138:	2b 91 00 08 	lw r17,(sp+8)                                  
 802a13c:	37 9c 00 20 	addi sp,sp,32                                  
 802a140:	c3 a0 00 00 	ret                                            
    }                                                                 
    if (name) {                                                       
      match = (strcmp(pwd->pw_name, name) == 0);                      
    }                                                                 
    else {                                                            
      match = (pwd->pw_uid == uid);                                   
 802a144:	2d 61 00 08 	lhu r1,(r11+8)                                 <== NOT EXECUTED
 802a148:	e4 30 08 00 	cmpe r1,r1,r16                                 <== NOT EXECUTED
    }                                                                 
    if (match) {                                                      
 802a14c:	44 20 ff e4 	be r1,r0,802a0dc <getpw_r+0x5c>                <== NOT EXECUTED
 802a150:	e3 ff ff ef 	bi 802a10c <getpw_r+0x8c>                      <== NOT EXECUTED
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize)) {                          
      errno = EINVAL;                                                 
 802a154:	f8 00 74 95 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 802a158:	34 02 00 16 	mvi r2,22                                      <== NOT EXECUTED
 802a15c:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
      fclose(fp);                                                     
 802a160:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 802a164:	f8 00 74 f3 	calli 8047530 <fclose>                         <== NOT EXECUTED
 802a168:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
      return -1;                                                      
 802a16c:	e3 ff ff ec 	bi 802a11c <getpw_r+0x9c>                      <== NOT EXECUTED
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
                                                                      
  if ((fp = fopen("/etc/passwd", "r")) == NULL) {                     
    errno = EINVAL;                                                   
 802a170:	f8 00 74 8e 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 802a174:	34 02 00 16 	mvi r2,22                                      <== NOT EXECUTED
 802a178:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 802a17c:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
    return -1;                                                        
 802a180:	e3 ff ff e7 	bi 802a11c <getpw_r+0x9c>                      <== NOT EXECUTED
                                                                      
08029c7c <getpwent>:                                                  
    return NULL;                                                      
  return p;                                                           
}                                                                     
                                                                      
struct passwd *getpwent(void)                                         
{                                                                     
 8029c7c:	37 9c ff fc 	addi sp,sp,-4                                  <== NOT EXECUTED
 8029c80:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  if (passwd_fp == NULL)                                              
 8029c84:	78 01 08 07 	mvhi r1,0x807                                  <== NOT EXECUTED
 8029c88:	38 21 4b b8 	ori r1,r1,0x4bb8                               <== NOT EXECUTED
 8029c8c:	28 21 00 00 	lw r1,(r1+0)                                   <== NOT EXECUTED
 8029c90:	5c 20 00 05 	bne r1,r0,8029ca4 <getpwent+0x28>              <== NOT EXECUTED
    return NULL;                                                      
  if (!scanpw(passwd_fp, &pwent, pwbuf, sizeof pwbuf))                
 8029c94:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
    return NULL;                                                      
  return &pwent;                                                      
}                                                                     
 8029c98:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8029c9c:	37 9c 00 04 	addi sp,sp,4                                   <== NOT EXECUTED
 8029ca0:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
struct passwd *getpwent(void)                                         
{                                                                     
  if (passwd_fp == NULL)                                              
    return NULL;                                                      
  if (!scanpw(passwd_fp, &pwent, pwbuf, sizeof pwbuf))                
 8029ca4:	78 02 08 07 	mvhi r2,0x807                                  <== NOT EXECUTED
 8029ca8:	78 03 08 07 	mvhi r3,0x807                                  <== NOT EXECUTED
 8029cac:	38 42 4c 84 	ori r2,r2,0x4c84                               <== NOT EXECUTED
 8029cb0:	38 63 4b bc 	ori r3,r3,0x4bbc                               <== NOT EXECUTED
 8029cb4:	34 04 00 c8 	mvi r4,200                                     <== NOT EXECUTED
 8029cb8:	fb ff ff a7 	calli 8029b54 <scanpw>                         <== NOT EXECUTED
 8029cbc:	44 20 ff f6 	be r1,r0,8029c94 <getpwent+0x18>               <== NOT EXECUTED
 8029cc0:	78 01 08 07 	mvhi r1,0x807                                  <== NOT EXECUTED
 8029cc4:	38 21 4c 84 	ori r1,r1,0x4c84                               <== NOT EXECUTED
    return NULL;                                                      
  return &pwent;                                                      
}                                                                     
 8029cc8:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8029ccc:	37 9c 00 04 	addi sp,sp,4                                   <== NOT EXECUTED
 8029cd0:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
0802a238 <getpwnam>:                                                  
                                                                      
struct passwd *getpwnam(                                              
  const char *name                                                    
)                                                                     
{                                                                     
 802a238:	37 9c ff f8 	addi sp,sp,-8                                  
 802a23c:	5b 9d 00 04 	sw (sp+4),ra                                   
  struct passwd *p;                                                   
                                                                      
  if(getpwnam_r(name, &pwent, pwbuf, sizeof pwbuf, &p))               
 802a240:	78 02 08 07 	mvhi r2,0x807                                  
 802a244:	78 03 08 07 	mvhi r3,0x807                                  
 802a248:	38 42 4c 84 	ori r2,r2,0x4c84                               
 802a24c:	38 63 4b bc 	ori r3,r3,0x4bbc                               
 802a250:	34 04 00 c8 	mvi r4,200                                     
 802a254:	37 85 00 08 	addi r5,sp,8                                   
 802a258:	fb ff ff eb 	calli 802a204 <getpwnam_r>                     
 802a25c:	34 02 00 00 	mvi r2,0                                       
 802a260:	5c 22 00 02 	bne r1,r2,802a268 <getpwnam+0x30>              <== NEVER TAKEN
    return NULL;                                                      
  return p;                                                           
 802a264:	2b 82 00 08 	lw r2,(sp+8)                                   
}                                                                     
 802a268:	b8 40 08 00 	mv r1,r2                                       
 802a26c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802a270:	37 9c 00 08 	addi sp,sp,8                                   
 802a274:	c3 a0 00 00 	ret                                            
                                                                      
0802a1c0 <getpwuid>:                                                  
                                                                      
struct passwd *getpwuid(                                              
  uid_t uid                                                           
)                                                                     
{                                                                     
 802a1c0:	37 9c ff f8 	addi sp,sp,-8                                  <== NOT EXECUTED
 802a1c4:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  struct passwd *p;                                                   
                                                                      
  if(getpwuid_r(uid, &pwent, pwbuf, sizeof pwbuf, &p))                
 802a1c8:	78 02 08 07 	mvhi r2,0x807                                  <== NOT EXECUTED
 802a1cc:	78 03 08 07 	mvhi r3,0x807                                  <== NOT EXECUTED
 802a1d0:	38 42 4c 84 	ori r2,r2,0x4c84                               <== NOT EXECUTED
 802a1d4:	20 21 ff ff 	andi r1,r1,0xffff                              <== NOT EXECUTED
 802a1d8:	38 63 4b bc 	ori r3,r3,0x4bbc                               <== NOT EXECUTED
 802a1dc:	34 04 00 c8 	mvi r4,200                                     <== NOT EXECUTED
 802a1e0:	37 85 00 08 	addi r5,sp,8                                   <== NOT EXECUTED
 802a1e4:	fb ff ff e8 	calli 802a184 <getpwuid_r>                     <== NOT EXECUTED
 802a1e8:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 802a1ec:	5c 22 00 02 	bne r1,r2,802a1f4 <getpwuid+0x34>              <== NOT EXECUTED
    return NULL;                                                      
  return p;                                                           
 802a1f0:	2b 82 00 08 	lw r2,(sp+8)                                   <== NOT EXECUTED
}                                                                     
 802a1f4:	b8 40 08 00 	mv r1,r2                                       <== NOT EXECUTED
 802a1f8:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 802a1fc:	37 9c 00 08 	addi sp,sp,8                                   <== NOT EXECUTED
 802a200:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
0802a184 <getpwuid_r>:                                                
  struct passwd  *pwd,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct passwd **result                                              
)                                                                     
{                                                                     
 802a184:	37 9c ff fc 	addi sp,sp,-4                                  <== NOT EXECUTED
 802a188:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 802a18c:	b8 40 48 00 	mv r9,r2                                       <== NOT EXECUTED
 802a190:	b8 60 40 00 	mv r8,r3                                       <== NOT EXECUTED
 802a194:	b8 80 38 00 	mv r7,r4                                       <== NOT EXECUTED
 802a198:	b8 a0 30 00 	mv r6,r5                                       <== NOT EXECUTED
 802a19c:	20 22 ff ff 	andi r2,r1,0xffff                              <== NOT EXECUTED
  return getpw_r(NULL, uid, pwd, buffer, bufsize, result);            
 802a1a0:	b9 20 18 00 	mv r3,r9                                       <== NOT EXECUTED
 802a1a4:	b9 00 20 00 	mv r4,r8                                       <== NOT EXECUTED
 802a1a8:	b8 e0 28 00 	mv r5,r7                                       <== NOT EXECUTED
 802a1ac:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 802a1b0:	fb ff ff b4 	calli 802a080 <getpw_r>                        <== NOT EXECUTED
}                                                                     
 802a1b4:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 802a1b8:	37 9c 00 04 	addi sp,sp,4                                   <== NOT EXECUTED
 802a1bc:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08007a44 <gettimeofday>:                                              
 */                                                                   
int gettimeofday(                                                     
  struct timeval  *tp,                                                
  void * __tz __attribute__((unused))                                 
)                                                                     
{                                                                     
 8007a44:	37 9c ff ec 	addi sp,sp,-20                                 
 8007a48:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8007a4c:	5b 8c 00 08 	sw (sp+8),r12                                  
 8007a50:	5b 9d 00 04 	sw (sp+4),ra                                   
 8007a54:	b8 20 58 00 	mv r11,r1                                      
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp ) {                                                        
 8007a58:	44 20 00 14 	be r1,r0,8007aa8 <gettimeofday+0x64>           <== NEVER TAKEN
{                                                                     
  ISR_Level       level;                                              
  struct timespec now;                                                
  suseconds_t     useconds;                                           
                                                                      
  _ISR_Disable(level);                                                
 8007a5c:	90 00 60 00 	rcsr r12,IE                                    
 8007a60:	34 01 ff fe 	mvi r1,-2                                      
 8007a64:	a1 81 08 00 	and r1,r12,r1                                  
 8007a68:	d0 01 00 00 	wcsr IE,r1                                     
    _TOD_Get( &now );                                                 
 8007a6c:	37 81 00 10 	addi r1,sp,16                                  
 8007a70:	f8 00 04 81 	calli 8008c74 <_TOD_Get>                       
  _ISR_Enable(level);                                                 
 8007a74:	d0 0c 00 00 	wcsr IE,r12                                    
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
                                                                      
  time->tv_sec  = now.tv_sec;                                         
 8007a78:	2b 82 00 10 	lw r2,(sp+16)                                  
                                                                      
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
 8007a7c:	2b 81 00 14 	lw r1,(sp+20)                                  
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
                                                                      
  time->tv_sec  = now.tv_sec;                                         
 8007a80:	59 62 00 00 	sw (r11+0),r2                                  
  time->tv_usec = useconds;                                           
 8007a84:	34 02 03 e8 	mvi r2,1000                                    
 8007a88:	f8 00 48 64 	calli 8019c18 <__divsi3>                       
 8007a8c:	59 61 00 04 	sw (r11+4),r1                                  
 8007a90:	34 01 00 00 	mvi r1,0                                       
   *  with Eric Norum, this is how GNU/Linux, Solaris, and MacOS X    
   *  do it.  This puts us in good company.                           
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
 8007a94:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8007a98:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8007a9c:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8007aa0:	37 9c 00 14 	addi sp,sp,20                                  
 8007aa4:	c3 a0 00 00 	ret                                            
  void * __tz __attribute__((unused))                                 
)                                                                     
{                                                                     
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp ) {                                                        
    errno = EFAULT;                                                   
 8007aa8:	f8 00 10 57 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 8007aac:	34 02 00 0e 	mvi r2,14                                      <== NOT EXECUTED
 8007ab0:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8007ab4:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
    return -1;                                                        
 8007ab8:	e3 ff ff f7 	bi 8007a94 <gettimeofday+0x50>                 <== NOT EXECUTED
                                                                      
0800675c <getuid>:                                                    
 *  4.2.1 Get Real User, Effective User, Ral Group, and Effective Group IDs,
 *        P1003.1b-1993, p. 84                                        
 */                                                                   
                                                                      
uid_t getuid( void )                                                  
{                                                                     
 800675c:	78 01 08 07 	mvhi r1,0x807                                  <== NOT EXECUTED
 8006760:	38 21 12 f0 	ori r1,r1,0x12f0                               <== NOT EXECUTED
 8006764:	28 21 00 00 	lw r1,(r1+0)                                   <== NOT EXECUTED
  return _POSIX_types_Uid;                                            
}                                                                     
 8006768:	2c 21 00 32 	lhu r1,(r1+50)                                 <== NOT EXECUTED
 800676c:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08011acc <imfs_dir_open>:                                             
)                                                                     
{                                                                     
  IMFS_jnode_t      *the_jnode;                                       
                                                                      
  /* Is the node a directory ? */                                     
  the_jnode = (IMFS_jnode_t *) iop->file_info;                        
 8011acc:	28 23 00 3c 	lw r3,(r1+60)                                  
  rtems_libio_t  *iop,                                                
  const char *pathname,                                               
  uint32_t   flag,                                                    
  uint32_t   mode                                                     
)                                                                     
{                                                                     
 8011ad0:	b8 20 10 00 	mv r2,r1                                       
  IMFS_jnode_t      *the_jnode;                                       
                                                                      
  /* Is the node a directory ? */                                     
  the_jnode = (IMFS_jnode_t *) iop->file_info;                        
 8011ad4:	34 01 ff ff 	mvi r1,-1                                      
 8011ad8:	28 64 00 4c 	lw r4,(r3+76)                                  
 8011adc:	34 03 00 01 	mvi r3,1                                       
 8011ae0:	44 83 00 02 	be r4,r3,8011ae8 <imfs_dir_open+0x1c>          <== ALWAYS TAKEN
  if ( the_jnode->type != IMFS_DIRECTORY )                            
     return -1;      /* It wasn't a directory --> return error */     
                                                                      
  iop->offset = 0;                                                    
  return 0;                                                           
}                                                                     
 8011ae4:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
  the_jnode = (IMFS_jnode_t *) iop->file_info;                        
                                                                      
  if ( the_jnode->type != IMFS_DIRECTORY )                            
     return -1;      /* It wasn't a directory --> return error */     
                                                                      
  iop->offset = 0;                                                    
 8011ae8:	34 01 00 00 	mvi r1,0                                       
 8011aec:	58 41 00 14 	sw (r2+20),r1                                  
 8011af0:	58 41 00 10 	sw (r2+16),r1                                  
  return 0;                                                           
}                                                                     
 8011af4:	c3 a0 00 00 	ret                                            
                                                                      
08011d08 <imfs_dir_read>:                                             
ssize_t imfs_dir_read(                                                
  rtems_libio_t  *iop,                                                
  void           *buffer,                                             
  size_t          count                                               
)                                                                     
{                                                                     
 8011d08:	37 9c fe c4 	addi sp,sp,-316                                
 8011d0c:	5b 8b 00 30 	sw (sp+48),r11                                 
 8011d10:	5b 8c 00 2c 	sw (sp+44),r12                                 
 8011d14:	5b 8d 00 28 	sw (sp+40),r13                                 
 8011d18:	5b 8e 00 24 	sw (sp+36),r14                                 
 8011d1c:	5b 8f 00 20 	sw (sp+32),r15                                 
 8011d20:	5b 90 00 1c 	sw (sp+28),r16                                 
 8011d24:	5b 91 00 18 	sw (sp+24),r17                                 
 8011d28:	5b 92 00 14 	sw (sp+20),r18                                 
 8011d2c:	5b 93 00 10 	sw (sp+16),r19                                 
 8011d30:	5b 94 00 0c 	sw (sp+12),r20                                 
 8011d34:	5b 95 00 08 	sw (sp+8),r21                                  
 8011d38:	5b 9d 00 04 	sw (sp+4),ra                                   
   int                  current_entry;                                
   int                  first_entry;                                  
   int                  last_entry;                                   
   struct dirent        tmp_dirent;                                   
                                                                      
   the_jnode = (IMFS_jnode_t *)iop->file_info;                        
 8011d3c:	28 31 00 3c 	lw r17,(r1+60)                                 
ssize_t imfs_dir_read(                                                
  rtems_libio_t  *iop,                                                
  void           *buffer,                                             
  size_t          count                                               
)                                                                     
{                                                                     
 8011d40:	b8 20 68 00 	mv r13,r1                                      
 8011d44:	b8 40 98 00 	mv r19,r2                                      
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
 8011d48:	2a 2c 00 50 	lw r12,(r17+80)                                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 8011d4c:	36 31 00 54 	addi r17,r17,84                                
   struct dirent        tmp_dirent;                                   
                                                                      
   the_jnode = (IMFS_jnode_t *)iop->file_info;                        
   the_chain = &the_jnode->info.directory.Entries;                    
                                                                      
   if ( rtems_chain_is_empty( the_chain ) )                           
 8011d50:	34 0e 00 00 	mvi r14,0                                      
 8011d54:	45 91 00 0a 	be r12,r17,8011d7c <imfs_dir_read+0x74>        
                                                                      
   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);
 8011d58:	b8 60 08 00 	mv r1,r3                                       
 8011d5c:	34 02 01 0c 	mvi r2,268                                     
 8011d60:	f8 00 3e 80 	calli 8021760 <__udivsi3>                      
                                                                      
   /* Move to the first of the desired directory entries */           
   the_node = the_chain->first;                                       
                                                                      
   bytes_transferred = 0;                                             
   first_entry = iop->offset;                                         
 8011d64:	29 b0 00 14 	lw r16,(r13+20)                                
   /* 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);
 8011d68:	34 02 01 0c 	mvi r2,268                                     
 8011d6c:	f8 00 3d fe 	calli 8021564 <__mulsi3>                       
 8011d70:	b4 30 78 00 	add r15,r1,r16                                 
                                                                      
   /* The directory was not empty so try to move to the desired entry in chain*/
   for (                                                              
 8011d74:	b9 c0 58 00 	mv r11,r14                                     
 8011d78:	49 ee 00 10 	bg r15,r14,8011db8 <imfs_dir_read+0xb0>        <== ALWAYS TAKEN
      the_node = the_node->next;                                      
   }                                                                  
                                                                      
   /* Success */                                                      
   return bytes_transferred;                                          
}                                                                     
 8011d7c:	b9 c0 08 00 	mv r1,r14                                      
 8011d80:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8011d84:	2b 8b 00 30 	lw r11,(sp+48)                                 
 8011d88:	2b 8c 00 2c 	lw r12,(sp+44)                                 
 8011d8c:	2b 8d 00 28 	lw r13,(sp+40)                                 
 8011d90:	2b 8e 00 24 	lw r14,(sp+36)                                 
 8011d94:	2b 8f 00 20 	lw r15,(sp+32)                                 
 8011d98:	2b 90 00 1c 	lw r16,(sp+28)                                 
 8011d9c:	2b 91 00 18 	lw r17,(sp+24)                                 
 8011da0:	2b 92 00 14 	lw r18,(sp+20)                                 
 8011da4:	2b 93 00 10 	lw r19,(sp+16)                                 
 8011da8:	2b 94 00 0c 	lw r20,(sp+12)                                 
 8011dac:	2b 95 00 08 	lw r21,(sp+8)                                  
 8011db0:	37 9c 01 3c 	addi sp,sp,316                                 
 8011db4:	c3 a0 00 00 	ret                                            
         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 );             
         strcpy( tmp_dirent.d_name, the_jnode->name );                
 8011db8:	37 95 00 34 	addi r21,sp,52                                 
 8011dbc:	37 94 00 40 	addi r20,sp,64                                 
         /* entry in the read */                                      
         return bytes_transferred;  /* Indicate that there are no more */
                                    /* entries to return */           
      }                                                               
                                                                      
      if( current_entry >= first_entry ) {                            
 8011dc0:	4a 0b 00 19 	bg r16,r11,8011e24 <imfs_dir_read+0x11c>       
         /* Move the entry to the return buffer */                    
         tmp_dirent.d_off = current_entry;                            
 8011dc4:	5b 8b 00 38 	sw (sp+56),r11                                 
         tmp_dirent.d_reclen = sizeof( struct dirent );               
         the_jnode = (IMFS_jnode_t *) the_node;                       
         tmp_dirent.d_ino = the_jnode->st_ino;                        
 8011dc8:	29 82 00 38 	lw r2,(r12+56)                                 
         tmp_dirent.d_namlen = strlen( the_jnode->name );             
 8011dcc:	35 92 00 0c 	addi r18,r12,12                                
      }                                                               
                                                                      
      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 );               
 8011dd0:	34 03 01 0c 	mvi r3,268                                     
         the_jnode = (IMFS_jnode_t *) the_node;                       
         tmp_dirent.d_ino = the_jnode->st_ino;                        
         tmp_dirent.d_namlen = strlen( the_jnode->name );             
 8011dd4:	ba 40 08 00 	mv r1,r18                                      
      }                                                               
                                                                      
      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 );               
 8011dd8:	0f 83 00 3c 	sh (sp+60),r3                                  
         the_jnode = (IMFS_jnode_t *) the_node;                       
         tmp_dirent.d_ino = the_jnode->st_ino;                        
 8011ddc:	5b 82 00 34 	sw (sp+52),r2                                  
         tmp_dirent.d_namlen = strlen( the_jnode->name );             
 8011de0:	f8 00 06 d1 	calli 8013924 <strlen>                         
 8011de4:	0f 81 00 3e 	sh (sp+62),r1                                  
         strcpy( tmp_dirent.d_name, the_jnode->name );                
 8011de8:	ba 40 10 00 	mv r2,r18                                      
 8011dec:	ba 80 08 00 	mv r1,r20                                      
 8011df0:	f8 00 06 88 	calli 8013810 <strcpy>                         
         memcpy(                                                      
 8011df4:	b6 6e 08 00 	add r1,r19,r14                                 
 8011df8:	34 03 01 0c 	mvi r3,268                                     
 8011dfc:	ba a0 10 00 	mv r2,r21                                      
 8011e00:	f8 00 04 be 	calli 80130f8 <memcpy>                         
            buffer + bytes_transferred,                               
            (void *)&tmp_dirent,                                      
            sizeof( struct dirent )                                   
         );                                                           
         iop->offset = iop->offset + sizeof(struct dirent);           
 8011e04:	29 a4 00 14 	lw r4,(r13+20)                                 
 8011e08:	29 a1 00 10 	lw r1,(r13+16)                                 
         bytes_transferred = bytes_transferred + sizeof( struct dirent );
 8011e0c:	35 ce 01 0c 	addi r14,r14,268                               
         memcpy(                                                      
            buffer + bytes_transferred,                               
            (void *)&tmp_dirent,                                      
            sizeof( struct dirent )                                   
         );                                                           
         iop->offset = iop->offset + sizeof(struct dirent);           
 8011e10:	34 83 01 0c 	addi r3,r4,268                                 
 8011e14:	f4 83 20 00 	cmpgu r4,r4,r3                                 
 8011e18:	59 a3 00 14 	sw (r13+20),r3                                 
 8011e1c:	b4 81 18 00 	add r3,r4,r1                                   
 8011e20:	59 a3 00 10 	sw (r13+16),r3                                 
 *  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(                                                
 8011e24:	35 6b 01 0c 	addi r11,r11,268                               
         );                                                           
         iop->offset = iop->offset + sizeof(struct dirent);           
         bytes_transferred = bytes_transferred + sizeof( struct dirent );
      }                                                               
                                                                      
      the_node = the_node->next;                                      
 8011e28:	29 8c 00 00 	lw r12,(r12+0)                                 
   /* 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 (                                                              
 8011e2c:	49 eb 00 02 	bg r15,r11,8011e34 <imfs_dir_read+0x12c>       
 8011e30:	e3 ff ff d3 	bi 8011d7c <imfs_dir_read+0x74>                
      current_entry = 0;                                              
      current_entry < last_entry;                                     
      current_entry = current_entry + sizeof(struct dirent) ){        
                                                                      
      if ( rtems_chain_is_tail( the_chain, the_node ) ){              
 8011e34:	45 91 ff d2 	be r12,r17,8011d7c <imfs_dir_read+0x74>        
         /* entry in the read */                                      
         return bytes_transferred;  /* Indicate that there are no more */
                                    /* entries to return */           
      }                                                               
                                                                      
      if( current_entry >= first_entry ) {                            
 8011e38:	4a 0b ff fb 	bg r16,r11,8011e24 <imfs_dir_read+0x11c>       
 8011e3c:	e3 ff ff e2 	bi 8011dc4 <imfs_dir_read+0xbc>                
                                                                      
08011bfc <imfs_dir_rmnod>:                                            
                                                                      
int imfs_dir_rmnod(                                                   
  rtems_filesystem_location_info_t  *parent_pathloc, /* IN */         
  rtems_filesystem_location_info_t  *pathloc         /* IN */         
)                                                                     
{                                                                     
 8011bfc:	37 9c ff e8 	addi sp,sp,-24                                 
 8011c00:	5b 8b 00 10 	sw (sp+16),r11                                 
 8011c04:	5b 8c 00 0c 	sw (sp+12),r12                                 
 8011c08:	5b 8d 00 08 	sw (sp+8),r13                                  
 8011c0c:	5b 9d 00 04 	sw (sp+4),ra                                   
  IMFS_jnode_t *the_jnode;                                            
                                                                      
  the_jnode = (IMFS_jnode_t *) pathloc->node_access;                  
 8011c10:	28 4b 00 00 	lw r11,(r2+0)                                  
                                                                      
int imfs_dir_rmnod(                                                   
  rtems_filesystem_location_info_t  *parent_pathloc, /* IN */         
  rtems_filesystem_location_info_t  *pathloc         /* IN */         
)                                                                     
{                                                                     
 8011c14:	b8 40 60 00 	mv r12,r2                                      
 8011c18:	29 62 00 50 	lw r2,(r11+80)                                 
 8011c1c:	35 61 00 54 	addi r1,r11,84                                 
 8011c20:	5c 41 00 2e 	bne r2,r1,8011cd8 <imfs_dir_rmnod+0xdc>        
                                                                      
  /*                                                                  
   * You cannot remove the file system root node.                     
   */                                                                 
                                                                      
  if ( pathloc->mt_entry->mt_fs_root.node_access == pathloc->node_access )
 8011c24:	29 81 00 10 	lw r1,(r12+16)                                 
 8011c28:	28 21 00 1c 	lw r1,(r1+28)                                  
 8011c2c:	45 61 00 30 	be r11,r1,8011cec <imfs_dir_rmnod+0xf0>        
                                                                      
  /*                                                                  
   * You cannot remove a mountpoint.                                  
   */                                                                 
                                                                      
   if ( the_jnode->info.directory.mt_fs != NULL )                     
 8011c30:	29 6d 00 5c 	lw r13,(r11+92)                                
 8011c34:	5d a0 00 2e 	bne r13,r0,8011cec <imfs_dir_rmnod+0xf0>       <== NEVER TAKEN
                                                                      
  /*                                                                  
   * Take the node out of the parent's chain that contains this node  
   */                                                                 
                                                                      
  if ( the_jnode->Parent != NULL ) {                                  
 8011c38:	29 61 00 08 	lw r1,(r11+8)                                  
 8011c3c:	44 2d 00 04 	be r1,r13,8011c4c <imfs_dir_rmnod+0x50>        
 8011c40:	b9 60 08 00 	mv r1,r11                                      
 8011c44:	fb ff cd a2 	calli 80052cc <_Chain_Extract>                 
    rtems_chain_extract( (rtems_chain_node *) the_jnode );            
    the_jnode->Parent = NULL;                                         
 8011c48:	59 6d 00 08 	sw (r11+8),r13                                 
                                                                      
  /*                                                                  
   * Decrement the link counter and see if we can free the space.     
   */                                                                 
                                                                      
  the_jnode->st_nlink--;                                              
 8011c4c:	2d 63 00 34 	lhu r3,(r11+52)                                
  IMFS_update_ctime( the_jnode );                                     
 8011c50:	34 02 00 00 	mvi r2,0                                       
 8011c54:	37 81 00 14 	addi r1,sp,20                                  
                                                                      
  /*                                                                  
   * Decrement the link counter and see if we can free the space.     
   */                                                                 
                                                                      
  the_jnode->st_nlink--;                                              
 8011c58:	34 63 ff ff 	addi r3,r3,-1                                  
 8011c5c:	0d 63 00 34 	sh (r11+52),r3                                 
  IMFS_update_ctime( the_jnode );                                     
 8011c60:	fb ff c4 04 	calli 8002c70 <gettimeofday>                   
 8011c64:	2b 81 00 14 	lw r1,(sp+20)                                  
 8011c68:	59 61 00 48 	sw (r11+72),r1                                 
                                                                      
  /*                                                                  
   * The file cannot be open and the link must be less than 1 to free.
   */                                                                 
                                                                      
  if ( !rtems_libio_is_file_open( the_jnode ) && (the_jnode->st_nlink < 1) ) {
 8011c6c:	b9 60 08 00 	mv r1,r11                                      
 8011c70:	fb ff f0 bd 	calli 800df64 <rtems_libio_is_file_open>       
 8011c74:	5c 20 00 12 	bne r1,r0,8011cbc <imfs_dir_rmnod+0xc0>        
 8011c78:	2d 62 00 34 	lhu r2,(r11+52)                                
 8011c7c:	5c 41 00 10 	bne r2,r1,8011cbc <imfs_dir_rmnod+0xc0>        
                                                                      
    /*                                                                
     * Is the rtems_filesystem_current is this node?                  
     */                                                               
                                                                      
    if ( rtems_filesystem_current.node_access == pathloc->node_access )
 8011c80:	78 01 08 02 	mvhi r1,0x802                                  
 8011c84:	38 21 40 f8 	ori r1,r1,0x40f8                               
 8011c88:	28 21 00 00 	lw r1,(r1+0)                                   
 8011c8c:	29 83 00 00 	lw r3,(r12+0)                                  
 8011c90:	28 24 00 04 	lw r4,(r1+4)                                   
 8011c94:	44 83 00 1b 	be r4,r3,8011d00 <imfs_dir_rmnod+0x104>        <== NEVER TAKEN
                                                                      
    /*                                                                
     * Free memory associated with a memory file.                     
     */                                                               
                                                                      
    free( the_jnode );                                                
 8011c98:	b9 60 08 00 	mv r1,r11                                      
 8011c9c:	fb ff c3 c7 	calli 8002bb8 <free>                           
 8011ca0:	34 01 00 00 	mvi r1,0                                       
  }                                                                   
                                                                      
  return 0;                                                           
                                                                      
}                                                                     
 8011ca4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8011ca8:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8011cac:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8011cb0:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8011cb4:	37 9c 00 18 	addi sp,sp,24                                  
 8011cb8:	c3 a0 00 00 	ret                                            
                                                                      
    /*                                                                
     * Free memory associated with a memory file.                     
     */                                                               
                                                                      
    free( the_jnode );                                                
 8011cbc:	34 01 00 00 	mvi r1,0                                       
  }                                                                   
                                                                      
  return 0;                                                           
                                                                      
}                                                                     
 8011cc0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8011cc4:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8011cc8:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8011ccc:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8011cd0:	37 9c 00 18 	addi sp,sp,24                                  
 8011cd4:	c3 a0 00 00 	ret                                            
  /*                                                                  
   * 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 );               
 8011cd8:	f8 00 02 62 	calli 8012660 <__errno>                        
 8011cdc:	34 02 00 5a 	mvi r2,90                                      
 8011ce0:	58 22 00 00 	sw (r1+0),r2                                   
 8011ce4:	34 01 ff ff 	mvi r1,-1                                      
 8011ce8:	e3 ff ff f6 	bi 8011cc0 <imfs_dir_rmnod+0xc4>               
  /*                                                                  
   * You cannot remove a mountpoint.                                  
   */                                                                 
                                                                      
   if ( the_jnode->info.directory.mt_fs != NULL )                     
     rtems_set_errno_and_return_minus_one( EBUSY );                   
 8011cec:	f8 00 02 5d 	calli 8012660 <__errno>                        
 8011cf0:	34 02 00 10 	mvi r2,16                                      
 8011cf4:	58 22 00 00 	sw (r1+0),r2                                   
 8011cf8:	34 01 ff ff 	mvi r1,-1                                      
 8011cfc:	e3 ff ff f1 	bi 8011cc0 <imfs_dir_rmnod+0xc4>               
    /*                                                                
     * Is the rtems_filesystem_current is this node?                  
     */                                                               
                                                                      
    if ( rtems_filesystem_current.node_access == pathloc->node_access )
       rtems_filesystem_current.node_access = NULL;                   
 8011d00:	58 22 00 04 	sw (r1+4),r2                                   <== NOT EXECUTED
 8011d04:	e3 ff ff e5 	bi 8011c98 <imfs_dir_rmnod+0x9c>               <== NOT EXECUTED
                                                                      
08029cd4 <init_etc_passwd_group>:                                     
                                                                      
/*                                                                    
 * Initialize useable but dummy databases                             
 */                                                                   
void init_etc_passwd_group(void)                                      
{                                                                     
 8029cd4:	37 9c ff f4 	addi sp,sp,-12                                 
 8029cd8:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8029cdc:	5b 8c 00 08 	sw (sp+8),r12                                  
 8029ce0:	5b 9d 00 04 	sw (sp+4),ra                                   
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
 8029ce4:	78 03 08 07 	mvhi r3,0x807                                  
 8029ce8:	38 63 4b b4 	ori r3,r3,0x4bb4                               
 8029cec:	40 6b 00 00 	lbu r11,(r3+0)                                 
 8029cf0:	45 60 00 06 	be r11,r0,8029d08 <init_etc_passwd_group+0x34> 
    fprintf( fp, "root:x:0:root\n"                                    
                 "rtems:x:1:rtems\n"                                  
                 "tty:x:2:tty\n" );                                   
    fclose(fp);                                                       
  }                                                                   
}                                                                     
 8029cf4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8029cf8:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8029cfc:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8029d00:	37 9c 00 0c 	addi sp,sp,12                                  
 8029d04:	c3 a0 00 00 	ret                                            
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
 8029d08:	34 04 00 01 	mvi r4,1                                       
  mkdir("/etc", 0777);                                                
 8029d0c:	78 01 08 06 	mvhi r1,0x806                                  
 8029d10:	34 02 01 ff 	mvi r2,511                                     
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
 8029d14:	30 64 00 00 	sb (r3+0),r4                                   
  mkdir("/etc", 0777);                                                
 8029d18:	38 21 48 24 	ori r1,r1,0x4824                               
 8029d1c:	fb ff 74 be 	calli 8007014 <mkdir>                          
                                                                      
  /*                                                                  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
 8029d20:	78 01 08 06 	mvhi r1,0x806                                  
 8029d24:	78 02 08 06 	mvhi r2,0x806                                  
 8029d28:	38 21 48 a4 	ori r1,r1,0x48a4                               
 8029d2c:	38 42 cf 7c 	ori r2,r2,0xcf7c                               
 8029d30:	f8 00 78 a5 	calli 8047fc4 <fopen>                          
 8029d34:	b8 20 60 00 	mv r12,r1                                      
 8029d38:	44 2b 00 1f 	be r1,r11,8029db4 <init_etc_passwd_group+0xe0> <== ALWAYS TAKEN
  }                                                                   
  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);                                                       
 8029d3c:	f8 00 75 fd 	calli 8047530 <fclose>                         
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize /etc/group                                           
   */                                                                 
  if ((fp = fopen("/etc/group", "r")) != NULL) {                      
 8029d40:	78 01 08 06 	mvhi r1,0x806                                  
 8029d44:	78 02 08 06 	mvhi r2,0x806                                  
 8029d48:	38 21 49 54 	ori r1,r1,0x4954                               
 8029d4c:	38 42 cf 7c 	ori r2,r2,0xcf7c                               
 8029d50:	f8 00 78 9d 	calli 8047fc4 <fopen>                          
 8029d54:	b8 20 58 00 	mv r11,r1                                      
 8029d58:	44 20 00 07 	be r1,r0,8029d74 <init_etc_passwd_group+0xa0>  <== ALWAYS TAKEN
  }                                                                   
  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);                                                       
 8029d5c:	f8 00 75 f5 	calli 8047530 <fclose>                         <== NOT EXECUTED
  }                                                                   
}                                                                     
 8029d60:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8029d64:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8029d68:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8029d6c:	37 9c 00 0c 	addi sp,sp,12                                  
 8029d70:	c3 a0 00 00 	ret                                            
   *  Initialize /etc/group                                           
   */                                                                 
  if ((fp = fopen("/etc/group", "r")) != NULL) {                      
    fclose(fp);                                                       
  }                                                                   
  else if ((fp = fopen("/etc/group", "w")) != NULL) {                 
 8029d74:	78 01 08 06 	mvhi r1,0x806                                  
 8029d78:	78 02 08 06 	mvhi r2,0x806                                  
 8029d7c:	38 21 49 54 	ori r1,r1,0x4954                               
 8029d80:	38 42 5a 4c 	ori r2,r2,0x5a4c                               
 8029d84:	f8 00 78 90 	calli 8047fc4 <fopen>                          
 8029d88:	b8 20 60 00 	mv r12,r1                                      
 8029d8c:	44 2b ff da 	be r1,r11,8029cf4 <init_etc_passwd_group+0x20> <== NEVER TAKEN
    fprintf( fp, "root:x:0:root\n"                                    
 8029d90:	78 01 08 06 	mvhi r1,0x806                                  
 8029d94:	34 02 00 01 	mvi r2,1                                       
 8029d98:	34 03 00 2a 	mvi r3,42                                      
 8029d9c:	b9 80 20 00 	mv r4,r12                                      
 8029da0:	38 21 a1 d8 	ori r1,r1,0xa1d8                               
 8029da4:	f8 00 7d c3 	calli 80494b0 <fwrite>                         
                 "rtems:x:1:rtems\n"                                  
                 "tty:x:2:tty\n" );                                   
    fclose(fp);                                                       
 8029da8:	b9 80 08 00 	mv r1,r12                                      
 8029dac:	f8 00 75 e1 	calli 8047530 <fclose>                         
 8029db0:	e3 ff ff ec 	bi 8029d60 <init_etc_passwd_group+0x8c>        
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
    fclose(fp);                                                       
  }                                                                   
  else if ((fp = fopen("/etc/passwd", "w")) != NULL) {                
 8029db4:	78 01 08 06 	mvhi r1,0x806                                  
 8029db8:	78 02 08 06 	mvhi r2,0x806                                  
 8029dbc:	38 21 48 a4 	ori r1,r1,0x48a4                               
 8029dc0:	38 42 5a 4c 	ori r2,r2,0x5a4c                               
 8029dc4:	f8 00 78 80 	calli 8047fc4 <fopen>                          
 8029dc8:	b8 20 58 00 	mv r11,r1                                      
 8029dcc:	44 2c ff dd 	be r1,r12,8029d40 <init_etc_passwd_group+0x6c> <== NEVER TAKEN
    fprintf(fp, "root:*:0:0:root::/:/bin/sh\n"                        
 8029dd0:	78 01 08 06 	mvhi r1,0x806                                  
 8029dd4:	38 21 a1 70 	ori r1,r1,0xa170                               
 8029dd8:	34 02 00 01 	mvi r2,1                                       
 8029ddc:	34 03 00 66 	mvi r3,102                                     
 8029de0:	b9 60 20 00 	mv r4,r11                                      
 8029de4:	f8 00 7d b3 	calli 80494b0 <fwrite>                         
                 "rtems:*:1:1:RTEMS Application::/:/bin/sh\n"         
                 "tty:!:2:2:tty owner::/:/bin/false\n" );             
    fclose(fp);                                                       
 8029de8:	b9 60 08 00 	mv r1,r11                                      
 8029dec:	e3 ff ff d4 	bi 8029d3c <init_etc_passwd_group+0x68>        
                                                                      
0800592c <ioctl>:                                                     
int ioctl(                                                            
  int  fd,                                                            
  ioctl_command_t  command,                                           
  ...                                                                 
)                                                                     
{                                                                     
 800592c:	37 9c ff d4 	addi sp,sp,-44                                 
 8005930:	5b 8b 00 10 	sw (sp+16),r11                                 
 8005934:	5b 8c 00 0c 	sw (sp+12),r12                                 
 8005938:	5b 8d 00 08 	sw (sp+8),r13                                  
 800593c:	5b 9d 00 04 	sw (sp+4),ra                                   
  va_list            ap;                                              
  rtems_status_code  rc;                                              
  rtems_libio_t     *iop;                                             
  void              *buffer;                                          
                                                                      
  rtems_libio_check_fd( fd );                                         
 8005940:	78 09 08 02 	mvhi r9,0x802                                  
 8005944:	39 29 40 10 	ori r9,r9,0x4010                               
 8005948:	29 29 00 00 	lw r9,(r9+0)                                   
int ioctl(                                                            
  int  fd,                                                            
  ioctl_command_t  command,                                           
  ...                                                                 
)                                                                     
{                                                                     
 800594c:	5b 83 00 18 	sw (sp+24),r3                                  
 8005950:	5b 84 00 1c 	sw (sp+28),r4                                  
 8005954:	5b 85 00 20 	sw (sp+32),r5                                  
 8005958:	5b 86 00 24 	sw (sp+36),r6                                  
 800595c:	5b 87 00 28 	sw (sp+40),r7                                  
 8005960:	5b 88 00 2c 	sw (sp+44),r8                                  
 8005964:	5b 82 00 14 	sw (sp+20),r2                                  
 8005968:	b8 40 60 00 	mv r12,r2                                      
  va_list            ap;                                              
  rtems_status_code  rc;                                              
  rtems_libio_t     *iop;                                             
  void              *buffer;                                          
                                                                      
  rtems_libio_check_fd( fd );                                         
 800596c:	55 21 00 06 	bgu r9,r1,8005984 <ioctl+0x58>                 
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
    rtems_set_errno_and_return_minus_one( EBADF );                    
 8005970:	f8 00 34 b1 	calli 8012c34 <__errno>                        
 8005974:	34 02 00 09 	mvi r2,9                                       
 8005978:	58 22 00 00 	sw (r1+0),r2                                   
 800597c:	34 01 ff ff 	mvi r1,-1                                      
 8005980:	e0 00 00 15 	bi 80059d4 <ioctl+0xa8>                        
  rtems_status_code  rc;                                              
  rtems_libio_t     *iop;                                             
  void              *buffer;                                          
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
 8005984:	34 02 00 03 	mvi r2,3                                       
 8005988:	fb ff ec bf 	calli 8000c84 <__ashlsi3>                      
 800598c:	34 02 00 03 	mvi r2,3                                       
 8005990:	78 0b 08 02 	mvhi r11,0x802                                 
 8005994:	b8 20 68 00 	mv r13,r1                                      
 8005998:	39 6b 47 78 	ori r11,r11,0x4778                             
 800599c:	fb ff ec ba 	calli 8000c84 <__ashlsi3>                      
 80059a0:	29 62 00 00 	lw r2,(r11+0)                                  
 80059a4:	b5 a1 08 00 	add r1,r13,r1                                  
 80059a8:	b4 41 08 00 	add r1,r2,r1                                   
  rtems_libio_check_is_open(iop);                                     
 80059ac:	28 22 00 18 	lw r2,(r1+24)                                  
 80059b0:	20 42 01 00 	andi r2,r2,0x100                               
 80059b4:	44 40 ff ef 	be r2,r0,8005970 <ioctl+0x44>                  <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
 80059b8:	28 22 00 40 	lw r2,(r1+64)                                  
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
                                                                      
  va_start(ap, command);                                              
                                                                      
  buffer = va_arg(ap, void *);                                        
 80059bc:	2b 83 00 18 	lw r3,(sp+24)                                  
                                                                      
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
 80059c0:	44 40 ff ec 	be r2,r0,8005970 <ioctl+0x44>                  <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EBADF );                    
                                                                      
  if ( !iop->handlers->ioctl_h )                                      
 80059c4:	28 44 00 10 	lw r4,(r2+16)                                  
 80059c8:	44 80 00 09 	be r4,r0,80059ec <ioctl+0xc0>                  <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  rc = (*iop->handlers->ioctl_h)( iop, command, buffer );             
 80059cc:	b9 80 10 00 	mv r2,r12                                      
 80059d0:	d8 80 00 00 	call r4                                        
                                                                      
  return rc;                                                          
}                                                                     
 80059d4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80059d8:	2b 8b 00 10 	lw r11,(sp+16)                                 
 80059dc:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 80059e0:	2b 8d 00 08 	lw r13,(sp+8)                                  
 80059e4:	37 9c 00 2c 	addi sp,sp,44                                  
 80059e8:	c3 a0 00 00 	ret                                            
                                                                      
  if ( !iop->handlers )                                               
    rtems_set_errno_and_return_minus_one( EBADF );                    
                                                                      
  if ( !iop->handlers->ioctl_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 80059ec:	f8 00 34 92 	calli 8012c34 <__errno>                        <== NOT EXECUTED
 80059f0:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 80059f4:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 80059f8:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 80059fc:	e3 ff ff f6 	bi 80059d4 <ioctl+0xa8>                        <== NOT EXECUTED
                                                                      
080048b4 <iproc>:                                                     
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
 80048b4:	37 9c ff f4 	addi sp,sp,-12                                 <== NOT EXECUTED
 80048b8:	5b 8b 00 0c 	sw (sp+12),r11                                 <== NOT EXECUTED
 80048bc:	5b 8c 00 08 	sw (sp+8),r12                                  <== NOT EXECUTED
 80048c0:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 80048c4:	b8 40 58 00 	mv r11,r2                                      <== NOT EXECUTED
	if (tty->termios.c_iflag & ISTRIP)                                   
 80048c8:	28 42 00 30 	lw r2,(r2+48)                                  <== NOT EXECUTED
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
 80048cc:	20 2c 00 ff 	andi r12,r1,0xff                               <== NOT EXECUTED
	if (tty->termios.c_iflag & ISTRIP)                                   
 80048d0:	20 41 00 20 	andi r1,r2,0x20                                <== NOT EXECUTED
 80048d4:	44 20 00 02 	be r1,r0,80048dc <iproc+0x28>                  <== NOT EXECUTED
		c &= 0x7f;                                                          
 80048d8:	21 8c 00 7f 	andi r12,r12,0x7f                              <== NOT EXECUTED
	if (tty->termios.c_iflag & IUCLC)                                    
 80048dc:	20 41 02 00 	andi r1,r2,0x200                               <== NOT EXECUTED
 80048e0:	44 20 00 0b 	be r1,r0,800490c <iproc+0x58>                  <== NOT EXECUTED
		c = tolower (c);                                                    
 80048e4:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 80048e8:	38 21 42 c8 	ori r1,r1,0x42c8                               <== NOT EXECUTED
 80048ec:	28 23 00 00 	lw r3,(r1+0)                                   <== NOT EXECUTED
 80048f0:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 80048f4:	b4 6c 60 00 	add r12,r3,r12                                 <== NOT EXECUTED
 80048f8:	41 84 00 01 	lbu r4,(r12+1)                                 <== NOT EXECUTED
 80048fc:	34 03 00 01 	mvi r3,1                                       <== NOT EXECUTED
 8004900:	20 84 00 03 	andi r4,r4,0x3                                 <== NOT EXECUTED
 8004904:	44 83 00 44 	be r4,r3,8004a14 <iproc+0x160>                 <== NOT EXECUTED
 8004908:	20 2c 00 ff 	andi r12,r1,0xff                               <== NOT EXECUTED
	if (c == '\r') {                                                     
 800490c:	34 01 00 0d 	mvi r1,13                                      <== NOT EXECUTED
 8004910:	45 81 00 18 	be r12,r1,8004970 <iproc+0xbc>                 <== NOT EXECUTED
		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)) {            
 8004914:	34 03 00 0a 	mvi r3,10                                      <== NOT EXECUTED
 8004918:	45 83 00 3b 	be r12,r3,8004a04 <iproc+0x150>                <== NOT EXECUTED
		c = '\r';                                                           
	}                                                                    
	if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {                
 800491c:	5d 80 00 20 	bne r12,r0,800499c <iproc+0xe8>                <== NOT EXECUTED
	}                                                                    
                                                                      
	/*                                                                   
	 * FIXME: Should do IMAXBEL handling somehow                         
	 */                                                                  
	if (tty->ccount < (CBUFSIZE-1)) {                                    
 8004920:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8004924:	38 21 42 34 	ori r1,r1,0x4234                               <== NOT EXECUTED
 8004928:	28 21 00 00 	lw r1,(r1+0)                                   <== NOT EXECUTED
 800492c:	29 62 00 20 	lw r2,(r11+32)                                 <== NOT EXECUTED
 8004930:	34 21 ff ff 	addi r1,r1,-1                                  <== NOT EXECUTED
 8004934:	4c 41 00 11 	bge r2,r1,8004978 <iproc+0xc4>                 <== NOT EXECUTED
		if (tty->termios.c_lflag & ECHO)                                    
 8004938:	29 61 00 3c 	lw r1,(r11+60)                                 <== NOT EXECUTED
 800493c:	20 21 00 08 	andi r1,r1,0x8                                 <== NOT EXECUTED
 8004940:	5c 20 00 37 	bne r1,r0,8004a1c <iproc+0x168>                <== NOT EXECUTED
			echo (c, tty);                                                     
		tty->cbuf[tty->ccount++] = c;                                       
 8004944:	29 64 00 1c 	lw r4,(r11+28)                                 <== NOT EXECUTED
 8004948:	34 43 00 01 	addi r3,r2,1                                   <== NOT EXECUTED
 800494c:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 8004950:	b4 82 10 00 	add r2,r4,r2                                   <== NOT EXECUTED
 8004954:	30 4c 00 00 	sb (r2+0),r12                                  <== NOT EXECUTED
 8004958:	59 63 00 20 	sw (r11+32),r3                                 <== NOT EXECUTED
	}                                                                    
	return 0;                                                            
}                                                                     
 800495c:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8004960:	2b 8b 00 0c 	lw r11,(sp+12)                                 <== NOT EXECUTED
 8004964:	2b 8c 00 08 	lw r12,(sp+8)                                  <== NOT EXECUTED
 8004968:	37 9c 00 0c 	addi sp,sp,12                                  <== NOT EXECUTED
 800496c:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
	if (tty->termios.c_iflag & ISTRIP)                                   
		c &= 0x7f;                                                          
	if (tty->termios.c_iflag & IUCLC)                                    
		c = tolower (c);                                                    
	if (c == '\r') {                                                     
		if (tty->termios.c_iflag & IGNCR)                                   
 8004970:	20 41 00 80 	andi r1,r2,0x80                                <== NOT EXECUTED
 8004974:	44 20 00 07 	be r1,r0,8004990 <iproc+0xdc>                  <== NOT EXECUTED
	 * 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;                                       
 8004978:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
	}                                                                    
	return 0;                                                            
}                                                                     
 800497c:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8004980:	2b 8b 00 0c 	lw r11,(sp+12)                                 <== NOT EXECUTED
 8004984:	2b 8c 00 08 	lw r12,(sp+8)                                  <== NOT EXECUTED
 8004988:	37 9c 00 0c 	addi sp,sp,12                                  <== NOT EXECUTED
 800498c:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
	if (tty->termios.c_iflag & IUCLC)                                    
		c = tolower (c);                                                    
	if (c == '\r') {                                                     
		if (tty->termios.c_iflag & IGNCR)                                   
			return 0;                                                          
		if (tty->termios.c_iflag & ICRNL)                                   
 8004990:	20 42 01 00 	andi r2,r2,0x100                               <== NOT EXECUTED
 8004994:	44 41 00 02 	be r2,r1,800499c <iproc+0xe8>                  <== NOT EXECUTED
 8004998:	34 0c 00 0a 	mvi r12,10                                     <== NOT EXECUTED
			c = '\n';                                                          
	}                                                                    
	else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {            
		c = '\r';                                                           
	}                                                                    
	if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {                
 800499c:	29 62 00 3c 	lw r2,(r11+60)                                 <== NOT EXECUTED
 80049a0:	20 41 00 02 	andi r1,r2,0x2                                 <== NOT EXECUTED
 80049a4:	44 20 ff df 	be r1,r0,8004920 <iproc+0x6c>                  <== NOT EXECUTED
		if (c == tty->termios.c_cc[VERASE]) {                               
 80049a8:	41 61 00 43 	lbu r1,(r11+67)                                <== NOT EXECUTED
 80049ac:	44 2c 00 38 	be r1,r12,8004a8c <iproc+0x1d8>                <== NOT EXECUTED
			erase (tty, 0);                                                    
			return 0;                                                          
		}                                                                   
		else if (c == tty->termios.c_cc[VKILL]) {                           
 80049b0:	41 61 00 44 	lbu r1,(r11+68)                                <== NOT EXECUTED
 80049b4:	44 2c 00 23 	be r1,r12,8004a40 <iproc+0x18c>                <== NOT EXECUTED
			erase (tty, 1);                                                    
			return 0;                                                          
		}                                                                   
		else if (c == tty->termios.c_cc[VEOF]) {                            
 80049b8:	41 63 00 45 	lbu r3,(r11+69)                                <== NOT EXECUTED
 80049bc:	34 01 00 01 	mvi r1,1                                       <== NOT EXECUTED
 80049c0:	44 6c ff e7 	be r3,r12,800495c <iproc+0xa8>                 <== NOT EXECUTED
			return 1;                                                          
		}                                                                   
		else if (c == '\n') {                                               
 80049c4:	34 01 00 0a 	mvi r1,10                                      <== NOT EXECUTED
 80049c8:	45 81 00 23 	be r12,r1,8004a54 <iproc+0x1a0>                <== NOT EXECUTED
			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])                             
 80049cc:	41 61 00 4c 	lbu r1,(r11+76)                                <== NOT EXECUTED
 80049d0:	44 2c 00 03 	be r1,r12,80049dc <iproc+0x128>                <== NOT EXECUTED
		      || (c == tty->termios.c_cc[VEOL2])) {                         
 80049d4:	41 61 00 51 	lbu r1,(r11+81)                                <== NOT EXECUTED
 80049d8:	5c 2c ff d2 	bne r1,r12,8004920 <iproc+0x6c>                <== NOT EXECUTED
			if (tty->termios.c_lflag & ECHO)                                   
 80049dc:	20 42 00 08 	andi r2,r2,0x8                                 <== NOT EXECUTED
 80049e0:	5c 40 00 14 	bne r2,r0,8004a30 <iproc+0x17c>                <== NOT EXECUTED
				echo (c, tty);                                                    
			tty->cbuf[tty->ccount++] = c;                                      
 80049e4:	29 63 00 20 	lw r3,(r11+32)                                 <== NOT EXECUTED
 80049e8:	29 64 00 1c 	lw r4,(r11+28)                                 <== NOT EXECUTED
 80049ec:	34 01 00 01 	mvi r1,1                                       <== NOT EXECUTED
 80049f0:	b4 61 10 00 	add r2,r3,r1                                   <== NOT EXECUTED
 80049f4:	b4 83 18 00 	add r3,r4,r3                                   <== NOT EXECUTED
 80049f8:	30 6c 00 00 	sb (r3+0),r12                                  <== NOT EXECUTED
 80049fc:	59 62 00 20 	sw (r11+32),r2                                 <== NOT EXECUTED
			return 1;                                                          
 8004a00:	e3 ff ff d7 	bi 800495c <iproc+0xa8>                        <== NOT EXECUTED
		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)) {            
 8004a04:	20 42 00 40 	andi r2,r2,0x40                                <== NOT EXECUTED
 8004a08:	44 40 ff e5 	be r2,r0,800499c <iproc+0xe8>                  <== NOT EXECUTED
 8004a0c:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
 8004a10:	e3 ff ff e3 	bi 800499c <iproc+0xe8>                        <== NOT EXECUTED
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
	if (tty->termios.c_iflag & ISTRIP)                                   
		c &= 0x7f;                                                          
	if (tty->termios.c_iflag & IUCLC)                                    
		c = tolower (c);                                                    
 8004a14:	34 21 00 20 	addi r1,r1,32                                  <== NOT EXECUTED
 8004a18:	e3 ff ff bc 	bi 8004908 <iproc+0x54>                        <== NOT EXECUTED
	/*                                                                   
	 * FIXME: Should do IMAXBEL handling somehow                         
	 */                                                                  
	if (tty->ccount < (CBUFSIZE-1)) {                                    
		if (tty->termios.c_lflag & ECHO)                                    
			echo (c, tty);                                                     
 8004a1c:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 8004a20:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8004a24:	fb ff fe ee 	calli 80045dc <echo>                           <== NOT EXECUTED
 8004a28:	29 62 00 20 	lw r2,(r11+32)                                 <== NOT EXECUTED
 8004a2c:	e3 ff ff c6 	bi 8004944 <iproc+0x90>                        <== 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);                                                    
 8004a30:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8004a34:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 8004a38:	fb ff fe e9 	calli 80045dc <echo>                           <== NOT EXECUTED
 8004a3c:	e3 ff ff ea 	bi 80049e4 <iproc+0x130>                       <== 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);                                                    
 8004a40:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8004a44:	34 02 00 01 	mvi r2,1                                       <== NOT EXECUTED
 8004a48:	fb ff ff 12 	calli 8004690 <erase>                          <== NOT EXECUTED
 8004a4c:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
			return 0;                                                          
 8004a50:	e3 ff ff c3 	bi 800495c <iproc+0xa8>                        <== NOT EXECUTED
		}                                                                   
		else if (c == tty->termios.c_cc[VEOF]) {                            
			return 1;                                                          
		}                                                                   
		else if (c == '\n') {                                               
			if (tty->termios.c_lflag & (ECHO | ECHONL))                        
 8004a54:	20 42 00 48 	andi r2,r2,0x48                                <== NOT EXECUTED
 8004a58:	44 40 00 04 	be r2,r0,8004a68 <iproc+0x1b4>                 <== NOT EXECUTED
				echo (c, tty);                                                    
 8004a5c:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8004a60:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 8004a64:	fb ff fe de 	calli 80045dc <echo>                           <== NOT EXECUTED
			tty->cbuf[tty->ccount++] = c;                                      
 8004a68:	29 62 00 20 	lw r2,(r11+32)                                 <== NOT EXECUTED
 8004a6c:	29 64 00 1c 	lw r4,(r11+28)                                 <== NOT EXECUTED
 8004a70:	34 03 00 0a 	mvi r3,10                                      <== NOT EXECUTED
 8004a74:	34 41 00 01 	addi r1,r2,1                                   <== NOT EXECUTED
 8004a78:	b4 82 10 00 	add r2,r4,r2                                   <== NOT EXECUTED
 8004a7c:	30 43 00 00 	sb (r2+0),r3                                   <== NOT EXECUTED
 8004a80:	59 61 00 20 	sw (r11+32),r1                                 <== NOT EXECUTED
 8004a84:	34 01 00 01 	mvi r1,1                                       <== NOT EXECUTED
			return 1;                                                          
 8004a88:	e3 ff ff b5 	bi 800495c <iproc+0xa8>                        <== NOT EXECUTED
	else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {            
		c = '\r';                                                           
	}                                                                    
	if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {                
		if (c == tty->termios.c_cc[VERASE]) {                               
			erase (tty, 0);                                                    
 8004a8c:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8004a90:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 8004a94:	fb ff fe ff 	calli 8004690 <erase>                          <== NOT EXECUTED
 8004a98:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
			return 0;                                                          
 8004a9c:	e3 ff ff b0 	bi 800495c <iproc+0xa8>                        <== NOT EXECUTED
                                                                      
080262b8 <kill>:                                                      
                                                                      
#if !defined(RTEMS_POSIX_API)                                         
int kill( pid_t pid, int sig )                                        
{                                                                     
  return 0;                                                           
}                                                                     
 80262b8:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 80262bc:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
0802a34c <link>:                                                      
                                                                      
int link(                                                             
  const char *existing,                                               
  const char *new                                                     
)                                                                     
{                                                                     
 802a34c:	37 9c ff c0 	addi sp,sp,-64                                 
 802a350:	5b 8b 00 14 	sw (sp+20),r11                                 
 802a354:	5b 8c 00 10 	sw (sp+16),r12                                 
 802a358:	5b 8d 00 0c 	sw (sp+12),r13                                 
 802a35c:	5b 8e 00 08 	sw (sp+8),r14                                  
 802a360:	5b 9d 00 04 	sw (sp+4),ra                                   
 802a364:	b8 20 60 00 	mv r12,r1                                      
 802a368:	b8 40 70 00 	mv r14,r2                                      
                                                                      
  /*                                                                  
   * Get the node we are linking to.                                  
   */                                                                 
                                                                      
  result = rtems_filesystem_evaluate_path( existing, strlen( existing ),
 802a36c:	37 8b 00 2c 	addi r11,sp,44                                 
 802a370:	f8 00 91 f8 	calli 804eb50 <strlen>                         
 802a374:	b8 20 10 00 	mv r2,r1                                       
 802a378:	34 03 00 00 	mvi r3,0                                       
 802a37c:	b9 80 08 00 	mv r1,r12                                      
 802a380:	b9 60 20 00 	mv r4,r11                                      
 802a384:	34 05 00 01 	mvi r5,1                                       
 802a388:	fb ff 70 63 	calli 8006514 <rtems_filesystem_evaluate_path> 
                                           0, &existing_loc, true );  
  if ( result != 0 )                                                  
 802a38c:	34 0c ff ff 	mvi r12,-1                                     
 802a390:	5c 20 00 35 	bne r1,r0,802a464 <link+0x118>                 
                                                                      
  /*                                                                  
   * Get the parent of the node we are creating.                      
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &parent_loc );             
 802a394:	41 c3 00 00 	lbu r3,(r14+0)                                 
 802a398:	64 64 00 5c 	cmpei r4,r3,92                                 
 802a39c:	64 62 00 2f 	cmpei r2,r3,47                                 
 802a3a0:	b8 82 20 00 	or r4,r4,r2                                    
 802a3a4:	44 81 00 38 	be r4,r1,802a484 <link+0x138>                  
 802a3a8:	78 03 08 07 	mvhi r3,0x807                                  
 802a3ac:	38 63 12 f0 	ori r3,r3,0x12f0                               
 802a3b0:	28 63 00 00 	lw r3,(r3+0)                                   
 802a3b4:	34 01 00 01 	mvi r1,1                                       
 802a3b8:	28 62 00 18 	lw r2,(r3+24)                                  
 802a3bc:	5b 82 00 18 	sw (sp+24),r2                                  
 802a3c0:	28 62 00 1c 	lw r2,(r3+28)                                  
 802a3c4:	5b 82 00 1c 	sw (sp+28),r2                                  
 802a3c8:	28 62 00 20 	lw r2,(r3+32)                                  
 802a3cc:	5b 82 00 20 	sw (sp+32),r2                                  
 802a3d0:	28 62 00 24 	lw r2,(r3+36)                                  
 802a3d4:	5b 82 00 24 	sw (sp+36),r2                                  
 802a3d8:	28 63 00 28 	lw r3,(r3+40)                                  
 802a3dc:	5b 83 00 28 	sw (sp+40),r3                                  
                                                                      
  if ( !parent_loc.ops->evalformake_h ) {                             
 802a3e0:	2b 82 00 24 	lw r2,(sp+36)                                  
 802a3e4:	28 44 00 04 	lw r4,(r2+4)                                   
 802a3e8:	44 80 00 59 	be r4,r0,802a54c <link+0x200>                  <== NEVER TAKEN
    rtems_filesystem_freenode( &existing_loc );                       
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*parent_loc.ops->evalformake_h)( &new[i], &parent_loc, &name_start );
 802a3ec:	37 8d 00 18 	addi r13,sp,24                                 
 802a3f0:	b5 c1 08 00 	add r1,r14,r1                                  
 802a3f4:	b9 a0 10 00 	mv r2,r13                                      
 802a3f8:	37 83 00 40 	addi r3,sp,64                                  
 802a3fc:	d8 80 00 00 	call r4                                        
 802a400:	b8 20 60 00 	mv r12,r1                                      
  if ( result != 0 ) {                                                
 802a404:	5c 20 00 48 	bne r1,r0,802a524 <link+0x1d8>                 
  /*                                                                  
   *  Check to see if the caller is trying to link across file system 
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( parent_loc.mt_entry != existing_loc.mt_entry ) {               
 802a408:	2b 81 00 3c 	lw r1,(sp+60)                                  
 802a40c:	2b 82 00 28 	lw r2,(sp+40)                                  
 802a410:	5c 41 00 2d 	bne r2,r1,802a4c4 <link+0x178>                 
    rtems_filesystem_freenode( &existing_loc );                       
    rtems_filesystem_freenode( &parent_loc );                         
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  }                                                                   
                                                                      
  if ( !parent_loc.ops->link_h ) {                                    
 802a414:	2b 82 00 24 	lw r2,(sp+36)                                  
 802a418:	28 44 00 08 	lw r4,(r2+8)                                   
 802a41c:	44 80 00 57 	be r4,r0,802a578 <link+0x22c>                  <== NEVER TAKEN
    rtems_filesystem_freenode( &existing_loc );                       
    rtems_filesystem_freenode( &parent_loc );                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*parent_loc.ops->link_h)( &existing_loc, &parent_loc, name_start );
 802a420:	2b 83 00 40 	lw r3,(sp+64)                                  
 802a424:	b9 60 08 00 	mv r1,r11                                      
 802a428:	b9 a0 10 00 	mv r2,r13                                      
 802a42c:	d8 80 00 00 	call r4                                        
 802a430:	b8 20 60 00 	mv r12,r1                                      
                                                                      
  rtems_filesystem_freenode( &existing_loc );                         
 802a434:	2b 81 00 38 	lw r1,(sp+56)                                  
 802a438:	44 20 00 05 	be r1,r0,802a44c <link+0x100>                  <== NEVER TAKEN
 802a43c:	28 22 00 1c 	lw r2,(r1+28)                                  
 802a440:	44 40 00 03 	be r2,r0,802a44c <link+0x100>                  <== NEVER TAKEN
 802a444:	b9 60 08 00 	mv r1,r11                                      
 802a448:	d8 40 00 00 	call r2                                        
  rtems_filesystem_freenode( &parent_loc );                           
 802a44c:	2b 81 00 24 	lw r1,(sp+36)                                  
 802a450:	44 20 00 05 	be r1,r0,802a464 <link+0x118>                  <== NEVER TAKEN
 802a454:	28 22 00 1c 	lw r2,(r1+28)                                  
 802a458:	44 40 00 03 	be r2,r0,802a464 <link+0x118>                  <== NEVER TAKEN
 802a45c:	b9 a0 08 00 	mv r1,r13                                      
 802a460:	d8 40 00 00 	call r2                                        
                                                                      
  return result;                                                      
}                                                                     
 802a464:	b9 80 08 00 	mv r1,r12                                      
 802a468:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802a46c:	2b 8b 00 14 	lw r11,(sp+20)                                 
 802a470:	2b 8c 00 10 	lw r12,(sp+16)                                 
 802a474:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 802a478:	2b 8e 00 08 	lw r14,(sp+8)                                  
 802a47c:	37 9c 00 40 	addi sp,sp,64                                  
 802a480:	c3 a0 00 00 	ret                                            
                                                                      
  /*                                                                  
   * Get the parent of the node we are creating.                      
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &parent_loc );             
 802a484:	44 64 ff c9 	be r3,r4,802a3a8 <link+0x5c>                   <== NEVER TAKEN
 802a488:	78 01 08 07 	mvhi r1,0x807                                  
 802a48c:	38 21 12 f0 	ori r1,r1,0x12f0                               
 802a490:	28 22 00 00 	lw r2,(r1+0)                                   
 802a494:	b8 80 08 00 	mv r1,r4                                       
 802a498:	28 43 00 04 	lw r3,(r2+4)                                   
 802a49c:	5b 83 00 18 	sw (sp+24),r3                                  
 802a4a0:	28 43 00 08 	lw r3,(r2+8)                                   
 802a4a4:	5b 83 00 1c 	sw (sp+28),r3                                  
 802a4a8:	28 43 00 0c 	lw r3,(r2+12)                                  
 802a4ac:	5b 83 00 20 	sw (sp+32),r3                                  
 802a4b0:	28 43 00 10 	lw r3,(r2+16)                                  
 802a4b4:	5b 83 00 24 	sw (sp+36),r3                                  
 802a4b8:	28 42 00 14 	lw r2,(r2+20)                                  
 802a4bc:	5b 82 00 28 	sw (sp+40),r2                                  
 802a4c0:	e3 ff ff c8 	bi 802a3e0 <link+0x94>                         
   *  Check to see if the caller is trying to link across file system 
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( parent_loc.mt_entry != existing_loc.mt_entry ) {               
    rtems_filesystem_freenode( &existing_loc );                       
 802a4c4:	2b 81 00 38 	lw r1,(sp+56)                                  
 802a4c8:	44 20 00 05 	be r1,r0,802a4dc <link+0x190>                  <== NEVER TAKEN
 802a4cc:	28 22 00 1c 	lw r2,(r1+28)                                  
 802a4d0:	44 40 00 03 	be r2,r0,802a4dc <link+0x190>                  <== NEVER TAKEN
 802a4d4:	b9 60 08 00 	mv r1,r11                                      
 802a4d8:	d8 40 00 00 	call r2                                        
    rtems_filesystem_freenode( &parent_loc );                         
 802a4dc:	2b 81 00 24 	lw r1,(sp+36)                                  
 802a4e0:	44 20 00 05 	be r1,r0,802a4f4 <link+0x1a8>                  <== NEVER TAKEN
 802a4e4:	28 22 00 1c 	lw r2,(r1+28)                                  
 802a4e8:	44 40 00 03 	be r2,r0,802a4f4 <link+0x1a8>                  <== NEVER TAKEN
 802a4ec:	b9 a0 08 00 	mv r1,r13                                      
 802a4f0:	d8 40 00 00 	call r2                                        
    rtems_set_errno_and_return_minus_one( EXDEV );                    
 802a4f4:	f8 00 73 ad 	calli 80473a8 <__errno>                        
 802a4f8:	34 02 00 12 	mvi r2,18                                      
 802a4fc:	34 0c ff ff 	mvi r12,-1                                     
 802a500:	58 22 00 00 	sw (r1+0),r2                                   
                                                                      
  rtems_filesystem_freenode( &existing_loc );                         
  rtems_filesystem_freenode( &parent_loc );                           
                                                                      
  return result;                                                      
}                                                                     
 802a504:	b9 80 08 00 	mv r1,r12                                      
 802a508:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802a50c:	2b 8b 00 14 	lw r11,(sp+20)                                 
 802a510:	2b 8c 00 10 	lw r12,(sp+16)                                 
 802a514:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 802a518:	2b 8e 00 08 	lw r14,(sp+8)                                  
 802a51c:	37 9c 00 40 	addi sp,sp,64                                  
 802a520:	c3 a0 00 00 	ret                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*parent_loc.ops->evalformake_h)( &new[i], &parent_loc, &name_start );
  if ( result != 0 ) {                                                
    rtems_filesystem_freenode( &existing_loc );                       
 802a524:	2b 81 00 38 	lw r1,(sp+56)                                  
 802a528:	44 20 00 05 	be r1,r0,802a53c <link+0x1f0>                  <== NEVER TAKEN
 802a52c:	28 22 00 1c 	lw r2,(r1+28)                                  
 802a530:	44 40 00 03 	be r2,r0,802a53c <link+0x1f0>                  <== NEVER TAKEN
 802a534:	b9 60 08 00 	mv r1,r11                                      
 802a538:	d8 40 00 00 	call r2                                        
    rtems_set_errno_and_return_minus_one( result );                   
 802a53c:	f8 00 73 9b 	calli 80473a8 <__errno>                        
 802a540:	58 2c 00 00 	sw (r1+0),r12                                  
 802a544:	34 0c ff ff 	mvi r12,-1                                     
 802a548:	e3 ff ff c7 	bi 802a464 <link+0x118>                        
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &parent_loc );             
                                                                      
  if ( !parent_loc.ops->evalformake_h ) {                             
    rtems_filesystem_freenode( &existing_loc );                       
 802a54c:	2b 81 00 38 	lw r1,(sp+56)                                  <== NOT EXECUTED
 802a550:	44 24 00 05 	be r1,r4,802a564 <link+0x218>                  <== NOT EXECUTED
 802a554:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 802a558:	44 40 00 03 	be r2,r0,802a564 <link+0x218>                  <== NOT EXECUTED
 802a55c:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 802a560:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( !parent_loc.ops->link_h ) {                                    
    rtems_filesystem_freenode( &existing_loc );                       
    rtems_filesystem_freenode( &parent_loc );                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 802a564:	f8 00 73 91 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 802a568:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 802a56c:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 802a570:	34 0c ff ff 	mvi r12,-1                                     <== NOT EXECUTED
 802a574:	e3 ff ff bc 	bi 802a464 <link+0x118>                        <== NOT EXECUTED
    rtems_filesystem_freenode( &parent_loc );                         
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  }                                                                   
                                                                      
  if ( !parent_loc.ops->link_h ) {                                    
    rtems_filesystem_freenode( &existing_loc );                       
 802a578:	2b 81 00 38 	lw r1,(sp+56)                                  <== NOT EXECUTED
 802a57c:	44 24 00 06 	be r1,r4,802a594 <link+0x248>                  <== NOT EXECUTED
 802a580:	28 23 00 1c 	lw r3,(r1+28)                                  <== NOT EXECUTED
 802a584:	44 64 00 04 	be r3,r4,802a594 <link+0x248>                  <== NOT EXECUTED
 802a588:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 802a58c:	d8 60 00 00 	call r3                                        <== NOT EXECUTED
 802a590:	2b 82 00 24 	lw r2,(sp+36)                                  <== NOT EXECUTED
    rtems_filesystem_freenode( &parent_loc );                         
 802a594:	44 40 ff f4 	be r2,r0,802a564 <link+0x218>                  <== NOT EXECUTED
 802a598:	28 42 00 1c 	lw r2,(r2+28)                                  <== NOT EXECUTED
 802a59c:	44 40 ff f2 	be r2,r0,802a564 <link+0x218>                  <== NOT EXECUTED
 802a5a0:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 802a5a4:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
 802a5a8:	e3 ff ff ef 	bi 802a564 <link+0x218>                        <== NOT EXECUTED
                                                                      
0801a0c0 <lseek>:                                                     
off_t lseek(                                                          
  int     fd,                                                         
  off_t   offset,                                                     
  int     whence                                                      
)                                                                     
{                                                                     
 801a0c0:	37 9c ff e4 	addi sp,sp,-28                                 
 801a0c4:	5b 8b 00 1c 	sw (sp+28),r11                                 
 801a0c8:	5b 8c 00 18 	sw (sp+24),r12                                 
 801a0cc:	5b 8d 00 14 	sw (sp+20),r13                                 
 801a0d0:	5b 8e 00 10 	sw (sp+16),r14                                 
 801a0d4:	5b 8f 00 0c 	sw (sp+12),r15                                 
 801a0d8:	5b 90 00 08 	sw (sp+8),r16                                  
 801a0dc:	5b 9d 00 04 	sw (sp+4),ra                                   
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
 801a0e0:	78 04 08 01 	mvhi r4,0x801                                  
 801a0e4:	38 84 c0 10 	ori r4,r4,0xc010                               
 801a0e8:	28 84 00 00 	lw r4,(r4+0)                                   
off_t lseek(                                                          
  int     fd,                                                         
  off_t   offset,                                                     
  int     whence                                                      
)                                                                     
{                                                                     
 801a0ec:	b8 40 60 00 	mv r12,r2                                      
 801a0f0:	b8 60 68 00 	mv r13,r3                                      
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
 801a0f4:	54 81 00 06 	bgu r4,r1,801a10c <lseek+0x4c>                 <== ALWAYS TAKEN
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
 801a0f8:	fb ff c6 c3 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 801a0fc:	34 02 00 09 	mvi r2,9                                       <== NOT EXECUTED
 801a100:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 801a104:	34 0c ff ff 	mvi r12,-1                                     <== NOT EXECUTED
 801a108:	e0 00 00 1c 	bi 801a178 <lseek+0xb8>                        <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
 801a10c:	34 02 00 03 	mvi r2,3                                       
 801a110:	fb ff 98 38 	calli 80001f0 <__ashlsi3>                      
 801a114:	78 0e 08 01 	mvhi r14,0x801                                 
 801a118:	39 ce c6 9c 	ori r14,r14,0xc69c                             
 801a11c:	34 02 00 03 	mvi r2,3                                       
 801a120:	b8 20 78 00 	mv r15,r1                                      
 801a124:	fb ff 98 33 	calli 80001f0 <__ashlsi3>                      
 801a128:	29 cb 00 00 	lw r11,(r14+0)                                 
 801a12c:	b5 e1 08 00 	add r1,r15,r1                                  
 801a130:	b5 61 58 00 	add r11,r11,r1                                 
  rtems_libio_check_is_open(iop);                                     
 801a134:	29 61 00 18 	lw r1,(r11+24)                                 
 801a138:	20 21 01 00 	andi r1,r1,0x100                               
 801a13c:	44 20 ff ef 	be r1,r0,801a0f8 <lseek+0x38>                  <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Check as many errors as possible before touching iop->offset.   
   */                                                                 
                                                                      
  if ( !iop->handlers->lseek_h )                                      
 801a140:	29 6e 00 40 	lw r14,(r11+64)                                
 801a144:	29 c1 00 14 	lw r1,(r14+20)                                 
 801a148:	44 20 00 42 	be r1,r0,801a250 <lseek+0x190>                 <== NEVER TAKEN
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
  switch ( whence ) {                                                 
 801a14c:	34 01 00 01 	mvi r1,1                                       
                                                                      
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
 801a150:	29 70 00 10 	lw r16,(r11+16)                                
 801a154:	29 6f 00 14 	lw r15,(r11+20)                                
  switch ( whence ) {                                                 
 801a158:	45 a1 00 33 	be r13,r1,801a224 <lseek+0x164>                
 801a15c:	34 01 00 02 	mvi r1,2                                       
 801a160:	45 a1 00 24 	be r13,r1,801a1f0 <lseek+0x130>                
 801a164:	45 a0 00 0f 	be r13,r0,801a1a0 <lseek+0xe0>                 
    case SEEK_END:                                                    
      iop->offset = iop->size + offset;                               
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 801a168:	fb ff c6 a7 	calli 800bc04 <__errno>                        
 801a16c:	34 02 00 16 	mvi r2,22                                      
 801a170:	58 22 00 00 	sw (r1+0),r2                                   
 801a174:	34 0c ff ff 	mvi r12,-1                                     
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
 801a178:	b9 80 08 00 	mv r1,r12                                      
 801a17c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 801a180:	2b 8b 00 1c 	lw r11,(sp+28)                                 
 801a184:	2b 8c 00 18 	lw r12,(sp+24)                                 
 801a188:	2b 8d 00 14 	lw r13,(sp+20)                                 
 801a18c:	2b 8e 00 10 	lw r14,(sp+16)                                 
 801a190:	2b 8f 00 0c 	lw r15,(sp+12)                                 
 801a194:	2b 90 00 08 	lw r16,(sp+8)                                  
 801a198:	37 9c 00 1c 	addi sp,sp,28                                  
 801a19c:	c3 a0 00 00 	ret                                            
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
  switch ( whence ) {                                                 
    case SEEK_SET:                                                    
      iop->offset = offset;                                           
 801a1a0:	34 02 00 1f 	mvi r2,31                                      
 801a1a4:	b9 80 08 00 	mv r1,r12                                      
 801a1a8:	fb ff 98 62 	calli 8000330 <__ashrsi3>                      
 801a1ac:	b8 20 10 00 	mv r2,r1                                       
 801a1b0:	59 61 00 10 	sw (r11+16),r1                                 
 801a1b4:	59 6c 00 14 	sw (r11+20),r12                                
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->handlers->lseek_h)( iop, offset, whence );          
 801a1b8:	29 c5 00 14 	lw r5,(r14+20)                                 
 801a1bc:	b9 80 18 00 	mv r3,r12                                      
 801a1c0:	b9 a0 20 00 	mv r4,r13                                      
 801a1c4:	b9 60 08 00 	mv r1,r11                                      
 801a1c8:	d8 a0 00 00 	call r5                                        
  if ( status == (off_t) -1 )                                         
 801a1cc:	34 01 ff ff 	mvi r1,-1                                      
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->handlers->lseek_h)( iop, offset, whence );          
 801a1d0:	b8 40 60 00 	mv r12,r2                                      
  if ( status == (off_t) -1 )                                         
 801a1d4:	5c 41 ff e9 	bne r2,r1,801a178 <lseek+0xb8>                 
    iop->offset = old_offset;                                         
 801a1d8:	b9 e0 08 00 	mv r1,r15                                      
 801a1dc:	34 02 00 1f 	mvi r2,31                                      
 801a1e0:	fb ff 98 54 	calli 8000330 <__ashrsi3>                      
 801a1e4:	59 61 00 10 	sw (r11+16),r1                                 
 801a1e8:	59 6f 00 14 	sw (r11+20),r15                                
 801a1ec:	e3 ff ff e3 	bi 801a178 <lseek+0xb8>                        
    case SEEK_CUR:                                                    
      iop->offset += offset;                                          
      break;                                                          
                                                                      
    case SEEK_END:                                                    
      iop->offset = iop->size + offset;                               
 801a1f0:	34 02 00 1f 	mvi r2,31                                      
 801a1f4:	b9 80 08 00 	mv r1,r12                                      
 801a1f8:	fb ff 98 4e 	calli 8000330 <__ashrsi3>                      
 801a1fc:	b8 20 10 00 	mv r2,r1                                       
 801a200:	29 61 00 0c 	lw r1,(r11+12)                                 
 801a204:	29 63 00 08 	lw r3,(r11+8)                                  
 801a208:	b5 81 08 00 	add r1,r12,r1                                  
 801a20c:	f5 81 20 00 	cmpgu r4,r12,r1                                
 801a210:	b4 43 18 00 	add r3,r2,r3                                   
 801a214:	b4 83 18 00 	add r3,r4,r3                                   
 801a218:	59 63 00 10 	sw (r11+16),r3                                 
 801a21c:	59 61 00 14 	sw (r11+20),r1                                 
      break;                                                          
 801a220:	e3 ff ff e6 	bi 801a1b8 <lseek+0xf8>                        
    case SEEK_SET:                                                    
      iop->offset = offset;                                           
      break;                                                          
                                                                      
    case SEEK_CUR:                                                    
      iop->offset += offset;                                          
 801a224:	34 02 00 1f 	mvi r2,31                                      
 801a228:	b9 80 08 00 	mv r1,r12                                      
 801a22c:	fb ff 98 41 	calli 8000330 <__ashrsi3>                      
 801a230:	b8 20 10 00 	mv r2,r1                                       
 801a234:	b5 8f 08 00 	add r1,r12,r15                                 
 801a238:	f5 81 18 00 	cmpgu r3,r12,r1                                
 801a23c:	b4 50 80 00 	add r16,r2,r16                                 
 801a240:	b4 70 80 00 	add r16,r3,r16                                 
 801a244:	59 70 00 10 	sw (r11+16),r16                                
 801a248:	59 61 00 14 	sw (r11+20),r1                                 
      break;                                                          
 801a24c:	e3 ff ff db 	bi 801a1b8 <lseek+0xf8>                        
  /*                                                                  
   *  Check as many errors as possible before touching iop->offset.   
   */                                                                 
                                                                      
  if ( !iop->handlers->lseek_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 801a250:	fb ff c6 6d 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 801a254:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 801a258:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 801a25c:	34 0c ff ff 	mvi r12,-1                                     <== NOT EXECUTED
 801a260:	e3 ff ff c6 	bi 801a178 <lseek+0xb8>                        <== NOT EXECUTED
                                                                      
0802a794 <lstat>:                                                     
                                                                      
int _STAT_NAME(                                                       
  const char  *path,                                                  
  struct stat *buf                                                    
)                                                                     
{                                                                     
 802a794:	37 9c ff dc 	addi sp,sp,-36                                 <== NOT EXECUTED
 802a798:	5b 8b 00 10 	sw (sp+16),r11                                 <== NOT EXECUTED
 802a79c:	5b 8c 00 0c 	sw (sp+12),r12                                 <== NOT EXECUTED
 802a7a0:	5b 8d 00 08 	sw (sp+8),r13                                  <== NOT EXECUTED
 802a7a4:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 802a7a8:	b8 40 60 00 	mv r12,r2                                      <== NOT EXECUTED
 802a7ac:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
 802a7b0:	44 40 00 26 	be r2,r0,802a848 <lstat+0xb4>                  <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ),      
 802a7b4:	f8 00 90 e7 	calli 804eb50 <strlen>                         <== NOT EXECUTED
 802a7b8:	34 03 00 00 	mvi r3,0                                       <== NOT EXECUTED
 802a7bc:	37 8d 00 14 	addi r13,sp,20                                 <== NOT EXECUTED
 802a7c0:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
 802a7c4:	b8 60 28 00 	mv r5,r3                                       <== NOT EXECUTED
 802a7c8:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 802a7cc:	b9 a0 20 00 	mv r4,r13                                      <== NOT EXECUTED
 802a7d0:	fb ff 6f 51 	calli 8006514 <rtems_filesystem_evaluate_path> <== NOT EXECUTED
 802a7d4:	b8 20 18 00 	mv r3,r1                                       <== NOT EXECUTED
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
 802a7d8:	34 0b ff ff 	mvi r11,-1                                     <== NOT EXECUTED
 802a7dc:	5c 20 00 14 	bne r1,r0,802a82c <lstat+0x98>                 <== NOT EXECUTED
    return -1;                                                        
                                                                      
  if ( !loc.handlers->fstat_h ){                                      
 802a7e0:	2b 81 00 1c 	lw r1,(sp+28)                                  <== NOT EXECUTED
 802a7e4:	28 22 00 18 	lw r2,(r1+24)                                  <== NOT EXECUTED
 802a7e8:	44 43 00 23 	be r2,r3,802a874 <lstat+0xe0>                  <== NOT EXECUTED
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
 802a7ec:	b8 60 10 00 	mv r2,r3                                       <== NOT EXECUTED
 802a7f0:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 802a7f4:	34 03 00 48 	mvi r3,72                                      <== NOT EXECUTED
 802a7f8:	f8 00 82 58 	calli 804b158 <memset>                         <== NOT EXECUTED
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
 802a7fc:	2b 83 00 1c 	lw r3,(sp+28)                                  <== NOT EXECUTED
 802a800:	b9 80 10 00 	mv r2,r12                                      <== NOT EXECUTED
 802a804:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 802a808:	28 63 00 18 	lw r3,(r3+24)                                  <== NOT EXECUTED
 802a80c:	d8 60 00 00 	call r3                                        <== NOT EXECUTED
 802a810:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
 802a814:	2b 81 00 20 	lw r1,(sp+32)                                  <== NOT EXECUTED
 802a818:	44 20 00 05 	be r1,r0,802a82c <lstat+0x98>                  <== NOT EXECUTED
 802a81c:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 802a820:	44 40 00 03 	be r2,r0,802a82c <lstat+0x98>                  <== NOT EXECUTED
 802a824:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 802a828:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
                                                                      
  return status;                                                      
}                                                                     
 802a82c:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 802a830:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 802a834:	2b 8b 00 10 	lw r11,(sp+16)                                 <== NOT EXECUTED
 802a838:	2b 8c 00 0c 	lw r12,(sp+12)                                 <== NOT EXECUTED
 802a83c:	2b 8d 00 08 	lw r13,(sp+8)                                  <== NOT EXECUTED
 802a840:	37 9c 00 24 	addi sp,sp,36                                  <== NOT EXECUTED
 802a844:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
    rtems_set_errno_and_return_minus_one( EFAULT );                   
 802a848:	f8 00 72 d8 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 802a84c:	34 02 00 0e 	mvi r2,14                                      <== NOT EXECUTED
 802a850:	34 0b ff ff 	mvi r11,-1                                     <== NOT EXECUTED
 802a854:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return status;                                                      
}                                                                     
 802a858:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 802a85c:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 802a860:	2b 8b 00 10 	lw r11,(sp+16)                                 <== NOT EXECUTED
 802a864:	2b 8c 00 0c 	lw r12,(sp+12)                                 <== NOT EXECUTED
 802a868:	2b 8d 00 08 	lw r13,(sp+8)                                  <== NOT EXECUTED
 802a86c:	37 9c 00 24 	addi sp,sp,36                                  <== NOT EXECUTED
 802a870:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
    return -1;                                                        
                                                                      
  if ( !loc.handlers->fstat_h ){                                      
    rtems_filesystem_freenode( &loc );                                
 802a874:	2b 81 00 20 	lw r1,(sp+32)                                  <== NOT EXECUTED
 802a878:	44 22 00 05 	be r1,r2,802a88c <lstat+0xf8>                  <== NOT EXECUTED
 802a87c:	28 23 00 1c 	lw r3,(r1+28)                                  <== NOT EXECUTED
 802a880:	44 62 00 03 	be r3,r2,802a88c <lstat+0xf8>                  <== NOT EXECUTED
 802a884:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 802a888:	d8 60 00 00 	call r3                                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 802a88c:	f8 00 72 c7 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 802a890:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 802a894:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 802a898:	34 0b ff ff 	mvi r11,-1                                     <== NOT EXECUTED
 802a89c:	e3 ff ff e4 	bi 802a82c <lstat+0x98>                        <== NOT EXECUTED
                                                                      
08007f2c <malloc>:                                                    
  size_t  size                                                        
)                                                                     
{                                                                     
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
 8007f2c:	37 9c ff f0 	addi sp,sp,-16                                 
 8007f30:	5b 8b 00 10 	sw (sp+16),r11                                 
 8007f34:	5b 8c 00 0c 	sw (sp+12),r12                                 
 8007f38:	5b 8d 00 08 	sw (sp+8),r13                                  
 8007f3c:	5b 9d 00 04 	sw (sp+4),ra                                   
 8007f40:	78 03 08 01 	mvhi r3,0x801                                  
 8007f44:	38 63 c6 a8 	ori r3,r3,0xc6a8                               
 8007f48:	28 62 00 04 	lw r2,(r3+4)                                   
 8007f4c:	b8 20 60 00 	mv r12,r1                                      
 8007f50:	34 41 00 01 	addi r1,r2,1                                   
 8007f54:	58 61 00 04 	sw (r3+4),r1                                   
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
 8007f58:	fb ff ff e7 	calli 8007ef4 <malloc_deferred_frees_process>  
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
 8007f5c:	45 80 00 29 	be r12,r0,8008000 <malloc+0xd4>                <== NEVER TAKEN
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
 8007f60:	78 01 08 01 	mvhi r1,0x801                                  
 8007f64:	38 21 c9 c0 	ori r1,r1,0xc9c0                               
 8007f68:	28 22 00 00 	lw r2,(r1+0)                                   
 8007f6c:	34 01 00 03 	mvi r1,3                                       
 8007f70:	44 41 00 22 	be r2,r1,8007ff8 <malloc+0xcc>                 
RTEMS_INLINE_ROUTINE void *_Protected_heap_Allocate(                  
  Heap_Control *heap,                                                 
  uintptr_t size                                                      
)                                                                     
{                                                                     
  return _Protected_heap_Allocate_aligned_with_boundary( heap, size, 0, 0 );
 8007f74:	78 01 08 01 	mvhi r1,0x801                                  
 8007f78:	38 21 c0 1c 	ori r1,r1,0xc01c                               
 8007f7c:	28 21 00 00 	lw r1,(r1+0)                                   
 8007f80:	34 03 00 00 	mvi r3,0                                       
 8007f84:	b9 80 10 00 	mv r2,r12                                      
 8007f88:	b8 60 20 00 	mv r4,r3                                       
 8007f8c:	f8 00 05 11 	calli 80093d0 <_Protected_heap_Allocate_aligned_with_boundary>
 8007f90:	b8 20 58 00 	mv r11,r1                                      
  if ( !return_this ) {                                               
    if (rtems_malloc_sbrk_helpers)                                    
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
    if ( !return_this ) {                                             
      errno = ENOMEM;                                                 
      return (void *) 0;                                              
 8007f94:	b8 20 68 00 	mv r13,r1                                      
   * If this fails then return a NULL pointer.                        
   */                                                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
                                                                      
  if ( !return_this ) {                                               
 8007f98:	44 20 00 22 	be r1,r0,8008020 <malloc+0xf4>                 
  }                                                                   
                                                                      
  /*                                                                  
   *  If the user wants us to dirty the allocated memory, then do it. 
   */                                                                 
  if ( rtems_malloc_dirty_helper )                                    
 8007f9c:	78 01 08 01 	mvhi r1,0x801                                  
 8007fa0:	38 21 c6 18 	ori r1,r1,0xc618                               
 8007fa4:	28 21 00 00 	lw r1,(r1+0)                                   
 8007fa8:	44 20 00 05 	be r1,r0,8007fbc <malloc+0x90>                 <== ALWAYS TAKEN
    (*rtems_malloc_dirty_helper)( return_this, size );                
 8007fac:	28 23 00 00 	lw r3,(r1+0)                                   <== NOT EXECUTED
 8007fb0:	b9 80 10 00 	mv r2,r12                                      <== NOT EXECUTED
 8007fb4:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 8007fb8:	d8 60 00 00 	call r3                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
 8007fbc:	78 01 08 01 	mvhi r1,0x801                                  
 8007fc0:	38 21 c6 10 	ori r1,r1,0xc610                               
 8007fc4:	28 21 00 00 	lw r1,(r1+0)                                   
 8007fc8:	b9 a0 58 00 	mv r11,r13                                     
 8007fcc:	44 20 00 04 	be r1,r0,8007fdc <malloc+0xb0>                 <== ALWAYS TAKEN
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
 8007fd0:	28 22 00 04 	lw r2,(r1+4)                                   <== NOT EXECUTED
 8007fd4:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 8007fd8:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
    if (rtems_malloc_boundary_helpers)                                
      (*rtems_malloc_boundary_helpers->at_malloc)(return_this, size); 
  #endif                                                              
                                                                      
  return return_this;                                                 
}                                                                     
 8007fdc:	b9 60 08 00 	mv r1,r11                                      
 8007fe0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8007fe4:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8007fe8:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8007fec:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8007ff0:	37 9c 00 10 	addi sp,sp,16                                  
 8007ff4:	c3 a0 00 00 	ret                                            
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
 8007ff8:	fb ff ff a4 	calli 8007e88 <malloc_is_system_state_OK>      
 8007ffc:	5c 20 ff de 	bne r1,r0,8007f74 <malloc+0x48>                <== ALWAYS TAKEN
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
 8008000:	34 0b 00 00 	mvi r11,0                                      <== NOT EXECUTED
    if (rtems_malloc_boundary_helpers)                                
      (*rtems_malloc_boundary_helpers->at_malloc)(return_this, size); 
  #endif                                                              
                                                                      
  return return_this;                                                 
}                                                                     
 8008004:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8008008:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 800800c:	2b 8b 00 10 	lw r11,(sp+16)                                 <== NOT EXECUTED
 8008010:	2b 8c 00 0c 	lw r12,(sp+12)                                 <== NOT EXECUTED
 8008014:	2b 8d 00 08 	lw r13,(sp+8)                                  <== NOT EXECUTED
 8008018:	37 9c 00 10 	addi sp,sp,16                                  <== NOT EXECUTED
 800801c:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
   */                                                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
                                                                      
  if ( !return_this ) {                                               
    if (rtems_malloc_sbrk_helpers)                                    
 8008020:	78 01 08 01 	mvhi r1,0x801                                  
 8008024:	38 21 c6 14 	ori r1,r1,0xc614                               
 8008028:	28 21 00 00 	lw r1,(r1+0)                                   
 800802c:	44 2b 00 06 	be r1,r11,8008044 <malloc+0x118>               <== ALWAYS TAKEN
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
 8008030:	28 22 00 04 	lw r2,(r1+4)                                   <== NOT EXECUTED
 8008034:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8008038:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
 800803c:	b8 20 68 00 	mv r13,r1                                      <== NOT EXECUTED
    if ( !return_this ) {                                             
 8008040:	5c 20 ff d7 	bne r1,r0,8007f9c <malloc+0x70>                <== NOT EXECUTED
      errno = ENOMEM;                                                 
 8008044:	f8 00 0e f0 	calli 800bc04 <__errno>                        
 8008048:	34 02 00 0c 	mvi r2,12                                      
 800804c:	58 22 00 00 	sw (r1+0),r2                                   
      return (void *) 0;                                              
 8008050:	e3 ff ff e3 	bi 8007fdc <malloc+0xb0>                       
                                                                      
08007ed0 <malloc_deferred_free>:                                      
}                                                                     
                                                                      
void malloc_deferred_free(                                            
  void *pointer                                                       
)                                                                     
{                                                                     
 8007ed0:	37 9c ff fc 	addi sp,sp,-4                                  <== NOT EXECUTED
 8007ed4:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 8007ed8:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
 8007edc:	78 01 08 01 	mvhi r1,0x801                                  <== NOT EXECUTED
 8007ee0:	38 21 ca 18 	ori r1,r1,0xca18                               <== NOT EXECUTED
 8007ee4:	fb ff eb ac 	calli 8002d94 <_Chain_Append>                  <== NOT EXECUTED
  rtems_chain_append(&RTEMS_Malloc_GC_list, (rtems_chain_node *)pointer);
}                                                                     
 8007ee8:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8007eec:	37 9c 00 04 	addi sp,sp,4                                   <== NOT EXECUTED
 8007ef0:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08007ef4 <malloc_deferred_frees_process>:                             
{                                                                     
  rtems_chain_initialize_empty(&RTEMS_Malloc_GC_list);                
}                                                                     
                                                                      
void malloc_deferred_frees_process(void)                              
{                                                                     
 8007ef4:	37 9c ff f8 	addi sp,sp,-8                                  
 8007ef8:	5b 8b 00 08 	sw (sp+8),r11                                  
 8007efc:	5b 9d 00 04 	sw (sp+4),ra                                   
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
 8007f00:	78 0b 08 01 	mvhi r11,0x801                                 
  rtems_chain_node  *to_be_freed;                                     
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  while ((to_be_freed = rtems_chain_get(&RTEMS_Malloc_GC_list)) != NULL)
 8007f04:	e0 00 00 02 	bi 8007f0c <malloc_deferred_frees_process+0x18>
    free(to_be_freed);                                                
 8007f08:	fb ff fe 51 	calli 800784c <free>                           <== NOT EXECUTED
 8007f0c:	b9 60 08 00 	mv r1,r11                                      
 8007f10:	38 21 ca 18 	ori r1,r1,0xca18                               
 8007f14:	f8 00 02 b5 	calli 80089e8 <_Chain_Get>                     
  rtems_chain_node  *to_be_freed;                                     
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  while ((to_be_freed = rtems_chain_get(&RTEMS_Malloc_GC_list)) != NULL)
 8007f18:	5c 20 ff fc 	bne r1,r0,8007f08 <malloc_deferred_frees_process+0x14><== NEVER TAKEN
    free(to_be_freed);                                                
}                                                                     
 8007f1c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8007f20:	2b 8b 00 08 	lw r11,(sp+8)                                  
 8007f24:	37 9c 00 08 	addi sp,sp,8                                   
 8007f28:	c3 a0 00 00 	ret                                            
                                                                      
08007e88 <malloc_is_system_state_OK>:                                 
                                                                      
rtems_chain_control RTEMS_Malloc_GC_list;                             
                                                                      
bool malloc_is_system_state_OK(void)                                  
{                                                                     
  if ( _Thread_Dispatch_disable_level > 0 )                           
 8007e88:	78 01 08 01 	mvhi r1,0x801                                  
 8007e8c:	38 21 c8 24 	ori r1,r1,0xc824                               
 8007e90:	28 22 00 00 	lw r2,(r1+0)                                   
 8007e94:	34 01 00 00 	mvi r1,0                                       
 8007e98:	5c 41 00 05 	bne r2,r1,8007eac <malloc_is_system_state_OK+0x24><== NEVER TAKEN
    return false;                                                     
                                                                      
  if ( _ISR_Nest_level > 0 )                                          
 8007e9c:	78 01 08 01 	mvhi r1,0x801                                  
 8007ea0:	38 21 c8 bc 	ori r1,r1,0xc8bc                               
 8007ea4:	28 21 00 00 	lw r1,(r1+0)                                   
                                                                      
#include "malloc_p.h"                                                 
                                                                      
rtems_chain_control RTEMS_Malloc_GC_list;                             
                                                                      
bool malloc_is_system_state_OK(void)                                  
 8007ea8:	64 21 00 00 	cmpei r1,r1,0                                  
                                                                      
  if ( _ISR_Nest_level > 0 )                                          
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
 8007eac:	c3 a0 00 00 	ret                                            
                                                                      
0801058c <memfile_alloc_block>:                                       
 */                                                                   
                                                                      
int memfile_blocks_allocated = 0;                                     
                                                                      
void *memfile_alloc_block(void)                                       
{                                                                     
 801058c:	37 9c ff fc 	addi sp,sp,-4                                  
 8010590:	5b 9d 00 04 	sw (sp+4),ra                                   
  void *memory;                                                       
                                                                      
  memory = (void *)calloc(1, IMFS_MEMFILE_BYTES_PER_BLOCK);           
 8010594:	78 01 08 02 	mvhi r1,0x802                                  
 8010598:	38 21 46 4c 	ori r1,r1,0x464c                               
 801059c:	28 22 00 00 	lw r2,(r1+0)                                   
 80105a0:	34 01 00 01 	mvi r1,1                                       
 80105a4:	fb ff c8 b5 	calli 8002878 <calloc>                         
  if ( memory )                                                       
 80105a8:	44 20 00 06 	be r1,r0,80105c0 <memfile_alloc_block+0x34>    <== NEVER TAKEN
    memfile_blocks_allocated++;                                       
 80105ac:	78 02 08 02 	mvhi r2,0x802                                  
 80105b0:	38 42 46 ec 	ori r2,r2,0x46ec                               
 80105b4:	28 43 00 00 	lw r3,(r2+0)                                   
 80105b8:	34 63 00 01 	addi r3,r3,1                                   
 80105bc:	58 43 00 00 	sw (r2+0),r3                                   
                                                                      
  return memory;                                                      
}                                                                     
 80105c0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80105c4:	37 9c 00 04 	addi sp,sp,4                                   
 80105c8:	c3 a0 00 00 	ret                                            
                                                                      
08010ba0 <memfile_check_rmnod>:                                       
                                                                      
  return memfile_check_rmnod( the_jnode );                            
}                                                                     
                                                                      
                                                                      
int  memfile_check_rmnod( IMFS_jnode_t *the_jnode ){                  
 8010ba0:	37 9c ff f8 	addi sp,sp,-8                                  
 8010ba4:	5b 8b 00 08 	sw (sp+8),r11                                  
 8010ba8:	5b 9d 00 04 	sw (sp+4),ra                                   
 8010bac:	b8 20 58 00 	mv r11,r1                                      
                                                                      
  /*                                                                  
   * The file cannot be open and the link must be less than 1 to free.
   */                                                                 
                                                                      
  if ( !rtems_libio_is_file_open( the_jnode ) && (the_jnode->st_nlink < 1) ) {
 8010bb0:	fb ff f4 ed 	calli 800df64 <rtems_libio_is_file_open>       
 8010bb4:	5c 20 00 0f 	bne r1,r0,8010bf0 <memfile_check_rmnod+0x50>   
 8010bb8:	2d 62 00 34 	lhu r2,(r11+52)                                
 8010bbc:	5c 41 00 0d 	bne r2,r1,8010bf0 <memfile_check_rmnod+0x50>   <== NEVER TAKEN
                                                                      
    /*                                                                
     * Is the rtems_filesystem_current is this node?                  
     */                                                               
                                                                      
    if ( rtems_filesystem_current.node_access == the_jnode )          
 8010bc0:	78 01 08 02 	mvhi r1,0x802                                  
 8010bc4:	38 21 40 f8 	ori r1,r1,0x40f8                               
 8010bc8:	28 21 00 00 	lw r1,(r1+0)                                   
 8010bcc:	28 23 00 04 	lw r3,(r1+4)                                   
 8010bd0:	44 6b 00 0d 	be r3,r11,8010c04 <memfile_check_rmnod+0x64>   <== NEVER TAKEN
       rtems_filesystem_current.node_access = NULL;                   
                                                                      
    /*                                                                
     * Free memory associated with a memory file.                     
     */                                                               
    if (the_jnode->type != IMFS_LINEAR_FILE)                          
 8010bd4:	29 62 00 4c 	lw r2,(r11+76)                                 
 8010bd8:	34 01 00 06 	mvi r1,6                                       
 8010bdc:	44 41 00 03 	be r2,r1,8010be8 <memfile_check_rmnod+0x48>    <== NEVER TAKEN
      IMFS_memfile_remove( the_jnode );                               
 8010be0:	b9 60 08 00 	mv r1,r11                                      
 8010be4:	fb ff ff 67 	calli 8010980 <IMFS_memfile_remove>            
                                                                      
    free( the_jnode );                                                
 8010be8:	b9 60 08 00 	mv r1,r11                                      
 8010bec:	fb ff c7 f3 	calli 8002bb8 <free>                           
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 8010bf0:	34 01 00 00 	mvi r1,0                                       
 8010bf4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8010bf8:	2b 8b 00 08 	lw r11,(sp+8)                                  
 8010bfc:	37 9c 00 08 	addi sp,sp,8                                   
 8010c00:	c3 a0 00 00 	ret                                            
    /*                                                                
     * Is the rtems_filesystem_current is this node?                  
     */                                                               
                                                                      
    if ( rtems_filesystem_current.node_access == the_jnode )          
       rtems_filesystem_current.node_access = NULL;                   
 8010c04:	58 22 00 04 	sw (r1+4),r2                                   <== NOT EXECUTED
 8010c08:	e3 ff ff f3 	bi 8010bd4 <memfile_check_rmnod+0x34>          <== NOT EXECUTED
                                                                      
08010880 <memfile_free_blocks_in_table>:                              
                                                                      
void memfile_free_blocks_in_table(                                    
  block_p **block_table,                                              
  int       entries                                                   
)                                                                     
{                                                                     
 8010880:	37 9c ff e8 	addi sp,sp,-24                                 
 8010884:	5b 8b 00 18 	sw (sp+24),r11                                 
 8010888:	5b 8c 00 14 	sw (sp+20),r12                                 
 801088c:	5b 8d 00 10 	sw (sp+16),r13                                 
 8010890:	5b 8e 00 0c 	sw (sp+12),r14                                 
 8010894:	5b 8f 00 08 	sw (sp+8),r15                                  
 8010898:	5b 9d 00 04 	sw (sp+4),ra                                   
 801089c:	b8 20 78 00 	mv r15,r1                                      
 80108a0:	b8 40 68 00 	mv r13,r2                                      
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( block_table );                                              
 80108a4:	44 20 00 19 	be r1,r0,8010908 <memfile_free_blocks_in_table+0x88><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
                                                                      
  b = *block_table;                                                   
 80108a8:	28 21 00 00 	lw r1,(r1+0)                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
 80108ac:	4c 02 00 0c 	bge r0,r2,80108dc <memfile_free_blocks_in_table+0x5c><== NEVER TAKEN
 80108b0:	34 0c 00 00 	mvi r12,0                                      
 80108b4:	b8 20 58 00 	mv r11,r1                                      
    if ( b[i] ) {                                                     
 80108b8:	b9 80 70 00 	mv r14,r12                                     
 80108bc:	29 61 00 00 	lw r1,(r11+0)                                  
 80108c0:	44 20 00 03 	be r1,r0,80108cc <memfile_free_blocks_in_table+0x4c>
      memfile_free_block( b[i] );                                     
 80108c4:	fb ff ff 27 	calli 8010560 <memfile_free_block>             
      b[i] = 0;                                                       
 80108c8:	59 6e 00 00 	sw (r11+0),r14                                 
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
                                                                      
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
 80108cc:	35 8c 00 01 	addi r12,r12,1                                 
 80108d0:	35 6b 00 04 	addi r11,r11,4                                 
 80108d4:	49 ac ff fa 	bg r13,r12,80108bc <memfile_free_blocks_in_table+0x3c>
 80108d8:	29 e1 00 00 	lw r1,(r15+0)                                  
  /*                                                                  
   *  Now that all the blocks in the block table are free, we can     
   *  free the block table itself.                                    
   */                                                                 
                                                                      
  memfile_free_block( *block_table );                                 
 80108dc:	fb ff ff 21 	calli 8010560 <memfile_free_block>             
  *block_table = 0;                                                   
 80108e0:	34 01 00 00 	mvi r1,0                                       
 80108e4:	59 e1 00 00 	sw (r15+0),r1                                  
}                                                                     
 80108e8:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80108ec:	2b 8b 00 18 	lw r11,(sp+24)                                 
 80108f0:	2b 8c 00 14 	lw r12,(sp+20)                                 
 80108f4:	2b 8d 00 10 	lw r13,(sp+16)                                 
 80108f8:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 80108fc:	2b 8f 00 08 	lw r15,(sp+8)                                  
 8010900:	37 9c 00 18 	addi sp,sp,24                                  
 8010904:	c3 a0 00 00 	ret                                            
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( block_table );                                              
 8010908:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 801090c:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8010910:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
 8010914:	38 21 2d 14 	ori r1,r1,0x2d14                               <== NOT EXECUTED
 8010918:	38 63 2e 5c 	ori r3,r3,0x2e5c                               <== NOT EXECUTED
 801091c:	38 84 2d 8c 	ori r4,r4,0x2d8c                               <== NOT EXECUTED
 8010920:	34 02 01 b3 	mvi r2,435                                     <== NOT EXECUTED
 8010924:	fb ff f4 3e 	calli 800da1c <__assert_func>                  <== NOT EXECUTED
                                                                      
08010f04 <memfile_ftruncate>:                                         
                                                                      
int memfile_ftruncate(                                                
  rtems_libio_t        *iop,                                          
  rtems_off64_t         length                                        
)                                                                     
{                                                                     
 8010f04:	37 9c ff f0 	addi sp,sp,-16                                 
 8010f08:	5b 8b 00 08 	sw (sp+8),r11                                  
 8010f0c:	5b 9d 00 04 	sw (sp+4),ra                                   
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
 8010f10:	28 2b 00 3c 	lw r11,(r1+60)                                 
   *  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 )                           
 8010f14:	29 64 00 50 	lw r4,(r11+80)                                 
 8010f18:	48 44 00 10 	bg r2,r4,8010f58 <memfile_ftruncate+0x54>      <== NEVER TAKEN
 8010f1c:	44 82 00 16 	be r4,r2,8010f74 <memfile_ftruncate+0x70>      <== 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;                                 
 8010f20:	59 62 00 50 	sw (r11+80),r2                                 
 8010f24:	59 63 00 54 	sw (r11+84),r3                                 
  iop->size = the_jnode->info.file.size;                              
 8010f28:	58 23 00 0c 	sw (r1+12),r3                                  
 8010f2c:	58 22 00 08 	sw (r1+8),r2                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
 8010f30:	37 81 00 0c 	addi r1,sp,12                                  
 8010f34:	34 02 00 00 	mvi r2,0                                       
 8010f38:	fb ff c7 4e 	calli 8002c70 <gettimeofday>                   
 8010f3c:	2b 81 00 0c 	lw r1,(sp+12)                                  
 8010f40:	59 61 00 40 	sw (r11+64),r1                                 
 8010f44:	34 01 00 00 	mvi r1,0                                       
                                                                      
  return 0;                                                           
}                                                                     
 8010f48:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8010f4c:	2b 8b 00 08 	lw r11,(sp+8)                                  
 8010f50:	37 9c 00 10 	addi sp,sp,16                                  
 8010f54:	c3 a0 00 00 	ret                                            
   *  and the new length is greater than the current size.  We treat this
   *  as an extend operation.                                         
   */                                                                 
                                                                      
  if ( length > the_jnode->info.file.size )                           
    return IMFS_memfile_extend( the_jnode, length );                  
 8010f58:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8010f5c:	b8 60 10 00 	mv r2,r3                                       <== NOT EXECUTED
 8010f60:	fb ff ff 7d 	calli 8010d54 <IMFS_memfile_extend>            <== NOT EXECUTED
  iop->size = the_jnode->info.file.size;                              
                                                                      
  IMFS_update_atime( the_jnode );                                     
                                                                      
  return 0;                                                           
}                                                                     
 8010f64:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8010f68:	2b 8b 00 08 	lw r11,(sp+8)                                  <== NOT EXECUTED
 8010f6c:	37 9c 00 10 	addi sp,sp,16                                  <== NOT EXECUTED
 8010f70:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
   *  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 )                           
 8010f74:	29 64 00 54 	lw r4,(r11+84)                                 
 8010f78:	54 64 ff f8 	bgu r3,r4,8010f58 <memfile_ftruncate+0x54>     <== NEVER TAKEN
 8010f7c:	e3 ff ff e9 	bi 8010f20 <memfile_ftruncate+0x1c>            
                                                                      
08010f80 <memfile_lseek>:                                             
rtems_off64_t memfile_lseek(                                          
  rtems_libio_t   *iop,                                               
  rtems_off64_t    offset,                                            
  int              whence                                             
)                                                                     
{                                                                     
 8010f80:	37 9c ff f4 	addi sp,sp,-12                                 
 8010f84:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8010f88:	5b 8c 00 08 	sw (sp+8),r12                                  
 8010f8c:	5b 9d 00 04 	sw (sp+4),ra                                   
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
 8010f90:	28 2c 00 3c 	lw r12,(r1+60)                                 
rtems_off64_t memfile_lseek(                                          
  rtems_libio_t   *iop,                                               
  rtems_off64_t    offset,                                            
  int              whence                                             
)                                                                     
{                                                                     
 8010f94:	b8 20 58 00 	mv r11,r1                                      
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
 8010f98:	34 01 00 06 	mvi r1,6                                       
 8010f9c:	29 82 00 4c 	lw r2,(r12+76)                                 
 8010fa0:	44 41 00 11 	be r2,r1,8010fe4 <memfile_lseek+0x64>          <== NEVER TAKEN
    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 ))                
 8010fa4:	29 62 00 14 	lw r2,(r11+20)                                 
 8010fa8:	b9 80 08 00 	mv r1,r12                                      
 8010fac:	fb ff ff 6a 	calli 8010d54 <IMFS_memfile_extend>            
 8010fb0:	5c 20 00 25 	bne r1,r0,8011044 <memfile_lseek+0xc4>         <== NEVER TAKEN
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
 8010fb4:	29 81 00 50 	lw r1,(r12+80)                                 
 8010fb8:	29 62 00 14 	lw r2,(r11+20)                                 
 8010fbc:	29 63 00 10 	lw r3,(r11+16)                                 
 8010fc0:	59 61 00 08 	sw (r11+8),r1                                  
 8010fc4:	29 8c 00 54 	lw r12,(r12+84)                                
 8010fc8:	59 6c 00 0c 	sw (r11+12),r12                                
  }                                                                   
  return iop->offset;                                                 
}                                                                     
 8010fcc:	b8 60 08 00 	mv r1,r3                                       
 8010fd0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8010fd4:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8010fd8:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8010fdc:	37 9c 00 0c 	addi sp,sp,12                                  
 8010fe0:	c3 a0 00 00 	ret                                            
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    if (iop->offset > the_jnode->info.linearfile.size)                
 8010fe4:	29 61 00 10 	lw r1,(r11+16)                                 <== NOT EXECUTED
 8010fe8:	29 83 00 50 	lw r3,(r12+80)                                 <== NOT EXECUTED
 8010fec:	29 82 00 54 	lw r2,(r12+84)                                 <== NOT EXECUTED
 8010ff0:	29 64 00 14 	lw r4,(r11+20)                                 <== NOT EXECUTED
 8010ff4:	48 23 00 0a 	bg r1,r3,801101c <memfile_lseek+0x9c>          <== NOT EXECUTED
 8010ff8:	44 23 00 11 	be r1,r3,801103c <memfile_lseek+0xbc>          <== NOT EXECUTED
 8010ffc:	b8 20 18 00 	mv r3,r1                                       <== NOT EXECUTED
 8011000:	b8 80 10 00 	mv r2,r4                                       <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
  }                                                                   
  return iop->offset;                                                 
}                                                                     
 8011004:	b8 60 08 00 	mv r1,r3                                       <== NOT EXECUTED
 8011008:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 801100c:	2b 8b 00 0c 	lw r11,(sp+12)                                 <== NOT EXECUTED
 8011010:	2b 8c 00 08 	lw r12,(sp+8)                                  <== NOT EXECUTED
 8011014:	37 9c 00 0c 	addi sp,sp,12                                  <== NOT EXECUTED
 8011018:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
 801101c:	b8 60 08 00 	mv r1,r3                                       <== NOT EXECUTED
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    if (iop->offset > the_jnode->info.linearfile.size)                
      iop->offset = the_jnode->info.linearfile.size;                  
 8011020:	59 62 00 14 	sw (r11+20),r2                                 <== NOT EXECUTED
 8011024:	59 63 00 10 	sw (r11+16),r3                                 <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
  }                                                                   
  return iop->offset;                                                 
}                                                                     
 8011028:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 801102c:	2b 8b 00 0c 	lw r11,(sp+12)                                 <== NOT EXECUTED
 8011030:	2b 8c 00 08 	lw r12,(sp+8)                                  <== NOT EXECUTED
 8011034:	37 9c 00 0c 	addi sp,sp,12                                  <== NOT EXECUTED
 8011038:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    if (iop->offset > the_jnode->info.linearfile.size)                
 801103c:	54 82 ff f8 	bgu r4,r2,801101c <memfile_lseek+0x9c>         <== NOT EXECUTED
 8011040:	e3 ff ff ef 	bi 8010ffc <memfile_lseek+0x7c>                <== NOT EXECUTED
      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 );                 
 8011044:	f8 00 05 87 	calli 8012660 <__errno>                        <== NOT EXECUTED
 8011048:	34 02 00 1c 	mvi r2,28                                      <== NOT EXECUTED
 801104c:	34 03 ff ff 	mvi r3,-1                                      <== NOT EXECUTED
 8011050:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8011054:	b8 60 10 00 	mv r2,r3                                       <== NOT EXECUTED
 8011058:	e3 ff ff dd 	bi 8010fcc <memfile_lseek+0x4c>                <== NOT EXECUTED
                                                                      
08011354 <memfile_open>:                                              
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
 8011354:	37 9c ff f4 	addi sp,sp,-12                                 
 8011358:	5b 8b 00 0c 	sw (sp+12),r11                                 
 801135c:	5b 8c 00 08 	sw (sp+8),r12                                  
 8011360:	5b 9d 00 04 	sw (sp+4),ra                                   
  the_jnode = iop->file_info;                                         
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
 8011364:	28 23 00 18 	lw r3,(r1+24)                                  
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
 8011368:	b8 20 60 00 	mv r12,r1                                      
  IMFS_jnode_t  *the_jnode;                                           
                                                                      
  the_jnode = iop->file_info;                                         
 801136c:	28 2b 00 3c 	lw r11,(r1+60)                                 
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
 8011370:	34 02 00 00 	mvi r2,0                                       
 8011374:	20 61 02 04 	andi r1,r3,0x204                               
 8011378:	44 22 00 04 	be r1,r2,8011388 <memfile_open+0x34>           
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
 801137c:	29 64 00 4c 	lw r4,(r11+76)                                 
 8011380:	34 01 00 06 	mvi r1,6                                       
 8011384:	44 81 00 12 	be r4,r1,80113cc <memfile_open+0x78>           <== NEVER TAKEN
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
 8011388:	29 61 00 50 	lw r1,(r11+80)                                 
 801138c:	29 62 00 54 	lw r2,(r11+84)                                 
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
 8011390:	20 63 02 00 	andi r3,r3,0x200                               
 8011394:	5c 60 00 09 	bne r3,r0,80113b8 <memfile_open+0x64>          
    iop->offset = the_jnode->info.file.size;                          
                                                                      
  iop->size = the_jnode->info.file.size;                              
 8011398:	59 81 00 08 	sw (r12+8),r1                                  
 801139c:	59 82 00 0c 	sw (r12+12),r2                                 
 80113a0:	34 01 00 00 	mvi r1,0                                       
  return 0;                                                           
}                                                                     
 80113a4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80113a8:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 80113ac:	2b 8c 00 08 	lw r12,(sp+8)                                  
 80113b0:	37 9c 00 0c 	addi sp,sp,12                                  
 80113b4:	c3 a0 00 00 	ret                                            
    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;                          
 80113b8:	59 81 00 10 	sw (r12+16),r1                                 
 80113bc:	59 82 00 14 	sw (r12+20),r2                                 
 80113c0:	29 62 00 54 	lw r2,(r11+84)                                 
 80113c4:	29 61 00 50 	lw r1,(r11+80)                                 
 80113c8:	e3 ff ff f4 	bi 8011398 <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;               
 80113cc:	29 61 00 54 	lw r1,(r11+84)                                 <== NOT EXECUTED
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
 80113d0:	34 03 00 05 	mvi r3,5                                       <== NOT EXECUTED
 80113d4:	59 63 00 4c 	sw (r11+76),r3                                 <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
 80113d8:	59 62 00 50 	sw (r11+80),r2                                 <== 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;  
 80113dc:	29 63 00 58 	lw r3,(r11+88)                                 <== NOT EXECUTED
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
 80113e0:	59 62 00 54 	sw (r11+84),r2                                 <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
 80113e4:	59 62 00 5c 	sw (r11+92),r2                                 <== NOT EXECUTED
    the_jnode->info.file.triply_indirect = 0;                         
 80113e8:	59 62 00 60 	sw (r11+96),r2                                 <== NOT EXECUTED
    uint32_t   count = the_jnode->info.linearfile.size;               
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
 80113ec:	59 62 00 58 	sw (r11+88),r2                                 <== NOT EXECUTED
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
 80113f0:	5c 20 00 04 	bne r1,r0,8011400 <memfile_open+0xac>          <== NOT EXECUTED
 80113f4:	29 83 00 18 	lw r3,(r12+24)                                 <== NOT EXECUTED
 80113f8:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
 80113fc:	e3 ff ff e5 	bi 8011390 <memfile_open+0x3c>                 <== NOT EXECUTED
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
 8011400:	b8 20 20 00 	mv r4,r1                                       <== NOT EXECUTED
 8011404:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8011408:	fb ff ff 15 	calli 801105c <IMFS_memfile_write>             <== NOT EXECUTED
 801140c:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
 8011410:	34 03 ff ff 	mvi r3,-1                                      <== NOT EXECUTED
 8011414:	44 43 ff e4 	be r2,r3,80113a4 <memfile_open+0x50>           <== NOT EXECUTED
 8011418:	29 83 00 18 	lw r3,(r12+24)                                 <== NOT EXECUTED
 801141c:	e3 ff ff db 	bi 8011388 <memfile_open+0x34>                 <== NOT EXECUTED
                                                                      
08010c0c <memfile_rmnod>:                                             
                                                                      
int memfile_rmnod(                                                    
  rtems_filesystem_location_info_t  *parent_pathloc,  /* IN */        
  rtems_filesystem_location_info_t  *pathloc          /* IN */        
)                                                                     
{                                                                     
 8010c0c:	37 9c ff f0 	addi sp,sp,-16                                 
 8010c10:	5b 8b 00 08 	sw (sp+8),r11                                  
 8010c14:	5b 9d 00 04 	sw (sp+4),ra                                   
  IMFS_jnode_t *the_jnode;                                            
                                                                      
  the_jnode = (IMFS_jnode_t *) pathloc->node_access;                  
 8010c18:	28 4b 00 00 	lw r11,(r2+0)                                  
                                                                      
  /*                                                                  
   * Take the node out of the parent's chain that contains this node  
   */                                                                 
                                                                      
  if ( the_jnode->Parent != NULL ) {                                  
 8010c1c:	29 61 00 08 	lw r1,(r11+8)                                  
 8010c20:	44 20 00 05 	be r1,r0,8010c34 <memfile_rmnod+0x28>          <== NEVER TAKEN
 8010c24:	b9 60 08 00 	mv r1,r11                                      
 8010c28:	fb ff d1 a9 	calli 80052cc <_Chain_Extract>                 
    rtems_chain_extract( (rtems_chain_node *) the_jnode );            
    the_jnode->Parent = NULL;                                         
 8010c2c:	34 01 00 00 	mvi r1,0                                       
 8010c30:	59 61 00 08 	sw (r11+8),r1                                  
                                                                      
  /*                                                                  
   * Decrement the link counter and see if we can free the space.     
   */                                                                 
                                                                      
  the_jnode->st_nlink--;                                              
 8010c34:	2d 63 00 34 	lhu r3,(r11+52)                                
  IMFS_update_ctime( the_jnode );                                     
 8010c38:	34 02 00 00 	mvi r2,0                                       
 8010c3c:	37 81 00 0c 	addi r1,sp,12                                  
                                                                      
  /*                                                                  
   * Decrement the link counter and see if we can free the space.     
   */                                                                 
                                                                      
  the_jnode->st_nlink--;                                              
 8010c40:	34 63 ff ff 	addi r3,r3,-1                                  
 8010c44:	0d 63 00 34 	sh (r11+52),r3                                 
  IMFS_update_ctime( the_jnode );                                     
 8010c48:	fb ff c8 0a 	calli 8002c70 <gettimeofday>                   
 8010c4c:	2b 81 00 0c 	lw r1,(sp+12)                                  
 8010c50:	59 61 00 48 	sw (r11+72),r1                                 
                                                                      
  return memfile_check_rmnod( the_jnode );                            
 8010c54:	b9 60 08 00 	mv r1,r11                                      
 8010c58:	fb ff ff d2 	calli 8010ba0 <memfile_check_rmnod>            
}                                                                     
 8010c5c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8010c60:	2b 8b 00 08 	lw r11,(sp+8)                                  
 8010c64:	37 9c 00 10 	addi sp,sp,16                                  
 8010c68:	c3 a0 00 00 	ret                                            
                                                                      
08001208 <mknod>:                                                     
int mknod(                                                            
  const char *pathname,                                               
  mode_t      mode,                                                   
  dev_t       dev                                                     
)                                                                     
{                                                                     
 8001208:	37 9c ff d0 	addi sp,sp,-48                                 
 800120c:	5b 8b 00 18 	sw (sp+24),r11                                 
 8001210:	5b 8c 00 14 	sw (sp+20),r12                                 
 8001214:	5b 8d 00 10 	sw (sp+16),r13                                 
 8001218:	5b 8e 00 0c 	sw (sp+12),r14                                 
 800121c:	5b 8f 00 08 	sw (sp+8),r15                                  
 8001220:	5b 9d 00 04 	sw (sp+4),ra                                   
 8001224:	b8 40 68 00 	mv r13,r2                                      
  rtems_filesystem_location_info_t    temp_loc;                       
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  if ( !(mode & (S_IFREG|S_IFCHR|S_IFBLK|S_IFIFO) ) )                 
 8001228:	20 42 f0 00 	andi r2,r2,0xf000                              
int mknod(                                                            
  const char *pathname,                                               
  mode_t      mode,                                                   
  dev_t       dev                                                     
)                                                                     
{                                                                     
 800122c:	b8 60 78 00 	mv r15,r3                                      
 8001230:	b8 80 70 00 	mv r14,r4                                      
  rtems_filesystem_location_info_t    temp_loc;                       
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  if ( !(mode & (S_IFREG|S_IFCHR|S_IFBLK|S_IFIFO) ) )                 
 8001234:	44 40 00 4d 	be r2,r0,8001368 <mknod+0x160>                 <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, &temp_loc );          
 8001238:	40 25 00 00 	lbu r5,(r1+0)                                  
 800123c:	64 a6 00 5c 	cmpei r6,r5,92                                 
 8001240:	64 a2 00 2f 	cmpei r2,r5,47                                 
 8001244:	b8 c2 30 00 	or r6,r6,r2                                    
 8001248:	44 c0 00 32 	be r6,r0,8001310 <mknod+0x108>                 
 800124c:	78 05 08 01 	mvhi r5,0x801                                  
 8001250:	38 a5 c1 10 	ori r5,r5,0xc110                               
 8001254:	28 a5 00 00 	lw r5,(r5+0)                                   
 8001258:	34 06 00 01 	mvi r6,1                                       
 800125c:	28 a2 00 18 	lw r2,(r5+24)                                  
 8001260:	5b 82 00 1c 	sw (sp+28),r2                                  
 8001264:	28 a3 00 1c 	lw r3,(r5+28)                                  
 8001268:	5b 83 00 20 	sw (sp+32),r3                                  
 800126c:	28 a2 00 20 	lw r2,(r5+32)                                  
 8001270:	5b 82 00 24 	sw (sp+36),r2                                  
 8001274:	28 a3 00 24 	lw r3,(r5+36)                                  
 8001278:	5b 83 00 28 	sw (sp+40),r3                                  
 800127c:	28 a5 00 28 	lw r5,(r5+40)                                  
                                                                      
  if ( !temp_loc.ops->evalformake_h ) {                               
 8001280:	2b 82 00 28 	lw r2,(sp+40)                                  
  int                                 result;                         
                                                                      
  if ( !(mode & (S_IFREG|S_IFCHR|S_IFBLK|S_IFIFO) ) )                 
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, &temp_loc );          
 8001284:	5b 85 00 2c 	sw (sp+44),r5                                  
                                                                      
  if ( !temp_loc.ops->evalformake_h ) {                               
 8001288:	28 45 00 04 	lw r5,(r2+4)                                   
 800128c:	44 a0 00 32 	be r5,r0,8001354 <mknod+0x14c>                 <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*temp_loc.ops->evalformake_h)(                            
 8001290:	37 8c 00 1c 	addi r12,sp,28                                 
 8001294:	b4 26 08 00 	add r1,r1,r6                                   
 8001298:	b9 80 10 00 	mv r2,r12                                      
 800129c:	37 83 00 30 	addi r3,sp,48                                  
 80012a0:	d8 a0 00 00 	call r5                                        
    &pathname[i],                                                     
    &temp_loc,                                                        
    &name_start                                                       
  );                                                                  
  if ( result != 0 )                                                  
 80012a4:	34 0b ff ff 	mvi r11,-1                                     
 80012a8:	5c 20 00 11 	bne r1,r0,80012ec <mknod+0xe4>                 
    return -1;                                                        
                                                                      
  if ( !temp_loc.ops->mknod_h ) {                                     
 80012ac:	2b 82 00 28 	lw r2,(sp+40)                                  
 80012b0:	28 46 00 14 	lw r6,(r2+20)                                  
 80012b4:	44 c1 00 32 	be r6,r1,800137c <mknod+0x174>                 <== NEVER TAKEN
    rtems_filesystem_freenode( &temp_loc );                           
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*temp_loc.ops->mknod_h)( name_start, mode, dev, &temp_loc );
 80012b8:	2b 81 00 30 	lw r1,(sp+48)                                  
 80012bc:	b9 a0 10 00 	mv r2,r13                                      
 80012c0:	b9 e0 18 00 	mv r3,r15                                      
 80012c4:	b9 c0 20 00 	mv r4,r14                                      
 80012c8:	b9 80 28 00 	mv r5,r12                                      
 80012cc:	d8 c0 00 00 	call r6                                        
 80012d0:	b8 20 58 00 	mv r11,r1                                      
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
 80012d4:	2b 81 00 28 	lw r1,(sp+40)                                  
 80012d8:	44 20 00 05 	be r1,r0,80012ec <mknod+0xe4>                  <== NEVER TAKEN
 80012dc:	28 22 00 1c 	lw r2,(r1+28)                                  
 80012e0:	44 40 00 03 	be r2,r0,80012ec <mknod+0xe4>                  
 80012e4:	b9 80 08 00 	mv r1,r12                                      
 80012e8:	d8 40 00 00 	call r2                                        
                                                                      
  return result;                                                      
}                                                                     
 80012ec:	b9 60 08 00 	mv r1,r11                                      
 80012f0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80012f4:	2b 8b 00 18 	lw r11,(sp+24)                                 
 80012f8:	2b 8c 00 14 	lw r12,(sp+20)                                 
 80012fc:	2b 8d 00 10 	lw r13,(sp+16)                                 
 8001300:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 8001304:	2b 8f 00 08 	lw r15,(sp+8)                                  
 8001308:	37 9c 00 30 	addi sp,sp,48                                  
 800130c:	c3 a0 00 00 	ret                                            
  int                                 result;                         
                                                                      
  if ( !(mode & (S_IFREG|S_IFCHR|S_IFBLK|S_IFIFO) ) )                 
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, &temp_loc );          
 8001310:	44 a6 ff cf 	be r5,r6,800124c <mknod+0x44>                  <== NEVER TAKEN
 8001314:	78 02 08 01 	mvhi r2,0x801                                  
 8001318:	38 42 c1 10 	ori r2,r2,0xc110                               
 800131c:	28 42 00 00 	lw r2,(r2+0)                                   
 8001320:	28 43 00 04 	lw r3,(r2+4)                                   
 8001324:	5b 83 00 1c 	sw (sp+28),r3                                  
 8001328:	28 43 00 08 	lw r3,(r2+8)                                   
 800132c:	5b 83 00 20 	sw (sp+32),r3                                  
 8001330:	28 43 00 0c 	lw r3,(r2+12)                                  
 8001334:	5b 83 00 24 	sw (sp+36),r3                                  
 8001338:	28 43 00 10 	lw r3,(r2+16)                                  
 800133c:	5b 83 00 28 	sw (sp+40),r3                                  
 8001340:	28 42 00 14 	lw r2,(r2+20)                                  
 8001344:	5b 82 00 2c 	sw (sp+44),r2                                  
                                                                      
  if ( !temp_loc.ops->evalformake_h ) {                               
 8001348:	2b 82 00 28 	lw r2,(sp+40)                                  
 800134c:	28 45 00 04 	lw r5,(r2+4)                                   
 8001350:	5c a0 ff d0 	bne r5,r0,8001290 <mknod+0x88>                 <== ALWAYS TAKEN
  if ( result != 0 )                                                  
    return -1;                                                        
                                                                      
  if ( !temp_loc.ops->mknod_h ) {                                     
    rtems_filesystem_freenode( &temp_loc );                           
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 8001354:	f8 00 2a 2c 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 8001358:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 800135c:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8001360:	34 0b ff ff 	mvi r11,-1                                     <== NOT EXECUTED
 8001364:	e3 ff ff e2 	bi 80012ec <mknod+0xe4>                        <== NOT EXECUTED
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  if ( !(mode & (S_IFREG|S_IFCHR|S_IFBLK|S_IFIFO) ) )                 
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 8001368:	f8 00 2a 27 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 800136c:	34 02 00 16 	mvi r2,22                                      <== NOT EXECUTED
 8001370:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8001374:	34 0b ff ff 	mvi r11,-1                                     <== NOT EXECUTED
 8001378:	e3 ff ff dd 	bi 80012ec <mknod+0xe4>                        <== NOT EXECUTED
  );                                                                  
  if ( result != 0 )                                                  
    return -1;                                                        
                                                                      
  if ( !temp_loc.ops->mknod_h ) {                                     
    rtems_filesystem_freenode( &temp_loc );                           
 800137c:	28 42 00 1c 	lw r2,(r2+28)                                  <== NOT EXECUTED
 8001380:	44 46 ff f5 	be r2,r6,8001354 <mknod+0x14c>                 <== NOT EXECUTED
 8001384:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8001388:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
 800138c:	e3 ff ff f2 	bi 8001354 <mknod+0x14c>                       <== NOT EXECUTED
                                                                      
080013b0 <mount>:                                                     
  const rtems_filesystem_operations_table  *fs_ops,                   
  rtems_filesystem_options_t                options,                  
  const char                               *device,                   
  const char                               *mount_point               
)                                                                     
{                                                                     
 80013b0:	37 9c ff cc 	addi sp,sp,-52                                 
 80013b4:	5b 8b 00 20 	sw (sp+32),r11                                 
 80013b8:	5b 8c 00 1c 	sw (sp+28),r12                                 
 80013bc:	5b 8d 00 18 	sw (sp+24),r13                                 
 80013c0:	5b 8e 00 14 	sw (sp+20),r14                                 
 80013c4:	5b 8f 00 10 	sw (sp+16),r15                                 
 80013c8:	5b 90 00 0c 	sw (sp+12),r16                                 
 80013cc:	5b 91 00 08 	sw (sp+8),r17                                  
 80013d0:	5b 9d 00 04 	sw (sp+4),ra                                   
 80013d4:	b8 40 70 00 	mv r14,r2                                      
 80013d8:	b8 20 78 00 	mv r15,r1                                      
 80013dc:	b8 60 80 00 	mv r16,r3                                      
 80013e0:	b8 80 68 00 	mv r13,r4                                      
 80013e4:	b8 a0 60 00 	mv r12,r5                                      
                                                                      
  /*                                                                  
   *  Is there a file system operations table?                        
   */                                                                 
                                                                      
  if ( fs_ops == NULL ) {                                             
 80013e8:	44 40 00 03 	be r2,r0,80013f4 <mount+0x44>                  
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
 80013ec:	34 01 00 01 	mvi r1,1                                       
 80013f0:	50 23 00 06 	bgeu r1,r3,8001408 <mount+0x58>                
       options != RTEMS_FILESYSTEM_READ_WRITE ) {                     
    errno = EINVAL;                                                   
 80013f4:	f8 00 2a 04 	calli 800bc04 <__errno>                        
 80013f8:	34 02 00 16 	mvi r2,22                                      
 80013fc:	58 22 00 00 	sw (r1+0),r2                                   
 8001400:	34 02 ff ff 	mvi r2,-1                                      
    return -1;                                                        
 8001404:	e0 00 00 4e 	bi 800153c <mount+0x18c>                       
  }                                                                   
                                                                      
  /* Do they support being mounted at all ? */                        
  if ( !fs_ops->fsmount_me_h ) {                                      
 8001408:	28 4b 00 24 	lw r11,(r2+36)                                 
 800140c:	45 60 00 85 	be r11,r0,8001620 <mount+0x270>                <== NEVER TAKEN
  /*                                                                  
   * Allocate a mount table entry                                     
   */                                                                 
                                                                      
   size = sizeof(rtems_filesystem_mount_table_entry_t);               
   if ( device )                                                      
 8001410:	34 01 00 6c 	mvi r1,108                                     
 8001414:	44 80 00 04 	be r4,r0,8001424 <mount+0x74>                  <== ALWAYS TAKEN
     size += strlen( device ) + 1;                                    
 8001418:	b8 80 08 00 	mv r1,r4                                       <== NOT EXECUTED
 800141c:	f8 00 2e ca 	calli 800cf44 <strlen>                         <== NOT EXECUTED
 8001420:	34 21 00 6d 	addi r1,r1,109                                 <== NOT EXECUTED
   temp_mt_entry = malloc( size );                                    
 8001424:	f8 00 1a c2 	calli 8007f2c <malloc>                         
 8001428:	b8 20 58 00 	mv r11,r1                                      
 800142c:	b8 20 88 00 	mv r17,r1                                      
                                                                      
   if ( !temp_mt_entry ) {                                            
 8001430:	44 20 00 84 	be r1,r0,8001640 <mount+0x290>                 <== NEVER TAKEN
     errno = ENOMEM;                                                  
     return -1;                                                       
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
   temp_mt_entry->options = options;                                  
 8001434:	58 30 00 30 	sw (r1+48),r16                                 
   if ( !temp_mt_entry ) {                                            
     errno = ENOMEM;                                                  
     return -1;                                                       
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
 8001438:	59 61 00 2c 	sw (r11+44),r1                                 
   temp_mt_entry->options = options;                                  
   if ( device ) {                                                    
 800143c:	45 a0 00 59 	be r13,r0,80015a0 <mount+0x1f0>                <== ALWAYS TAKEN
     temp_mt_entry->dev =                                             
       (char *)temp_mt_entry + sizeof( rtems_filesystem_mount_table_entry_t );
 8001440:	34 23 00 6c 	addi r3,r1,108                                 <== NOT EXECUTED
     strcpy( temp_mt_entry->dev, device );                            
 8001444:	b8 60 08 00 	mv r1,r3                                       <== NOT EXECUTED
 8001448:	b9 a0 10 00 	mv r2,r13                                      <== NOT EXECUTED
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
   temp_mt_entry->options = options;                                  
   if ( device ) {                                                    
     temp_mt_entry->dev =                                             
 800144c:	59 63 00 68 	sw (r11+104),r3                                <== NOT EXECUTED
       (char *)temp_mt_entry + sizeof( rtems_filesystem_mount_table_entry_t );
     strcpy( temp_mt_entry->dev, device );                            
 8001450:	f8 00 2e 9b 	calli 800cebc <strcpy>                         <== NOT EXECUTED
  /*                                                                  
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( mount_point ) {                                                
 8001454:	45 80 00 55 	be r12,r0,80015a8 <mount+0x1f8>                <== NOT EXECUTED
                                                                      
    if ( rtems_filesystem_evaluate_path(                              
           mount_point, strlen( mount_point ), RTEMS_LIBIO_PERMS_RWX, &loc, true ) == -1 )
 8001458:	b9 80 08 00 	mv r1,r12                                      
 800145c:	f8 00 2e ba 	calli 800cf44 <strlen>                         
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( mount_point ) {                                                
                                                                      
    if ( rtems_filesystem_evaluate_path(                              
 8001460:	37 8d 00 24 	addi r13,sp,36                                 
           mount_point, strlen( mount_point ), RTEMS_LIBIO_PERMS_RWX, &loc, true ) == -1 )
 8001464:	b8 20 10 00 	mv r2,r1                                       
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( mount_point ) {                                                
                                                                      
    if ( rtems_filesystem_evaluate_path(                              
 8001468:	34 03 00 07 	mvi r3,7                                       
 800146c:	b9 80 08 00 	mv r1,r12                                      
 8001470:	b9 a0 20 00 	mv r4,r13                                      
 8001474:	34 05 00 01 	mvi r5,1                                       
 8001478:	fb ff fe a6 	calli 8000f10 <rtems_filesystem_evaluate_path> 
 800147c:	34 02 ff ff 	mvi r2,-1                                      
 8001480:	44 22 00 6c 	be r1,r2,8001630 <mount+0x280>                 <== NEVER TAKEN
                                                                      
    /*                                                                
     * Test for node_type_h                                           
     */                                                               
                                                                      
    if (!loc.ops->node_type_h) {                                      
 8001484:	2b 81 00 30 	lw r1,(sp+48)                                  
 8001488:	28 22 00 10 	lw r2,(r1+16)                                  
 800148c:	44 40 00 37 	be r2,r0,8001568 <mount+0x1b8>                 <== NEVER TAKEN
                                                                      
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
 8001490:	b9 a0 08 00 	mv r1,r13                                      
 8001494:	d8 40 00 00 	call r2                                        
 8001498:	34 02 00 01 	mvi r2,1                                       
 800149c:	5c 22 00 5d 	bne r1,r2,8001610 <mount+0x260>                
                                                                      
  /*                                                                  
   * For each mount table entry                                       
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
 80014a0:	78 06 08 01 	mvhi r6,0x801                                  
 80014a4:	38 c6 c6 d8 	ori r6,r6,0xc6d8                               
 80014a8:	28 c3 00 00 	lw r3,(r6+0)                                   
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 80014ac:	34 c6 00 04 	addi r6,r6,4                                   
 80014b0:	44 66 00 56 	be r3,r6,8001608 <mount+0x258>                 <== NEVER TAKEN
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
     the_mount_entry = (rtems_filesystem_mount_table_entry_t *) the_node;
     if ( the_mount_entry->mt_fs_root.node_access  == loc->node_access )
 80014b4:	2b 85 00 24 	lw r5,(sp+36)                                  
 80014b8:	28 61 00 1c 	lw r1,(r3+28)                                  
 80014bc:	5c 25 00 04 	bne r1,r5,80014cc <mount+0x11c>                <== ALWAYS TAKEN
 80014c0:	e0 00 00 34 	bi 8001590 <mount+0x1e0>                       <== NOT EXECUTED
 80014c4:	28 67 00 1c 	lw r7,(r3+28)                                  
 80014c8:	44 e5 00 32 	be r7,r5,8001590 <mount+0x1e0>                 
   * For each mount table entry                                       
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
 80014cc:	28 63 00 00 	lw r3,(r3+0)                                   
                                                                      
  /*                                                                  
   * For each mount table entry                                       
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
 80014d0:	5c 66 ff fd 	bne r3,r6,80014c4 <mount+0x114>                
     *  until the system is unmounted.  It may be needed to correctly 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    temp_mt_entry->mt_point_node.node_access = loc.node_access;       
    temp_mt_entry->mt_point_node.handlers = loc.handlers;             
 80014d4:	2b 82 00 2c 	lw r2,(sp+44)                                  
    temp_mt_entry->mt_point_node.ops = loc.ops;                       
 80014d8:	2b 81 00 30 	lw r1,(sp+48)                                  
     *  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.                                            
     */                                                               
                                                                      
    temp_mt_entry->mt_point_node.node_access = loc.node_access;       
 80014dc:	59 65 00 08 	sw (r11+8),r5                                  
    temp_mt_entry->mt_point_node.handlers = loc.handlers;             
 80014e0:	59 62 00 10 	sw (r11+16),r2                                 
    temp_mt_entry->mt_point_node.ops = loc.ops;                       
    temp_mt_entry->mt_point_node.mt_entry = loc.mt_entry;             
 80014e4:	2b 82 00 34 	lw r2,(sp+52)                                  
     *  traverse the tree.                                            
     */                                                               
                                                                      
    temp_mt_entry->mt_point_node.node_access = loc.node_access;       
    temp_mt_entry->mt_point_node.handlers = loc.handlers;             
    temp_mt_entry->mt_point_node.ops = loc.ops;                       
 80014e8:	59 61 00 14 	sw (r11+20),r1                                 
    temp_mt_entry->mt_point_node.mt_entry = loc.mt_entry;             
 80014ec:	59 62 00 18 	sw (r11+24),r2                                 
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( !loc.ops->mount_h ){                                         
 80014f0:	28 22 00 20 	lw r2,(r1+32)                                  
 80014f4:	44 40 00 1d 	be r2,r0,8001568 <mount+0x1b8>                 <== NEVER TAKEN
      errno = ENOTSUP;                                                
      goto cleanup_and_bail;                                          
    }                                                                 
                                                                      
    if ( loc.ops->mount_h( temp_mt_entry ) ) {                        
 80014f8:	b9 60 08 00 	mv r1,r11                                      
 80014fc:	d8 40 00 00 	call r2                                        
 8001500:	b9 a0 60 00 	mv r12,r13                                     
 8001504:	5c 20 00 1c 	bne r1,r0,8001574 <mount+0x1c4>                <== NEVER TAKEN
    temp_mt_entry->mt_point_node.handlers = NULL;                     
    temp_mt_entry->mt_point_node.ops = NULL;                          
    temp_mt_entry->mt_point_node.mt_entry = NULL;                     
  }                                                                   
                                                                      
  if ( fs_ops->fsmount_me_h( temp_mt_entry ) ) {                      
 8001508:	29 c2 00 24 	lw r2,(r14+36)                                 
 800150c:	b9 60 08 00 	mv r1,r11                                      
 8001510:	d8 40 00 00 	call r2                                        
 8001514:	b8 20 68 00 	mv r13,r1                                      
 8001518:	5c 20 00 2c 	bne r1,r0,80015c8 <mount+0x218>                <== NEVER TAKEN
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
 800151c:	78 01 08 01 	mvhi r1,0x801                                  
 8001520:	b9 60 10 00 	mv r2,r11                                      
 8001524:	38 21 c6 d8 	ori r1,r1,0xc6d8                               
 8001528:	f8 00 06 1b 	calli 8002d94 <_Chain_Append>                  
   */                                                                 
                                                                      
  rtems_chain_append( &rtems_filesystem_mount_table_control,          
                      &temp_mt_entry->Node );                         
                                                                      
  if ( mt_entry )                                                     
 800152c:	b9 e0 10 00 	mv r2,r15                                      
 8001530:	45 ed 00 03 	be r15,r13,800153c <mount+0x18c>               <== NEVER TAKEN
    *mt_entry = temp_mt_entry;                                        
 8001534:	59 eb 00 00 	sw (r15+0),r11                                 
 8001538:	b9 a0 10 00 	mv r2,r13                                      
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
}                                                                     
 800153c:	b8 40 08 00 	mv r1,r2                                       
 8001540:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8001544:	2b 8b 00 20 	lw r11,(sp+32)                                 
 8001548:	2b 8c 00 1c 	lw r12,(sp+28)                                 
 800154c:	2b 8d 00 18 	lw r13,(sp+24)                                 
 8001550:	2b 8e 00 14 	lw r14,(sp+20)                                 
 8001554:	2b 8f 00 10 	lw r15,(sp+16)                                 
 8001558:	2b 90 00 0c 	lw r16,(sp+12)                                 
 800155c:	2b 91 00 08 	lw r17,(sp+8)                                  
 8001560:	37 9c 00 34 	addi sp,sp,52                                  
 8001564:	c3 a0 00 00 	ret                                            
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( !loc.ops->mount_h ){                                         
      errno = ENOTSUP;                                                
 8001568:	f8 00 29 a7 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 800156c:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 8001570:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( temp_mt_entry );                                              
 8001574:	b9 60 08 00 	mv r1,r11                                      
 8001578:	f8 00 18 b5 	calli 800784c <free>                           
 800157c:	b9 a0 60 00 	mv r12,r13                                     
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
 8001580:	29 81 00 0c 	lw r1,(r12+12)                                 
 8001584:	5c 20 00 1b 	bne r1,r0,80015f0 <mount+0x240>                <== ALWAYS TAKEN
 8001588:	34 02 ff ff 	mvi r2,-1                                      <== NOT EXECUTED
 800158c:	e3 ff ff ec 	bi 800153c <mount+0x18c>                       <== NOT EXECUTED
    /*                                                                
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( Is_node_fs_root(  &loc ) ){                                  
      errno = EBUSY;                                                  
 8001590:	f8 00 29 9d 	calli 800bc04 <__errno>                        
 8001594:	34 02 00 10 	mvi r2,16                                      
 8001598:	58 22 00 00 	sw (r1+0),r2                                   
      goto cleanup_and_bail;                                          
 800159c:	e3 ff ff f6 	bi 8001574 <mount+0x1c4>                       
   if ( device ) {                                                    
     temp_mt_entry->dev =                                             
       (char *)temp_mt_entry + sizeof( rtems_filesystem_mount_table_entry_t );
     strcpy( temp_mt_entry->dev, device );                            
   } else                                                             
     temp_mt_entry->dev = 0;                                          
 80015a0:	58 2d 00 68 	sw (r1+104),r13                                
  /*                                                                  
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( mount_point ) {                                                
 80015a4:	5d 80 ff ad 	bne r12,r0,8001458 <mount+0xa8>                
     *  This is a mount of the base file system --> The               
     *  mt_point_node.node_access will be set to null to indicate that this
     *  is the root of the entire file system.                        
     */                                                               
                                                                      
    temp_mt_entry->mt_fs_root.node_access = NULL;                     
 80015a8:	59 6c 00 1c 	sw (r11+28),r12                                
    temp_mt_entry->mt_fs_root.handlers = NULL;                        
 80015ac:	59 6c 00 24 	sw (r11+36),r12                                
    temp_mt_entry->mt_fs_root.ops = NULL;                             
 80015b0:	59 6c 00 28 	sw (r11+40),r12                                
                                                                      
    temp_mt_entry->mt_point_node.node_access = NULL;                  
 80015b4:	59 6c 00 08 	sw (r11+8),r12                                 
    temp_mt_entry->mt_point_node.handlers = NULL;                     
 80015b8:	59 6c 00 10 	sw (r11+16),r12                                
    temp_mt_entry->mt_point_node.ops = NULL;                          
 80015bc:	59 6c 00 14 	sw (r11+20),r12                                
    temp_mt_entry->mt_point_node.mt_entry = NULL;                     
 80015c0:	59 6c 00 18 	sw (r11+24),r12                                
 80015c4:	e3 ff ff d1 	bi 8001508 <mount+0x158>                       
  }                                                                   
                                                                      
  if ( fs_ops->fsmount_me_h( temp_mt_entry ) ) {                      
	/* try to undo the mount operation */                                
	if ( loc.ops->unmount_h ) {                                          
 80015c8:	2b 81 00 30 	lw r1,(sp+48)                                  <== NOT EXECUTED
 80015cc:	28 22 00 28 	lw r2,(r1+40)                                  <== NOT EXECUTED
 80015d0:	44 40 00 03 	be r2,r0,80015dc <mount+0x22c>                 <== NOT EXECUTED
		loc.ops->unmount_h( temp_mt_entry );                                
 80015d4:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 80015d8:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( temp_mt_entry );                                              
 80015dc:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 80015e0:	f8 00 18 9b 	calli 800784c <free>                           <== NOT EXECUTED
                                                                      
  if ( loc_to_free )                                                  
 80015e4:	5d 80 ff e7 	bne r12,r0,8001580 <mount+0x1d0>               <== NOT EXECUTED
    rtems_filesystem_freenode( loc_to_free );                         
 80015e8:	34 02 ff ff 	mvi r2,-1                                      <== NOT EXECUTED
 80015ec:	e3 ff ff d4 	bi 800153c <mount+0x18c>                       <== NOT EXECUTED
 80015f0:	28 22 00 1c 	lw r2,(r1+28)                                  
 80015f4:	44 40 ff e5 	be r2,r0,8001588 <mount+0x1d8>                 <== NEVER TAKEN
 80015f8:	b9 80 08 00 	mv r1,r12                                      
 80015fc:	d8 40 00 00 	call r2                                        
 8001600:	34 02 ff ff 	mvi r2,-1                                      
 8001604:	e3 ff ff ce 	bi 800153c <mount+0x18c>                       
 8001608:	2b 85 00 24 	lw r5,(sp+36)                                  <== NOT EXECUTED
 800160c:	e3 ff ff b2 	bi 80014d4 <mount+0x124>                       <== NOT EXECUTED
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
      errno = ENOTDIR;                                                
 8001610:	f8 00 29 7d 	calli 800bc04 <__errno>                        
 8001614:	34 02 00 14 	mvi r2,20                                      
 8001618:	58 22 00 00 	sw (r1+0),r2                                   
      goto cleanup_and_bail;                                          
 800161c:	e3 ff ff d6 	bi 8001574 <mount+0x1c4>                       
    return -1;                                                        
  }                                                                   
                                                                      
  /* Do they support being mounted at all ? */                        
  if ( !fs_ops->fsmount_me_h ) {                                      
    errno = ENOTSUP;                                                  
 8001620:	f8 00 29 79 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 8001624:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 8001628:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 800162c:	b9 60 88 00 	mv r17,r11                                     <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( temp_mt_entry );                                              
 8001630:	ba 20 08 00 	mv r1,r17                                      <== NOT EXECUTED
 8001634:	f8 00 18 86 	calli 800784c <free>                           <== NOT EXECUTED
 8001638:	34 02 ff ff 	mvi r2,-1                                      <== NOT EXECUTED
 800163c:	e3 ff ff c0 	bi 800153c <mount+0x18c>                       <== NOT EXECUTED
   if ( device )                                                      
     size += strlen( device ) + 1;                                    
   temp_mt_entry = malloc( size );                                    
                                                                      
   if ( !temp_mt_entry ) {                                            
     errno = ENOMEM;                                                  
 8001640:	f8 00 29 71 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 8001644:	34 02 00 0c 	mvi r2,12                                      <== NOT EXECUTED
 8001648:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 800164c:	34 02 ff ff 	mvi r2,-1                                      <== NOT EXECUTED
     return -1;                                                       
 8001650:	e3 ff ff bb 	bi 800153c <mount+0x18c>                       <== NOT EXECUTED
                                                                      
08001658 <newlib_delete_hook>:                                        
                                                                      
void newlib_delete_hook(                                              
  rtems_tcb *current_task,                                            
  rtems_tcb *deleted_task                                             
)                                                                     
{                                                                     
 8001658:	37 9c ff f0 	addi sp,sp,-16                                 
 800165c:	5b 8b 00 10 	sw (sp+16),r11                                 
 8001660:	5b 8c 00 0c 	sw (sp+12),r12                                 
 8001664:	5b 8d 00 08 	sw (sp+8),r13                                  
 8001668:	5b 9d 00 04 	sw (sp+4),ra                                   
 800166c:	b8 20 68 00 	mv r13,r1                                      
 8001670:	b8 40 58 00 	mv r11,r2                                      
                                                                      
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
 8001674:	44 22 00 1f 	be r1,r2,80016f0 <newlib_delete_hook+0x98>     
    ptr = _REENT;                                                     
  } else {                                                            
    ptr = deleted_task->libc_reent;                                   
 8001678:	28 4c 01 20 	lw r12,(r2+288)                                
  }                                                                   
                                                                      
  if (ptr && ptr != _global_impure_ptr) {                             
 800167c:	45 80 00 0b 	be r12,r0,80016a8 <newlib_delete_hook+0x50>    <== NEVER TAKEN
 8001680:	78 02 08 01 	mvhi r2,0x801                                  
 8001684:	38 42 b6 fc 	ori r2,r2,0xb6fc                               
 8001688:	28 41 00 00 	lw r1,(r2+0)                                   
 800168c:	45 81 00 07 	be r12,r1,80016a8 <newlib_delete_hook+0x50>    
    _reclaim_reent(ptr);                                              
*/                                                                    
    /*                                                                
     *  Just in case there are some buffers lying around.             
     */                                                               
    _fwalk(ptr, newlib_free_buffers);                                 
 8001690:	78 02 08 00 	mvhi r2,0x800                                  
 8001694:	38 42 17 00 	ori r2,r2,0x1700                               
 8001698:	b9 80 08 00 	mv r1,r12                                      
 800169c:	f8 00 2b ce 	calli 800c5d4 <_fwalk>                         
#if REENT_MALLOCED                                                    
    free(ptr);                                                        
#else                                                                 
    _Workspace_Free(ptr);                                             
 80016a0:	b9 80 08 00 	mv r1,r12                                      
 80016a4:	f8 00 12 2b 	calli 8005f50 <_Workspace_Free>                
#endif                                                                
  }                                                                   
                                                                      
  deleted_task->libc_reent = NULL;                                    
 80016a8:	34 01 00 00 	mvi r1,0                                       
 80016ac:	59 61 01 20 	sw (r11+288),r1                                
                                                                      
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
 80016b0:	45 ab 00 07 	be r13,r11,80016cc <newlib_delete_hook+0x74>   
    _REENT = 0;                                                       
  }                                                                   
}                                                                     
 80016b4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80016b8:	2b 8b 00 10 	lw r11,(sp+16)                                 
 80016bc:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 80016c0:	2b 8d 00 08 	lw r13,(sp+8)                                  
 80016c4:	37 9c 00 10 	addi sp,sp,16                                  
 80016c8:	c3 a0 00 00 	ret                                            
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
    _REENT = 0;                                                       
 80016cc:	78 02 08 01 	mvhi r2,0x801                                  
 80016d0:	38 42 c1 70 	ori r2,r2,0xc170                               
 80016d4:	58 41 00 00 	sw (r2+0),r1                                   
  }                                                                   
}                                                                     
 80016d8:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80016dc:	2b 8b 00 10 	lw r11,(sp+16)                                 
 80016e0:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 80016e4:	2b 8d 00 08 	lw r13,(sp+8)                                  
 80016e8:	37 9c 00 10 	addi sp,sp,16                                  
 80016ec:	c3 a0 00 00 	ret                                            
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
    ptr = _REENT;                                                     
 80016f0:	78 01 08 01 	mvhi r1,0x801                                  
 80016f4:	38 21 c1 70 	ori r1,r1,0xc170                               
 80016f8:	28 2c 00 00 	lw r12,(r1+0)                                  
 80016fc:	e3 ff ff e0 	bi 800167c <newlib_delete_hook+0x24>           
                                                                      
08001700 <newlib_free_buffers>:                                       
 */                                                                   
                                                                      
int newlib_free_buffers(                                              
  FILE *fp                                                            
)                                                                     
{                                                                     
 8001700:	37 9c ff f4 	addi sp,sp,-12                                 
 8001704:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8001708:	5b 8c 00 08 	sw (sp+8),r12                                  
 800170c:	5b 9d 00 04 	sw (sp+4),ra                                   
 8001710:	b8 20 58 00 	mv r11,r1                                      
  switch ( fileno(fp) ) {                                             
 8001714:	f8 00 2a 60 	calli 800c094 <fileno>                         
 8001718:	34 02 00 02 	mvi r2,2                                       
 800171c:	54 22 00 0b 	bgu r1,r2,8001748 <newlib_free_buffers+0x48>   <== NEVER TAKEN
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
 8001720:	2d 61 00 0c 	lhu r1,(r11+12)                                
 8001724:	34 0c 00 00 	mvi r12,0                                      
 8001728:	20 21 00 80 	andi r1,r1,0x80                                
 800172c:	5c 2c 00 0f 	bne r1,r12,8001768 <newlib_free_buffers+0x68>  <== NEVER TAKEN
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
 8001730:	34 01 00 00 	mvi r1,0                                       
 8001734:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8001738:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 800173c:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8001740:	37 9c 00 0c 	addi sp,sp,12                                  
 8001744:	c3 a0 00 00 	ret                                            
        fp->_flags &= ~__SMBF;                                        
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
      }                                                               
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
 8001748:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 800174c:	f8 00 29 90 	calli 800bd8c <fclose>                         <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
 8001750:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 8001754:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8001758:	2b 8b 00 0c 	lw r11,(sp+12)                                 <== NOT EXECUTED
 800175c:	2b 8c 00 08 	lw r12,(sp+8)                                  <== NOT EXECUTED
 8001760:	37 9c 00 0c 	addi sp,sp,12                                  <== NOT EXECUTED
 8001764:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
  switch ( fileno(fp) ) {                                             
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
 8001768:	29 61 00 10 	lw r1,(r11+16)                                 <== NOT EXECUTED
 800176c:	f8 00 18 38 	calli 800784c <free>                           <== NOT EXECUTED
        fp->_flags &= ~__SMBF;                                        
 8001770:	2d 61 00 0c 	lhu r1,(r11+12)                                <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
 8001774:	59 6c 00 10 	sw (r11+16),r12                                <== NOT EXECUTED
 8001778:	59 6c 00 00 	sw (r11+0),r12                                 <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
 800177c:	20 21 ff 7f 	andi r1,r1,0xff7f                              <== NOT EXECUTED
 8001780:	0d 61 00 0c 	sh (r11+12),r1                                 <== NOT EXECUTED
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
 8001784:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 8001788:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 800178c:	2b 8b 00 0c 	lw r11,(sp+12)                                 <== NOT EXECUTED
 8001790:	2b 8c 00 08 	lw r12,(sp+8)                                  <== NOT EXECUTED
 8001794:	37 9c 00 0c 	addi sp,sp,12                                  <== NOT EXECUTED
 8001798:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
080018ec <null_initialize>:                                           
rtems_device_driver null_initialize(                                  
  rtems_device_major_number major,                                    
  rtems_device_minor_number minor __attribute__((unused)),            
  void *pargp __attribute__((unused))                                 
)                                                                     
{                                                                     
 80018ec:	37 9c ff f4 	addi sp,sp,-12                                 
 80018f0:	5b 8b 00 0c 	sw (sp+12),r11                                 
 80018f4:	5b 8c 00 08 	sw (sp+8),r12                                  
 80018f8:	5b 9d 00 04 	sw (sp+4),ra                                   
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
 80018fc:	78 04 08 02 	mvhi r4,0x802                                  
 8001900:	38 84 16 a4 	ori r4,r4,0x16a4                               
 8001904:	40 8b 00 00 	lbu r11,(r4+0)                                 
rtems_device_driver null_initialize(                                  
  rtems_device_major_number major,                                    
  rtems_device_minor_number minor __attribute__((unused)),            
  void *pargp __attribute__((unused))                                 
)                                                                     
{                                                                     
 8001908:	b8 20 60 00 	mv r12,r1                                      
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
 800190c:	45 60 00 07 	be r11,r0,8001928 <null_initialize+0x3c>       
                                                                      
    NULL_major = major;                                               
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 8001910:	34 01 00 00 	mvi r1,0                                       
 8001914:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8001918:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 800191c:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8001920:	37 9c 00 0c 	addi sp,sp,12                                  
 8001924:	c3 a0 00 00 	ret                                            
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
    initialized = 1;                                                  
                                                                      
    status = rtems_io_register_name(                                  
 8001928:	78 01 08 01 	mvhi r1,0x801                                  
)                                                                     
{                                                                     
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
    initialized = 1;                                                  
 800192c:	34 05 00 01 	mvi r5,1                                       
                                                                      
    status = rtems_io_register_name(                                  
 8001930:	38 21 f0 bc 	ori r1,r1,0xf0bc                               
 8001934:	b9 80 10 00 	mv r2,r12                                      
 8001938:	b9 60 18 00 	mv r3,r11                                      
)                                                                     
{                                                                     
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
    initialized = 1;                                                  
 800193c:	30 85 00 00 	sb (r4+0),r5                                   
                                                                      
    status = rtems_io_register_name(                                  
 8001940:	f8 00 00 56 	calli 8001a98 <rtems_io_register_name>         
      "/dev/null",                                                    
      major,                                                          
      (rtems_device_minor_number) 0                                   
    );                                                                
                                                                      
    if (status != RTEMS_SUCCESSFUL)                                   
 8001944:	5c 2b 00 0a 	bne r1,r11,800196c <null_initialize+0x80>      <== NEVER TAKEN
      rtems_fatal_error_occurred(status);                             
                                                                      
    NULL_major = major;                                               
 8001948:	78 03 08 02 	mvhi r3,0x802                                  
 800194c:	38 63 17 48 	ori r3,r3,0x1748                               
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 8001950:	34 01 00 00 	mvi r1,0                                       
    );                                                                
                                                                      
    if (status != RTEMS_SUCCESSFUL)                                   
      rtems_fatal_error_occurred(status);                             
                                                                      
    NULL_major = major;                                               
 8001954:	58 6c 00 00 	sw (r3+0),r12                                  
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 8001958:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800195c:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8001960:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8001964:	37 9c 00 0c 	addi sp,sp,12                                  
 8001968:	c3 a0 00 00 	ret                                            
      major,                                                          
      (rtems_device_minor_number) 0                                   
    );                                                                
                                                                      
    if (status != RTEMS_SUCCESSFUL)                                   
      rtems_fatal_error_occurred(status);                             
 800196c:	f8 00 08 8f 	calli 8003ba8 <rtems_fatal_error_occurred>     <== NOT EXECUTED
                                                                      
080018d0 <null_write>:                                                
  void *pargp                                                         
)                                                                     
{                                                                     
  rtems_libio_rw_args_t *rw_args = (rtems_libio_rw_args_t *) pargp;   
                                                                      
  if ( rw_args )                                                      
 80018d0:	44 60 00 03 	be r3,r0,80018dc <null_write+0xc>              <== ALWAYS TAKEN
    rw_args->bytes_moved = rw_args->count;                            
 80018d4:	28 61 00 14 	lw r1,(r3+20)                                  <== NOT EXECUTED
 80018d8:	58 61 00 1c 	sw (r3+28),r1                                  <== NOT EXECUTED
                                                                      
  return NULL_SUCCESSFUL;                                             
}                                                                     
 80018dc:	34 01 00 00 	mvi r1,0                                       
 80018e0:	c3 a0 00 00 	ret                                            
                                                                      
08001a04 <open>:                                                      
int open(                                                             
  const char   *pathname,                                             
  int           flags,                                                
  ...                                                                 
)                                                                     
{                                                                     
 8001a04:	37 9c ff ac 	addi sp,sp,-84                                 
 8001a08:	5b 8b 00 24 	sw (sp+36),r11                                 
 8001a0c:	5b 8c 00 20 	sw (sp+32),r12                                 
 8001a10:	5b 8d 00 1c 	sw (sp+28),r13                                 
 8001a14:	5b 8e 00 18 	sw (sp+24),r14                                 
 8001a18:	5b 8f 00 14 	sw (sp+20),r15                                 
 8001a1c:	5b 90 00 10 	sw (sp+16),r16                                 
 8001a20:	5b 91 00 0c 	sw (sp+12),r17                                 
 8001a24:	5b 92 00 08 	sw (sp+8),r18                                  
 8001a28:	5b 9d 00 04 	sw (sp+4),ra                                   
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
                                                                      
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
 8001a2c:	34 49 00 01 	addi r9,r2,1                                   
int open(                                                             
  const char   *pathname,                                             
  int           flags,                                                
  ...                                                                 
)                                                                     
{                                                                     
 8001a30:	b8 40 60 00 	mv r12,r2                                      
 8001a34:	5b 82 00 3c 	sw (sp+60),r2                                  
 8001a38:	5b 83 00 40 	sw (sp+64),r3                                  
 8001a3c:	5b 84 00 44 	sw (sp+68),r4                                  
 8001a40:	5b 85 00 48 	sw (sp+72),r5                                  
 8001a44:	5b 86 00 4c 	sw (sp+76),r6                                  
 8001a48:	5b 87 00 50 	sw (sp+80),r7                                  
 8001a4c:	5b 88 00 54 	sw (sp+84),r8                                  
   * Set the Evaluation flags                                         
   */                                                                 
                                                                      
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
  if ( ( status & _FREAD ) == _FREAD )                                
 8001a50:	21 22 00 01 	andi r2,r9,0x1                                 
int open(                                                             
  const char   *pathname,                                             
  int           flags,                                                
  ...                                                                 
)                                                                     
{                                                                     
 8001a54:	b8 20 78 00 	mv r15,r1                                      
   * Set the Evaluation flags                                         
   */                                                                 
                                                                      
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
  if ( ( status & _FREAD ) == _FREAD )                                
 8001a58:	34 0d 00 04 	mvi r13,4                                      
 8001a5c:	5c 40 00 02 	bne r2,r0,8001a64 <open+0x60>                  
 8001a60:	b8 40 68 00 	mv r13,r2                                      
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
  if ( ( status & _FWRITE ) == _FWRITE )                              
 8001a64:	21 29 00 02 	andi r9,r9,0x2                                 
 8001a68:	45 20 00 02 	be r9,r0,8001a70 <open+0x6c>                   
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
 8001a6c:	39 ad 00 02 	ori r13,r13,0x2                                
                                                                      
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
 8001a70:	2b 91 00 40 	lw r17,(sp+64)                                 
   *             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();                                       
 8001a74:	f8 00 18 52 	calli 8007bbc <rtems_libio_allocate>           
 8001a78:	b8 20 58 00 	mv r11,r1                                      
  if ( iop == 0 ) {                                                   
 8001a7c:	34 0e 00 17 	mvi r14,23                                     
 8001a80:	44 20 00 53 	be r1,r0,8001bcc <open+0x1c8>                  
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
                                                                      
  status = rtems_filesystem_evaluate_path(                            
    pathname, strlen( pathname ), eval_flags, &loc, true );           
 8001a84:	b9 e0 08 00 	mv r1,r15                                      
 8001a88:	f8 00 2d 2f 	calli 800cf44 <strlen>                         
                                                                      
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
                                                                      
  status = rtems_filesystem_evaluate_path(                            
 8001a8c:	37 90 00 28 	addi r16,sp,40                                 
 8001a90:	b8 20 10 00 	mv r2,r1                                       
 8001a94:	b9 a0 18 00 	mv r3,r13                                      
 8001a98:	b9 e0 08 00 	mv r1,r15                                      
 8001a9c:	ba 00 20 00 	mv r4,r16                                      
 8001aa0:	34 05 00 01 	mvi r5,1                                       
 8001aa4:	fb ff fd 1b 	calli 8000f10 <rtems_filesystem_evaluate_path> 
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
 8001aa8:	34 02 ff ff 	mvi r2,-1                                      
 8001aac:	44 22 00 4f 	be r1,r2,8001be8 <open+0x1e4>                  
    if ( status != 0 ) {   /* The file did not exist */               
      rc = EACCES;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
 8001ab0:	21 82 0a 00 	andi r2,r12,0xa00                              
 8001ab4:	34 01 0a 00 	mvi r1,2560                                    
 8001ab8:	ba 00 68 00 	mv r13,r16                                     
 8001abc:	34 0e 00 11 	mvi r14,17                                     
 8001ac0:	44 41 00 39 	be r2,r1,8001ba4 <open+0x1a0>                  
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
 8001ac4:	2b 81 00 30 	lw r1,(sp+48)                                  
  iop->file_info  = loc.node_access;                                  
 8001ac8:	2b 82 00 28 	lw r2,(sp+40)                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
 8001acc:	29 6d 00 18 	lw r13,(r11+24)                                
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
 8001ad0:	59 61 00 40 	sw (r11+64),r1                                 
  iop->file_info  = loc.node_access;                                  
 8001ad4:	59 62 00 3c 	sw (r11+60),r2                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
 8001ad8:	b9 80 08 00 	mv r1,r12                                      
 8001adc:	f8 00 18 23 	calli 8007b68 <rtems_libio_fcntl_flags>        
  iop->pathinfo   = loc;                                              
 8001ae0:	2b 83 00 28 	lw r3,(sp+40)                                  
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
 8001ae4:	b8 2d 08 00 	or r1,r1,r13                                   
 8001ae8:	59 61 00 18 	sw (r11+24),r1                                 
  iop->pathinfo   = loc;                                              
 8001aec:	59 63 00 1c 	sw (r11+28),r3                                 
 8001af0:	2b 83 00 2c 	lw r3,(sp+44)                                  
                                                                      
  if ( !iop->handlers || !iop->handlers->open_h ) {                   
 8001af4:	29 62 00 40 	lw r2,(r11+64)                                 
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
  iop->pathinfo   = loc;                                              
 8001af8:	59 63 00 20 	sw (r11+32),r3                                 
 8001afc:	2b 81 00 30 	lw r1,(sp+48)                                  
 8001b00:	59 61 00 24 	sw (r11+36),r1                                 
 8001b04:	2b 83 00 34 	lw r3,(sp+52)                                  
 8001b08:	59 63 00 28 	sw (r11+40),r3                                 
 8001b0c:	2b 81 00 38 	lw r1,(sp+56)                                  
 8001b10:	59 61 00 2c 	sw (r11+44),r1                                 
                                                                      
  if ( !iop->handlers || !iop->handlers->open_h ) {                   
 8001b14:	44 40 00 32 	be r2,r0,8001bdc <open+0x1d8>                  <== NEVER TAKEN
 8001b18:	28 45 00 00 	lw r5,(r2+0)                                   
 8001b1c:	44 a0 00 30 	be r5,r0,8001bdc <open+0x1d8>                  <== NEVER TAKEN
    rc = ENOTSUP;                                                     
    goto done;                                                        
  }                                                                   
                                                                      
  rc = (*iop->handlers->open_h)( iop, pathname, flags, mode );        
 8001b20:	b9 e0 10 00 	mv r2,r15                                      
 8001b24:	ba 20 20 00 	mv r4,r17                                      
 8001b28:	b9 60 08 00 	mv r1,r11                                      
 8001b2c:	b9 80 18 00 	mv r3,r12                                      
 8001b30:	d8 a0 00 00 	call r5                                        
 8001b34:	b8 20 68 00 	mv r13,r1                                      
  if ( rc ) {                                                         
 8001b38:	5c 20 00 17 	bne r1,r0,8001b94 <open+0x190>                 
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
                                                                      
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
 8001b3c:	21 8c 04 00 	andi r12,r12,0x400                             
 8001b40:	5d 81 00 33 	bne r12,r1,8001c0c <open+0x208>                
 8001b44:	78 0c 08 01 	mvhi r12,0x801                                 
 8001b48:	39 8c c6 9c 	ori r12,r12,0xc69c                             
    if ( loc_to_free )                                                
      rtems_filesystem_freenode( loc_to_free );                       
    rtems_set_errno_and_return_minus_one( rc );                       
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
 8001b4c:	29 81 00 00 	lw r1,(r12+0)                                  
 8001b50:	34 02 00 03 	mvi r2,3                                       
 8001b54:	c9 61 08 00 	sub r1,r11,r1                                  
 8001b58:	fb ff f9 f6 	calli 8000330 <__ashrsi3>                      
 8001b5c:	78 02 38 e3 	mvhi r2,0x38e3                                 
 8001b60:	38 42 8e 39 	ori r2,r2,0x8e39                               
 8001b64:	f8 00 60 0d 	calli 8019b98 <__mulsi3>                       
}                                                                     
 8001b68:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8001b6c:	2b 8b 00 24 	lw r11,(sp+36)                                 
 8001b70:	2b 8c 00 20 	lw r12,(sp+32)                                 
 8001b74:	2b 8d 00 1c 	lw r13,(sp+28)                                 
 8001b78:	2b 8e 00 18 	lw r14,(sp+24)                                 
 8001b7c:	2b 8f 00 14 	lw r15,(sp+20)                                 
 8001b80:	2b 90 00 10 	lw r16,(sp+16)                                 
 8001b84:	2b 91 00 0c 	lw r17,(sp+12)                                 
 8001b88:	2b 92 00 08 	lw r18,(sp+8)                                  
 8001b8c:	37 9c 00 54 	addi sp,sp,84                                  
 8001b90:	c3 a0 00 00 	ret                                            
    goto done;                                                        
  }                                                                   
                                                                      
  rc = (*iop->handlers->open_h)( iop, pathname, flags, mode );        
  if ( rc ) {                                                         
    rc = errno;                                                       
 8001b94:	f8 00 28 1c 	calli 800bc04 <__errno>                        
 8001b98:	28 2e 00 00 	lw r14,(r1+0)                                  
 8001b9c:	ba 00 68 00 	mv r13,r16                                     
   */                                                                 
                                                                      
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
 8001ba0:	45 c0 ff e9 	be r14,r0,8001b44 <open+0x140>                 <== NEVER TAKEN
    if ( iop )                                                        
 8001ba4:	45 60 00 03 	be r11,r0,8001bb0 <open+0x1ac>                 <== NEVER TAKEN
      rtems_libio_free( iop );                                        
 8001ba8:	b9 60 08 00 	mv r1,r11                                      
 8001bac:	f8 00 18 6b 	calli 8007d58 <rtems_libio_free>               
    if ( loc_to_free )                                                
 8001bb0:	45 a0 00 07 	be r13,r0,8001bcc <open+0x1c8>                 
      rtems_filesystem_freenode( loc_to_free );                       
 8001bb4:	29 a1 00 0c 	lw r1,(r13+12)                                 
 8001bb8:	44 20 00 05 	be r1,r0,8001bcc <open+0x1c8>                  <== NEVER TAKEN
 8001bbc:	28 22 00 1c 	lw r2,(r1+28)                                  
 8001bc0:	44 40 00 03 	be r2,r0,8001bcc <open+0x1c8>                  <== NEVER TAKEN
 8001bc4:	b9 a0 08 00 	mv r1,r13                                      
 8001bc8:	d8 40 00 00 	call r2                                        
    rtems_set_errno_and_return_minus_one( rc );                       
 8001bcc:	f8 00 28 0e 	calli 800bc04 <__errno>                        
 8001bd0:	58 2e 00 00 	sw (r1+0),r14                                  
 8001bd4:	34 01 ff ff 	mvi r1,-1                                      
 8001bd8:	e3 ff ff e4 	bi 8001b68 <open+0x164>                        
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
 8001bdc:	ba 00 68 00 	mv r13,r16                                     <== NOT EXECUTED
 8001be0:	34 0e 00 86 	mvi r14,134                                    <== NOT EXECUTED
 8001be4:	e3 ff ff f0 	bi 8001ba4 <open+0x1a0>                        <== NOT EXECUTED
                                                                      
  status = rtems_filesystem_evaluate_path(                            
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
    if ( errno != ENOENT ) {                                          
 8001be8:	f8 00 28 07 	calli 800bc04 <__errno>                        
 8001bec:	28 2e 00 00 	lw r14,(r1+0)                                  
 8001bf0:	34 01 00 02 	mvi r1,2                                       
 8001bf4:	45 c1 00 22 	be r14,r1,8001c7c <open+0x278>                 
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
    if ( rc ) {                                                       
      rc = errno;                                                     
 8001bf8:	f8 00 28 03 	calli 800bc04 <__errno>                        
 8001bfc:	28 2e 00 00 	lw r14,(r1+0)                                  
 8001c00:	34 0d 00 00 	mvi r13,0                                      
   */                                                                 
                                                                      
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
 8001c04:	45 c0 ff d0 	be r14,r0,8001b44 <open+0x140>                 <== NEVER TAKEN
 8001c08:	e3 ff ff e7 	bi 8001ba4 <open+0x1a0>                        
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
                                                                      
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
 8001c0c:	78 0c 08 01 	mvhi r12,0x801                                 
 8001c10:	39 8c c6 9c 	ori r12,r12,0xc69c                             
 8001c14:	29 81 00 00 	lw r1,(r12+0)                                  
 8001c18:	34 02 00 03 	mvi r2,3                                       
 8001c1c:	c9 61 08 00 	sub r1,r11,r1                                  
 8001c20:	fb ff f9 c4 	calli 8000330 <__ashrsi3>                      
 8001c24:	78 02 38 e3 	mvhi r2,0x38e3                                 
 8001c28:	38 42 8e 39 	ori r2,r2,0x8e39                               
 8001c2c:	f8 00 5f db 	calli 8019b98 <__mulsi3>                       
 8001c30:	b9 a0 10 00 	mv r2,r13                                      
 8001c34:	f8 00 17 34 	calli 8007904 <ftruncate>                      
 8001c38:	b8 20 70 00 	mv r14,r1                                      
    if ( rc ) {                                                       
 8001c3c:	44 20 ff c4 	be r1,r0,8001b4c <open+0x148>                  <== ALWAYS TAKEN
      if(errno) rc = errno;                                           
 8001c40:	f8 00 27 f1 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 8001c44:	28 21 00 00 	lw r1,(r1+0)                                   <== NOT EXECUTED
 8001c48:	5c 20 00 23 	bne r1,r0,8001cd4 <open+0x2d0>                 <== NOT EXECUTED
      close( iop - rtems_libio_iops );                                
 8001c4c:	29 81 00 00 	lw r1,(r12+0)                                  <== NOT EXECUTED
 8001c50:	34 02 00 03 	mvi r2,3                                       <== NOT EXECUTED
 8001c54:	c9 61 08 00 	sub r1,r11,r1                                  <== NOT EXECUTED
 8001c58:	fb ff f9 b6 	calli 8000330 <__ashrsi3>                      <== NOT EXECUTED
 8001c5c:	78 02 38 e3 	mvhi r2,0x38e3                                 <== NOT EXECUTED
 8001c60:	38 42 8e 39 	ori r2,r2,0x8e39                               <== NOT EXECUTED
 8001c64:	f8 00 5f cd 	calli 8019b98 <__mulsi3>                       <== NOT EXECUTED
 8001c68:	34 0b 00 00 	mvi r11,0                                      <== NOT EXECUTED
 8001c6c:	f8 00 16 c0 	calli 800776c <close>                          <== NOT EXECUTED
 8001c70:	b9 60 68 00 	mv r13,r11                                     <== NOT EXECUTED
   */                                                                 
                                                                      
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
 8001c74:	45 c0 ff b4 	be r14,r0,8001b44 <open+0x140>                 <== NOT EXECUTED
 8001c78:	e3 ff ff cb 	bi 8001ba4 <open+0x1a0>                        <== NOT EXECUTED
      rc = errno;                                                     
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
 8001c7c:	21 81 02 00 	andi r1,r12,0x200                              
 8001c80:	b8 20 68 00 	mv r13,r1                                      
 8001c84:	44 20 ff c8 	be r1,r0,8001ba4 <open+0x1a0>                  
      rc = ENOENT;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
 8001c88:	34 03 00 00 	mvi r3,0                                       
 8001c8c:	b9 e0 08 00 	mv r1,r15                                      
 8001c90:	3a 22 80 00 	ori r2,r17,0x8000                              
 8001c94:	b8 60 20 00 	mv r4,r3                                       
 8001c98:	fb ff fd 5c 	calli 8001208 <mknod>                          
 8001c9c:	b8 20 90 00 	mv r18,r1                                      
    if ( rc ) {                                                       
 8001ca0:	5c 20 ff d6 	bne r1,r0,8001bf8 <open+0x1f4>                 <== NEVER TAKEN
      rc = errno;                                                     
      goto done;                                                      
    }                                                                 
                                                                      
    /* Sanity check to see if the file name exists after the mknod() */
    status = rtems_filesystem_evaluate_path( pathname, strlen( pathname ), 0x0, &loc, true );
 8001ca4:	b9 e0 08 00 	mv r1,r15                                      
 8001ca8:	f8 00 2c a7 	calli 800cf44 <strlen>                         
 8001cac:	b8 20 10 00 	mv r2,r1                                       
 8001cb0:	ba 40 18 00 	mv r3,r18                                      
 8001cb4:	b9 e0 08 00 	mv r1,r15                                      
 8001cb8:	ba 00 20 00 	mv r4,r16                                      
 8001cbc:	34 05 00 01 	mvi r5,1                                       
 8001cc0:	fb ff fc 94 	calli 8000f10 <rtems_filesystem_evaluate_path> 
    if ( status != 0 ) {   /* The file did not exist */               
 8001cc4:	ba 40 68 00 	mv r13,r18                                     
 8001cc8:	34 0e 00 0d 	mvi r14,13                                     
 8001ccc:	5c 32 ff b6 	bne r1,r18,8001ba4 <open+0x1a0>                <== NEVER TAKEN
 8001cd0:	e3 ff ff 7d 	bi 8001ac4 <open+0xc0>                         
   */                                                                 
                                                                      
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
    if ( rc ) {                                                       
      if(errno) rc = errno;                                           
 8001cd4:	f8 00 27 cc 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 8001cd8:	28 2e 00 00 	lw r14,(r1+0)                                  <== NOT EXECUTED
 8001cdc:	e3 ff ff dc 	bi 8001c4c <open+0x248>                        <== NOT EXECUTED
                                                                      
08001984 <open_dev_console>:                                          
                                                                      
/*                                                                    
 *  This is a replaceable stub which opens the console, if present.   
 */                                                                   
void open_dev_console(void)                                           
{                                                                     
 8001984:	37 9c ff f8 	addi sp,sp,-8                                  
 8001988:	5b 8b 00 08 	sw (sp+8),r11                                  
 800198c:	5b 9d 00 04 	sw (sp+4),ra                                   
  int      stderr_fd;                                                 
                                                                      
  /*                                                                  
   * Attempt to open /dev/console.                                    
   */                                                                 
  if ((stdin_fd = open("/dev/console", O_RDONLY, 0)) == -1) {         
 8001990:	34 02 00 00 	mvi r2,0                                       
 8001994:	78 01 08 01 	mvhi r1,0x801                                  
 8001998:	38 21 b0 60 	ori r1,r1,0xb060                               
 800199c:	b8 40 18 00 	mv r3,r2                                       
 80019a0:	f8 00 00 19 	calli 8001a04 <open>                           
 80019a4:	34 0b ff ff 	mvi r11,-1                                     
 80019a8:	44 2b 00 0d 	be r1,r11,80019dc <open_dev_console+0x58>      
                                                                      
  /*                                                                  
   *  But if we find /dev/console once, we better find it twice more  
   *  or something is REALLY wrong.                                   
   */                                                                 
  if ((stdout_fd = open("/dev/console", O_WRONLY, 0)) == -1)          
 80019ac:	78 01 08 01 	mvhi r1,0x801                                  
 80019b0:	38 21 b0 60 	ori r1,r1,0xb060                               
 80019b4:	34 02 00 01 	mvi r2,1                                       
 80019b8:	34 03 00 00 	mvi r3,0                                       
 80019bc:	f8 00 00 12 	calli 8001a04 <open>                           
 80019c0:	44 2b 00 0b 	be r1,r11,80019ec <open_dev_console+0x68>      <== NEVER TAKEN
    rtems_fatal_error_occurred( 0x55544431 );  /* error STD1 */       
                                                                      
  if ((stderr_fd = open("/dev/console", O_WRONLY, 0)) == -1)          
 80019c4:	78 01 08 01 	mvhi r1,0x801                                  
 80019c8:	38 21 b0 60 	ori r1,r1,0xb060                               
 80019cc:	34 02 00 01 	mvi r2,1                                       
 80019d0:	34 03 00 00 	mvi r3,0                                       
 80019d4:	f8 00 00 0c 	calli 8001a04 <open>                           
 80019d8:	44 2b 00 08 	be r1,r11,80019f8 <open_dev_console+0x74>      <== NEVER TAKEN
    rtems_fatal_error_occurred( 0x55544432 );  /* error STD2 */       
}                                                                     
 80019dc:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80019e0:	2b 8b 00 08 	lw r11,(sp+8)                                  
 80019e4:	37 9c 00 08 	addi sp,sp,8                                   
 80019e8:	c3 a0 00 00 	ret                                            
  /*                                                                  
   *  But if we find /dev/console once, we better find it twice more  
   *  or something is REALLY wrong.                                   
   */                                                                 
  if ((stdout_fd = open("/dev/console", O_WRONLY, 0)) == -1)          
    rtems_fatal_error_occurred( 0x55544431 );  /* error STD1 */       
 80019ec:	78 01 55 54 	mvhi r1,0x5554                                 <== NOT EXECUTED
 80019f0:	38 21 44 31 	ori r1,r1,0x4431                               <== NOT EXECUTED
 80019f4:	f8 00 03 e2 	calli 800297c <rtems_fatal_error_occurred>     <== NOT EXECUTED
                                                                      
  if ((stderr_fd = open("/dev/console", O_WRONLY, 0)) == -1)          
    rtems_fatal_error_occurred( 0x55544432 );  /* error STD2 */       
 80019f8:	78 01 55 54 	mvhi r1,0x5554                                 <== NOT EXECUTED
 80019fc:	38 21 44 32 	ori r1,r1,0x4432                               <== NOT EXECUTED
 8001a00:	f8 00 03 df 	calli 800297c <rtems_fatal_error_occurred>     <== NOT EXECUTED
                                                                      
08004448 <oproc>:                                                     
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
 8004448:	37 9c ff f4 	addi sp,sp,-12                                 <== NOT EXECUTED
 800444c:	5b 8b 00 08 	sw (sp+8),r11                                  <== NOT EXECUTED
 8004450:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 8004454:	b8 40 58 00 	mv r11,r2                                      <== NOT EXECUTED
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
 8004458:	28 42 00 34 	lw r2,(r2+52)                                  <== NOT EXECUTED
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
 800445c:	33 81 00 0c 	sb (sp+12),r1                                  <== NOT EXECUTED
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
 8004460:	20 41 00 01 	andi r1,r2,0x1                                 <== NOT EXECUTED
 8004464:	44 20 00 0b 	be r1,r0,8004490 <oproc+0x48>                  <== NOT EXECUTED
		switch (c) {                                                        
 8004468:	43 81 00 0c 	lbu r1,(sp+12)                                 <== NOT EXECUTED
 800446c:	34 03 00 09 	mvi r3,9                                       <== NOT EXECUTED
 8004470:	44 23 00 2f 	be r1,r3,800452c <oproc+0xe4>                  <== NOT EXECUTED
 8004474:	54 23 00 0f 	bgu r1,r3,80044b0 <oproc+0x68>                 <== NOT EXECUTED
 8004478:	34 03 00 08 	mvi r3,8                                       <== NOT EXECUTED
 800447c:	5c 23 00 11 	bne r1,r3,80044c0 <oproc+0x78>                 <== NOT EXECUTED
			}                                                                  
			tty->column += i;                                                  
			break;                                                             
                                                                      
		case '\b':                                                          
			if (tty->column > 0)                                               
 8004480:	29 61 00 28 	lw r1,(r11+40)                                 <== NOT EXECUTED
 8004484:	4c 01 00 03 	bge r0,r1,8004490 <oproc+0x48>                 <== NOT EXECUTED
				tty->column--;                                                    
 8004488:	34 21 ff ff 	addi r1,r1,-1                                  <== NOT EXECUTED
 800448c:	59 61 00 28 	sw (r11+40),r1                                 <== NOT EXECUTED
			if (!iscntrl(c))                                                   
				tty->column++;                                                    
			break;                                                             
		}                                                                   
	}                                                                    
	rtems_termios_puts (&c, 1, tty);                                     
 8004490:	b9 60 18 00 	mv r3,r11                                      <== NOT EXECUTED
 8004494:	37 81 00 0c 	addi r1,sp,12                                  <== NOT EXECUTED
 8004498:	34 02 00 01 	mvi r2,1                                       <== NOT EXECUTED
 800449c:	fb ff ff 90 	calli 80042dc <rtems_termios_puts>             <== NOT EXECUTED
}                                                                     
 80044a0:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 80044a4:	2b 8b 00 08 	lw r11,(sp+8)                                  <== NOT EXECUTED
 80044a8:	37 9c 00 0c 	addi sp,sp,12                                  <== NOT EXECUTED
 80044ac:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
		switch (c) {                                                        
 80044b0:	34 03 00 0a 	mvi r3,10                                      <== NOT EXECUTED
 80044b4:	44 23 00 10 	be r1,r3,80044f4 <oproc+0xac>                  <== NOT EXECUTED
 80044b8:	34 03 00 0d 	mvi r3,13                                      <== NOT EXECUTED
 80044bc:	44 23 00 26 	be r1,r3,8004554 <oproc+0x10c>                 <== NOT EXECUTED
			if (tty->column > 0)                                               
				tty->column--;                                                    
			break;                                                             
                                                                      
		default:                                                            
			if (tty->termios.c_oflag & OLCUC)                                  
 80044c0:	20 42 00 02 	andi r2,r2,0x2                                 <== NOT EXECUTED
 80044c4:	5c 40 00 31 	bne r2,r0,8004588 <oproc+0x140>                <== NOT EXECUTED
 80044c8:	78 02 08 02 	mvhi r2,0x802                                  <== NOT EXECUTED
 80044cc:	38 42 42 c8 	ori r2,r2,0x42c8                               <== NOT EXECUTED
 80044d0:	28 42 00 00 	lw r2,(r2+0)                                   <== NOT EXECUTED
				c = toupper(c);                                                   
			if (!iscntrl(c))                                                   
 80044d4:	b4 41 08 00 	add r1,r2,r1                                   <== NOT EXECUTED
 80044d8:	40 21 00 01 	lbu r1,(r1+1)                                  <== NOT EXECUTED
 80044dc:	20 21 00 20 	andi r1,r1,0x20                                <== NOT EXECUTED
 80044e0:	5c 20 ff ec 	bne r1,r0,8004490 <oproc+0x48>                 <== NOT EXECUTED
				tty->column++;                                                    
 80044e4:	29 61 00 28 	lw r1,(r11+40)                                 <== NOT EXECUTED
 80044e8:	34 21 00 01 	addi r1,r1,1                                   <== NOT EXECUTED
 80044ec:	59 61 00 28 	sw (r11+40),r1                                 <== NOT EXECUTED
 80044f0:	e3 ff ff e8 	bi 8004490 <oproc+0x48>                        <== NOT EXECUTED
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
		switch (c) {                                                        
		case '\n':                                                          
			if (tty->termios.c_oflag & ONLRET)                                 
 80044f4:	20 41 00 20 	andi r1,r2,0x20                                <== NOT EXECUTED
 80044f8:	44 20 00 03 	be r1,r0,8004504 <oproc+0xbc>                  <== NOT EXECUTED
				tty->column = 0;                                                  
 80044fc:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 8004500:	59 61 00 28 	sw (r11+40),r1                                 <== NOT EXECUTED
			if (tty->termios.c_oflag & ONLCR) {                                
 8004504:	20 42 00 04 	andi r2,r2,0x4                                 <== NOT EXECUTED
 8004508:	44 40 ff e2 	be r2,r0,8004490 <oproc+0x48>                  <== NOT EXECUTED
				rtems_termios_puts ("\r", 1, tty);                                
 800450c:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 8004510:	38 21 25 94 	ori r1,r1,0x2594                               <== NOT EXECUTED
 8004514:	34 02 00 01 	mvi r2,1                                       <== NOT EXECUTED
 8004518:	b9 60 18 00 	mv r3,r11                                      <== NOT EXECUTED
 800451c:	fb ff ff 70 	calli 80042dc <rtems_termios_puts>             <== NOT EXECUTED
				tty->column = 0;                                                  
 8004520:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 8004524:	59 61 00 28 	sw (r11+40),r1                                 <== NOT EXECUTED
 8004528:	e3 ff ff da 	bi 8004490 <oproc+0x48>                        <== NOT EXECUTED
			}                                                                  
			tty->column = 0;                                                   
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
 800452c:	29 61 00 28 	lw r1,(r11+40)                                 <== NOT EXECUTED
 8004530:	34 03 00 08 	mvi r3,8                                       <== NOT EXECUTED
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
 8004534:	20 44 18 00 	andi r4,r2,0x1800                              <== NOT EXECUTED
			}                                                                  
			tty->column = 0;                                                   
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
 8004538:	20 22 00 07 	andi r2,r1,0x7                                 <== NOT EXECUTED
 800453c:	c8 62 10 00 	sub r2,r3,r2                                   <== NOT EXECUTED
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
 8004540:	34 03 18 00 	mvi r3,6144                                    <== NOT EXECUTED
 8004544:	44 83 00 1f 	be r4,r3,80045c0 <oproc+0x178>                 <== NOT EXECUTED
				tty->column += i;                                                 
				rtems_termios_puts ( "        ",  i, tty);                        
				return;                                                           
			}                                                                  
			tty->column += i;                                                  
 8004548:	b4 41 08 00 	add r1,r2,r1                                   <== NOT EXECUTED
 800454c:	59 61 00 28 	sw (r11+40),r1                                 <== NOT EXECUTED
			break;                                                             
 8004550:	e3 ff ff d0 	bi 8004490 <oproc+0x48>                        <== NOT EXECUTED
				tty->column = 0;                                                  
			}                                                                  
			break;                                                             
                                                                      
		case '\r':                                                          
			if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))          
 8004554:	20 41 00 10 	andi r1,r2,0x10                                <== NOT EXECUTED
 8004558:	44 20 00 03 	be r1,r0,8004564 <oproc+0x11c>                 <== NOT EXECUTED
 800455c:	29 61 00 28 	lw r1,(r11+40)                                 <== NOT EXECUTED
 8004560:	44 20 ff d0 	be r1,r0,80044a0 <oproc+0x58>                  <== NOT EXECUTED
				return;                                                           
			if (tty->termios.c_oflag & OCRNL) {                                
 8004564:	20 41 00 08 	andi r1,r2,0x8                                 <== NOT EXECUTED
 8004568:	44 20 ff e1 	be r1,r0,80044ec <oproc+0xa4>                  <== NOT EXECUTED
				c = '\n';                                                         
 800456c:	34 01 00 0a 	mvi r1,10                                      <== NOT EXECUTED
 8004570:	33 81 00 0c 	sb (sp+12),r1                                  <== NOT EXECUTED
				if (tty->termios.c_oflag & ONLRET)                                
 8004574:	20 42 00 20 	andi r2,r2,0x20                                <== NOT EXECUTED
 8004578:	44 40 ff c6 	be r2,r0,8004490 <oproc+0x48>                  <== NOT EXECUTED
					tty->column = 0;                                                 
 800457c:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 8004580:	59 61 00 28 	sw (r11+40),r1                                 <== NOT EXECUTED
 8004584:	e3 ff ff c3 	bi 8004490 <oproc+0x48>                        <== NOT EXECUTED
				tty->column--;                                                    
			break;                                                             
                                                                      
		default:                                                            
			if (tty->termios.c_oflag & OLCUC)                                  
				c = toupper(c);                                                   
 8004588:	78 02 08 02 	mvhi r2,0x802                                  <== NOT EXECUTED
 800458c:	38 42 42 c8 	ori r2,r2,0x42c8                               <== NOT EXECUTED
 8004590:	28 42 00 00 	lw r2,(r2+0)                                   <== NOT EXECUTED
 8004594:	b8 20 18 00 	mv r3,r1                                       <== NOT EXECUTED
 8004598:	b4 41 08 00 	add r1,r2,r1                                   <== NOT EXECUTED
 800459c:	40 24 00 01 	lbu r4,(r1+1)                                  <== NOT EXECUTED
 80045a0:	34 01 00 02 	mvi r1,2                                       <== NOT EXECUTED
 80045a4:	20 84 00 03 	andi r4,r4,0x3                                 <== NOT EXECUTED
 80045a8:	44 81 00 04 	be r4,r1,80045b8 <oproc+0x170>                 <== NOT EXECUTED
 80045ac:	20 61 00 ff 	andi r1,r3,0xff                                <== NOT EXECUTED
 80045b0:	33 81 00 0c 	sb (sp+12),r1                                  <== NOT EXECUTED
 80045b4:	e3 ff ff c8 	bi 80044d4 <oproc+0x8c>                        <== NOT EXECUTED
 80045b8:	34 63 ff e0 	addi r3,r3,-32                                 <== NOT EXECUTED
 80045bc:	e3 ff ff fc 	bi 80045ac <oproc+0x164>                       <== NOT EXECUTED
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
				tty->column += i;                                                 
 80045c0:	b4 41 18 00 	add r3,r2,r1                                   <== NOT EXECUTED
				rtems_termios_puts ( "        ",  i, tty);                        
 80045c4:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
				tty->column += i;                                                 
 80045c8:	59 63 00 28 	sw (r11+40),r3                                 <== NOT EXECUTED
				rtems_termios_puts ( "        ",  i, tty);                        
 80045cc:	38 21 25 98 	ori r1,r1,0x2598                               <== NOT EXECUTED
 80045d0:	b9 60 18 00 	mv r3,r11                                      <== NOT EXECUTED
 80045d4:	fb ff ff 42 	calli 80042dc <rtems_termios_puts>             <== NOT EXECUTED
				return;                                                           
 80045d8:	e3 ff ff b2 	bi 80044a0 <oproc+0x58>                        <== NOT EXECUTED
                                                                      
0800b5ec <pipe_create>:                                               
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
 800b5ec:	37 9c ff c4 	addi sp,sp,-60                                 
 800b5f0:	5b 8b 00 18 	sw (sp+24),r11                                 
 800b5f4:	5b 8c 00 14 	sw (sp+20),r12                                 
 800b5f8:	5b 8d 00 10 	sw (sp+16),r13                                 
 800b5fc:	5b 8e 00 0c 	sw (sp+12),r14                                 
 800b600:	5b 8f 00 08 	sw (sp+8),r15                                  
 800b604:	5b 9d 00 04 	sw (sp+4),ra                                   
 800b608:	b8 20 68 00 	mv r13,r1                                      
  rtems_filesystem_location_info_t loc;                               
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
  /* Create /tmp if not exists */                                     
  if (rtems_filesystem_evaluate_path("/tmp", 3, RTEMS_LIBIO_PERMS_RWX, &loc, TRUE)
 800b60c:	37 8b 00 1c 	addi r11,sp,28                                 
 800b610:	78 01 08 01 	mvhi r1,0x801                                  
 800b614:	34 02 00 03 	mvi r2,3                                       
 800b618:	38 21 b5 ec 	ori r1,r1,0xb5ec                               
 800b61c:	34 03 00 07 	mvi r3,7                                       
 800b620:	b9 60 20 00 	mv r4,r11                                      
 800b624:	34 05 00 01 	mvi r5,1                                       
 800b628:	fb ff d6 3a 	calli 8000f10 <rtems_filesystem_evaluate_path> 
 800b62c:	b8 20 10 00 	mv r2,r1                                       
 800b630:	5c 20 00 46 	bne r1,r0,800b748 <pipe_create+0x15c>          <== ALWAYS TAKEN
      return -1;                                                      
    if (mkdir("/tmp", S_IRWXU|S_IRWXG|S_IRWXO|S_ISVTX) != 0)          
      return -1;                                                      
  }                                                                   
  else                                                                
    rtems_filesystem_freenode(&loc);                                  
 800b634:	2b 81 00 28 	lw r1,(sp+40)                                  <== NOT EXECUTED
 800b638:	44 22 00 05 	be r1,r2,800b64c <pipe_create+0x60>            <== NOT EXECUTED
 800b63c:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 800b640:	44 40 00 03 	be r2,r0,800b64c <pipe_create+0x60>            <== NOT EXECUTED
 800b644:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 800b648:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
 800b64c:	78 04 08 01 	mvhi r4,0x801                                  
 800b650:	38 84 c6 2e 	ori r4,r4,0xc62e                               
 800b654:	2c 81 00 00 	lhu r1,(r4+0)                                  
  else                                                                
    rtems_filesystem_freenode(&loc);                                  
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
 800b658:	78 06 2f 74 	mvhi r6,0x2f74                                 
 800b65c:	78 05 2f 2e 	mvhi r5,0x2f2e                                 
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
 800b660:	34 28 00 01 	addi r8,r1,1                                   
 800b664:	78 02 08 01 	mvhi r2,0x801                                  
  else                                                                
    rtems_filesystem_freenode(&loc);                                  
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
 800b668:	38 c6 6d 70 	ori r6,r6,0x6d70                               
 800b66c:	38 a5 66 69 	ori r5,r5,0x6669                               
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
 800b670:	b8 20 18 00 	mv r3,r1                                       
  else                                                                
    rtems_filesystem_freenode(&loc);                                  
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
 800b674:	37 8b 00 30 	addi r11,sp,48                                 
 800b678:	34 07 66 6f 	mvi r7,26223                                   
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
 800b67c:	38 42 b5 f4 	ori r2,r2,0xb5f4                               
 800b680:	0c 88 00 00 	sh (r4+0),r8                                   
 800b684:	37 81 00 3a 	addi r1,sp,58                                  
  else                                                                
    rtems_filesystem_freenode(&loc);                                  
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
 800b688:	5b 86 00 30 	sw (sp+48),r6                                  
 800b68c:	59 65 00 04 	sw (r11+4),r5                                  
 800b690:	0d 67 00 08 	sh (r11+8),r7                                  
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
 800b694:	f8 00 05 02 	calli 800ca9c <sprintf>                        
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
 800b698:	b9 60 08 00 	mv r1,r11                                      
 800b69c:	34 02 01 80 	mvi r2,384                                     
 800b6a0:	f8 00 00 5e 	calli 800b818 <mkfifo>                         
 800b6a4:	b8 20 60 00 	mv r12,r1                                      
 800b6a8:	5c 20 00 1e 	bne r1,r0,800b720 <pipe_create+0x134>          <== NEVER TAKEN
    return -1;                                                        
    sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                 
  }                                                                   
                                                                      
  /* Non-blocking open to avoid waiting for writers */                
  filsdes[0] = open(fifopath, O_RDONLY | O_NONBLOCK);                 
 800b6ac:	b9 60 08 00 	mv r1,r11                                      
 800b6b0:	34 02 40 00 	mvi r2,16384                                   
 800b6b4:	fb ff d8 d4 	calli 8001a04 <open>                           
 800b6b8:	59 a1 00 00 	sw (r13+0),r1                                  
  if (filsdes[0] < 0) {                                               
 800b6bc:	4c 2c 00 06 	bge r1,r12,800b6d4 <pipe_create+0xe8>          <== NEVER TAKEN
    err = errno;                                                      
 800b6c0:	f8 00 01 51 	calli 800bc04 <__errno>                        
 800b6c4:	28 2c 00 00 	lw r12,(r1+0)                                  
    /* 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);                                                 
 800b6c8:	b9 60 08 00 	mv r1,r11                                      
 800b6cc:	f8 00 00 5c 	calli 800b83c <unlink>                         
 800b6d0:	e0 00 00 11 	bi 800b714 <pipe_create+0x128>                 
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
 800b6d4:	78 03 08 01 	mvhi r3,0x801                                  <== NOT EXECUTED
 800b6d8:	38 63 c0 10 	ori r3,r3,0xc010                               <== NOT EXECUTED
 800b6dc:	28 63 00 00 	lw r3,(r3+0)                                   <== NOT EXECUTED
 800b6e0:	54 61 00 24 	bgu r3,r1,800b770 <pipe_create+0x184>          <== NOT EXECUTED
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
 800b6e4:	29 83 00 18 	lw r3,(r12+24)                                 <== NOT EXECUTED
 800b6e8:	34 02 ff fe 	mvi r2,-2                                      <== NOT EXECUTED
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
 800b6ec:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
    unlink(fifopath);                                                 
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
 800b6f0:	a0 62 10 00 	and r2,r3,r2                                   <== NOT EXECUTED
 800b6f4:	59 82 00 18 	sw (r12+24),r2                                 <== NOT EXECUTED
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
 800b6f8:	34 02 00 01 	mvi r2,1                                       <== NOT EXECUTED
 800b6fc:	fb ff d8 c2 	calli 8001a04 <open>                           <== NOT EXECUTED
 800b700:	59 a1 00 04 	sw (r13+4),r1                                  <== NOT EXECUTED
                                                                      
    if (filsdes[1] < 0) {                                             
 800b704:	48 01 00 26 	bg r0,r1,800b79c <pipe_create+0x1b0>           <== NOT EXECUTED
 800b708:	34 0c 00 00 	mvi r12,0                                      <== NOT EXECUTED
    err = errno;                                                      
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
 800b70c:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 800b710:	f8 00 00 4b 	calli 800b83c <unlink>                         <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one(err);                          
 800b714:	f8 00 01 3c 	calli 800bc04 <__errno>                        
 800b718:	58 2c 00 00 	sw (r1+0),r12                                  
 800b71c:	e0 00 00 02 	bi 800b724 <pipe_create+0x138>                 
  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){                                             
 800b720:	f8 00 01 39 	calli 800bc04 <__errno>                        <== NOT EXECUTED
    }                                                                 
  unlink(fifopath);                                                   
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one(err);                          
}                                                                     
 800b724:	34 01 ff ff 	mvi r1,-1                                      
 800b728:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800b72c:	2b 8b 00 18 	lw r11,(sp+24)                                 
 800b730:	2b 8c 00 14 	lw r12,(sp+20)                                 
 800b734:	2b 8d 00 10 	lw r13,(sp+16)                                 
 800b738:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 800b73c:	2b 8f 00 08 	lw r15,(sp+8)                                  
 800b740:	37 9c 00 3c 	addi sp,sp,60                                  
 800b744:	c3 a0 00 00 	ret                                            
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
  /* Create /tmp if not exists */                                     
  if (rtems_filesystem_evaluate_path("/tmp", 3, RTEMS_LIBIO_PERMS_RWX, &loc, TRUE)
      != 0) {                                                         
    if (errno != ENOENT)                                              
 800b748:	f8 00 01 2f 	calli 800bc04 <__errno>                        
 800b74c:	28 22 00 00 	lw r2,(r1+0)                                   
 800b750:	34 01 00 02 	mvi r1,2                                       
 800b754:	5c 41 ff f4 	bne r2,r1,800b724 <pipe_create+0x138>          <== NEVER TAKEN
      return -1;                                                      
    if (mkdir("/tmp", S_IRWXU|S_IRWXG|S_IRWXO|S_ISVTX) != 0)          
 800b758:	78 01 08 01 	mvhi r1,0x801                                  
 800b75c:	38 21 b5 ec 	ori r1,r1,0xb5ec                               
 800b760:	34 02 03 ff 	mvi r2,1023                                    
 800b764:	fb ff d6 a0 	calli 80011e4 <mkdir>                          
 800b768:	44 20 ff b9 	be r1,r0,800b64c <pipe_create+0x60>            <== ALWAYS TAKEN
 800b76c:	e3 ff ff ee 	bi 800b724 <pipe_create+0x138>                 <== NOT EXECUTED
     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]);                                
 800b770:	34 02 00 03 	mvi r2,3                                       <== NOT EXECUTED
 800b774:	fb ff d2 9f 	calli 80001f0 <__ashlsi3>                      <== NOT EXECUTED
 800b778:	78 0e 08 01 	mvhi r14,0x801                                 <== NOT EXECUTED
 800b77c:	39 ce c6 9c 	ori r14,r14,0xc69c                             <== NOT EXECUTED
 800b780:	34 02 00 03 	mvi r2,3                                       <== NOT EXECUTED
 800b784:	b8 20 78 00 	mv r15,r1                                      <== NOT EXECUTED
 800b788:	fb ff d2 9a 	calli 80001f0 <__ashlsi3>                      <== NOT EXECUTED
 800b78c:	29 cc 00 00 	lw r12,(r14+0)                                 <== NOT EXECUTED
 800b790:	b5 e1 08 00 	add r1,r15,r1                                  <== NOT EXECUTED
 800b794:	b5 81 60 00 	add r12,r12,r1                                 <== NOT EXECUTED
 800b798:	e3 ff ff d3 	bi 800b6e4 <pipe_create+0xf8>                  <== NOT EXECUTED
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
                                                                      
    if (filsdes[1] < 0) {                                             
    err = errno;                                                      
 800b79c:	f8 00 01 1a 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 800b7a0:	28 2c 00 00 	lw r12,(r1+0)                                  <== NOT EXECUTED
    close(filsdes[0]);                                                
 800b7a4:	29 a1 00 00 	lw r1,(r13+0)                                  <== NOT EXECUTED
 800b7a8:	fb ff ef f1 	calli 800776c <close>                          <== NOT EXECUTED
 800b7ac:	e3 ff ff d8 	bi 800b70c <pipe_create+0x120>                 <== NOT EXECUTED
                                                                      
08009df0 <pipe_ioctl>:                                                
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
 8009df0:	37 9c ff f0 	addi sp,sp,-16                                 <== NOT EXECUTED
 8009df4:	5b 8b 00 10 	sw (sp+16),r11                                 <== NOT EXECUTED
 8009df8:	5b 8c 00 0c 	sw (sp+12),r12                                 <== NOT EXECUTED
 8009dfc:	5b 8d 00 08 	sw (sp+8),r13                                  <== NOT EXECUTED
 8009e00:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  if (cmd == FIONREAD) {                                              
 8009e04:	78 04 40 04 	mvhi r4,0x4004                                 <== NOT EXECUTED
 8009e08:	38 84 66 7f 	ori r4,r4,0x667f                               <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
 8009e0c:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
 8009e10:	b8 60 60 00 	mv r12,r3                                      <== NOT EXECUTED
  if (cmd == FIONREAD) {                                              
 8009e14:	34 05 ff ea 	mvi r5,-22                                     <== NOT EXECUTED
 8009e18:	44 44 00 08 	be r2,r4,8009e38 <pipe_ioctl+0x48>             <== NOT EXECUTED
    PIPE_UNLOCK(pipe);                                                
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
}                                                                     
 8009e1c:	b8 a0 08 00 	mv r1,r5                                       <== NOT EXECUTED
 8009e20:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8009e24:	2b 8b 00 10 	lw r11,(sp+16)                                 <== NOT EXECUTED
 8009e28:	2b 8c 00 0c 	lw r12,(sp+12)                                 <== NOT EXECUTED
 8009e2c:	2b 8d 00 08 	lw r13,(sp+8)                                  <== NOT EXECUTED
 8009e30:	37 9c 00 10 	addi sp,sp,16                                  <== NOT EXECUTED
 8009e34:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  if (cmd == FIONREAD) {                                              
    if (buffer == NULL)                                               
 8009e38:	34 05 ff f2 	mvi r5,-14                                     <== NOT EXECUTED
 8009e3c:	44 60 ff f8 	be r3,r0,8009e1c <pipe_ioctl+0x2c>             <== NOT EXECUTED
      return -EFAULT;                                                 
                                                                      
    if (! PIPE_LOCK(pipe))                                            
 8009e40:	28 21 00 28 	lw r1,(r1+40)                                  <== NOT EXECUTED
 8009e44:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 8009e48:	b8 40 18 00 	mv r3,r2                                       <== NOT EXECUTED
 8009e4c:	fb ff f9 3e 	calli 8008344 <rtems_semaphore_obtain>         <== NOT EXECUTED
 8009e50:	b8 20 68 00 	mv r13,r1                                      <== NOT EXECUTED
 8009e54:	34 05 ff fc 	mvi r5,-4                                      <== NOT EXECUTED
 8009e58:	5c 20 ff f1 	bne r1,r0,8009e1c <pipe_ioctl+0x2c>            <== NOT EXECUTED
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(uint *)buffer = pipe->Length;                                   
 8009e5c:	29 61 00 0c 	lw r1,(r11+12)                                 <== NOT EXECUTED
 8009e60:	59 81 00 00 	sw (r12+0),r1                                  <== NOT EXECUTED
    PIPE_UNLOCK(pipe);                                                
 8009e64:	29 61 00 28 	lw r1,(r11+40)                                 <== NOT EXECUTED
 8009e68:	fb ff f9 98 	calli 80084c8 <rtems_semaphore_release>        <== NOT EXECUTED
 8009e6c:	b9 a0 28 00 	mv r5,r13                                      <== NOT EXECUTED
    return 0;                                                         
 8009e70:	e3 ff ff eb 	bi 8009e1c <pipe_ioctl+0x2c>                   <== NOT EXECUTED
                                                                      
08009d6c <pipe_lseek>:                                                
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  /* Seek on pipe is not supported */                                 
  return -ESPIPE;                                                     
}                                                                     
 8009d6c:	34 01 ff e3 	mvi r1,-29                                     <== NOT EXECUTED
 8009d70:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
0800a098 <pipe_read>:                                                 
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
 800a098:	37 9c ff d8 	addi sp,sp,-40                                 <== NOT EXECUTED
 800a09c:	5b 8b 00 24 	sw (sp+36),r11                                 <== NOT EXECUTED
 800a0a0:	5b 8c 00 20 	sw (sp+32),r12                                 <== NOT EXECUTED
 800a0a4:	5b 8d 00 1c 	sw (sp+28),r13                                 <== NOT EXECUTED
 800a0a8:	5b 8e 00 18 	sw (sp+24),r14                                 <== NOT EXECUTED
 800a0ac:	5b 8f 00 14 	sw (sp+20),r15                                 <== NOT EXECUTED
 800a0b0:	5b 90 00 10 	sw (sp+16),r16                                 <== NOT EXECUTED
 800a0b4:	5b 91 00 0c 	sw (sp+12),r17                                 <== NOT EXECUTED
 800a0b8:	5b 92 00 08 	sw (sp+8),r18                                  <== NOT EXECUTED
 800a0bc:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 800a0c0:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
 800a0c4:	28 21 00 28 	lw r1,(r1+40)                                  <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
 800a0c8:	b8 40 90 00 	mv r18,r2                                      <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
 800a0cc:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
 800a0d0:	b8 60 80 00 	mv r16,r3                                      <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
 800a0d4:	b8 40 18 00 	mv r3,r2                                       <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
 800a0d8:	b8 80 78 00 	mv r15,r4                                      <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
 800a0dc:	fb ff f8 9a 	calli 8008344 <rtems_semaphore_obtain>         <== NOT EXECUTED
 800a0e0:	34 0e ff fc 	mvi r14,-4                                     <== NOT EXECUTED
 800a0e4:	5c 20 00 24 	bne r1,r0,800a174 <pipe_read+0xdc>             <== NOT EXECUTED
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
      if (ret != 0)                                                   
 800a0e8:	b8 20 88 00 	mv r17,r1                                      <== NOT EXECUTED
 800a0ec:	b8 20 70 00 	mv r14,r1                                      <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
 800a0f0:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
 800a0f4:	46 01 00 1c 	be r16,r1,800a164 <pipe_read+0xcc>             <== NOT EXECUTED
    while (PIPE_EMPTY(pipe)) {                                        
 800a0f8:	29 65 00 0c 	lw r5,(r11+12)                                 <== NOT EXECUTED
 800a0fc:	5c a0 00 41 	bne r5,r0,800a200 <pipe_read+0x168>            <== NOT EXECUTED
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
 800a100:	29 64 00 14 	lw r4,(r11+20)                                 <== NOT EXECUTED
 800a104:	44 85 00 3d 	be r4,r5,800a1f8 <pipe_read+0x160>             <== NOT EXECUTED
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
 800a108:	29 ed 00 18 	lw r13,(r15+24)                                <== NOT EXECUTED
 800a10c:	21 ad 00 01 	andi r13,r13,0x1                               <== NOT EXECUTED
 800a110:	5d a0 00 4f 	bne r13,r0,800a24c <pipe_read+0x1b4>           <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
 800a114:	29 64 00 18 	lw r4,(r11+24)                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
 800a118:	29 61 00 28 	lw r1,(r11+40)                                 <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
 800a11c:	34 84 00 01 	addi r4,r4,1                                   <== NOT EXECUTED
 800a120:	59 64 00 18 	sw (r11+24),r4                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
 800a124:	fb ff f8 e9 	calli 80084c8 <rtems_semaphore_release>        <== NOT EXECUTED
      if (! PIPE_READWAIT(pipe))                                      
 800a128:	29 61 00 2c 	lw r1,(r11+44)                                 <== NOT EXECUTED
 800a12c:	b9 a0 10 00 	mv r2,r13                                      <== NOT EXECUTED
 800a130:	f8 00 03 22 	calli 800adb8 <rtems_barrier_wait>             <== NOT EXECUTED
 800a134:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
 800a138:	44 2d 00 02 	be r1,r13,800a140 <pipe_read+0xa8>             <== NOT EXECUTED
 800a13c:	34 0c ff fc 	mvi r12,-4                                     <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
 800a140:	29 61 00 28 	lw r1,(r11+40)                                 <== NOT EXECUTED
 800a144:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 800a148:	b8 40 18 00 	mv r3,r2                                       <== NOT EXECUTED
 800a14c:	fb ff f8 7e 	calli 8008344 <rtems_semaphore_obtain>         <== NOT EXECUTED
 800a150:	5c 20 00 41 	bne r1,r0,800a254 <pipe_read+0x1bc>            <== NOT EXECUTED
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
 800a154:	29 64 00 18 	lw r4,(r11+24)                                 <== NOT EXECUTED
 800a158:	34 84 ff ff 	addi r4,r4,-1                                  <== NOT EXECUTED
 800a15c:	59 64 00 18 	sw (r11+24),r4                                 <== NOT EXECUTED
      if (ret != 0)                                                   
 800a160:	45 81 ff e6 	be r12,r1,800a0f8 <pipe_read+0x60>             <== NOT EXECUTED
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
 800a164:	29 61 00 28 	lw r1,(r11+40)                                 <== NOT EXECUTED
 800a168:	fb ff f8 d8 	calli 80084c8 <rtems_semaphore_release>        <== NOT EXECUTED
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
 800a16c:	49 c0 00 02 	bg r14,r0,800a174 <pipe_read+0xdc>             <== NOT EXECUTED
 800a170:	b9 80 70 00 	mv r14,r12                                     <== NOT EXECUTED
    return read;                                                      
  return ret;                                                         
}                                                                     
 800a174:	b9 c0 08 00 	mv r1,r14                                      <== NOT EXECUTED
 800a178:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 800a17c:	2b 8b 00 24 	lw r11,(sp+36)                                 <== NOT EXECUTED
 800a180:	2b 8c 00 20 	lw r12,(sp+32)                                 <== NOT EXECUTED
 800a184:	2b 8d 00 1c 	lw r13,(sp+28)                                 <== NOT EXECUTED
 800a188:	2b 8e 00 18 	lw r14,(sp+24)                                 <== NOT EXECUTED
 800a18c:	2b 8f 00 14 	lw r15,(sp+20)                                 <== NOT EXECUTED
 800a190:	2b 90 00 10 	lw r16,(sp+16)                                 <== NOT EXECUTED
 800a194:	2b 91 00 0c 	lw r17,(sp+12)                                 <== NOT EXECUTED
 800a198:	2b 92 00 08 	lw r18,(sp+8)                                  <== NOT EXECUTED
 800a19c:	37 9c 00 28 	addi sp,sp,40                                  <== NOT EXECUTED
 800a1a0:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
    if (chunk > chunk1) {                                             
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
 800a1a4:	29 64 00 00 	lw r4,(r11+0)                                  <== NOT EXECUTED
 800a1a8:	b6 51 08 00 	add r1,r18,r17                                 <== NOT EXECUTED
 800a1ac:	b9 80 18 00 	mv r3,r12                                      <== NOT EXECUTED
 800a1b0:	b4 82 10 00 	add r2,r4,r2                                   <== NOT EXECUTED
 800a1b4:	f8 00 09 3a 	calli 800c69c <memcpy>                         <== NOT EXECUTED
                                                                      
    pipe->Start += chunk;                                             
 800a1b8:	29 61 00 08 	lw r1,(r11+8)                                  <== NOT EXECUTED
    pipe->Start %= pipe->Size;                                        
 800a1bc:	29 62 00 04 	lw r2,(r11+4)                                  <== NOT EXECUTED
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
 800a1c0:	b5 81 08 00 	add r1,r12,r1                                  <== NOT EXECUTED
 800a1c4:	59 61 00 08 	sw (r11+8),r1                                  <== NOT EXECUTED
    pipe->Start %= pipe->Size;                                        
 800a1c8:	f8 00 3f 03 	calli 8019dd4 <__umodsi3>                      <== NOT EXECUTED
    pipe->Length -= chunk;                                            
 800a1cc:	29 62 00 0c 	lw r2,(r11+12)                                 <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
 800a1d0:	59 61 00 08 	sw (r11+8),r1                                  <== NOT EXECUTED
    pipe->Length -= chunk;                                            
 800a1d4:	c8 4c 08 00 	sub r1,r2,r12                                  <== NOT EXECUTED
 800a1d8:	59 61 00 0c 	sw (r11+12),r1                                 <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
 800a1dc:	5c 20 00 02 	bne r1,r0,800a1e4 <pipe_read+0x14c>            <== NOT EXECUTED
      pipe->Start = 0;                                                
 800a1e0:	59 61 00 08 	sw (r11+8),r1                                  <== NOT EXECUTED
                                                                      
    if (pipe->waitingWriters > 0)                                     
 800a1e4:	29 61 00 1c 	lw r1,(r11+28)                                 <== NOT EXECUTED
 800a1e8:	5c 20 00 1e 	bne r1,r0,800a260 <pipe_read+0x1c8>            <== NOT EXECUTED
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
 800a1ec:	b5 cc 70 00 	add r14,r14,r12                                <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
 800a1f0:	b9 c0 88 00 	mv r17,r14                                     <== NOT EXECUTED
 800a1f4:	56 0e ff c1 	bgu r16,r14,800a0f8 <pipe_read+0x60>           <== NOT EXECUTED
 800a1f8:	34 0c 00 00 	mvi r12,0                                      <== NOT EXECUTED
 800a1fc:	e3 ff ff da 	bi 800a164 <pipe_read+0xcc>                    <== NOT EXECUTED
      if (ret != 0)                                                   
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
 800a200:	ca 11 08 00 	sub r1,r16,r17                                 <== NOT EXECUTED
 800a204:	b8 a0 60 00 	mv r12,r5                                      <== NOT EXECUTED
 800a208:	50 25 00 02 	bgeu r1,r5,800a210 <pipe_read+0x178>           <== NOT EXECUTED
 800a20c:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
    chunk1 = pipe->Size - pipe->Start;                                
 800a210:	29 62 00 08 	lw r2,(r11+8)                                  <== NOT EXECUTED
 800a214:	29 6d 00 04 	lw r13,(r11+4)                                 <== NOT EXECUTED
 800a218:	c9 a2 68 00 	sub r13,r13,r2                                 <== NOT EXECUTED
    if (chunk > chunk1) {                                             
 800a21c:	4d ac ff e2 	bge r13,r12,800a1a4 <pipe_read+0x10c>          <== NOT EXECUTED
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
 800a220:	29 64 00 00 	lw r4,(r11+0)                                  <== NOT EXECUTED
 800a224:	b9 a0 18 00 	mv r3,r13                                      <== NOT EXECUTED
 800a228:	b6 51 08 00 	add r1,r18,r17                                 <== NOT EXECUTED
 800a22c:	b4 82 10 00 	add r2,r4,r2                                   <== NOT EXECUTED
 800a230:	f8 00 09 1b 	calli 800c69c <memcpy>                         <== NOT EXECUTED
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
 800a234:	29 62 00 00 	lw r2,(r11+0)                                  <== NOT EXECUTED
 800a238:	b6 2d 08 00 	add r1,r17,r13                                 <== NOT EXECUTED
 800a23c:	b6 41 08 00 	add r1,r18,r1                                  <== NOT EXECUTED
 800a240:	c9 8d 18 00 	sub r3,r12,r13                                 <== NOT EXECUTED
 800a244:	f8 00 09 16 	calli 800c69c <memcpy>                         <== NOT EXECUTED
 800a248:	e3 ff ff dc 	bi 800a1b8 <pipe_read+0x120>                   <== NOT EXECUTED
    while (PIPE_EMPTY(pipe)) {                                        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
 800a24c:	34 0c ff f5 	mvi r12,-11                                    <== NOT EXECUTED
 800a250:	e3 ff ff c5 	bi 800a164 <pipe_read+0xcc>                    <== NOT EXECUTED
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
 800a254:	34 0c ff fc 	mvi r12,-4                                     <== NOT EXECUTED
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
 800a258:	49 c0 ff c7 	bg r14,r0,800a174 <pipe_read+0xdc>             <== NOT EXECUTED
 800a25c:	e3 ff ff c5 	bi 800a170 <pipe_read+0xd8>                    <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
      PIPE_WAKEUPWRITERS(pipe);                                       
 800a260:	29 61 00 30 	lw r1,(r11+48)                                 <== NOT EXECUTED
 800a264:	37 82 00 28 	addi r2,sp,40                                  <== NOT EXECUTED
 800a268:	f8 00 02 b5 	calli 800ad3c <rtems_barrier_release>          <== NOT EXECUTED
 800a26c:	e3 ff ff e0 	bi 800a1ec <pipe_read+0x154>                   <== NOT EXECUTED
                                                                      
0800a270 <pipe_release>:                                              
 */                                                                   
int pipe_release(                                                     
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
 800a270:	37 9c ff e4 	addi sp,sp,-28                                 <== NOT EXECUTED
 800a274:	5b 8b 00 18 	sw (sp+24),r11                                 <== NOT EXECUTED
 800a278:	5b 8c 00 14 	sw (sp+20),r12                                 <== NOT EXECUTED
 800a27c:	5b 8d 00 10 	sw (sp+16),r13                                 <== NOT EXECUTED
 800a280:	5b 8e 00 0c 	sw (sp+12),r14                                 <== NOT EXECUTED
 800a284:	5b 8f 00 08 	sw (sp+8),r15                                  <== NOT EXECUTED
 800a288:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  pipe_control_t *pipe = *pipep;                                      
 800a28c:	28 2b 00 00 	lw r11,(r1+0)                                  <== NOT EXECUTED
 */                                                                   
int pipe_release(                                                     
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
 800a290:	b8 20 78 00 	mv r15,r1                                      <== NOT EXECUTED
 800a294:	b8 40 60 00 	mv r12,r2                                      <== NOT EXECUTED
  pipe_control_t *pipe = *pipep;                                      
  uint32_t mode;                                                      
                                                                      
  rtems_status_code sc;                                               
  sc = rtems_semaphore_obtain(pipe->Semaphore,                        
 800a298:	29 61 00 28 	lw r1,(r11+40)                                 <== NOT EXECUTED
 800a29c:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 800a2a0:	b8 40 18 00 	mv r3,r2                                       <== NOT EXECUTED
 800a2a4:	fb ff f8 28 	calli 8008344 <rtems_semaphore_obtain>         <== NOT EXECUTED
 800a2a8:	b8 20 18 00 	mv r3,r1                                       <== NOT EXECUTED
                              RTEMS_WAIT, RTEMS_NO_TIMEOUT);          
  /* WARN pipe not released! */                                       
  if(sc != RTEMS_SUCCESSFUL)                                          
 800a2ac:	5c 20 00 41 	bne r1,r0,800a3b0 <pipe_release+0x140>         <== NOT EXECUTED
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
 800a2b0:	29 8d 00 18 	lw r13,(r12+24)                                <== NOT EXECUTED
  if (mode & LIBIO_FLAGS_READ)                                        
 800a2b4:	21 a1 00 02 	andi r1,r13,0x2                                <== NOT EXECUTED
                              RTEMS_WAIT, RTEMS_NO_TIMEOUT);          
  /* WARN pipe not released! */                                       
  if(sc != RTEMS_SUCCESSFUL)                                          
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
 800a2b8:	21 ad 00 06 	andi r13,r13,0x6                               <== NOT EXECUTED
  if (mode & LIBIO_FLAGS_READ)                                        
 800a2bc:	44 23 00 04 	be r1,r3,800a2cc <pipe_release+0x5c>           <== NOT EXECUTED
     pipe->Readers --;                                                
 800a2c0:	29 61 00 10 	lw r1,(r11+16)                                 <== NOT EXECUTED
 800a2c4:	34 21 ff ff 	addi r1,r1,-1                                  <== NOT EXECUTED
 800a2c8:	59 61 00 10 	sw (r11+16),r1                                 <== NOT EXECUTED
  if (mode & LIBIO_FLAGS_WRITE)                                       
 800a2cc:	21 a1 00 04 	andi r1,r13,0x4                                <== NOT EXECUTED
 800a2d0:	5c 20 00 20 	bne r1,r0,800a350 <pipe_release+0xe0>          <== NOT EXECUTED
     pipe->Writers --;                                                
                                                                      
  sc = rtems_semaphore_obtain(rtems_pipe_semaphore,                   
 800a2d4:	78 0c 08 01 	mvhi r12,0x801                                 <== NOT EXECUTED
 800a2d8:	39 8c c6 28 	ori r12,r12,0xc628                             <== NOT EXECUTED
 800a2dc:	29 81 00 00 	lw r1,(r12+0)                                  <== NOT EXECUTED
 800a2e0:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 800a2e4:	b8 40 18 00 	mv r3,r2                                       <== NOT EXECUTED
 800a2e8:	fb ff f8 17 	calli 8008344 <rtems_semaphore_obtain>         <== NOT EXECUTED
 800a2ec:	b8 20 70 00 	mv r14,r1                                      <== NOT EXECUTED
                              RTEMS_WAIT, RTEMS_NO_TIMEOUT);          
  /* WARN pipe not freed and pipep not set to NULL! */                
  if(sc != RTEMS_SUCCESSFUL)                                          
 800a2f0:	5c 20 00 30 	bne r1,r0,800a3b0 <pipe_release+0x140>         <== NOT EXECUTED
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
 800a2f4:	29 61 00 28 	lw r1,(r11+40)                                 <== NOT EXECUTED
 800a2f8:	fb ff f8 74 	calli 80084c8 <rtems_semaphore_release>        <== NOT EXECUTED
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
 800a2fc:	29 62 00 10 	lw r2,(r11+16)                                 <== NOT EXECUTED
 800a300:	44 4e 00 18 	be r2,r14,800a360 <pipe_release+0xf0>          <== NOT EXECUTED
    *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)            
 800a304:	29 61 00 14 	lw r1,(r11+20)                                 <== NOT EXECUTED
 800a308:	7d ad 00 02 	cmpnei r13,r13,2                               <== NOT EXECUTED
 800a30c:	64 21 00 00 	cmpei r1,r1,0                                  <== NOT EXECUTED
 800a310:	a0 2d 68 00 	and r13,r1,r13                                 <== NOT EXECUTED
 800a314:	45 a0 00 04 	be r13,r0,800a324 <pipe_release+0xb4>          <== NOT EXECUTED
    PIPE_WAKEUPREADERS(pipe);                                         
 800a318:	29 61 00 2c 	lw r1,(r11+44)                                 <== NOT EXECUTED
 800a31c:	37 82 00 1c 	addi r2,sp,28                                  <== NOT EXECUTED
 800a320:	f8 00 02 87 	calli 800ad3c <rtems_barrier_release>          <== NOT EXECUTED
                                                                      
  rtems_semaphore_release(rtems_pipe_semaphore);                      
 800a324:	29 81 00 00 	lw r1,(r12+0)                                  <== NOT EXECUTED
 800a328:	fb ff f8 68 	calli 80084c8 <rtems_semaphore_release>        <== NOT EXECUTED
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return -errno;                                                    
#endif                                                                
                                                                      
  return 0;                                                           
}                                                                     
 800a32c:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 800a330:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 800a334:	2b 8b 00 18 	lw r11,(sp+24)                                 <== NOT EXECUTED
 800a338:	2b 8c 00 14 	lw r12,(sp+20)                                 <== NOT EXECUTED
 800a33c:	2b 8d 00 10 	lw r13,(sp+16)                                 <== NOT EXECUTED
 800a340:	2b 8e 00 0c 	lw r14,(sp+12)                                 <== NOT EXECUTED
 800a344:	2b 8f 00 08 	lw r15,(sp+8)                                  <== NOT EXECUTED
 800a348:	37 9c 00 1c 	addi sp,sp,28                                  <== NOT EXECUTED
 800a34c:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
  if (mode & LIBIO_FLAGS_READ)                                        
     pipe->Readers --;                                                
  if (mode & LIBIO_FLAGS_WRITE)                                       
     pipe->Writers --;                                                
 800a350:	29 61 00 14 	lw r1,(r11+20)                                 <== NOT EXECUTED
 800a354:	34 21 ff ff 	addi r1,r1,-1                                  <== NOT EXECUTED
 800a358:	59 61 00 14 	sw (r11+20),r1                                 <== NOT EXECUTED
 800a35c:	e3 ff ff de 	bi 800a2d4 <pipe_release+0x64>                 <== NOT EXECUTED
  if(sc != RTEMS_SUCCESSFUL)                                          
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
 800a360:	29 6e 00 14 	lw r14,(r11+20)                                <== NOT EXECUTED
 800a364:	45 c2 00 07 	be r14,r2,800a380 <pipe_release+0x110>         <== NOT EXECUTED
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
 800a368:	7d ad 00 04 	cmpnei r13,r13,4                               <== NOT EXECUTED
 800a36c:	45 a2 ff ee 	be r13,r2,800a324 <pipe_release+0xb4>          <== NOT EXECUTED
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
 800a370:	29 61 00 30 	lw r1,(r11+48)                                 <== NOT EXECUTED
 800a374:	37 82 00 1c 	addi r2,sp,28                                  <== NOT EXECUTED
 800a378:	f8 00 02 71 	calli 800ad3c <rtems_barrier_release>          <== NOT EXECUTED
 800a37c:	e3 ff ff ea 	bi 800a324 <pipe_release+0xb4>                 <== NOT EXECUTED
/* Called with rtems_pipe_semaphore held. */                          
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
 800a380:	29 61 00 2c 	lw r1,(r11+44)                                 <== NOT EXECUTED
 800a384:	f8 00 02 4e 	calli 800acbc <rtems_barrier_delete>           <== NOT EXECUTED
  rtems_barrier_delete(pipe->writeBarrier);                           
 800a388:	29 61 00 30 	lw r1,(r11+48)                                 <== NOT EXECUTED
 800a38c:	f8 00 02 4c 	calli 800acbc <rtems_barrier_delete>           <== NOT EXECUTED
  rtems_semaphore_delete(pipe->Semaphore);                            
 800a390:	29 61 00 28 	lw r1,(r11+40)                                 <== NOT EXECUTED
 800a394:	fb ff f7 a9 	calli 8008238 <rtems_semaphore_delete>         <== NOT EXECUTED
  free(pipe->Buffer);                                                 
 800a398:	29 61 00 00 	lw r1,(r11+0)                                  <== NOT EXECUTED
 800a39c:	fb ff f5 2c 	calli 800784c <free>                           <== NOT EXECUTED
  free(pipe);                                                         
 800a3a0:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 800a3a4:	fb ff f5 2a 	calli 800784c <free>                           <== NOT EXECUTED
    /* To delete an anonymous pipe file when all users closed it */   
    if (pipe->Anonymous)                                              
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
 800a3a8:	59 ee 00 00 	sw (r15+0),r14                                 <== NOT EXECUTED
  if(sc != RTEMS_SUCCESSFUL)                                          
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
 800a3ac:	e3 ff ff de 	bi 800a324 <pipe_release+0xb4>                 <== NOT EXECUTED
                                                                      
  sc = rtems_semaphore_obtain(rtems_pipe_semaphore,                   
                              RTEMS_WAIT, RTEMS_NO_TIMEOUT);          
  /* WARN pipe not freed and pipep not set to NULL! */                
  if(sc != RTEMS_SUCCESSFUL)                                          
    rtems_fatal_error_occurred(sc);                                   
 800a3b0:	fb ff e1 73 	calli 800297c <rtems_fatal_error_occurred>     <== NOT EXECUTED
                                                                      
08009e74 <pipe_write>:                                                
  pipe_control_t *pipe,                                               
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
 8009e74:	37 9c ff d4 	addi sp,sp,-44                                 <== NOT EXECUTED
 8009e78:	5b 8b 00 24 	sw (sp+36),r11                                 <== NOT EXECUTED
 8009e7c:	5b 8c 00 20 	sw (sp+32),r12                                 <== NOT EXECUTED
 8009e80:	5b 8d 00 1c 	sw (sp+28),r13                                 <== NOT EXECUTED
 8009e84:	5b 8e 00 18 	sw (sp+24),r14                                 <== NOT EXECUTED
 8009e88:	5b 8f 00 14 	sw (sp+20),r15                                 <== NOT EXECUTED
 8009e8c:	5b 90 00 10 	sw (sp+16),r16                                 <== NOT EXECUTED
 8009e90:	5b 91 00 0c 	sw (sp+12),r17                                 <== NOT EXECUTED
 8009e94:	5b 92 00 08 	sw (sp+8),r18                                  <== NOT EXECUTED
 8009e98:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 8009e9c:	b8 60 60 00 	mv r12,r3                                      <== NOT EXECUTED
 8009ea0:	b8 20 68 00 	mv r13,r1                                      <== NOT EXECUTED
 8009ea4:	b8 40 70 00 	mv r14,r2                                      <== NOT EXECUTED
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
 8009ea8:	b8 60 58 00 	mv r11,r3                                      <== NOT EXECUTED
 8009eac:	5c 60 00 0d 	bne r3,r0,8009ee0 <pipe_write+0x6c>            <== NOT EXECUTED
#endif                                                                
                                                                      
  if (written > 0)                                                    
    return written;                                                   
  return ret;                                                         
}                                                                     
 8009eb0:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8009eb4:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8009eb8:	2b 8b 00 24 	lw r11,(sp+36)                                 <== NOT EXECUTED
 8009ebc:	2b 8c 00 20 	lw r12,(sp+32)                                 <== NOT EXECUTED
 8009ec0:	2b 8d 00 1c 	lw r13,(sp+28)                                 <== NOT EXECUTED
 8009ec4:	2b 8e 00 18 	lw r14,(sp+24)                                 <== NOT EXECUTED
 8009ec8:	2b 8f 00 14 	lw r15,(sp+20)                                 <== NOT EXECUTED
 8009ecc:	2b 90 00 10 	lw r16,(sp+16)                                 <== NOT EXECUTED
 8009ed0:	2b 91 00 0c 	lw r17,(sp+12)                                 <== NOT EXECUTED
 8009ed4:	2b 92 00 08 	lw r18,(sp+8)                                  <== NOT EXECUTED
 8009ed8:	37 9c 00 2c 	addi sp,sp,44                                  <== NOT EXECUTED
 8009edc:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
 8009ee0:	28 21 00 28 	lw r1,(r1+40)                                  <== NOT EXECUTED
 8009ee4:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 8009ee8:	b8 40 18 00 	mv r3,r2                                       <== NOT EXECUTED
 8009eec:	5b 84 00 28 	sw (sp+40),r4                                  <== NOT EXECUTED
 8009ef0:	fb ff f9 15 	calli 8008344 <rtems_semaphore_obtain>         <== NOT EXECUTED
 8009ef4:	34 0b ff fc 	mvi r11,-4                                     <== NOT EXECUTED
 8009ef8:	2b 84 00 28 	lw r4,(sp+40)                                  <== NOT EXECUTED
 8009efc:	5c 20 ff ed 	bne r1,r0,8009eb0 <pipe_write+0x3c>            <== NOT EXECUTED
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
 8009f00:	29 ab 00 10 	lw r11,(r13+16)                                <== NOT EXECUTED
 8009f04:	45 61 00 4e 	be r11,r1,800a03c <pipe_write+0x1c8>           <== NOT EXECUTED
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
 8009f08:	29 af 00 04 	lw r15,(r13+4)                                 <== NOT EXECUTED
      }                                                               
      pipe->waitingWriters --;                                        
      if (ret != 0)                                                   
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
 8009f0c:	34 11 00 01 	mvi r17,1                                      <== NOT EXECUTED
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
 8009f10:	55 8f 00 02 	bgu r12,r15,8009f18 <pipe_write+0xa4>          <== NOT EXECUTED
 8009f14:	b9 80 88 00 	mv r17,r12                                     <== NOT EXECUTED
      }                                                               
      pipe->waitingWriters --;                                        
      if (ret != 0)                                                   
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
 8009f18:	34 12 00 00 	mvi r18,0                                      <== NOT EXECUTED
 8009f1c:	ba 40 58 00 	mv r11,r18                                     <== NOT EXECUTED
                                                                      
  /* 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) {                                
 8009f20:	29 a1 00 0c 	lw r1,(r13+12)                                 <== NOT EXECUTED
 8009f24:	c9 e1 18 00 	sub r3,r15,r1                                  <== NOT EXECUTED
 8009f28:	56 23 00 26 	bgu r17,r3,8009fc0 <pipe_write+0x14c>          <== NOT EXECUTED
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
 8009f2c:	c9 92 10 00 	sub r2,r12,r18                                 <== NOT EXECUTED
 8009f30:	b8 60 80 00 	mv r16,r3                                      <== NOT EXECUTED
 8009f34:	50 43 00 02 	bgeu r2,r3,8009f3c <pipe_write+0xc8>           <== NOT EXECUTED
 8009f38:	b8 40 80 00 	mv r16,r2                                      <== NOT EXECUTED
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
 8009f3c:	29 a3 00 08 	lw r3,(r13+8)                                  <== NOT EXECUTED
 8009f40:	b9 e0 10 00 	mv r2,r15                                      <== NOT EXECUTED
 8009f44:	5b 84 00 28 	sw (sp+40),r4                                  <== NOT EXECUTED
 8009f48:	b4 23 08 00 	add r1,r1,r3                                   <== NOT EXECUTED
 8009f4c:	f8 00 3f a2 	calli 8019dd4 <__umodsi3>                      <== NOT EXECUTED
 8009f50:	c9 e1 78 00 	sub r15,r15,r1                                 <== NOT EXECUTED
    if (chunk > chunk1) {                                             
 8009f54:	2b 84 00 28 	lw r4,(sp+40)                                  <== NOT EXECUTED
 8009f58:	4d f0 00 42 	bge r15,r16,800a060 <pipe_write+0x1ec>         <== NOT EXECUTED
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
 8009f5c:	29 a5 00 00 	lw r5,(r13+0)                                  <== NOT EXECUTED
 8009f60:	b5 d2 10 00 	add r2,r14,r18                                 <== NOT EXECUTED
 8009f64:	b9 e0 18 00 	mv r3,r15                                      <== NOT EXECUTED
 8009f68:	b4 a1 08 00 	add r1,r5,r1                                   <== NOT EXECUTED
 8009f6c:	f8 00 09 cc 	calli 800c69c <memcpy>                         <== NOT EXECUTED
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
 8009f70:	29 a1 00 00 	lw r1,(r13+0)                                  <== NOT EXECUTED
 8009f74:	b5 f2 10 00 	add r2,r15,r18                                 <== NOT EXECUTED
 8009f78:	b5 c2 10 00 	add r2,r14,r2                                  <== NOT EXECUTED
 8009f7c:	ca 0f 18 00 	sub r3,r16,r15                                 <== NOT EXECUTED
 8009f80:	f8 00 09 c7 	calli 800c69c <memcpy>                         <== NOT EXECUTED
 8009f84:	2b 84 00 28 	lw r4,(sp+40)                                  <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
 8009f88:	29 a1 00 0c 	lw r1,(r13+12)                                 <== NOT EXECUTED
    if (pipe->waitingReaders > 0)                                     
 8009f8c:	29 a2 00 18 	lw r2,(r13+24)                                 <== NOT EXECUTED
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
 8009f90:	b4 30 08 00 	add r1,r1,r16                                  <== NOT EXECUTED
 8009f94:	59 a1 00 0c 	sw (r13+12),r1                                 <== NOT EXECUTED
    if (pipe->waitingReaders > 0)                                     
 8009f98:	5c 40 00 3a 	bne r2,r0,800a080 <pipe_write+0x20c>           <== NOT EXECUTED
      PIPE_WAKEUPREADERS(pipe);                                       
    written += chunk;                                                 
 8009f9c:	b5 70 58 00 	add r11,r11,r16                                <== NOT EXECUTED
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
 8009fa0:	b9 60 90 00 	mv r18,r11                                     <== NOT EXECUTED
 8009fa4:	55 8b 00 28 	bgu r12,r11,800a044 <pipe_write+0x1d0>         <== NOT EXECUTED
 8009fa8:	34 0f 00 00 	mvi r15,0                                      <== NOT EXECUTED
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
 8009fac:	29 a1 00 28 	lw r1,(r13+40)                                 <== NOT EXECUTED
 8009fb0:	fb ff f9 46 	calli 80084c8 <rtems_semaphore_release>        <== NOT EXECUTED
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
 8009fb4:	49 60 ff bf 	bg r11,r0,8009eb0 <pipe_write+0x3c>            <== NOT EXECUTED
 8009fb8:	b9 e0 58 00 	mv r11,r15                                     <== NOT EXECUTED
 8009fbc:	e3 ff ff bd 	bi 8009eb0 <pipe_write+0x3c>                   <== NOT EXECUTED
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
      if (LIBIO_NODELAY(iop)) {                                       
 8009fc0:	28 90 00 18 	lw r16,(r4+24)                                 <== NOT EXECUTED
 8009fc4:	22 10 00 01 	andi r16,r16,0x1                               <== NOT EXECUTED
 8009fc8:	5e 00 00 22 	bne r16,r0,800a050 <pipe_write+0x1dc>          <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
 8009fcc:	29 a3 00 1c 	lw r3,(r13+28)                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
 8009fd0:	29 a1 00 28 	lw r1,(r13+40)                                 <== NOT EXECUTED
 8009fd4:	5b 84 00 28 	sw (sp+40),r4                                  <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
 8009fd8:	34 63 00 01 	addi r3,r3,1                                   <== NOT EXECUTED
 8009fdc:	59 a3 00 1c 	sw (r13+28),r3                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
 8009fe0:	fb ff f9 3a 	calli 80084c8 <rtems_semaphore_release>        <== NOT EXECUTED
      if (! PIPE_WRITEWAIT(pipe))                                     
 8009fe4:	29 a1 00 30 	lw r1,(r13+48)                                 <== NOT EXECUTED
 8009fe8:	ba 00 10 00 	mv r2,r16                                      <== NOT EXECUTED
 8009fec:	f8 00 03 73 	calli 800adb8 <rtems_barrier_wait>             <== NOT EXECUTED
 8009ff0:	b8 20 78 00 	mv r15,r1                                      <== NOT EXECUTED
 8009ff4:	2b 84 00 28 	lw r4,(sp+40)                                  <== NOT EXECUTED
 8009ff8:	44 30 00 02 	be r1,r16,800a000 <pipe_write+0x18c>           <== NOT EXECUTED
 8009ffc:	34 0f ff fc 	mvi r15,-4                                     <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
 800a000:	29 a1 00 28 	lw r1,(r13+40)                                 <== NOT EXECUTED
 800a004:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 800a008:	b8 40 18 00 	mv r3,r2                                       <== NOT EXECUTED
 800a00c:	5b 84 00 28 	sw (sp+40),r4                                  <== NOT EXECUTED
 800a010:	fb ff f8 cd 	calli 8008344 <rtems_semaphore_obtain>         <== NOT EXECUTED
 800a014:	2b 84 00 28 	lw r4,(sp+40)                                  <== NOT EXECUTED
 800a018:	5c 20 00 10 	bne r1,r0,800a058 <pipe_write+0x1e4>           <== NOT EXECUTED
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
 800a01c:	29 a3 00 1c 	lw r3,(r13+28)                                 <== NOT EXECUTED
 800a020:	34 63 ff ff 	addi r3,r3,-1                                  <== NOT EXECUTED
 800a024:	59 a3 00 1c 	sw (r13+28),r3                                 <== NOT EXECUTED
      if (ret != 0)                                                   
 800a028:	5d e1 ff e1 	bne r15,r1,8009fac <pipe_write+0x138>          <== NOT EXECUTED
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
 800a02c:	29 a1 00 10 	lw r1,(r13+16)                                 <== NOT EXECUTED
 800a030:	44 2f 00 03 	be r1,r15,800a03c <pipe_write+0x1c8>           <== NOT EXECUTED
 800a034:	29 af 00 04 	lw r15,(r13+4)                                 <== NOT EXECUTED
 800a038:	e3 ff ff ba 	bi 8009f20 <pipe_write+0xac>                   <== NOT EXECUTED
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
 800a03c:	34 0f ff e0 	mvi r15,-32                                    <== NOT EXECUTED
 800a040:	e3 ff ff db 	bi 8009fac <pipe_write+0x138>                  <== NOT EXECUTED
 800a044:	29 af 00 04 	lw r15,(r13+4)                                 <== NOT EXECUTED
 800a048:	34 11 00 01 	mvi r17,1                                      <== NOT EXECUTED
 800a04c:	e3 ff ff b5 	bi 8009f20 <pipe_write+0xac>                   <== NOT EXECUTED
    while (PIPE_SPACE(pipe) < chunk) {                                
      if (LIBIO_NODELAY(iop)) {                                       
 800a050:	34 0f ff f5 	mvi r15,-11                                    <== NOT EXECUTED
 800a054:	e3 ff ff d6 	bi 8009fac <pipe_write+0x138>                  <== NOT EXECUTED
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
 800a058:	34 0f ff fc 	mvi r15,-4                                     <== NOT EXECUTED
 800a05c:	e3 ff ff d6 	bi 8009fb4 <pipe_write+0x140>                  <== 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);
 800a060:	29 a5 00 00 	lw r5,(r13+0)                                  <== NOT EXECUTED
 800a064:	b5 d2 10 00 	add r2,r14,r18                                 <== NOT EXECUTED
 800a068:	ba 00 18 00 	mv r3,r16                                      <== NOT EXECUTED
 800a06c:	b4 a1 08 00 	add r1,r5,r1                                   <== NOT EXECUTED
 800a070:	5b 84 00 28 	sw (sp+40),r4                                  <== NOT EXECUTED
 800a074:	f8 00 09 8a 	calli 800c69c <memcpy>                         <== NOT EXECUTED
 800a078:	2b 84 00 28 	lw r4,(sp+40)                                  <== NOT EXECUTED
 800a07c:	e3 ff ff c3 	bi 8009f88 <pipe_write+0x114>                  <== NOT EXECUTED
                                                                      
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
 800a080:	29 a1 00 2c 	lw r1,(r13+44)                                 <== NOT EXECUTED
 800a084:	37 82 00 2c 	addi r2,sp,44                                  <== NOT EXECUTED
 800a088:	5b 84 00 28 	sw (sp+40),r4                                  <== NOT EXECUTED
 800a08c:	f8 00 03 2c 	calli 800ad3c <rtems_barrier_release>          <== NOT EXECUTED
 800a090:	2b 84 00 28 	lw r4,(sp+40)                                  <== NOT EXECUTED
 800a094:	e3 ff ff c2 	bi 8009f9c <pipe_write+0x128>                  <== NOT EXECUTED
                                                                      
08001954 <putk>:                                                      
 * putk                                                               
 *                                                                    
 * Kernel putk (e.g. puts) function requiring minimal infrastrure.    
 */                                                                   
void putk(const char *s)                                              
{                                                                     
 8001954:	37 9c ff f4 	addi sp,sp,-12                                 
 8001958:	5b 8b 00 0c 	sw (sp+12),r11                                 
 800195c:	5b 8c 00 08 	sw (sp+8),r12                                  
 8001960:	5b 9d 00 04 	sw (sp+4),ra                                   
 8001964:	b8 20 60 00 	mv r12,r1                                      
  const char *p = s;                                                  
                                                                      
  for (p=s ; *p ; p++ )                                               
 8001968:	40 21 00 00 	lbu r1,(r1+0)                                  
 800196c:	44 20 00 10 	be r1,r0,80019ac <putk+0x58>                   <== NEVER TAKEN
 8001970:	78 0b 08 01 	mvhi r11,0x801                                 
 8001974:	39 6b a5 ac 	ori r11,r11,0xa5ac                             
    BSP_output_char(*p);                                              
 8001978:	29 62 00 00 	lw r2,(r11+0)                                  
 */                                                                   
void putk(const char *s)                                              
{                                                                     
  const char *p = s;                                                  
                                                                      
  for (p=s ; *p ; p++ )                                               
 800197c:	35 8c 00 01 	addi r12,r12,1                                 
    BSP_output_char(*p);                                              
 8001980:	d8 40 00 00 	call r2                                        
 */                                                                   
void putk(const char *s)                                              
{                                                                     
  const char *p = s;                                                  
                                                                      
  for (p=s ; *p ; p++ )                                               
 8001984:	41 81 00 00 	lbu r1,(r12+0)                                 
 8001988:	5c 20 ff fc 	bne r1,r0,8001978 <putk+0x24>                  
    BSP_output_char(*p);                                              
  BSP_output_char('\n');                                              
 800198c:	29 62 00 00 	lw r2,(r11+0)                                  
 8001990:	34 01 00 0a 	mvi r1,10                                      
 8001994:	d8 40 00 00 	call r2                                        
}                                                                     
 8001998:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800199c:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 80019a0:	2b 8c 00 08 	lw r12,(sp+8)                                  
 80019a4:	37 9c 00 0c 	addi sp,sp,12                                  
 80019a8:	c3 a0 00 00 	ret                                            
 80019ac:	78 0b 08 01 	mvhi r11,0x801                                 <== NOT EXECUTED
 80019b0:	39 6b a5 ac 	ori r11,r11,0xa5ac                             <== NOT EXECUTED
 80019b4:	e3 ff ff f6 	bi 800198c <putk+0x38>                         <== NOT EXECUTED
                                                                      
0801a358 <read>:                                                      
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
 801a358:	37 9c ff e8 	addi sp,sp,-24                                 
 801a35c:	5b 8b 00 14 	sw (sp+20),r11                                 
 801a360:	5b 8c 00 10 	sw (sp+16),r12                                 
 801a364:	5b 8d 00 0c 	sw (sp+12),r13                                 
 801a368:	5b 8e 00 08 	sw (sp+8),r14                                  
 801a36c:	5b 9d 00 04 	sw (sp+4),ra                                   
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
 801a370:	78 04 08 01 	mvhi r4,0x801                                  
 801a374:	38 84 c0 10 	ori r4,r4,0xc010                               
 801a378:	28 84 00 00 	lw r4,(r4+0)                                   
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
 801a37c:	b8 40 68 00 	mv r13,r2                                      
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
 801a380:	54 81 00 06 	bgu r4,r1,801a398 <read+0x40>                  <== ALWAYS TAKEN
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
 801a384:	fb ff c6 20 	calli 800bc04 <__errno>                        
 801a388:	34 02 00 09 	mvi r2,9                                       
 801a38c:	58 22 00 00 	sw (r1+0),r2                                   
 801a390:	34 0c ff ff 	mvi r12,-1                                     
 801a394:	e0 00 00 27 	bi 801a430 <read+0xd8>                         
{                                                                     
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
 801a398:	34 02 00 03 	mvi r2,3                                       
 801a39c:	5b 83 00 18 	sw (sp+24),r3                                  
 801a3a0:	78 0c 08 01 	mvhi r12,0x801                                 
 801a3a4:	fb ff 97 93 	calli 80001f0 <__ashlsi3>                      
 801a3a8:	34 02 00 03 	mvi r2,3                                       
 801a3ac:	39 8c c6 9c 	ori r12,r12,0xc69c                             
 801a3b0:	b8 20 70 00 	mv r14,r1                                      
 801a3b4:	fb ff 97 8f 	calli 80001f0 <__ashlsi3>                      
 801a3b8:	29 8b 00 00 	lw r11,(r12+0)                                 
 801a3bc:	b5 c1 08 00 	add r1,r14,r1                                  
  rtems_libio_check_is_open( iop );                                   
 801a3c0:	2b 83 00 18 	lw r3,(sp+24)                                  
{                                                                     
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
 801a3c4:	b5 61 58 00 	add r11,r11,r1                                 
  rtems_libio_check_is_open( iop );                                   
 801a3c8:	29 61 00 18 	lw r1,(r11+24)                                 
 801a3cc:	20 22 01 00 	andi r2,r1,0x100                               
 801a3d0:	44 40 ff ed 	be r2,r0,801a384 <read+0x2c>                   
  rtems_libio_check_buffer( buffer );                                 
 801a3d4:	45 a0 00 1f 	be r13,r0,801a450 <read+0xf8>                  <== NEVER TAKEN
  rtems_libio_check_count( count );                                   
 801a3d8:	b8 60 60 00 	mv r12,r3                                      
 801a3dc:	44 60 00 15 	be r3,r0,801a430 <read+0xd8>                   <== NEVER TAKEN
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
 801a3e0:	20 21 00 02 	andi r1,r1,0x2                                 
 801a3e4:	44 20 00 1b 	be r1,r0,801a450 <read+0xf8>                   <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
                                                                      
  if ( !iop->handlers->read_h )                                       
 801a3e8:	29 61 00 40 	lw r1,(r11+64)                                 
 801a3ec:	28 24 00 08 	lw r4,(r1+8)                                   
 801a3f0:	44 80 00 1d 	be r4,r0,801a464 <read+0x10c>                  <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  rc = (*iop->handlers->read_h)( iop, buffer, count );                
 801a3f4:	b9 a0 10 00 	mv r2,r13                                      
 801a3f8:	b9 60 08 00 	mv r1,r11                                      
 801a3fc:	d8 80 00 00 	call r4                                        
 801a400:	b8 20 60 00 	mv r12,r1                                      
                                                                      
  if ( rc > 0 )                                                       
 801a404:	4c 01 00 0b 	bge r0,r1,801a430 <read+0xd8>                  
    iop->offset += rc;                                                
 801a408:	34 02 00 1f 	mvi r2,31                                      
 801a40c:	fb ff 97 c9 	calli 8000330 <__ashrsi3>                      
 801a410:	29 62 00 14 	lw r2,(r11+20)                                 
 801a414:	29 64 00 10 	lw r4,(r11+16)                                 
 801a418:	b5 82 10 00 	add r2,r12,r2                                  
 801a41c:	f5 82 18 00 	cmpgu r3,r12,r2                                
 801a420:	b4 24 08 00 	add r1,r1,r4                                   
 801a424:	b4 61 08 00 	add r1,r3,r1                                   
 801a428:	59 62 00 14 	sw (r11+20),r2                                 
 801a42c:	59 61 00 10 	sw (r11+16),r1                                 
                                                                      
  return rc;                                                          
}                                                                     
 801a430:	b9 80 08 00 	mv r1,r12                                      
 801a434:	2b 9d 00 04 	lw ra,(sp+4)                                   
 801a438:	2b 8b 00 14 	lw r11,(sp+20)                                 
 801a43c:	2b 8c 00 10 	lw r12,(sp+16)                                 
 801a440:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 801a444:	2b 8e 00 08 	lw r14,(sp+8)                                  
 801a448:	37 9c 00 18 	addi sp,sp,24                                  
 801a44c:	c3 a0 00 00 	ret                                            
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
 801a450:	fb ff c5 ed 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 801a454:	34 02 00 16 	mvi r2,22                                      <== NOT EXECUTED
 801a458:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 801a45c:	34 0c ff ff 	mvi r12,-1                                     <== NOT EXECUTED
 801a460:	e3 ff ff f4 	bi 801a430 <read+0xd8>                         <== NOT EXECUTED
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
                                                                      
  if ( !iop->handlers->read_h )                                       
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 801a464:	fb ff c5 e8 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 801a468:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 801a46c:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 801a470:	34 0c ff ff 	mvi r12,-1                                     <== NOT EXECUTED
 801a474:	e3 ff ff ef 	bi 801a430 <read+0xd8>                         <== NOT EXECUTED
                                                                      
0802af28 <readlink>:                                                  
ssize_t readlink(                                                     
  const char *pathname,                                               
  char       *buf,                                                    
  size_t      bufsize                                                 
)                                                                     
{                                                                     
 802af28:	37 9c ff d8 	addi sp,sp,-40                                 
 802af2c:	5b 8b 00 14 	sw (sp+20),r11                                 
 802af30:	5b 8c 00 10 	sw (sp+16),r12                                 
 802af34:	5b 8d 00 0c 	sw (sp+12),r13                                 
 802af38:	5b 8e 00 08 	sw (sp+8),r14                                  
 802af3c:	5b 9d 00 04 	sw (sp+4),ra                                   
 802af40:	b8 40 68 00 	mv r13,r2                                      
 802af44:	b8 60 70 00 	mv r14,r3                                      
 802af48:	b8 20 60 00 	mv r12,r1                                      
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
 802af4c:	44 40 00 29 	be r2,r0,802aff0 <readlink+0xc8>               <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
 802af50:	f8 00 8f 00 	calli 804eb50 <strlen>                         
 802af54:	b8 20 20 00 	mv r4,r1                                       
 802af58:	34 03 00 00 	mvi r3,0                                       
 802af5c:	37 8b 00 18 	addi r11,sp,24                                 
 802af60:	b9 80 08 00 	mv r1,r12                                      
 802af64:	b8 80 10 00 	mv r2,r4                                       
 802af68:	b8 60 28 00 	mv r5,r3                                       
 802af6c:	b9 60 20 00 	mv r4,r11                                      
 802af70:	fb ff 6d 69 	calli 8006514 <rtems_filesystem_evaluate_path> 
                                           0, &loc, false );          
  if ( result != 0 )                                                  
 802af74:	34 0c ff ff 	mvi r12,-1                                     
 802af78:	5c 20 00 16 	bne r1,r0,802afd0 <readlink+0xa8>              <== NEVER TAKEN
     return -1;                                                       
                                                                      
  if ( !loc.ops->node_type_h ){                                       
 802af7c:	2b 83 00 24 	lw r3,(sp+36)                                  
 802af80:	28 62 00 10 	lw r2,(r3+16)                                  
 802af84:	44 41 00 32 	be r2,r1,802b04c <readlink+0x124>              <== NEVER TAKEN
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
 802af88:	b9 60 08 00 	mv r1,r11                                      
 802af8c:	d8 40 00 00 	call r2                                        
 802af90:	34 02 00 04 	mvi r2,4                                       
 802af94:	5c 22 00 23 	bne r1,r2,802b020 <readlink+0xf8>              
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  if ( !loc.ops->readlink_h ){                                        
 802af98:	2b 81 00 24 	lw r1,(sp+36)                                  
 802af9c:	28 24 00 3c 	lw r4,(r1+60)                                  
 802afa0:	44 80 00 34 	be r4,r0,802b070 <readlink+0x148>              <== NEVER TAKEN
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
 802afa4:	b9 a0 10 00 	mv r2,r13                                      
 802afa8:	b9 c0 18 00 	mv r3,r14                                      
 802afac:	b9 60 08 00 	mv r1,r11                                      
 802afb0:	d8 80 00 00 	call r4                                        
 802afb4:	b8 20 60 00 	mv r12,r1                                      
                                                                      
  rtems_filesystem_freenode( &loc );                                  
 802afb8:	2b 81 00 24 	lw r1,(sp+36)                                  
 802afbc:	44 20 00 05 	be r1,r0,802afd0 <readlink+0xa8>               <== NEVER TAKEN
 802afc0:	28 22 00 1c 	lw r2,(r1+28)                                  
 802afc4:	44 40 00 03 	be r2,r0,802afd0 <readlink+0xa8>               <== NEVER TAKEN
 802afc8:	b9 60 08 00 	mv r1,r11                                      
 802afcc:	d8 40 00 00 	call r2                                        
                                                                      
  return result;                                                      
}                                                                     
 802afd0:	b9 80 08 00 	mv r1,r12                                      
 802afd4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802afd8:	2b 8b 00 14 	lw r11,(sp+20)                                 
 802afdc:	2b 8c 00 10 	lw r12,(sp+16)                                 
 802afe0:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 802afe4:	2b 8e 00 08 	lw r14,(sp+8)                                  
 802afe8:	37 9c 00 28 	addi sp,sp,40                                  
 802afec:	c3 a0 00 00 	ret                                            
{                                                                     
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
    rtems_set_errno_and_return_minus_one( EFAULT );                   
 802aff0:	f8 00 70 ee 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 802aff4:	34 02 00 0e 	mvi r2,14                                      <== NOT EXECUTED
 802aff8:	34 0c ff ff 	mvi r12,-1                                     <== NOT EXECUTED
 802affc:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return result;                                                      
}                                                                     
 802b000:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 802b004:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 802b008:	2b 8b 00 14 	lw r11,(sp+20)                                 <== NOT EXECUTED
 802b00c:	2b 8c 00 10 	lw r12,(sp+16)                                 <== NOT EXECUTED
 802b010:	2b 8d 00 0c 	lw r13,(sp+12)                                 <== NOT EXECUTED
 802b014:	2b 8e 00 08 	lw r14,(sp+8)                                  <== NOT EXECUTED
 802b018:	37 9c 00 28 	addi sp,sp,40                                  <== NOT EXECUTED
 802b01c:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
    rtems_filesystem_freenode( &loc );                                
 802b020:	2b 81 00 24 	lw r1,(sp+36)                                  
 802b024:	44 20 00 05 	be r1,r0,802b038 <readlink+0x110>              <== NEVER TAKEN
 802b028:	28 22 00 1c 	lw r2,(r1+28)                                  
 802b02c:	44 40 00 03 	be r2,r0,802b038 <readlink+0x110>              <== NEVER TAKEN
 802b030:	b9 60 08 00 	mv r1,r11                                      
 802b034:	d8 40 00 00 	call r2                                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 802b038:	f8 00 70 dc 	calli 80473a8 <__errno>                        
 802b03c:	34 02 00 16 	mvi r2,22                                      
 802b040:	58 22 00 00 	sw (r1+0),r2                                   
 802b044:	34 0c ff ff 	mvi r12,-1                                     
 802b048:	e3 ff ff e2 	bi 802afd0 <readlink+0xa8>                     
                                           0, &loc, false );          
  if ( result != 0 )                                                  
     return -1;                                                       
                                                                      
  if ( !loc.ops->node_type_h ){                                       
    rtems_filesystem_freenode( &loc );                                
 802b04c:	28 63 00 1c 	lw r3,(r3+28)                                  <== NOT EXECUTED
 802b050:	44 62 00 03 	be r3,r2,802b05c <readlink+0x134>              <== NOT EXECUTED
 802b054:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 802b058:	d8 60 00 00 	call r3                                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  if ( !loc.ops->readlink_h ){                                        
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 802b05c:	f8 00 70 d3 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 802b060:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 802b064:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 802b068:	34 0c ff ff 	mvi r12,-1                                     <== NOT EXECUTED
 802b06c:	e3 ff ff d9 	bi 802afd0 <readlink+0xa8>                     <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  if ( !loc.ops->readlink_h ){                                        
    rtems_filesystem_freenode( &loc );                                
 802b070:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 802b074:	44 44 ff fa 	be r2,r4,802b05c <readlink+0x134>              <== NOT EXECUTED
 802b078:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 802b07c:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
 802b080:	e3 ff ff f7 	bi 802b05c <readlink+0x134>                    <== NOT EXECUTED
                                                                      
080035bc <readv>:                                                     
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
 80035bc:	37 9c ff e4 	addi sp,sp,-28                                 
 80035c0:	5b 8b 00 1c 	sw (sp+28),r11                                 
 80035c4:	5b 8c 00 18 	sw (sp+24),r12                                 
 80035c8:	5b 8d 00 14 	sw (sp+20),r13                                 
 80035cc:	5b 8e 00 10 	sw (sp+16),r14                                 
 80035d0:	5b 8f 00 0c 	sw (sp+12),r15                                 
 80035d4:	5b 90 00 08 	sw (sp+8),r16                                  
 80035d8:	5b 9d 00 04 	sw (sp+4),ra                                   
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
 80035dc:	78 04 08 02 	mvhi r4,0x802                                  
 80035e0:	38 84 10 10 	ori r4,r4,0x1010                               
 80035e4:	28 84 00 00 	lw r4,(r4+0)                                   
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
 80035e8:	b8 40 70 00 	mv r14,r2                                      
 80035ec:	b8 60 60 00 	mv r12,r3                                      
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
 80035f0:	54 81 00 06 	bgu r4,r1,8003608 <readv+0x4c>                 <== ALWAYS TAKEN
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
 80035f4:	f8 00 2b cb 	calli 800e520 <__errno>                        <== NOT EXECUTED
 80035f8:	34 02 00 09 	mvi r2,9                                       <== NOT EXECUTED
 80035fc:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8003600:	34 0f ff ff 	mvi r15,-1                                     <== NOT EXECUTED
 8003604:	e0 00 00 16 	bi 800365c <readv+0xa0>                        <== NOT EXECUTED
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
 8003608:	34 02 00 03 	mvi r2,3                                       
 800360c:	fb ff f6 2a 	calli 8000eb4 <__ashlsi3>                      
 8003610:	78 0d 08 02 	mvhi r13,0x802                                 
 8003614:	34 02 00 03 	mvi r2,3                                       
 8003618:	39 ad 1e 70 	ori r13,r13,0x1e70                             
 800361c:	b8 20 78 00 	mv r15,r1                                      
 8003620:	fb ff f6 25 	calli 8000eb4 <__ashlsi3>                      
 8003624:	29 ab 00 00 	lw r11,(r13+0)                                 
 8003628:	b5 e1 08 00 	add r1,r15,r1                                  
 800362c:	b5 61 58 00 	add r11,r11,r1                                 
  rtems_libio_check_is_open( iop );                                   
 8003630:	29 61 00 18 	lw r1,(r11+24)                                 
 8003634:	20 22 01 00 	andi r2,r1,0x100                               
 8003638:	44 40 ff ef 	be r2,r0,80035f4 <readv+0x38>                  <== NEVER TAKEN
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
 800363c:	20 21 00 02 	andi r1,r1,0x2                                 
 8003640:	44 20 00 03 	be r1,r0,800364c <readv+0x90>                  <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
 8003644:	45 c0 00 02 	be r14,r0,800364c <readv+0x90>                 
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
 8003648:	49 80 00 0f 	bg r12,r0,8003684 <readv+0xc8>                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old )                                                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 800364c:	f8 00 2b b5 	calli 800e520 <__errno>                        
 8003650:	34 02 00 16 	mvi r2,22                                      
 8003654:	58 22 00 00 	sw (r1+0),r2                                   
 8003658:	34 0f ff ff 	mvi r15,-1                                     
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
 800365c:	b9 e0 08 00 	mv r1,r15                                      
 8003660:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8003664:	2b 8b 00 1c 	lw r11,(sp+28)                                 
 8003668:	2b 8c 00 18 	lw r12,(sp+24)                                 
 800366c:	2b 8d 00 14 	lw r13,(sp+20)                                 
 8003670:	2b 8e 00 10 	lw r14,(sp+16)                                 
 8003674:	2b 8f 00 0c 	lw r15,(sp+12)                                 
 8003678:	2b 90 00 08 	lw r16,(sp+8)                                  
 800367c:	37 9c 00 1c 	addi sp,sp,28                                  
 8003680:	c3 a0 00 00 	ret                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
 8003684:	34 01 04 00 	mvi r1,1024                                    
 8003688:	4c 2c 00 02 	bge r1,r12,8003690 <readv+0xd4>                <== ALWAYS TAKEN
 800368c:	e3 ff ff f0 	bi 800364c <readv+0x90>                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !iop->handlers->read_h )                                       
 8003690:	29 61 00 40 	lw r1,(r11+64)                                 
 8003694:	28 29 00 08 	lw r9,(r1+8)                                   
 8003698:	45 20 00 34 	be r9,r0,8003768 <readv+0x1ac>                 <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 800369c:	34 05 00 00 	mvi r5,0                                       
 80036a0:	b9 c0 20 00 	mv r4,r14                                      
 80036a4:	34 07 00 01 	mvi r7,1                                       
 80036a8:	b8 a0 30 00 	mv r6,r5                                       
                                                                      
  all_zeros = true;                                                   
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    ssize_t old;                                                      
                                                                      
    if ( !iov[v].iov_base )                                           
 80036ac:	28 82 00 00 	lw r2,(r4+0)                                   
   *  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++ ) {                           
 80036b0:	34 a5 00 01 	addi r5,r5,1                                   
    ssize_t old;                                                      
                                                                      
    if ( !iov[v].iov_base )                                           
 80036b4:	44 40 ff e6 	be r2,r0,800364c <readv+0x90>                  
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
 80036b8:	28 88 00 04 	lw r8,(r4+4)                                   
   *  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++ ) {                           
 80036bc:	34 84 00 08 	addi r4,r4,8                                   
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old )                                                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
 80036c0:	65 03 00 00 	cmpei r3,r8,0                                  
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
 80036c4:	b4 c8 40 00 	add r8,r6,r8                                   
    if ( total < old )                                                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
 80036c8:	c8 03 18 00 	sub r3,r0,r3                                   
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old )                                                
 80036cc:	4d 06 00 02 	bge r8,r6,80036d4 <readv+0x118>                
 80036d0:	e3 ff ff df 	bi 800364c <readv+0x90>                        
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
 80036d4:	a0 e3 38 00 	and r7,r7,r3                                   
   *  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++ ) {                           
 80036d8:	4c ac 00 03 	bge r5,r12,80036e4 <readv+0x128>               
 80036dc:	b9 00 30 00 	mv r6,r8                                       
 80036e0:	e3 ff ff f3 	bi 80036ac <readv+0xf0>                        
  /*                                                                  
   *  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 ) {                                          
 80036e4:	b8 e0 80 00 	mv r16,r7                                      
 80036e8:	b8 e0 78 00 	mv r15,r7                                      
 80036ec:	44 e0 00 06 	be r7,r0,8003704 <readv+0x148>                 
 80036f0:	34 0f 00 00 	mvi r15,0                                      
 80036f4:	e3 ff ff da 	bi 800365c <readv+0xa0>                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
 80036f8:	4e 0c ff d9 	bge r16,r12,800365c <readv+0xa0>               
 80036fc:	29 61 00 40 	lw r1,(r11+64)                                 
 8003700:	28 29 00 08 	lw r9,(r1+8)                                   
    bytes = (*iop->handlers->read_h)( iop, iov[v].iov_base, iov[v].iov_len );
 8003704:	29 c2 00 00 	lw r2,(r14+0)                                  
 8003708:	29 c3 00 04 	lw r3,(r14+4)                                  
 800370c:	b9 60 08 00 	mv r1,r11                                      
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
 8003710:	36 10 00 01 	addi r16,r16,1                                 
    bytes = (*iop->handlers->read_h)( iop, iov[v].iov_base, iov[v].iov_len );
 8003714:	d9 20 00 00 	call r9                                        
 8003718:	b8 20 68 00 	mv r13,r1                                      
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
 800371c:	34 02 00 1f 	mvi r2,31                                      
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    bytes = (*iop->handlers->read_h)( iop, iov[v].iov_base, iov[v].iov_len );
                                                                      
    if ( bytes < 0 )                                                  
 8003720:	48 01 00 10 	bg r0,r1,8003760 <readv+0x1a4>                 <== NEVER TAKEN
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
 8003724:	44 20 00 0b 	be r1,r0,8003750 <readv+0x194>                 <== NEVER TAKEN
      iop->offset += bytes;                                           
 8003728:	fb ff f6 33 	calli 8000ff4 <__ashrsi3>                      
 800372c:	29 62 00 14 	lw r2,(r11+20)                                 
 8003730:	29 64 00 10 	lw r4,(r11+16)                                 
      total       += bytes;                                           
 8003734:	b5 ed 78 00 	add r15,r15,r13                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
 8003738:	b5 a2 10 00 	add r2,r13,r2                                  
 800373c:	f5 a2 18 00 	cmpgu r3,r13,r2                                
 8003740:	b4 24 08 00 	add r1,r1,r4                                   
 8003744:	b4 61 08 00 	add r1,r3,r1                                   
 8003748:	59 61 00 10 	sw (r11+16),r1                                 
 800374c:	59 62 00 14 	sw (r11+20),r2                                 
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
 8003750:	29 c1 00 04 	lw r1,(r14+4)                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
 8003754:	35 ce 00 08 	addi r14,r14,8                                 
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
 8003758:	45 a1 ff e8 	be r13,r1,80036f8 <readv+0x13c>                <== ALWAYS TAKEN
 800375c:	e3 ff ff c0 	bi 800365c <readv+0xa0>                        <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
 8003760:	34 0f ff ff 	mvi r15,-1                                     <== NOT EXECUTED
 8003764:	e3 ff ff be 	bi 800365c <readv+0xa0>                        <== NOT EXECUTED
                                                                      
  if ( iovcnt > IOV_MAX )                                             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !iop->handlers->read_h )                                       
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 8003768:	f8 00 2b 6e 	calli 800e520 <__errno>                        <== NOT EXECUTED
 800376c:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 8003770:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8003774:	34 0f ff ff 	mvi r15,-1                                     <== NOT EXECUTED
 8003778:	e3 ff ff b9 	bi 800365c <readv+0xa0>                        <== NOT EXECUTED
                                                                      
0801a518 <realloc>:                                                   
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
  uintptr_t resize;                                                   
                                                                      
  MSBUMP(realloc_calls, 1);                                           
 801a518:	37 9c ff e4 	addi sp,sp,-28                                 
 801a51c:	5b 8b 00 18 	sw (sp+24),r11                                 
 801a520:	5b 8c 00 14 	sw (sp+20),r12                                 
 801a524:	5b 8d 00 10 	sw (sp+16),r13                                 
 801a528:	5b 8e 00 0c 	sw (sp+12),r14                                 
 801a52c:	5b 8f 00 08 	sw (sp+8),r15                                  
 801a530:	5b 9d 00 04 	sw (sp+4),ra                                   
 801a534:	78 0c 08 01 	mvhi r12,0x801                                 
 801a538:	39 8c c6 a8 	ori r12,r12,0xc6a8                             
 801a53c:	29 84 00 10 	lw r4,(r12+16)                                 
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
 801a540:	78 03 08 01 	mvhi r3,0x801                                  
 801a544:	38 63 c9 c0 	ori r3,r3,0xc9c0                               
 801a548:	28 63 00 00 	lw r3,(r3+0)                                   
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
  uintptr_t resize;                                                   
                                                                      
  MSBUMP(realloc_calls, 1);                                           
 801a54c:	34 84 00 01 	addi r4,r4,1                                   
 801a550:	b8 20 58 00 	mv r11,r1                                      
 801a554:	59 84 00 10 	sw (r12+16),r4                                 
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
 801a558:	34 01 00 03 	mvi r1,3                                       
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
  uintptr_t resize;                                                   
                                                                      
  MSBUMP(realloc_calls, 1);                                           
 801a55c:	b8 40 70 00 	mv r14,r2                                      
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
 801a560:	44 61 00 23 	be r3,r1,801a5ec <realloc+0xd4>                <== ALWAYS TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
 801a564:	45 60 00 2e 	be r11,r0,801a61c <realloc+0x104>              
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
 801a568:	45 c0 00 18 	be r14,r0,801a5c8 <realloc+0xb0>               <== NEVER TAKEN
    free( ptr );                                                      
    return (void *) 0;                                                
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
 801a56c:	78 0d 08 01 	mvhi r13,0x801                                 
 801a570:	39 ad c0 1c 	ori r13,r13,0xc01c                             
 801a574:	29 a1 00 00 	lw r1,(r13+0)                                  
 801a578:	b9 60 10 00 	mv r2,r11                                      
 801a57c:	37 83 00 1c 	addi r3,sp,28                                  
 801a580:	f8 00 00 85 	calli 801a794 <_Protected_heap_Get_block_size> 
 801a584:	b8 20 78 00 	mv r15,r1                                      
 801a588:	44 20 00 14 	be r1,r0,801a5d8 <realloc+0xc0>                
  #if defined(RTEMS_MALLOC_BOUNDARY_HELPERS)                          
    if (rtems_malloc_boundary_helpers)                                
      resize += (*rtems_malloc_boundary_helpers->overhead)();         
  #endif                                                              
                                                                      
  if ( _Protected_heap_Resize_block( RTEMS_Malloc_Heap, ptr, resize ) ) {
 801a58c:	29 a1 00 00 	lw r1,(r13+0)                                  
 801a590:	b9 60 10 00 	mv r2,r11                                      
 801a594:	b9 c0 18 00 	mv r3,r14                                      
 801a598:	f8 00 00 97 	calli 801a7f4 <_Protected_heap_Resize_block>   
 801a59c:	b8 20 68 00 	mv r13,r1                                      
 801a5a0:	44 20 00 23 	be r1,r0,801a62c <realloc+0x114>               
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
 801a5a4:	b9 60 08 00 	mv r1,r11                                      
 801a5a8:	2b 9d 00 04 	lw ra,(sp+4)                                   
 801a5ac:	2b 8b 00 18 	lw r11,(sp+24)                                 
 801a5b0:	2b 8c 00 14 	lw r12,(sp+20)                                 
 801a5b4:	2b 8d 00 10 	lw r13,(sp+16)                                 
 801a5b8:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 801a5bc:	2b 8f 00 08 	lw r15,(sp+8)                                  
 801a5c0:	37 9c 00 1c 	addi sp,sp,28                                  
 801a5c4:	c3 a0 00 00 	ret                                            
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
    free( ptr );                                                      
 801a5c8:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 801a5cc:	fb ff b4 a0 	calli 800784c <free>                           <== NOT EXECUTED
 801a5d0:	b9 c0 58 00 	mv r11,r14                                     <== NOT EXECUTED
    return (void *) 0;                                                
 801a5d4:	e3 ff ff f4 	bi 801a5a4 <realloc+0x8c>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
    errno = EINVAL;                                                   
 801a5d8:	fb ff c5 8b 	calli 800bc04 <__errno>                        
 801a5dc:	34 02 00 16 	mvi r2,22                                      
 801a5e0:	58 22 00 00 	sw (r1+0),r2                                   
 801a5e4:	b9 e0 58 00 	mv r11,r15                                     
    return (void *) 0;                                                
 801a5e8:	e3 ff ff ef 	bi 801a5a4 <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)                           
 801a5ec:	78 01 08 01 	mvhi r1,0x801                                  
 801a5f0:	38 21 c8 24 	ori r1,r1,0xc824                               
 801a5f4:	28 21 00 00 	lw r1,(r1+0)                                   
 801a5f8:	44 20 00 03 	be r1,r0,801a604 <realloc+0xec>                <== ALWAYS TAKEN
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
 801a5fc:	34 0b 00 00 	mvi r11,0                                      
 801a600:	e3 ff ff e9 	bi 801a5a4 <realloc+0x8c>                      
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
    if (_Thread_Dispatch_disable_level > 0)                           
      return (void *) 0;                                              
                                                                      
    if (_ISR_Nest_level > 0)                                          
 801a604:	78 02 08 01 	mvhi r2,0x801                                  
 801a608:	38 42 c8 bc 	ori r2,r2,0xc8bc                               
 801a60c:	28 42 00 00 	lw r2,(r2+0)                                   
 801a610:	44 41 ff d5 	be r2,r1,801a564 <realloc+0x4c>                <== ALWAYS TAKEN
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
 801a614:	34 0b 00 00 	mvi r11,0                                      <== NOT EXECUTED
 801a618:	e3 ff ff e3 	bi 801a5a4 <realloc+0x8c>                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
 801a61c:	b9 c0 08 00 	mv r1,r14                                      
 801a620:	fb ff b6 43 	calli 8007f2c <malloc>                         
 801a624:	b8 20 58 00 	mv r11,r1                                      
 801a628:	e3 ff ff df 	bi 801a5a4 <realloc+0x8c>                      
   *  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 );                                          
 801a62c:	b9 c0 08 00 	mv r1,r14                                      
 801a630:	fb ff b6 3f 	calli 8007f2c <malloc>                         
 801a634:	b8 20 78 00 	mv r15,r1                                      
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
 801a638:	29 81 00 04 	lw r1,(r12+4)                                  
 801a63c:	34 21 ff ff 	addi r1,r1,-1                                  
 801a640:	59 81 00 04 	sw (r12+4),r1                                  
                                                                      
  if ( !new_area ) {                                                  
 801a644:	45 ed ff ee 	be r15,r13,801a5fc <realloc+0xe4>              
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
 801a648:	2b 81 00 1c 	lw r1,(sp+28)                                  
 801a64c:	b9 c0 18 00 	mv r3,r14                                      
 801a650:	50 2e 00 02 	bgeu r1,r14,801a658 <realloc+0x140>            <== NEVER TAKEN
 801a654:	b8 20 18 00 	mv r3,r1                                       
 801a658:	b9 60 10 00 	mv r2,r11                                      
 801a65c:	b9 e0 08 00 	mv r1,r15                                      
 801a660:	fb ff c8 0f 	calli 800c69c <memcpy>                         
  free( ptr );                                                        
 801a664:	b9 60 08 00 	mv r1,r11                                      
 801a668:	fb ff b4 79 	calli 800784c <free>                           
 801a66c:	b9 e0 58 00 	mv r11,r15                                     
                                                                      
  return new_area;                                                    
 801a670:	e3 ff ff cd 	bi 801a5a4 <realloc+0x8c>                      
                                                                      
0802b084 <rmdir>:                                                     
#include <rtems/seterr.h>                                             
                                                                      
int rmdir(                                                            
  const char *pathname                                                
)                                                                     
{                                                                     
 802b084:	37 9c ff c4 	addi sp,sp,-60                                 
 802b088:	5b 8b 00 14 	sw (sp+20),r11                                 
 802b08c:	5b 8c 00 10 	sw (sp+16),r12                                 
 802b090:	5b 8d 00 0c 	sw (sp+12),r13                                 
 802b094:	5b 8e 00 08 	sw (sp+8),r14                                  
 802b098:	5b 9d 00 04 	sw (sp+4),ra                                   
 802b09c:	b8 20 60 00 	mv r12,r1                                      
                                                                      
  /*                                                                  
   *  Get the parent node of the node we wish to remove. Find the parent path.
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
 802b0a0:	fb ff 6c bd 	calli 8006394 <rtems_filesystem_dirname>       
 802b0a4:	b8 20 58 00 	mv r11,r1                                      
                                                                      
  if ( parentpathlen == 0 )                                           
 802b0a8:	5c 20 00 80 	bne r1,r0,802b2a8 <rmdir+0x224>                
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
 802b0ac:	41 82 00 00 	lbu r2,(r12+0)                                 
 802b0b0:	64 43 00 5c 	cmpei r3,r2,92                                 
 802b0b4:	64 41 00 2f 	cmpei r1,r2,47                                 
 802b0b8:	b8 61 08 00 	or r1,r3,r1                                    
 802b0bc:	44 2b 00 4e 	be r1,r11,802b1f4 <rmdir+0x170>                <== NEVER TAKEN
 802b0c0:	78 01 08 07 	mvhi r1,0x807                                  
 802b0c4:	38 21 12 f0 	ori r1,r1,0x12f0                               
 802b0c8:	28 22 00 00 	lw r2,(r1+0)                                   
 802b0cc:	34 0d 00 00 	mvi r13,0                                      
 802b0d0:	28 41 00 18 	lw r1,(r2+24)                                  
 802b0d4:	5b 81 00 2c 	sw (sp+44),r1                                  
 802b0d8:	28 41 00 1c 	lw r1,(r2+28)                                  
 802b0dc:	5b 81 00 30 	sw (sp+48),r1                                  
 802b0e0:	28 41 00 20 	lw r1,(r2+32)                                  
 802b0e4:	5b 81 00 34 	sw (sp+52),r1                                  
 802b0e8:	28 41 00 24 	lw r1,(r2+36)                                  
 802b0ec:	5b 81 00 38 	sw (sp+56),r1                                  
 802b0f0:	28 42 00 28 	lw r2,(r2+40)                                  
 802b0f4:	5b 82 00 3c 	sw (sp+60),r2                                  
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
 802b0f8:	2b 82 00 2c 	lw r2,(sp+44)                                  
  name = pathname + parentpathlen;                                    
 802b0fc:	b5 8b 58 00 	add r11,r12,r11                                
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
 802b100:	b9 60 08 00 	mv r1,r11                                      
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
 802b104:	5b 82 00 18 	sw (sp+24),r2                                  
 802b108:	2b 82 00 30 	lw r2,(sp+48)                                  
 802b10c:	5b 82 00 1c 	sw (sp+28),r2                                  
 802b110:	2b 82 00 34 	lw r2,(sp+52)                                  
 802b114:	5b 82 00 20 	sw (sp+32),r2                                  
 802b118:	2b 82 00 38 	lw r2,(sp+56)                                  
 802b11c:	5b 82 00 24 	sw (sp+36),r2                                  
 802b120:	2b 82 00 3c 	lw r2,(sp+60)                                  
 802b124:	5b 82 00 28 	sw (sp+40),r2                                  
  name = pathname + parentpathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
 802b128:	f8 00 8e 8a 	calli 804eb50 <strlen>                         
 802b12c:	b8 20 10 00 	mv r2,r1                                       
 802b130:	b9 60 08 00 	mv r1,r11                                      
 802b134:	fb ff 6c 7f 	calli 8006330 <rtems_filesystem_prefix_separators>
 802b138:	b5 61 60 00 	add r12,r11,r1                                 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
 802b13c:	b9 80 08 00 	mv r1,r12                                      
 802b140:	f8 00 8e 84 	calli 804eb50 <strlen>                         
 802b144:	34 03 00 00 	mvi r3,0                                       
 802b148:	37 8b 00 18 	addi r11,sp,24                                 
 802b14c:	b8 20 10 00 	mv r2,r1                                       
 802b150:	b9 60 20 00 	mv r4,r11                                      
 802b154:	b9 80 08 00 	mv r1,r12                                      
 802b158:	b8 60 28 00 	mv r5,r3                                       
 802b15c:	fb ff 6c ab 	calli 8006408 <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
 802b160:	5c 20 00 47 	bne r1,r0,802b27c <rmdir+0x1f8>                
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
                                                                      
  if ( !loc.ops->node_type_h ){                                       
 802b164:	2b 83 00 24 	lw r3,(sp+36)                                  
 802b168:	28 62 00 10 	lw r2,(r3+16)                                  
 802b16c:	44 41 00 6a 	be r2,r1,802b314 <rmdir+0x290>                 <== NEVER TAKEN
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ){
 802b170:	b9 60 08 00 	mv r1,r11                                      
 802b174:	d8 40 00 00 	call r2                                        
 802b178:	34 02 00 01 	mvi r2,1                                       
 802b17c:	5c 22 00 2e 	bne r1,r2,802b234 <rmdir+0x1b0>                
                                                                      
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  if ( !loc.handlers->rmnod_h ){                                      
 802b180:	2b 81 00 20 	lw r1,(sp+32)                                  
 802b184:	28 23 00 34 	lw r3,(r1+52)                                  
 802b188:	44 60 00 51 	be r3,r0,802b2cc <rmdir+0x248>                 <== NEVER TAKEN
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
 802b18c:	37 8e 00 2c 	addi r14,sp,44                                 
 802b190:	b9 60 10 00 	mv r2,r11                                      
 802b194:	b9 c0 08 00 	mv r1,r14                                      
 802b198:	d8 60 00 00 	call r3                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
 802b19c:	2b 82 00 24 	lw r2,(sp+36)                                  
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
 802b1a0:	b8 20 60 00 	mv r12,r1                                      
                                                                      
  rtems_filesystem_freenode( &loc );                                  
 802b1a4:	44 40 00 05 	be r2,r0,802b1b8 <rmdir+0x134>                 <== NEVER TAKEN
 802b1a8:	28 42 00 1c 	lw r2,(r2+28)                                  
 802b1ac:	44 40 00 03 	be r2,r0,802b1b8 <rmdir+0x134>                 <== NEVER TAKEN
 802b1b0:	b9 60 08 00 	mv r1,r11                                      
 802b1b4:	d8 40 00 00 	call r2                                        
  if ( free_parentloc )                                               
 802b1b8:	45 a0 00 07 	be r13,r0,802b1d4 <rmdir+0x150>                
    rtems_filesystem_freenode( &parentloc );                          
 802b1bc:	2b 81 00 38 	lw r1,(sp+56)                                  
 802b1c0:	44 20 00 05 	be r1,r0,802b1d4 <rmdir+0x150>                 <== NEVER TAKEN
 802b1c4:	28 22 00 1c 	lw r2,(r1+28)                                  
 802b1c8:	44 40 00 03 	be r2,r0,802b1d4 <rmdir+0x150>                 <== NEVER TAKEN
 802b1cc:	b9 c0 08 00 	mv r1,r14                                      
 802b1d0:	d8 40 00 00 	call r2                                        
                                                                      
  return result;                                                      
}                                                                     
 802b1d4:	b9 80 08 00 	mv r1,r12                                      
 802b1d8:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802b1dc:	2b 8b 00 14 	lw r11,(sp+20)                                 
 802b1e0:	2b 8c 00 10 	lw r12,(sp+16)                                 
 802b1e4:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 802b1e8:	2b 8e 00 08 	lw r14,(sp+8)                                  
 802b1ec:	37 9c 00 3c 	addi sp,sp,60                                  
 802b1f0:	c3 a0 00 00 	ret                                            
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
 802b1f4:	44 40 ff b3 	be r2,r0,802b0c0 <rmdir+0x3c>                  <== NOT EXECUTED
 802b1f8:	78 01 08 07 	mvhi r1,0x807                                  <== NOT EXECUTED
 802b1fc:	38 21 12 f0 	ori r1,r1,0x12f0                               <== NOT EXECUTED
 802b200:	28 21 00 00 	lw r1,(r1+0)                                   <== NOT EXECUTED
 802b204:	b9 60 68 00 	mv r13,r11                                     <== NOT EXECUTED
 802b208:	28 22 00 04 	lw r2,(r1+4)                                   <== NOT EXECUTED
 802b20c:	5b 82 00 2c 	sw (sp+44),r2                                  <== NOT EXECUTED
 802b210:	28 22 00 08 	lw r2,(r1+8)                                   <== NOT EXECUTED
 802b214:	5b 82 00 30 	sw (sp+48),r2                                  <== NOT EXECUTED
 802b218:	28 22 00 0c 	lw r2,(r1+12)                                  <== NOT EXECUTED
 802b21c:	5b 82 00 34 	sw (sp+52),r2                                  <== NOT EXECUTED
 802b220:	28 22 00 10 	lw r2,(r1+16)                                  <== NOT EXECUTED
 802b224:	5b 82 00 38 	sw (sp+56),r2                                  <== NOT EXECUTED
 802b228:	28 21 00 14 	lw r1,(r1+20)                                  <== NOT EXECUTED
 802b22c:	5b 81 00 3c 	sw (sp+60),r1                                  <== NOT EXECUTED
 802b230:	e3 ff ff b2 	bi 802b0f8 <rmdir+0x74>                        <== NOT EXECUTED
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ){
    rtems_filesystem_freenode( &loc );                                
 802b234:	2b 81 00 24 	lw r1,(sp+36)                                  
 802b238:	44 20 00 05 	be r1,r0,802b24c <rmdir+0x1c8>                 <== NEVER TAKEN
 802b23c:	28 22 00 1c 	lw r2,(r1+28)                                  
 802b240:	44 40 00 03 	be r2,r0,802b24c <rmdir+0x1c8>                 <== NEVER TAKEN
 802b244:	b9 60 08 00 	mv r1,r11                                      
 802b248:	d8 40 00 00 	call r2                                        
    if ( free_parentloc )                                             
 802b24c:	45 a0 00 07 	be r13,r0,802b268 <rmdir+0x1e4>                <== NEVER TAKEN
      rtems_filesystem_freenode( &parentloc );                        
 802b250:	2b 81 00 38 	lw r1,(sp+56)                                  
 802b254:	44 20 00 05 	be r1,r0,802b268 <rmdir+0x1e4>                 <== NEVER TAKEN
 802b258:	28 22 00 1c 	lw r2,(r1+28)                                  
 802b25c:	44 40 00 03 	be r2,r0,802b268 <rmdir+0x1e4>                 <== NEVER TAKEN
 802b260:	37 81 00 2c 	addi r1,sp,44                                  
 802b264:	d8 40 00 00 	call r2                                        
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
 802b268:	f8 00 70 50 	calli 80473a8 <__errno>                        
 802b26c:	34 02 00 14 	mvi r2,20                                      
 802b270:	58 22 00 00 	sw (r1+0),r2                                   
 802b274:	34 0c ff ff 	mvi r12,-1                                     
 802b278:	e3 ff ff d7 	bi 802b1d4 <rmdir+0x150>                       
  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 )                                             
 802b27c:	5d a0 00 03 	bne r13,r0,802b288 <rmdir+0x204>               <== NEVER TAKEN
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
 802b280:	34 0c ff ff 	mvi r12,-1                                     
 802b284:	e3 ff ff d4 	bi 802b1d4 <rmdir+0x150>                       
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
 802b288:	2b 81 00 38 	lw r1,(sp+56)                                  <== NOT EXECUTED
 802b28c:	44 20 ff fd 	be r1,r0,802b280 <rmdir+0x1fc>                 <== NOT EXECUTED
 802b290:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 802b294:	44 40 ff fb 	be r2,r0,802b280 <rmdir+0x1fc>                 <== NOT EXECUTED
 802b298:	37 81 00 2c 	addi r1,sp,44                                  <== NOT EXECUTED
 802b29c:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
 802b2a0:	34 0c ff ff 	mvi r12,-1                                     <== NOT EXECUTED
 802b2a4:	e3 ff ff cc 	bi 802b1d4 <rmdir+0x150>                       <== NOT EXECUTED
  parentpathlen = rtems_filesystem_dirname ( pathname );              
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
  else {                                                              
    result = rtems_filesystem_evaluate_path(pathname, parentpathlen,  
 802b2a8:	b9 80 08 00 	mv r1,r12                                      
 802b2ac:	b9 60 10 00 	mv r2,r11                                      
 802b2b0:	34 03 00 02 	mvi r3,2                                       
 802b2b4:	37 84 00 2c 	addi r4,sp,44                                  
 802b2b8:	34 05 00 00 	mvi r5,0                                       
 802b2bc:	fb ff 6c 96 	calli 8006514 <rtems_filesystem_evaluate_path> 
                                            RTEMS_LIBIO_PERMS_WRITE,  
                                            &parentloc,               
                                            false );                  
    if ( result != 0 )                                                
 802b2c0:	5c 20 ff f0 	bne r1,r0,802b280 <rmdir+0x1fc>                <== NEVER TAKEN
 802b2c4:	34 0d 00 01 	mvi r13,1                                      
 802b2c8:	e3 ff ff 8c 	bi 802b0f8 <rmdir+0x74>                        
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  if ( !loc.handlers->rmnod_h ){                                      
    rtems_filesystem_freenode( &loc );                                
 802b2cc:	2b 81 00 24 	lw r1,(sp+36)                                  <== NOT EXECUTED
 802b2d0:	44 23 00 05 	be r1,r3,802b2e4 <rmdir+0x260>                 <== NOT EXECUTED
 802b2d4:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 802b2d8:	44 40 00 03 	be r2,r0,802b2e4 <rmdir+0x260>                 <== NOT EXECUTED
 802b2dc:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 802b2e0:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
    if ( free_parentloc )                                             
 802b2e4:	45 a0 00 07 	be r13,r0,802b300 <rmdir+0x27c>                <== NOT EXECUTED
      rtems_filesystem_freenode( &parentloc );                        
 802b2e8:	2b 81 00 38 	lw r1,(sp+56)                                  <== NOT EXECUTED
 802b2ec:	44 20 00 05 	be r1,r0,802b300 <rmdir+0x27c>                 <== NOT EXECUTED
 802b2f0:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 802b2f4:	44 40 00 03 	be r2,r0,802b300 <rmdir+0x27c>                 <== NOT EXECUTED
 802b2f8:	37 81 00 2c 	addi r1,sp,44                                  <== NOT EXECUTED
 802b2fc:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 802b300:	f8 00 70 2a 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 802b304:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 802b308:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 802b30c:	34 0c ff ff 	mvi r12,-1                                     <== NOT EXECUTED
 802b310:	e3 ff ff b1 	bi 802b1d4 <rmdir+0x150>                       <== NOT EXECUTED
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
                                                                      
  if ( !loc.ops->node_type_h ){                                       
    rtems_filesystem_freenode( &loc );                                
 802b314:	28 63 00 1c 	lw r3,(r3+28)                                  <== NOT EXECUTED
 802b318:	44 62 ff f3 	be r3,r2,802b2e4 <rmdir+0x260>                 <== NOT EXECUTED
 802b31c:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 802b320:	d8 60 00 00 	call r3                                        <== NOT EXECUTED
 802b324:	e3 ff ff f0 	bi 802b2e4 <rmdir+0x260>                       <== NOT EXECUTED
                                                                      
0800aa38 <rtems_assoc_local_by_remote_bitfield>:                      
                                                                      
uint32_t   rtems_assoc_local_by_remote_bitfield(                      
    const rtems_assoc_t *ap,                                          
    uint32_t       remote_value                                       
)                                                                     
{                                                                     
 800aa38:	37 9c ff e4 	addi sp,sp,-28                                 
 800aa3c:	5b 8b 00 1c 	sw (sp+28),r11                                 
 800aa40:	5b 8c 00 18 	sw (sp+24),r12                                 
 800aa44:	5b 8d 00 14 	sw (sp+20),r13                                 
 800aa48:	5b 8e 00 10 	sw (sp+16),r14                                 
 800aa4c:	5b 8f 00 0c 	sw (sp+12),r15                                 
 800aa50:	5b 90 00 08 	sw (sp+8),r16                                  
 800aa54:	5b 9d 00 04 	sw (sp+4),ra                                   
 800aa58:	34 0c 00 00 	mvi r12,0                                      
 800aa5c:	b8 20 80 00 	mv r16,r1                                      
 800aa60:	b8 40 70 00 	mv r14,r2                                      
 800aa64:	b9 80 78 00 	mv r15,r12                                     
 800aa68:	34 0b 00 01 	mvi r11,1                                      
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
                                                                      
  for (b = 1; b; b <<= 1) {                                           
 800aa6c:	34 0d 00 20 	mvi r13,32                                     
 800aa70:	e0 00 00 03 	bi 800aa7c <rtems_assoc_local_by_remote_bitfield+0x44>
 800aa74:	b5 6b 58 00 	add r11,r11,r11                                
 800aa78:	45 8d 00 0a 	be r12,r13,800aaa0 <rtems_assoc_local_by_remote_bitfield+0x68>
    if (b & remote_value)                                             
 800aa7c:	a1 6e 18 00 	and r3,r11,r14                                 
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
                                                                      
  for (b = 1; b; b <<= 1) {                                           
 800aa80:	35 8c 00 01 	addi r12,r12,1                                 
    if (b & remote_value)                                             
 800aa84:	44 60 ff fc 	be r3,r0,800aa74 <rtems_assoc_local_by_remote_bitfield+0x3c>
      local_value |= rtems_assoc_local_by_remote(ap, b);              
 800aa88:	b9 60 10 00 	mv r2,r11                                      
 800aa8c:	ba 00 08 00 	mv r1,r16                                      
 800aa90:	f8 00 00 0e 	calli 800aac8 <rtems_assoc_local_by_remote>    
 800aa94:	b9 e1 78 00 	or r15,r15,r1                                  
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
                                                                      
  for (b = 1; b; b <<= 1) {                                           
 800aa98:	b5 6b 58 00 	add r11,r11,r11                                
 800aa9c:	5d 8d ff f8 	bne r12,r13,800aa7c <rtems_assoc_local_by_remote_bitfield+0x44><== ALWAYS TAKEN
    if (b & remote_value)                                             
      local_value |= rtems_assoc_local_by_remote(ap, b);              
  }                                                                   
                                                                      
  return local_value;                                                 
}                                                                     
 800aaa0:	b9 e0 08 00 	mv r1,r15                                      
 800aaa4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800aaa8:	2b 8b 00 1c 	lw r11,(sp+28)                                 
 800aaac:	2b 8c 00 18 	lw r12,(sp+24)                                 
 800aab0:	2b 8d 00 14 	lw r13,(sp+20)                                 
 800aab4:	2b 8e 00 10 	lw r14,(sp+16)                                 
 800aab8:	2b 8f 00 0c 	lw r15,(sp+12)                                 
 800aabc:	2b 90 00 08 	lw r16,(sp+8)                                  
 800aac0:	37 9c 00 1c 	addi sp,sp,28                                  
 800aac4:	c3 a0 00 00 	ret                                            
                                                                      
08013d60 <rtems_assoc_name_bad>:                                      
    uint32_t   bad_value                                              
#else                                                                 
    uint32_t   bad_value __attribute((unused))                        
#endif                                                                
)                                                                     
{                                                                     
 8013d60:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
    sprintf(bad_buffer, "< %" PRId32 "[0x%" PRIx32 " ] >", bad_value, bad_value);
#else                                                                 
    static char bad_buffer[40] = "<assocnamebad.c: : BAD NAME>";      
#endif                                                                
    return bad_buffer;                                                
}                                                                     
 8013d64:	38 21 a1 ac 	ori r1,r1,0xa1ac                               <== NOT EXECUTED
 8013d68:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
0801049c <rtems_assoc_name_by_local>:                                 
                                                                      
const char *rtems_assoc_name_by_local(                                
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
 801049c:	37 9c ff f8 	addi sp,sp,-8                                  
 80104a0:	5b 8b 00 08 	sw (sp+8),r11                                  
 80104a4:	5b 9d 00 04 	sw (sp+4),ra                                   
 80104a8:	b8 40 58 00 	mv r11,r2                                      
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
 80104ac:	f8 00 00 0d 	calli 80104e0 <rtems_assoc_ptr_by_local>       
  if (nap)                                                            
 80104b0:	44 20 00 06 	be r1,r0,80104c8 <rtems_assoc_name_by_local+0x2c><== NEVER TAKEN
    return nap->name;                                                 
 80104b4:	28 21 00 00 	lw r1,(r1+0)                                   
                                                                      
  return rtems_assoc_name_bad(local_value);                           
}                                                                     
 80104b8:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80104bc:	2b 8b 00 08 	lw r11,(sp+8)                                  
 80104c0:	37 9c 00 08 	addi sp,sp,8                                   
 80104c4:	c3 a0 00 00 	ret                                            
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
  if (nap)                                                            
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(local_value);                           
 80104c8:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 80104cc:	f8 00 0e 25 	calli 8013d60 <rtems_assoc_name_bad>           <== NOT EXECUTED
}                                                                     
 80104d0:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 80104d4:	2b 8b 00 08 	lw r11,(sp+8)                                  <== NOT EXECUTED
 80104d8:	37 9c 00 08 	addi sp,sp,8                                   <== NOT EXECUTED
 80104dc:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
0800bb28 <rtems_assoc_ptr_by_local>:                                  
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_local(                        
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
 800bb28:	37 9c ff f4 	addi sp,sp,-12                                 
 800bb2c:	5b 8b 00 0c 	sw (sp+12),r11                                 
 800bb30:	5b 8c 00 08 	sw (sp+8),r12                                  
 800bb34:	5b 9d 00 04 	sw (sp+4),ra                                   
 800bb38:	b8 20 58 00 	mv r11,r1                                      
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
 800bb3c:	28 21 00 00 	lw r1,(r1+0)                                   
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_local(                        
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
 800bb40:	b8 40 60 00 	mv r12,r2                                      
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
 800bb44:	44 20 00 1f 	be r1,r0,800bbc0 <rtems_assoc_ptr_by_local+0x98><== NEVER TAKEN
 800bb48:	78 02 08 01 	mvhi r2,0x801                                  
 800bb4c:	38 42 b5 e0 	ori r2,r2,0xb5e0                               
 800bb50:	f8 00 04 ad 	calli 800ce04 <strcmp>                         
 800bb54:	34 02 00 00 	mvi r2,0                                       
 800bb58:	5c 22 00 0b 	bne r1,r2,800bb84 <rtems_assoc_ptr_by_local+0x5c><== ALWAYS TAKEN
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
 800bb5c:	29 62 00 0c 	lw r2,(r11+12)                                 <== NOT EXECUTED
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
 800bb60:	35 63 00 0c 	addi r3,r11,12                                 <== NOT EXECUTED
                                                                      
  for ( ; ap->name; ap++)                                             
 800bb64:	44 41 00 0a 	be r2,r1,800bb8c <rtems_assoc_ptr_by_local+0x64><== NOT EXECUTED
 800bb68:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 800bb6c:	b8 60 58 00 	mv r11,r3                                      <== NOT EXECUTED
    if (ap->local_value == local_value)                               
 800bb70:	29 61 00 04 	lw r1,(r11+4)                                  <== NOT EXECUTED
 800bb74:	44 2c 00 06 	be r1,r12,800bb8c <rtems_assoc_ptr_by_local+0x64><== NOT EXECUTED
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
 800bb78:	35 6b 00 0c 	addi r11,r11,12                                
 800bb7c:	29 61 00 00 	lw r1,(r11+0)                                  
 800bb80:	44 20 00 09 	be r1,r0,800bba4 <rtems_assoc_ptr_by_local+0x7c>
    if (ap->local_value == local_value)                               
 800bb84:	29 61 00 04 	lw r1,(r11+4)                                  
 800bb88:	5c 2c ff fc 	bne r1,r12,800bb78 <rtems_assoc_ptr_by_local+0x50>
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
 800bb8c:	b9 60 08 00 	mv r1,r11                                      
 800bb90:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800bb94:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 800bb98:	2b 8c 00 08 	lw r12,(sp+8)                                  
 800bb9c:	37 9c 00 0c 	addi sp,sp,12                                  
 800bba0:	c3 a0 00 00 	ret                                            
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
 800bba4:	b8 40 58 00 	mv r11,r2                                      
    if (ap->local_value == local_value)                               
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
 800bba8:	b9 60 08 00 	mv r1,r11                                      
 800bbac:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800bbb0:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 800bbb4:	2b 8c 00 08 	lw r12,(sp+8)                                  
 800bbb8:	37 9c 00 0c 	addi sp,sp,12                                  
 800bbbc:	c3 a0 00 00 	ret                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
 800bbc0:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
  for ( ; ap->name; ap++)                                             
    if (ap->local_value == local_value)                               
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
 800bbc4:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 800bbc8:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 800bbcc:	2b 8b 00 0c 	lw r11,(sp+12)                                 <== NOT EXECUTED
 800bbd0:	2b 8c 00 08 	lw r12,(sp+8)                                  <== NOT EXECUTED
 800bbd4:	37 9c 00 0c 	addi sp,sp,12                                  <== NOT EXECUTED
 800bbd8:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
0800aaf0 <rtems_assoc_ptr_by_remote>:                                 
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_remote(                       
  const rtems_assoc_t *ap,                                            
  uint32_t       remote_value                                         
)                                                                     
{                                                                     
 800aaf0:	37 9c ff f4 	addi sp,sp,-12                                 
 800aaf4:	5b 8b 00 0c 	sw (sp+12),r11                                 
 800aaf8:	5b 8c 00 08 	sw (sp+8),r12                                  
 800aafc:	5b 9d 00 04 	sw (sp+4),ra                                   
 800ab00:	b8 20 58 00 	mv r11,r1                                      
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
 800ab04:	28 21 00 00 	lw r1,(r1+0)                                   
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_remote(                       
  const rtems_assoc_t *ap,                                            
  uint32_t       remote_value                                         
)                                                                     
{                                                                     
 800ab08:	b8 40 60 00 	mv r12,r2                                      
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
 800ab0c:	44 20 00 1f 	be r1,r0,800ab88 <rtems_assoc_ptr_by_remote+0x98><== NEVER TAKEN
 800ab10:	78 02 08 01 	mvhi r2,0x801                                  
 800ab14:	38 42 b5 e0 	ori r2,r2,0xb5e0                               
 800ab18:	f8 00 08 bb 	calli 800ce04 <strcmp>                         
 800ab1c:	34 02 00 00 	mvi r2,0                                       
 800ab20:	5c 22 00 0b 	bne r1,r2,800ab4c <rtems_assoc_ptr_by_remote+0x5c><== ALWAYS TAKEN
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
 800ab24:	29 62 00 0c 	lw r2,(r11+12)                                 <== NOT EXECUTED
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
 800ab28:	35 63 00 0c 	addi r3,r11,12                                 <== NOT EXECUTED
                                                                      
  for ( ; ap->name; ap++)                                             
 800ab2c:	44 41 00 0a 	be r2,r1,800ab54 <rtems_assoc_ptr_by_remote+0x64><== NOT EXECUTED
 800ab30:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 800ab34:	b8 60 58 00 	mv r11,r3                                      <== NOT EXECUTED
    if (ap->remote_value == remote_value)                             
 800ab38:	29 61 00 08 	lw r1,(r11+8)                                  <== NOT EXECUTED
 800ab3c:	44 2c 00 06 	be r1,r12,800ab54 <rtems_assoc_ptr_by_remote+0x64><== NOT EXECUTED
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
 800ab40:	35 6b 00 0c 	addi r11,r11,12                                
 800ab44:	29 61 00 00 	lw r1,(r11+0)                                  
 800ab48:	44 20 00 09 	be r1,r0,800ab6c <rtems_assoc_ptr_by_remote+0x7c>
    if (ap->remote_value == remote_value)                             
 800ab4c:	29 61 00 08 	lw r1,(r11+8)                                  
 800ab50:	5c 2c ff fc 	bne r1,r12,800ab40 <rtems_assoc_ptr_by_remote+0x50>
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
 800ab54:	b9 60 08 00 	mv r1,r11                                      
 800ab58:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800ab5c:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 800ab60:	2b 8c 00 08 	lw r12,(sp+8)                                  
 800ab64:	37 9c 00 0c 	addi sp,sp,12                                  
 800ab68:	c3 a0 00 00 	ret                                            
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
 800ab6c:	b8 40 58 00 	mv r11,r2                                      
    if (ap->remote_value == remote_value)                             
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
 800ab70:	b9 60 08 00 	mv r1,r11                                      
 800ab74:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800ab78:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 800ab7c:	2b 8c 00 08 	lw r12,(sp+8)                                  
 800ab80:	37 9c 00 0c 	addi sp,sp,12                                  
 800ab84:	c3 a0 00 00 	ret                                            
  uint32_t       remote_value                                         
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
 800ab88:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
  for ( ; ap->name; ap++)                                             
    if (ap->remote_value == remote_value)                             
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
 800ab8c:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 800ab90:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 800ab94:	2b 8b 00 0c 	lw r11,(sp+12)                                 <== NOT EXECUTED
 800ab98:	2b 8c 00 08 	lw r12,(sp+8)                                  <== NOT EXECUTED
 800ab9c:	37 9c 00 0c 	addi sp,sp,12                                  <== NOT EXECUTED
 800aba0:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
0800b7f0 <rtems_assoc_remote_by_local>:                               
                                                                      
uint32_t rtems_assoc_remote_by_local(                                 
  const rtems_assoc_t *ap,                                            
  uint32_t       local_value                                          
)                                                                     
{                                                                     
 800b7f0:	37 9c ff fc 	addi sp,sp,-4                                  <== NOT EXECUTED
 800b7f4:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
 800b7f8:	f8 00 00 cc 	calli 800bb28 <rtems_assoc_ptr_by_local>       <== NOT EXECUTED
  if (nap)                                                            
 800b7fc:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
 800b800:	44 20 00 02 	be r1,r0,800b808 <rtems_assoc_remote_by_local+0x18><== NOT EXECUTED
    return nap->remote_value;                                         
 800b804:	28 22 00 08 	lw r2,(r1+8)                                   <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
 800b808:	b8 40 08 00 	mv r1,r2                                       <== NOT EXECUTED
 800b80c:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 800b810:	37 9c 00 04 	addi sp,sp,4                                   <== NOT EXECUTED
 800b814:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08000f30 <rtems_bsp_cmdline_get_param>:                               
const char *rtems_bsp_cmdline_get_param(                              
  const char *name,                                                   
  char       *value,                                                  
  size_t      length                                                  
)                                                                     
{                                                                     
 8000f30:	37 9c ff f0 	addi sp,sp,-16                                 
 8000f34:	5b 8b 00 08 	sw (sp+8),r11                                  
 8000f38:	5b 9d 00 04 	sw (sp+4),ra                                   
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
 8000f3c:	34 0b 00 00 	mvi r11,0                                      
 8000f40:	5c 2b 00 07 	bne r1,r11,8000f5c <rtems_bsp_cmdline_get_param+0x2c>
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
 8000f44:	34 02 00 00 	mvi r2,0                                       
    return NULL;                                                      
                                                                      
  copy_string( p, value, length );                                    
                                                                      
  return value;                                                       
}                                                                     
 8000f48:	b8 40 08 00 	mv r1,r2                                       
 8000f4c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8000f50:	2b 8b 00 08 	lw r11,(sp+8)                                  
 8000f54:	37 9c 00 10 	addi sp,sp,16                                  
 8000f58:	c3 a0 00 00 	ret                                            
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
    return NULL;                                                      
                                                                      
  if ( !value )                                                       
 8000f5c:	44 4b ff fb 	be r2,r11,8000f48 <rtems_bsp_cmdline_get_param+0x18>
    return NULL;                                                      
                                                                      
  if ( !length )                                                      
 8000f60:	44 6b ff f9 	be r3,r11,8000f44 <rtems_bsp_cmdline_get_param+0x14>
    return NULL;                                                      
                                                                      
  value[0] = '\0';                                                    
 8000f64:	30 4b 00 00 	sb (r2+0),r11                                  
                                                                      
  p = rtems_bsp_cmdline_get_param_raw( name );                        
 8000f68:	5b 82 00 10 	sw (sp+16),r2                                  
 8000f6c:	5b 83 00 0c 	sw (sp+12),r3                                  
 8000f70:	f8 00 00 1e 	calli 8000fe8 <rtems_bsp_cmdline_get_param_raw>
                                                                      
  if ( !p )                                                           
 8000f74:	2b 82 00 10 	lw r2,(sp+16)                                  
 8000f78:	2b 83 00 0c 	lw r3,(sp+12)                                  
 8000f7c:	44 2b ff f2 	be r1,r11,8000f44 <rtems_bsp_cmdline_get_param+0x14>
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
 8000f80:	40 25 00 00 	lbu r5,(r1+0)                                  
 8000f84:	44 ab ff f1 	be r5,r11,8000f48 <rtems_bsp_cmdline_get_param+0x18><== NEVER TAKEN
 8000f88:	34 63 ff ff 	addi r3,r3,-1                                  
 8000f8c:	44 6b ff ef 	be r3,r11,8000f48 <rtems_bsp_cmdline_get_param+0x18><== NEVER TAKEN
 8000f90:	b9 60 20 00 	mv r4,r11                                      
 8000f94:	b9 60 30 00 	mv r6,r11                                      
    if ( *p == '\"' ) {                                               
 8000f98:	34 08 00 22 	mvi r8,34                                      
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
 8000f9c:	34 09 00 20 	mvi r9,32                                      
 8000fa0:	20 c7 00 01 	andi r7,r6,0x1                                 
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
    if ( *p == '\"' ) {                                               
 8000fa4:	44 a8 00 0f 	be r5,r8,8000fe0 <rtems_bsp_cmdline_get_param+0xb0>
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
 8000fa8:	5c e0 00 02 	bne r7,r0,8000fb0 <rtems_bsp_cmdline_get_param+0x80>
 8000fac:	44 a9 ff e7 	be r5,r9,8000f48 <rtems_bsp_cmdline_get_param+0x18>
      break;                                                          
    value[i++] = *p++;                                                
 8000fb0:	34 84 00 01 	addi r4,r4,1                                   
 8000fb4:	b4 4b 58 00 	add r11,r2,r11                                 
 8000fb8:	31 65 00 00 	sb (r11+0),r5                                  
    value[i] = '\0';                                                  
 8000fbc:	34 07 00 00 	mvi r7,0                                       
 8000fc0:	b4 44 28 00 	add r5,r2,r4                                   
 8000fc4:	30 a7 00 00 	sb (r5+0),r7                                   
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
 8000fc8:	b4 24 28 00 	add r5,r1,r4                                   
 8000fcc:	40 a5 00 00 	lbu r5,(r5+0)                                  
    if ( *p == '\"' ) {                                               
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
      break;                                                          
    value[i++] = *p++;                                                
 8000fd0:	b8 80 58 00 	mv r11,r4                                      
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
 8000fd4:	44 a7 ff dd 	be r5,r7,8000f48 <rtems_bsp_cmdline_get_param+0x18>
 8000fd8:	54 64 ff f2 	bgu r3,r4,8000fa0 <rtems_bsp_cmdline_get_param+0x70><== ALWAYS TAKEN
 8000fdc:	e3 ff ff db 	bi 8000f48 <rtems_bsp_cmdline_get_param+0x18>  <== NOT EXECUTED
    if ( *p == '\"' ) {                                               
      quotes++;                                                       
 8000fe0:	34 c6 00 01 	addi r6,r6,1                                   
 8000fe4:	e3 ff ff f3 	bi 8000fb0 <rtems_bsp_cmdline_get_param+0x80>  
                                                                      
08000fe8 <rtems_bsp_cmdline_get_param_raw>:                           
extern const char *bsp_boot_cmdline;                                  
                                                                      
const char *rtems_bsp_cmdline_get_param_raw(                          
  const char *name                                                    
)                                                                     
{                                                                     
 8000fe8:	37 9c ff fc 	addi sp,sp,-4                                  
 8000fec:	5b 9d 00 04 	sw (sp+4),ra                                   
 8000ff0:	b8 20 10 00 	mv r2,r1                                       
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
 8000ff4:	5c 20 00 05 	bne r1,r0,8001008 <rtems_bsp_cmdline_get_param_raw+0x20><== NEVER TAKEN
  if ( !bsp_boot_cmdline )                                            
    return NULL;                                                      
                                                                      
  p = strstr(bsp_boot_cmdline, name);                                 
  /* printf( "raw: %p (%s)\n", p, p ); */                             
  return p;                                                           
 8000ff8:	34 01 00 00 	mvi r1,0                                       
}                                                                     
 8000ffc:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8001000:	37 9c 00 04 	addi sp,sp,4                                   
 8001004:	c3 a0 00 00 	ret                                            
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
    return NULL;                                                      
                                                                      
  if ( !bsp_boot_cmdline )                                            
 8001008:	78 01 08 01 	mvhi r1,0x801                                  
 800100c:	38 21 d6 84 	ori r1,r1,0xd684                               
 8001010:	28 21 00 00 	lw r1,(r1+0)                                   
 8001014:	44 20 ff f9 	be r1,r0,8000ff8 <rtems_bsp_cmdline_get_param_raw+0x10><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  p = strstr(bsp_boot_cmdline, name);                                 
 8001018:	f8 00 31 26 	calli 800d4b0 <strstr>                         
  /* printf( "raw: %p (%s)\n", p, p ); */                             
  return p;                                                           
}                                                                     
 800101c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8001020:	37 9c 00 04 	addi sp,sp,4                                   
 8001024:	c3 a0 00 00 	ret                                            
                                                                      
08001028 <rtems_bsp_cmdline_get_param_rhs>:                           
const char *rtems_bsp_cmdline_get_param_rhs(                          
  const char *name,                                                   
  char       *value,                                                  
  size_t      length                                                  
)                                                                     
{                                                                     
 8001028:	37 9c ff f0 	addi sp,sp,-16                                 
 800102c:	5b 8b 00 10 	sw (sp+16),r11                                 
 8001030:	5b 8c 00 0c 	sw (sp+12),r12                                 
 8001034:	5b 8d 00 08 	sw (sp+8),r13                                  
 8001038:	5b 9d 00 04 	sw (sp+4),ra                                   
 800103c:	b8 20 68 00 	mv r13,r1                                      
 8001040:	b8 40 58 00 	mv r11,r2                                      
  const char *p;                                                      
  const char *rhs;                                                    
  char       *d;                                                      
                                                                      
  p = rtems_bsp_cmdline_get_param( name, value, length );             
 8001044:	fb ff ff bb 	calli 8000f30 <rtems_bsp_cmdline_get_param>    
 8001048:	b8 20 60 00 	mv r12,r1                                      
  if ( !p )                                                           
 800104c:	5c 20 00 09 	bne r1,r0,8001070 <rtems_bsp_cmdline_get_param_rhs+0x48>
    *d++ = *rhs++;                                                    
  if ( *(d-1) == '\"' )                                               
    d--;                                                              
  *d = '\0';                                                          
                                                                      
  return value;                                                       
 8001050:	34 0b 00 00 	mvi r11,0                                      
}                                                                     
 8001054:	b9 60 08 00 	mv r1,r11                                      
 8001058:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800105c:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8001060:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8001064:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8001068:	37 9c 00 10 	addi sp,sp,16                                  
 800106c:	c3 a0 00 00 	ret                                            
                                                                      
  p = rtems_bsp_cmdline_get_param( name, value, length );             
  if ( !p )                                                           
    return NULL;                                                      
                                                                      
  rhs = &p[strlen(name)];                                             
 8001070:	b9 a0 08 00 	mv r1,r13                                      
 8001074:	f8 00 2f 70 	calli 800ce34 <strlen>                         
 8001078:	b5 81 08 00 	add r1,r12,r1                                  
  if ( *rhs != '=' )                                                  
 800107c:	40 23 00 00 	lbu r3,(r1+0)                                  
 8001080:	34 02 00 3d 	mvi r2,61                                      
 8001084:	5c 62 ff f3 	bne r3,r2,8001050 <rtems_bsp_cmdline_get_param_rhs+0x28><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  rhs++;                                                              
  if ( *rhs == '\"' )                                                 
 8001088:	40 24 00 01 	lbu r4,(r1+1)                                  
 800108c:	34 02 00 22 	mvi r2,34                                      
                                                                      
  rhs = &p[strlen(name)];                                             
  if ( *rhs != '=' )                                                  
    return NULL;                                                      
                                                                      
  rhs++;                                                              
 8001090:	34 25 00 01 	addi r5,r1,1                                   
  if ( *rhs == '\"' )                                                 
 8001094:	44 82 00 16 	be r4,r2,80010ec <rtems_bsp_cmdline_get_param_rhs+0xc4>
    rhs++;                                                            
  for ( d=value ; *rhs ; )                                            
 8001098:	b9 60 18 00 	mv r3,r11                                      
 800109c:	44 80 00 06 	be r4,r0,80010b4 <rtems_bsp_cmdline_get_param_rhs+0x8c>
    *d++ = *rhs++;                                                    
 80010a0:	30 64 00 00 	sb (r3+0),r4                                   
 80010a4:	34 a5 00 01 	addi r5,r5,1                                   
    return NULL;                                                      
                                                                      
  rhs++;                                                              
  if ( *rhs == '\"' )                                                 
    rhs++;                                                            
  for ( d=value ; *rhs ; )                                            
 80010a8:	40 a4 00 00 	lbu r4,(r5+0)                                  
    *d++ = *rhs++;                                                    
 80010ac:	34 63 00 01 	addi r3,r3,1                                   
    return NULL;                                                      
                                                                      
  rhs++;                                                              
  if ( *rhs == '\"' )                                                 
    rhs++;                                                            
  for ( d=value ; *rhs ; )                                            
 80010b0:	5c 80 ff fc 	bne r4,r0,80010a0 <rtems_bsp_cmdline_get_param_rhs+0x78>
    *d++ = *rhs++;                                                    
  if ( *(d-1) == '\"' )                                               
 80010b4:	40 64 ff ff 	lbu r4,(r3+-1)                                 
 80010b8:	34 02 00 22 	mvi r2,34                                      
 80010bc:	34 61 ff ff 	addi r1,r3,-1                                  
 80010c0:	44 82 00 02 	be r4,r2,80010c8 <rtems_bsp_cmdline_get_param_rhs+0xa0>
 80010c4:	b8 60 08 00 	mv r1,r3                                       
    d--;                                                              
  *d = '\0';                                                          
 80010c8:	34 02 00 00 	mvi r2,0                                       
 80010cc:	30 22 00 00 	sb (r1+0),r2                                   
                                                                      
  return value;                                                       
}                                                                     
 80010d0:	b9 60 08 00 	mv r1,r11                                      
 80010d4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80010d8:	2b 8b 00 10 	lw r11,(sp+16)                                 
 80010dc:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 80010e0:	2b 8d 00 08 	lw r13,(sp+8)                                  
 80010e4:	37 9c 00 10 	addi sp,sp,16                                  
 80010e8:	c3 a0 00 00 	ret                                            
  if ( *rhs != '=' )                                                  
    return NULL;                                                      
                                                                      
  rhs++;                                                              
  if ( *rhs == '\"' )                                                 
    rhs++;                                                            
 80010ec:	40 24 00 02 	lbu r4,(r1+2)                                  
 80010f0:	34 25 00 02 	addi r5,r1,2                                   
 80010f4:	e3 ff ff e9 	bi 8001098 <rtems_bsp_cmdline_get_param_rhs+0x70>
                                                                      
08010400 <rtems_clock_set_nanoseconds_extension>:                     
 *    error code        - if unsuccessful                             
 */                                                                   
rtems_status_code rtems_clock_set_nanoseconds_extension(              
  rtems_nanoseconds_extension_routine routine                         
)                                                                     
{                                                                     
 8010400:	b8 20 18 00 	mv r3,r1                                       
  if ( !routine )                                                     
 8010404:	34 01 00 09 	mvi r1,9                                       
 8010408:	44 60 00 05 	be r3,r0,801041c <rtems_clock_set_nanoseconds_extension+0x1c><== ALWAYS TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _Watchdog_Nanoseconds_since_tick_handler = routine;                 
 801040c:	78 02 08 03 	mvhi r2,0x803                                  <== NOT EXECUTED
 8010410:	38 42 ed cc 	ori r2,r2,0xedcc                               <== NOT EXECUTED
 8010414:	58 43 00 00 	sw (r2+0),r3                                   <== NOT EXECUTED
 8010418:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 801041c:	c3 a0 00 00 	ret                                            
                                                                      
08001a4c <rtems_cpu_usage_report_with_plugin>:                        
                                                                      
void rtems_cpu_usage_report_with_plugin(                              
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
 8001a4c:	37 9c ff 84 	addi sp,sp,-124                                
 8001a50:	5b 8b 00 44 	sw (sp+68),r11                                 
 8001a54:	5b 8c 00 40 	sw (sp+64),r12                                 
 8001a58:	5b 8d 00 3c 	sw (sp+60),r13                                 
 8001a5c:	5b 8e 00 38 	sw (sp+56),r14                                 
 8001a60:	5b 8f 00 34 	sw (sp+52),r15                                 
 8001a64:	5b 90 00 30 	sw (sp+48),r16                                 
 8001a68:	5b 91 00 2c 	sw (sp+44),r17                                 
 8001a6c:	5b 92 00 28 	sw (sp+40),r18                                 
 8001a70:	5b 93 00 24 	sw (sp+36),r19                                 
 8001a74:	5b 94 00 20 	sw (sp+32),r20                                 
 8001a78:	5b 95 00 1c 	sw (sp+28),r21                                 
 8001a7c:	5b 96 00 18 	sw (sp+24),r22                                 
 8001a80:	5b 97 00 14 	sw (sp+20),r23                                 
 8001a84:	5b 98 00 10 	sw (sp+16),r24                                 
 8001a88:	5b 99 00 0c 	sw (sp+12),r25                                 
 8001a8c:	5b 9b 00 08 	sw (sp+8),fp                                   
 8001a90:	5b 9d 00 04 	sw (sp+4),ra                                   
 8001a94:	b8 40 78 00 	mv r15,r2                                      
 8001a98:	b8 20 80 00 	mv r16,r1                                      
    Timestamp_Control  uptime, total, ran;                            
  #else                                                               
    uint32_t           total_units = 0;                               
  #endif                                                              
                                                                      
  if ( !print )                                                       
 8001a9c:	44 40 00 57 	be r2,r0,8001bf8 <rtems_cpu_usage_report_with_plugin+0x1ac><== 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__                          
    _TOD_Get_uptime( &uptime );                                       
 8001aa0:	37 99 00 70 	addi r25,sp,112                                
 8001aa4:	bb 20 08 00 	mv r1,r25                                      
 8001aa8:	f8 00 0d 1e 	calli 8004f20 <_TOD_Get_uptime>                
    _Timestamp_Subtract( &CPU_usage_Uptime_at_last_reset, &uptime, &total );
 8001aac:	37 95 00 68 	addi r21,sp,104                                
 8001ab0:	78 01 08 02 	mvhi r1,0x802                                  
 8001ab4:	38 21 b8 50 	ori r1,r1,0xb850                               
 8001ab8:	bb 20 10 00 	mv r2,r25                                      
 8001abc:	ba a0 18 00 	mv r3,r21                                      
 8001ac0:	f8 00 18 1d 	calli 8007b34 <_Timespec_Subtract>             
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
 8001ac4:	78 02 08 02 	mvhi r2,0x802                                  
 8001ac8:	ba 00 08 00 	mv r1,r16                                      
 8001acc:	78 13 08 02 	mvhi r19,0x802                                 
 8001ad0:	38 42 02 88 	ori r2,r2,0x288                                
          /*                                                          
           * 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 ) {
 8001ad4:	78 11 08 02 	mvhi r17,0x802                                 
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
 8001ad8:	d9 e0 00 00 	call r15                                       
 8001adc:	3a 73 b5 b8 	ori r19,r19,0xb5b8                             
          /*                                                          
           * 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 ) {
 8001ae0:	3a 31 b6 d8 	ori r17,r17,0xb6d8                             
        the_thread = (Thread_Control *)information->local_table[ i ]; 
                                                                      
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
 8001ae4:	37 92 00 48 	addi r18,sp,72                                 
                                                                      
        (*print)(                                                     
 8001ae8:	78 18 08 02 	mvhi r24,0x802                                 
 8001aec:	37 94 00 60 	addi r20,sp,96                                 
            _Timestamp_Subtract(                                      
              &_Thread_Time_of_last_context_switch, &uptime, &used    
            );                                                        
            _Timestamp_Add_to( &ran, &used );                         
          };                                                          
          _Timestamp_Divide( &ran, &total, &ival, &fval );            
 8001af0:	37 97 00 78 	addi r23,sp,120                                
                                                                      
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          (*print)( context,                                          
 8001af4:	78 16 08 02 	mvhi r22,0x802                                 
           * 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(                                      
 8001af8:	37 9b 00 58 	addi fp,sp,88                                  
  );                                                                  
                                                                      
  for ( api_index = 1 ;                                               
        api_index <= OBJECTS_APIS_LAST ;                              
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
 8001afc:	2a 64 00 00 	lw r4,(r19+0)                                  
 8001b00:	44 80 00 31 	be r4,r0,8001bc4 <rtems_cpu_usage_report_with_plugin+0x178>
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
 8001b04:	28 8e 00 04 	lw r14,(r4+4)                                  
    if ( information ) {                                              
 8001b08:	45 c0 00 2f 	be r14,r0,8001bc4 <rtems_cpu_usage_report_with_plugin+0x178><== NEVER TAKEN
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
 8001b0c:	2d c5 00 10 	lhu r5,(r14+16)                                
 8001b10:	44 a0 00 2d 	be r5,r0,8001bc4 <rtems_cpu_usage_report_with_plugin+0x178><== NEVER TAKEN
 8001b14:	34 0d 00 04 	mvi r13,4                                      
 8001b18:	34 0c 00 01 	mvi r12,1                                      
        the_thread = (Thread_Control *)information->local_table[ i ]; 
 8001b1c:	29 c6 00 1c 	lw r6,(r14+28)                                 
                                                                      
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
 8001b20:	34 02 00 0d 	mvi r2,13                                      
 8001b24:	ba 40 18 00 	mv r3,r18                                      
    if ( !_Objects_Information_table[ api_index ] )                   
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
        the_thread = (Thread_Control *)information->local_table[ i ]; 
 8001b28:	b4 cd 30 00 	add r6,r6,r13                                  
 8001b2c:	28 cb 00 00 	lw r11,(r6+0)                                  
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
 8001b30:	35 8c 00 01 	addi r12,r12,1                                 
 8001b34:	35 ad 00 04 	addi r13,r13,4                                 
        the_thread = (Thread_Control *)information->local_table[ i ]; 
                                                                      
        if ( !the_thread )                                            
 8001b38:	45 60 00 22 	be r11,r0,8001bc0 <rtems_cpu_usage_report_with_plugin+0x174><== NEVER TAKEN
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
 8001b3c:	29 61 00 08 	lw r1,(r11+8)                                  
 8001b40:	f8 00 08 0a 	calli 8003b68 <rtems_object_get_name>          
                                                                      
        (*print)(                                                     
 8001b44:	29 63 00 08 	lw r3,(r11+8)                                  
 8001b48:	bb 00 10 00 	mv r2,r24                                      
 8001b4c:	ba 40 20 00 	mv r4,r18                                      
 8001b50:	ba 00 08 00 	mv r1,r16                                      
 8001b54:	38 42 03 fc 	ori r2,r2,0x3fc                                
 8001b58:	d9 e0 00 00 	call r15                                       
        #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;                            
 8001b5c:	29 61 00 84 	lw r1,(r11+132)                                
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
 8001b60:	2a 24 00 00 	lw r4,(r17+0)                                  
        #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;                            
 8001b64:	5b 81 00 60 	sw (sp+96),r1                                  
 8001b68:	29 61 00 88 	lw r1,(r11+136)                                
 8001b6c:	5b 81 00 64 	sw (sp+100),r1                                 
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
 8001b70:	28 86 00 08 	lw r6,(r4+8)                                   
 8001b74:	29 65 00 08 	lw r5,(r11+8)                                  
 8001b78:	44 c5 00 33 	be r6,r5,8001c44 <rtems_cpu_usage_report_with_plugin+0x1f8>
            _Timestamp_Subtract(                                      
              &_Thread_Time_of_last_context_switch, &uptime, &used    
            );                                                        
            _Timestamp_Add_to( &ran, &used );                         
          };                                                          
          _Timestamp_Divide( &ran, &total, &ival, &fval );            
 8001b7c:	37 83 00 7c 	addi r3,sp,124                                 
 8001b80:	ba e0 20 00 	mv r4,r23                                      
 8001b84:	ba 80 08 00 	mv r1,r20                                      
 8001b88:	ba a0 10 00 	mv r2,r21                                      
 8001b8c:	f8 00 17 94 	calli 80079dc <_Timespec_Divide>               
                                                                      
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          (*print)( context,                                          
 8001b90:	2b 81 00 64 	lw r1,(sp+100)                                 
 8001b94:	34 02 03 e8 	mvi r2,1000                                    
 8001b98:	f8 00 74 c3 	calli 801eea4 <__udivsi3>                      
 8001b9c:	2b 85 00 7c 	lw r5,(sp+124)                                 
 8001ba0:	2b 86 00 78 	lw r6,(sp+120)                                 
 8001ba4:	2b 83 00 60 	lw r3,(sp+96)                                  
 8001ba8:	ba c0 10 00 	mv r2,r22                                      
 8001bac:	b8 20 20 00 	mv r4,r1                                       
 8001bb0:	38 42 04 10 	ori r2,r2,0x410                                
 8001bb4:	ba 00 08 00 	mv r1,r16                                      
 8001bb8:	d9 e0 00 00 	call r15                                       
 8001bbc:	2d c5 00 10 	lhu r5,(r14+16)                                
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
 8001bc0:	50 ac ff d7 	bgeu r5,r12,8001b1c <rtems_cpu_usage_report_with_plugin+0xd0>
       " ID         | NAME                                   | TICKS         | PERCENT\n"
     #endif                                                           
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ;                                               
 8001bc4:	78 01 08 02 	mvhi r1,0x802                                  
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
 8001bc8:	36 73 00 04 	addi r19,r19,4                                 
       " ID         | NAME                                   | TICKS         | PERCENT\n"
     #endif                                                           
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ;                                               
 8001bcc:	38 21 b5 c8 	ori r1,r1,0xb5c8                               
 8001bd0:	5e 61 ff cb 	bne r19,r1,8001afc <rtems_cpu_usage_report_with_plugin+0xb0>
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)(                                                         
 8001bd4:	2b 81 00 6c 	lw r1,(sp+108)                                 
 8001bd8:	34 02 03 e8 	mvi r2,1000                                    
 8001bdc:	f8 00 74 b2 	calli 801eea4 <__udivsi3>                      
 8001be0:	2b 83 00 68 	lw r3,(sp+104)                                 
 8001be4:	78 02 08 02 	mvhi r2,0x802                                  
 8001be8:	b8 20 20 00 	mv r4,r1                                       
 8001bec:	38 42 04 28 	ori r2,r2,0x428                                
 8001bf0:	ba 00 08 00 	mv r1,r16                                      
 8001bf4:	d9 e0 00 00 	call r15                                       
       "-------------------------------------------------------------------------------\n",
       _Watchdog_Ticks_since_boot - CPU_usage_Ticks_at_last_reset,    
       total_units                                                    
    );                                                                
  #endif                                                              
}                                                                     
 8001bf8:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8001bfc:	2b 8b 00 44 	lw r11,(sp+68)                                 
 8001c00:	2b 8c 00 40 	lw r12,(sp+64)                                 
 8001c04:	2b 8d 00 3c 	lw r13,(sp+60)                                 
 8001c08:	2b 8e 00 38 	lw r14,(sp+56)                                 
 8001c0c:	2b 8f 00 34 	lw r15,(sp+52)                                 
 8001c10:	2b 90 00 30 	lw r16,(sp+48)                                 
 8001c14:	2b 91 00 2c 	lw r17,(sp+44)                                 
 8001c18:	2b 92 00 28 	lw r18,(sp+40)                                 
 8001c1c:	2b 93 00 24 	lw r19,(sp+36)                                 
 8001c20:	2b 94 00 20 	lw r20,(sp+32)                                 
 8001c24:	2b 95 00 1c 	lw r21,(sp+28)                                 
 8001c28:	2b 96 00 18 	lw r22,(sp+24)                                 
 8001c2c:	2b 97 00 14 	lw r23,(sp+20)                                 
 8001c30:	2b 98 00 10 	lw r24,(sp+16)                                 
 8001c34:	2b 99 00 0c 	lw r25,(sp+12)                                 
 8001c38:	2b 9b 00 08 	lw fp,(sp+8)                                   
 8001c3c:	37 9c 00 7c 	addi sp,sp,124                                 
 8001c40:	c3 a0 00 00 	ret                                            
           * 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(                                      
 8001c44:	78 01 08 02 	mvhi r1,0x802                                  
 8001c48:	bb 20 10 00 	mv r2,r25                                      
 8001c4c:	bb 60 18 00 	mv r3,fp                                       
 8001c50:	38 21 b6 e0 	ori r1,r1,0xb6e0                               
 8001c54:	f8 00 17 b8 	calli 8007b34 <_Timespec_Subtract>             
              &_Thread_Time_of_last_context_switch, &uptime, &used    
            );                                                        
            _Timestamp_Add_to( &ran, &used );                         
 8001c58:	ba 80 08 00 	mv r1,r20                                      
 8001c5c:	bb 60 10 00 	mv r2,fp                                       
 8001c60:	f8 00 17 4a 	calli 8007988 <_Timespec_Add_to>               
 8001c64:	e3 ff ff c6 	bi 8001b7c <rtems_cpu_usage_report_with_plugin+0x130>
                                                                      
0800b7b0 <rtems_deviceio_errno>:                                      
    { 0, 0, 0 },                                                      
};                                                                    
                                                                      
int                                                                   
rtems_deviceio_errno(rtems_status_code code)                          
{                                                                     
 800b7b0:	37 9c ff f8 	addi sp,sp,-8                                  <== NOT EXECUTED
 800b7b4:	5b 8b 00 08 	sw (sp+8),r11                                  <== NOT EXECUTED
 800b7b8:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 800b7bc:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
    int rc;                                                           
                                                                      
    if ((rc = rtems_assoc_remote_by_local(errno_assoc, (uint32_t  ) code)))
 800b7c0:	78 01 08 01 	mvhi r1,0x801                                  <== NOT EXECUTED
 800b7c4:	38 21 b6 78 	ori r1,r1,0xb678                               <== NOT EXECUTED
 800b7c8:	f8 00 00 0a 	calli 800b7f0 <rtems_assoc_remote_by_local>    <== NOT EXECUTED
 800b7cc:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
 800b7d0:	44 20 00 03 	be r1,r0,800b7dc <rtems_deviceio_errno+0x2c>   <== NOT EXECUTED
    {                                                                 
        errno = rc;                                                   
 800b7d4:	f8 00 01 0c 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 800b7d8:	58 2b 00 00 	sw (r1+0),r11                                  <== NOT EXECUTED
        return -1;                                                    
    }                                                                 
    return -1;                                                        
}                                                                     
 800b7dc:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 800b7e0:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 800b7e4:	2b 8b 00 08 	lw r11,(sp+8)                                  <== NOT EXECUTED
 800b7e8:	37 9c 00 08 	addi sp,sp,8                                   <== NOT EXECUTED
 800b7ec:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08007204 <rtems_error>:                                               
int rtems_error(                                                      
    rtems_error_code_t error_flag,                                    
    const char *printf_format,                                        
    ...                                                               
  )                                                                   
{                                                                     
 8007204:	37 9c ff e0 	addi sp,sp,-32                                 <== NOT EXECUTED
 8007208:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 800720c:	5b 83 00 0c 	sw (sp+12),r3                                  <== NOT EXECUTED
    va_list arglist;                                                  
    int chars_written;                                                
                                                                      
    va_start(arglist, printf_format);                                 
    chars_written = rtems_verror(error_flag, printf_format, arglist); 
 8007210:	37 83 00 0c 	addi r3,sp,12                                  <== NOT EXECUTED
int rtems_error(                                                      
    rtems_error_code_t error_flag,                                    
    const char *printf_format,                                        
    ...                                                               
  )                                                                   
{                                                                     
 8007214:	5b 84 00 10 	sw (sp+16),r4                                  <== NOT EXECUTED
 8007218:	5b 85 00 14 	sw (sp+20),r5                                  <== NOT EXECUTED
 800721c:	5b 86 00 18 	sw (sp+24),r6                                  <== NOT EXECUTED
 8007220:	5b 87 00 1c 	sw (sp+28),r7                                  <== NOT EXECUTED
 8007224:	5b 88 00 20 	sw (sp+32),r8                                  <== NOT EXECUTED
 8007228:	5b 82 00 08 	sw (sp+8),r2                                   <== NOT EXECUTED
    va_list arglist;                                                  
    int chars_written;                                                
                                                                      
    va_start(arglist, printf_format);                                 
    chars_written = rtems_verror(error_flag, printf_format, arglist); 
 800722c:	fb ff ff 65 	calli 8006fc0 <rtems_verror>                   <== NOT EXECUTED
    va_end(arglist);                                                  
                                                                      
    return chars_written;                                             
}                                                                     
 8007230:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8007234:	37 9c 00 20 	addi sp,sp,32                                  <== NOT EXECUTED
 8007238:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08000d90 <rtems_filesystem_dirname>:                                  
}                                                                     
                                                                      
int rtems_filesystem_dirname(                                         
  const char  *pathname                                               
)                                                                     
{                                                                     
 8000d90:	37 9c ff f8 	addi sp,sp,-8                                  
 8000d94:	5b 8b 00 08 	sw (sp+8),r11                                  
 8000d98:	5b 9d 00 04 	sw (sp+4),ra                                   
 8000d9c:	b8 20 58 00 	mv r11,r1                                      
  int len = strlen( pathname );                                       
 8000da0:	f8 00 30 69 	calli 800cf44 <strlen>                         
 8000da4:	b8 20 18 00 	mv r3,r1                                       
                                                                      
  while ( len ) {                                                     
 8000da8:	44 20 00 13 	be r1,r0,8000df4 <rtems_filesystem_dirname+0x64><== NEVER TAKEN
    len--;                                                            
 8000dac:	34 21 ff ff 	addi r1,r1,-1                                  
    if ( rtems_filesystem_is_separator( pathname[len] ) )             
 8000db0:	b5 61 10 00 	add r2,r11,r1                                  
 8000db4:	40 42 00 00 	lbu r2,(r2+0)                                  
 8000db8:	64 45 00 5c 	cmpei r5,r2,92                                 
 8000dbc:	64 44 00 2f 	cmpei r4,r2,47                                 
 8000dc0:	b8 a4 20 00 	or r4,r5,r4                                    
 8000dc4:	5c 80 00 0c 	bne r4,r0,8000df4 <rtems_filesystem_dirname+0x64><== NEVER TAKEN
 8000dc8:	b5 63 18 00 	add r3,r11,r3                                  
 8000dcc:	44 44 00 0a 	be r2,r4,8000df4 <rtems_filesystem_dirname+0x64><== NEVER TAKEN
  const char  *pathname                                               
)                                                                     
{                                                                     
  int len = strlen( pathname );                                       
                                                                      
  while ( len ) {                                                     
 8000dd0:	44 20 00 09 	be r1,r0,8000df4 <rtems_filesystem_dirname+0x64>
    len--;                                                            
    if ( rtems_filesystem_is_separator( pathname[len] ) )             
 8000dd4:	40 62 ff fe 	lbu r2,(r3+-2)                                 
)                                                                     
{                                                                     
  int len = strlen( pathname );                                       
                                                                      
  while ( len ) {                                                     
    len--;                                                            
 8000dd8:	34 21 ff ff 	addi r1,r1,-1                                  
    if ( rtems_filesystem_is_separator( pathname[len] ) )             
 8000ddc:	34 63 ff ff 	addi r3,r3,-1                                  
 8000de0:	64 45 00 5c 	cmpei r5,r2,92                                 
 8000de4:	64 44 00 2f 	cmpei r4,r2,47                                 
 8000de8:	b8 a4 20 00 	or r4,r5,r4                                    
 8000dec:	5c 80 00 02 	bne r4,r0,8000df4 <rtems_filesystem_dirname+0x64>
 8000df0:	5c 44 ff f8 	bne r2,r4,8000dd0 <rtems_filesystem_dirname+0x40><== ALWAYS TAKEN
      break;                                                          
  }                                                                   
                                                                      
  return len;                                                         
}                                                                     
 8000df4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8000df8:	2b 8b 00 08 	lw r11,(sp+8)                                  
 8000dfc:	37 9c 00 08 	addi sp,sp,8                                   
 8000e00:	c3 a0 00 00 	ret                                            
                                                                      
08000f10 <rtems_filesystem_evaluate_path>:                            
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc,                         
  int                                follow_link                      
)                                                                     
{                                                                     
 8000f10:	37 9c ff fc 	addi sp,sp,-4                                  
 8000f14:	5b 9d 00 04 	sw (sp+4),ra                                   
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
 8000f18:	44 20 00 31 	be r1,r0,8000fdc <rtems_filesystem_evaluate_path+0xcc><== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  if ( !pathloc )                                                     
 8000f1c:	44 80 00 2b 	be r4,r0,8000fc8 <rtems_filesystem_evaluate_path+0xb8><== NEVER TAKEN
                                                                      
  /*                                                                  
   * Evaluate the path using the optable evalpath.                    
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, pathloc );            
 8000f20:	40 26 00 00 	lbu r6,(r1+0)                                  
 8000f24:	64 c8 00 5c 	cmpei r8,r6,92                                 
 8000f28:	64 c7 00 2f 	cmpei r7,r6,47                                 
 8000f2c:	b9 07 38 00 	or r7,r8,r7                                    
 8000f30:	44 e0 00 16 	be r7,r0,8000f88 <rtems_filesystem_evaluate_path+0x78>
 8000f34:	78 06 08 01 	mvhi r6,0x801                                  
 8000f38:	38 c6 c1 10 	ori r6,r6,0xc110                               
 8000f3c:	28 c6 00 00 	lw r6,(r6+0)                                   
 8000f40:	34 07 00 01 	mvi r7,1                                       
 8000f44:	b8 e0 40 00 	mv r8,r7                                       
 8000f48:	28 c9 00 18 	lw r9,(r6+24)                                  
 8000f4c:	58 89 00 00 	sw (r4+0),r9                                   
 8000f50:	28 c9 00 1c 	lw r9,(r6+28)                                  
 8000f54:	58 89 00 04 	sw (r4+4),r9                                   
 8000f58:	28 c9 00 20 	lw r9,(r6+32)                                  
 8000f5c:	58 89 00 08 	sw (r4+8),r9                                   
 8000f60:	28 c9 00 24 	lw r9,(r6+36)                                  
 8000f64:	58 89 00 0c 	sw (r4+12),r9                                  
 8000f68:	28 c6 00 28 	lw r6,(r6+40)                                  
 8000f6c:	58 86 00 10 	sw (r4+16),r6                                  
                                                                      
  /*                                                                  
   * We evaluation the path relative to the start location we get got.
   */                                                                 
  return rtems_filesystem_evaluate_relative_path( &pathname[i],       
 8000f70:	b4 27 08 00 	add r1,r1,r7                                   
 8000f74:	c8 48 10 00 	sub r2,r2,r8                                   
 8000f78:	fb ff ff a3 	calli 8000e04 <rtems_filesystem_evaluate_relative_path>
                                                  pathnamelen - i,    
                                                  flags,              
                                                  pathloc,            
                                                  follow_link );      
}                                                                     
 8000f7c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8000f80:	37 9c 00 04 	addi sp,sp,4                                   
 8000f84:	c3 a0 00 00 	ret                                            
                                                                      
  /*                                                                  
   * Evaluate the path using the optable evalpath.                    
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, pathloc );            
 8000f88:	44 c7 ff eb 	be r6,r7,8000f34 <rtems_filesystem_evaluate_path+0x24><== NEVER TAKEN
 8000f8c:	78 06 08 01 	mvhi r6,0x801                                  
 8000f90:	38 c6 c1 10 	ori r6,r6,0xc110                               
 8000f94:	28 c6 00 00 	lw r6,(r6+0)                                   
 8000f98:	b8 e0 40 00 	mv r8,r7                                       
 8000f9c:	28 c9 00 04 	lw r9,(r6+4)                                   
 8000fa0:	58 89 00 00 	sw (r4+0),r9                                   
 8000fa4:	28 c9 00 08 	lw r9,(r6+8)                                   
 8000fa8:	58 89 00 04 	sw (r4+4),r9                                   
 8000fac:	28 c9 00 0c 	lw r9,(r6+12)                                  
 8000fb0:	58 89 00 08 	sw (r4+8),r9                                   
 8000fb4:	28 c9 00 10 	lw r9,(r6+16)                                  
 8000fb8:	58 89 00 0c 	sw (r4+12),r9                                  
 8000fbc:	28 c6 00 14 	lw r6,(r6+20)                                  
 8000fc0:	58 86 00 10 	sw (r4+16),r6                                  
 8000fc4:	e3 ff ff eb 	bi 8000f70 <rtems_filesystem_evaluate_path+0x60>
                                                                      
  if ( !pathname )                                                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  if ( !pathloc )                                                     
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
 8000fc8:	f8 00 2b 0f 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 8000fcc:	34 02 00 05 	mvi r2,5                                       <== NOT EXECUTED
 8000fd0:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8000fd4:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8000fd8:	e3 ff ff e9 	bi 8000f7c <rtems_filesystem_evaluate_path+0x6c><== NOT EXECUTED
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
 8000fdc:	f8 00 2b 0a 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 8000fe0:	34 02 00 0e 	mvi r2,14                                      <== NOT EXECUTED
 8000fe4:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8000fe8:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8000fec:	e3 ff ff e4 	bi 8000f7c <rtems_filesystem_evaluate_path+0x6c><== NOT EXECUTED
                                                                      
08000e04 <rtems_filesystem_evaluate_relative_path>:                   
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc,                         
  int                                follow_link                      
)                                                                     
{                                                                     
 8000e04:	37 9c ff f0 	addi sp,sp,-16                                 
 8000e08:	5b 8b 00 10 	sw (sp+16),r11                                 
 8000e0c:	5b 8c 00 0c 	sw (sp+12),r12                                 
 8000e10:	5b 8d 00 08 	sw (sp+8),r13                                  
 8000e14:	5b 9d 00 04 	sw (sp+4),ra                                   
 8000e18:	b8 a0 60 00 	mv r12,r5                                      
 8000e1c:	b8 60 68 00 	mv r13,r3                                      
 8000e20:	b8 80 58 00 	mv r11,r4                                      
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
 8000e24:	44 20 00 33 	be r1,r0,8000ef0 <rtems_filesystem_evaluate_relative_path+0xec><== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  if ( !pathloc )                                                     
 8000e28:	44 80 00 2d 	be r4,r0,8000edc <rtems_filesystem_evaluate_relative_path+0xd8><== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
                                                                      
  if ( !pathloc->ops->evalpath_h )                                    
 8000e2c:	28 85 00 0c 	lw r5,(r4+12)                                  
 8000e30:	28 a6 00 00 	lw r6,(r5+0)                                   
 8000e34:	44 c0 00 25 	be r6,r0,8000ec8 <rtems_filesystem_evaluate_relative_path+0xc4><== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  result = (*pathloc->ops->evalpath_h)( pathname, pathnamelen, flags, pathloc );
 8000e38:	d8 c0 00 00 	call r6                                        
  /*                                                                  
   * Get the Node type and determine if you need to follow the link or
   * not.                                                             
   */                                                                 
                                                                      
  if ( (result == 0) && follow_link ) {                               
 8000e3c:	7d 8c 00 00 	cmpnei r12,r12,0                               
 8000e40:	64 24 00 00 	cmpei r4,r1,0                                  
 8000e44:	a0 8c 60 00 	and r12,r4,r12                                 
 8000e48:	45 80 00 0a 	be r12,r0,8000e70 <rtems_filesystem_evaluate_relative_path+0x6c>
                                                                      
    if ( !pathloc->ops->node_type_h ){                                
 8000e4c:	29 61 00 0c 	lw r1,(r11+12)                                 
 8000e50:	28 24 00 10 	lw r4,(r1+16)                                  
 8000e54:	44 80 00 19 	be r4,r0,8000eb8 <rtems_filesystem_evaluate_relative_path+0xb4><== NEVER TAKEN
      rtems_filesystem_freenode( pathloc );                           
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
    }                                                                 
                                                                      
    type = (*pathloc->ops->node_type_h)( pathloc );                   
 8000e58:	b9 60 08 00 	mv r1,r11                                      
 8000e5c:	d8 80 00 00 	call r4                                        
                                                                      
    if ( ( type == RTEMS_FILESYSTEM_HARD_LINK ) ||                    
 8000e60:	34 21 ff fd 	addi r1,r1,-3                                  
 8000e64:	34 02 00 01 	mvi r2,1                                       
 8000e68:	50 41 00 08 	bgeu r2,r1,8000e88 <rtems_filesystem_evaluate_relative_path+0x84>
 8000e6c:	34 01 00 00 	mvi r1,0                                       
        result =  (*pathloc->ops->eval_link_h)( pathloc, flags );     
    }                                                                 
  }                                                                   
                                                                      
  return result;                                                      
}                                                                     
 8000e70:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8000e74:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8000e78:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8000e7c:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8000e80:	37 9c 00 10 	addi sp,sp,16                                  
 8000e84:	c3 a0 00 00 	ret                                            
    type = (*pathloc->ops->node_type_h)( pathloc );                   
                                                                      
    if ( ( type == RTEMS_FILESYSTEM_HARD_LINK ) ||                    
         ( type == RTEMS_FILESYSTEM_SYM_LINK ) ) {                    
                                                                      
        if ( !pathloc->ops->eval_link_h ){                            
 8000e88:	29 61 00 0c 	lw r1,(r11+12)                                 
 8000e8c:	28 23 00 34 	lw r3,(r1+52)                                  
 8000e90:	44 60 00 1d 	be r3,r0,8000f04 <rtems_filesystem_evaluate_relative_path+0x100><== NEVER TAKEN
         *    pathloc will be passed up (and eventually released).    
         *    Hence, the (valid) originial node that we submit to     
         *    eval_link_h() should be released by the handler.        
         */                                                           
                                                                      
        result =  (*pathloc->ops->eval_link_h)( pathloc, flags );     
 8000e94:	b9 60 08 00 	mv r1,r11                                      
 8000e98:	b9 a0 10 00 	mv r2,r13                                      
 8000e9c:	d8 60 00 00 	call r3                                        
    }                                                                 
  }                                                                   
                                                                      
  return result;                                                      
}                                                                     
 8000ea0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8000ea4:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8000ea8:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8000eac:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8000eb0:	37 9c 00 10 	addi sp,sp,16                                  
 8000eb4:	c3 a0 00 00 	ret                                            
   */                                                                 
                                                                      
  if ( (result == 0) && follow_link ) {                               
                                                                      
    if ( !pathloc->ops->node_type_h ){                                
      rtems_filesystem_freenode( pathloc );                           
 8000eb8:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 8000ebc:	44 44 00 03 	be r2,r4,8000ec8 <rtems_filesystem_evaluate_relative_path+0xc4><== NOT EXECUTED
                                                                      
    if ( ( type == RTEMS_FILESYSTEM_HARD_LINK ) ||                    
         ( type == RTEMS_FILESYSTEM_SYM_LINK ) ) {                    
                                                                      
        if ( !pathloc->ops->eval_link_h ){                            
          rtems_filesystem_freenode( pathloc );                       
 8000ec0:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8000ec4:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
          rtems_set_errno_and_return_minus_one( ENOTSUP );            
 8000ec8:	f8 00 2b 4f 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 8000ecc:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 8000ed0:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8000ed4:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8000ed8:	e3 ff ff e6 	bi 8000e70 <rtems_filesystem_evaluate_relative_path+0x6c><== NOT EXECUTED
                                                                      
  if ( !pathname )                                                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  if ( !pathloc )                                                     
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
 8000edc:	f8 00 2b 4a 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 8000ee0:	34 02 00 05 	mvi r2,5                                       <== NOT EXECUTED
 8000ee4:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8000ee8:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8000eec:	e3 ff ff e1 	bi 8000e70 <rtems_filesystem_evaluate_relative_path+0x6c><== NOT EXECUTED
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
 8000ef0:	f8 00 2b 45 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 8000ef4:	34 02 00 0e 	mvi r2,14                                      <== NOT EXECUTED
 8000ef8:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8000efc:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8000f00:	e3 ff ff dc 	bi 8000e70 <rtems_filesystem_evaluate_relative_path+0x6c><== NOT EXECUTED
                                                                      
    if ( ( type == RTEMS_FILESYSTEM_HARD_LINK ) ||                    
         ( type == RTEMS_FILESYSTEM_SYM_LINK ) ) {                    
                                                                      
        if ( !pathloc->ops->eval_link_h ){                            
          rtems_filesystem_freenode( pathloc );                       
 8000f04:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 8000f08:	5c 43 ff ee 	bne r2,r3,8000ec0 <rtems_filesystem_evaluate_relative_path+0xbc><== NOT EXECUTED
 8000f0c:	e3 ff ff ef 	bi 8000ec8 <rtems_filesystem_evaluate_relative_path+0xc4><== NOT EXECUTED
                                                                      
08000ba8 <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 )                              
{                                                                     
 8000ba8:	37 9c ff d8 	addi sp,sp,-40                                 
 8000bac:	5b 8b 00 10 	sw (sp+16),r11                                 
 8000bb0:	5b 8c 00 0c 	sw (sp+12),r12                                 
 8000bb4:	5b 8d 00 08 	sw (sp+8),r13                                  
 8000bb8:	5b 9d 00 04 	sw (sp+4),ra                                   
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
 8000bbc:	78 0b 08 01 	mvhi r11,0x801                                 
 8000bc0:	39 6b c1 10 	ori r11,r11,0xc110                             
 8000bc4:	29 62 00 00 	lw r2,(r11+0)                                  
 8000bc8:	34 01 00 12 	mvi r1,18                                      
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
 8000bcc:	34 0c 00 00 	mvi r12,0                                      
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
 8000bd0:	58 41 00 2c 	sw (r2+44),r1                                  
                                                                      
                                                                      
  init_fs_mount_table();                                              
 8000bd4:	f8 00 01 ef 	calli 8001390 <init_fs_mount_table>            
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
 8000bd8:	78 01 08 01 	mvhi r1,0x801                                  
 8000bdc:	38 21 ae 14 	ori r1,r1,0xae14                               
 8000be0:	28 21 00 00 	lw r1,(r1+0)                                   
 8000be4:	44 2c 00 49 	be r1,r12,8000d08 <rtems_filesystem_initialize+0x160><== NEVER TAKEN
    rtems_fatal_error_occurred( 0xABCD0001 );                         
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
 8000be8:	78 01 08 01 	mvhi r1,0x801                                  
 8000bec:	38 21 c0 18 	ori r1,r1,0xc018                               
 8000bf0:	28 24 00 00 	lw r4,(r1+0)                                   
                                                                      
  status = mount(                                                     
 8000bf4:	37 81 00 28 	addi r1,sp,40                                  
 8000bf8:	28 82 00 00 	lw r2,(r4+0)                                   
 8000bfc:	28 85 00 0c 	lw r5,(r4+12)                                  
 8000c00:	28 83 00 04 	lw r3,(r4+4)                                   
 8000c04:	28 84 00 08 	lw r4,(r4+8)                                   
 8000c08:	f8 00 01 ea 	calli 80013b0 <mount>                          
     &entry, mt->fs_ops, mt->fsoptions, mt->device, mt->mount_point );
                                                                      
  if ( status == -1 )                                                 
 8000c0c:	34 02 ff ff 	mvi r2,-1                                      
 8000c10:	44 22 00 44 	be r1,r2,8000d20 <rtems_filesystem_initialize+0x178><== NEVER TAKEN
   *       set_private_env() - but then: that's                       
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
 8000c14:	2b 87 00 28 	lw r7,(sp+40)                                  
     &entry, mt->fs_ops, mt->fsoptions, mt->device, mt->mount_point );
                                                                      
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
 8000c18:	29 66 00 00 	lw r6,(r11+0)                                  
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
 8000c1c:	37 8d 00 14 	addi r13,sp,20                                 
   *       set_private_env() - but then: that's                       
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
 8000c20:	28 e2 00 1c 	lw r2,(r7+28)                                  
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
 8000c24:	78 01 08 01 	mvhi r1,0x801                                  
     &entry, mt->fs_ops, mt->fsoptions, mt->device, mt->mount_point );
                                                                      
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
 8000c28:	0c cc 00 30 	sh (r6+48),r12                                 
   *       set_private_env() - but then: that's                       
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
 8000c2c:	58 c2 00 18 	sw (r6+24),r2                                  
 8000c30:	28 e4 00 20 	lw r4,(r7+32)                                  
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
 8000c34:	34 02 00 01 	mvi r2,1                                       
 8000c38:	b9 80 18 00 	mv r3,r12                                      
   *       set_private_env() - but then: that's                       
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
 8000c3c:	58 c4 00 1c 	sw (r6+28),r4                                  
 8000c40:	28 e8 00 24 	lw r8,(r7+36)                                  
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
 8000c44:	b9 a0 20 00 	mv r4,r13                                      
 8000c48:	b9 80 28 00 	mv r5,r12                                      
   *       set_private_env() - but then: that's                       
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
 8000c4c:	58 c8 00 20 	sw (r6+32),r8                                  
 8000c50:	28 e8 00 28 	lw r8,(r7+40)                                  
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
 8000c54:	38 21 b0 70 	ori r1,r1,0xb070                               
   *       set_private_env() - but then: that's                       
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
 8000c58:	58 c8 00 24 	sw (r6+36),r8                                  
 8000c5c:	28 e7 00 2c 	lw r7,(r7+44)                                  
 8000c60:	58 c7 00 28 	sw (r6+40),r7                                  
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
 8000c64:	f8 00 00 ab 	calli 8000f10 <rtems_filesystem_evaluate_path> 
  rtems_filesystem_root        = loc;                                 
 8000c68:	2b 82 00 14 	lw r2,(sp+20)                                  
 8000c6c:	29 66 00 00 	lw r6,(r11+0)                                  
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
 8000c70:	78 01 08 01 	mvhi r1,0x801                                  
 8000c74:	b9 80 18 00 	mv r3,r12                                      
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root        = loc;                                 
 8000c78:	58 c2 00 18 	sw (r6+24),r2                                  
 8000c7c:	2b 87 00 18 	lw r7,(sp+24)                                  
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
 8000c80:	b9 a0 20 00 	mv r4,r13                                      
 8000c84:	34 02 00 01 	mvi r2,1                                       
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root        = loc;                                 
 8000c88:	58 c7 00 1c 	sw (r6+28),r7                                  
 8000c8c:	2b 88 00 1c 	lw r8,(sp+28)                                  
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
 8000c90:	38 21 b0 70 	ori r1,r1,0xb070                               
 8000c94:	b9 80 28 00 	mv r5,r12                                      
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root        = loc;                                 
 8000c98:	58 c8 00 20 	sw (r6+32),r8                                  
 8000c9c:	2b 87 00 20 	lw r7,(sp+32)                                  
 8000ca0:	58 c7 00 24 	sw (r6+36),r7                                  
 8000ca4:	2b 88 00 24 	lw r8,(sp+36)                                  
 8000ca8:	58 c8 00 28 	sw (r6+40),r8                                  
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
 8000cac:	f8 00 00 99 	calli 8000f10 <rtems_filesystem_evaluate_path> 
  rtems_filesystem_current     = loc;                                 
 8000cb0:	2b 82 00 14 	lw r2,(sp+20)                                  
 8000cb4:	29 63 00 00 	lw r3,(r11+0)                                  
   *                                                                  
   *  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);                                      
 8000cb8:	78 01 08 01 	mvhi r1,0x801                                  
 8000cbc:	38 21 b0 74 	ori r1,r1,0xb074                               
  /* 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;                                 
 8000cc0:	58 62 00 04 	sw (r3+4),r2                                   
 8000cc4:	2b 84 00 18 	lw r4,(sp+24)                                  
   *                                                                  
   *  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);                                      
 8000cc8:	34 02 01 ff 	mvi r2,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;                                 
 8000ccc:	58 64 00 08 	sw (r3+8),r4                                   
 8000cd0:	2b 87 00 1c 	lw r7,(sp+28)                                  
 8000cd4:	58 67 00 0c 	sw (r3+12),r7                                  
 8000cd8:	2b 88 00 20 	lw r8,(sp+32)                                  
 8000cdc:	58 68 00 10 	sw (r3+16),r8                                  
 8000ce0:	2b 84 00 24 	lw r4,(sp+36)                                  
 8000ce4:	58 64 00 14 	sw (r3+20),r4                                  
   *                                                                  
   *  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);                                      
 8000ce8:	f8 00 01 3f 	calli 80011e4 <mkdir>                          
  if ( status != 0 )                                                  
 8000cec:	5c 20 00 0a 	bne r1,r0,8000d14 <rtems_filesystem_initialize+0x16c><== 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.        
   */                                                                 
}                                                                     
 8000cf0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8000cf4:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8000cf8:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8000cfc:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8000d00:	37 9c 00 28 	addi sp,sp,40                                  
 8000d04:	c3 a0 00 00 	ret                                            
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
    rtems_fatal_error_occurred( 0xABCD0001 );                         
 8000d08:	78 01 ab cd 	mvhi r1,0xabcd                                 <== NOT EXECUTED
 8000d0c:	38 21 00 01 	ori r1,r1,0x1                                  <== NOT EXECUTED
 8000d10:	f8 00 07 1b 	calli 800297c <rtems_fatal_error_occurred>     <== NOT EXECUTED
   *        created that way by the IMFS.                             
   */                                                                 
                                                                      
  status = mkdir( "/dev", 0777);                                      
  if ( status != 0 )                                                  
    rtems_fatal_error_occurred( 0xABCD0003 );                         
 8000d14:	78 01 ab cd 	mvhi r1,0xabcd                                 <== NOT EXECUTED
 8000d18:	38 21 00 03 	ori r1,r1,0x3                                  <== NOT EXECUTED
 8000d1c:	f8 00 07 18 	calli 800297c <rtems_fatal_error_occurred>     <== NOT EXECUTED
                                                                      
  status = mount(                                                     
     &entry, mt->fs_ops, mt->fsoptions, mt->device, mt->mount_point );
                                                                      
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
 8000d20:	78 01 ab cd 	mvhi r1,0xabcd                                 <== NOT EXECUTED
 8000d24:	38 21 00 02 	ori r1,r1,0x2                                  <== NOT EXECUTED
 8000d28:	f8 00 07 15 	calli 800297c <rtems_fatal_error_occurred>     <== NOT EXECUTED
                                                                      
0802b728 <rtems_filesystem_nodes_equal>:                              
);                                                                    
                                                                      
bool rtems_filesystem_nodes_equal(                                    
  const rtems_filesystem_location_info_t   *loc1,                     
  const rtems_filesystem_location_info_t   *loc2                      
){                                                                    
 802b728:	28 23 00 00 	lw r3,(r1+0)                                   <== NOT EXECUTED
 802b72c:	28 41 00 00 	lw r1,(r2+0)                                   <== NOT EXECUTED
  return ( loc1->node_access == loc2->node_access );                  
}                                                                     
 802b730:	e4 61 08 00 	cmpe r1,r3,r1                                  <== NOT EXECUTED
 802b734:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08000d2c <rtems_filesystem_prefix_separators>:                        
                                                                      
int rtems_filesystem_prefix_separators(                               
  const char  *pathname,                                              
  int          pathnamelen                                            
)                                                                     
{                                                                     
 8000d2c:	b8 20 38 00 	mv r7,r1                                       
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
 8000d30:	40 21 00 00 	lbu r1,(r1+0)                                  
 8000d34:	7c 44 00 00 	cmpnei r4,r2,0                                 
 8000d38:	7c 23 00 00 	cmpnei r3,r1,0                                 
 8000d3c:	a0 83 18 00 	and r3,r4,r3                                   
 8000d40:	44 60 00 12 	be r3,r0,8000d88 <rtems_filesystem_prefix_separators+0x5c><== NEVER TAKEN
 8000d44:	64 23 00 2f 	cmpei r3,r1,47                                 
 8000d48:	64 21 00 5c 	cmpei r1,r1,92                                 
 8000d4c:	b8 23 08 00 	or r1,r1,r3                                    
 8000d50:	44 20 00 0e 	be r1,r0,8000d88 <rtems_filesystem_prefix_separators+0x5c>
 8000d54:	34 01 00 00 	mvi r1,0                                       
  {                                                                   
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
 8000d58:	34 21 00 01 	addi r1,r1,1                                   
{                                                                     
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
 8000d5c:	b4 e1 18 00 	add r3,r7,r1                                   
 8000d60:	40 63 00 00 	lbu r3,(r3+0)                                  
 8000d64:	fc 41 30 00 	cmpne r6,r2,r1                                 
 8000d68:	7c 64 00 00 	cmpnei r4,r3,0                                 
 8000d6c:	64 65 00 2f 	cmpei r5,r3,47                                 
 8000d70:	64 63 00 5c 	cmpei r3,r3,92                                 
 8000d74:	a0 c4 20 00 	and r4,r6,r4                                   
 8000d78:	b8 65 18 00 	or r3,r3,r5                                    
 8000d7c:	44 80 00 04 	be r4,r0,8000d8c <rtems_filesystem_prefix_separators+0x60><== NEVER TAKEN
 8000d80:	5c 60 ff f6 	bne r3,r0,8000d58 <rtems_filesystem_prefix_separators+0x2c><== NEVER TAKEN
 8000d84:	c3 a0 00 00 	ret                                            
 8000d88:	34 01 00 00 	mvi r1,0                                       
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
  }                                                                   
  return stripped;                                                    
}                                                                     
 8000d8c:	c3 a0 00 00 	ret                                            
                                                                      
08000a4c <rtems_io_lookup_name>:                                      
                                                                      
rtems_status_code rtems_io_lookup_name(                               
  const char           *name,                                         
  rtems_driver_name_t  *device_info                                   
)                                                                     
{                                                                     
 8000a4c:	37 9c ff d0 	addi sp,sp,-48                                 <== NOT EXECUTED
 8000a50:	5b 8b 00 1c 	sw (sp+28),r11                                 <== NOT EXECUTED
 8000a54:	5b 8c 00 18 	sw (sp+24),r12                                 <== NOT EXECUTED
 8000a58:	5b 8d 00 14 	sw (sp+20),r13                                 <== NOT EXECUTED
 8000a5c:	5b 8e 00 10 	sw (sp+16),r14                                 <== NOT EXECUTED
 8000a60:	5b 8f 00 0c 	sw (sp+12),r15                                 <== NOT EXECUTED
 8000a64:	5b 90 00 08 	sw (sp+8),r16                                  <== NOT EXECUTED
 8000a68:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 8000a6c:	b8 40 68 00 	mv r13,r2                                      <== NOT EXECUTED
 8000a70:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
  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( name, strlen( name ), 0x00, &loc, true );
 8000a74:	37 8b 00 20 	addi r11,sp,32                                 <== NOT EXECUTED
 8000a78:	f8 00 31 33 	calli 800cf44 <strlen>                         <== NOT EXECUTED
 8000a7c:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
 8000a80:	34 03 00 00 	mvi r3,0                                       <== NOT EXECUTED
 8000a84:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8000a88:	b9 60 20 00 	mv r4,r11                                      <== NOT EXECUTED
 8000a8c:	34 05 00 01 	mvi r5,1                                       <== NOT EXECUTED
 8000a90:	f8 00 01 20 	calli 8000f10 <rtems_filesystem_evaluate_path> <== NOT EXECUTED
  the_jnode = loc.node_access;                                        
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
 8000a94:	2b 82 00 2c 	lw r2,(sp+44)                                  <== NOT EXECUTED
  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( name, strlen( name ), 0x00, &loc, true );
 8000a98:	b8 20 78 00 	mv r15,r1                                      <== NOT EXECUTED
  the_jnode = loc.node_access;                                        
 8000a9c:	2b 90 00 20 	lw r16,(sp+32)                                 <== NOT EXECUTED
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
 8000aa0:	28 43 00 10 	lw r3,(r2+16)                                  <== NOT EXECUTED
 8000aa4:	44 60 00 17 	be r3,r0,8000b00 <rtems_io_lookup_name+0xb4>   <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
 8000aa8:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8000aac:	d8 60 00 00 	call r3                                        <== NOT EXECUTED
                                                                      
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
 8000ab0:	7c 21 00 02 	cmpnei r1,r1,2                                 <== NOT EXECUTED
 8000ab4:	7d ee 00 00 	cmpnei r14,r15,0                               <== NOT EXECUTED
 8000ab8:	b8 2e 70 00 	or r14,r1,r14                                  <== NOT EXECUTED
 8000abc:	45 c0 00 1a 	be r14,r0,8000b24 <rtems_io_lookup_name+0xd8>  <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
 8000ac0:	2b 81 00 2c 	lw r1,(sp+44)                                  <== NOT EXECUTED
 8000ac4:	44 20 00 28 	be r1,r0,8000b64 <rtems_io_lookup_name+0x118>  <== NOT EXECUTED
 8000ac8:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 8000acc:	44 40 00 26 	be r2,r0,8000b64 <rtems_io_lookup_name+0x118>  <== NOT EXECUTED
 8000ad0:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8000ad4:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
 8000ad8:	34 01 00 0d 	mvi r1,13                                      <== NOT EXECUTED
  device_info->minor              = the_jnode->info.device.minor;     
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 8000adc:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8000ae0:	2b 8b 00 1c 	lw r11,(sp+28)                                 <== NOT EXECUTED
 8000ae4:	2b 8c 00 18 	lw r12,(sp+24)                                 <== NOT EXECUTED
 8000ae8:	2b 8d 00 14 	lw r13,(sp+20)                                 <== NOT EXECUTED
 8000aec:	2b 8e 00 10 	lw r14,(sp+16)                                 <== NOT EXECUTED
 8000af0:	2b 8f 00 0c 	lw r15,(sp+12)                                 <== NOT EXECUTED
 8000af4:	2b 90 00 08 	lw r16,(sp+8)                                  <== NOT EXECUTED
 8000af8:	37 9c 00 30 	addi sp,sp,48                                  <== NOT EXECUTED
 8000afc:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_path( name, strlen( name ), 0x00, &loc, true );
  the_jnode = loc.node_access;                                        
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
    rtems_filesystem_freenode( &loc );                                
 8000b00:	28 42 00 1c 	lw r2,(r2+28)                                  <== NOT EXECUTED
 8000b04:	44 43 00 03 	be r2,r3,8000b10 <rtems_io_lookup_name+0xc4>   <== NOT EXECUTED
 8000b08:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8000b0c:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 8000b10:	f8 00 2c 3d 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 8000b14:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 8000b18:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8000b1c:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8000b20:	e3 ff ff ef 	bi 8000adc <rtems_io_lookup_name+0x90>         <== NOT EXECUTED
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
    rtems_filesystem_freenode( &loc );                                
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
 8000b24:	59 ac 00 00 	sw (r13+0),r12                                 <== NOT EXECUTED
  device_info->device_name_length = strlen( name );                   
 8000b28:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8000b2c:	f8 00 31 06 	calli 800cf44 <strlen>                         <== NOT EXECUTED
 8000b30:	59 a1 00 04 	sw (r13+4),r1                                  <== NOT EXECUTED
  device_info->major              = the_jnode->info.device.major;     
 8000b34:	2a 01 00 50 	lw r1,(r16+80)                                 <== NOT EXECUTED
 8000b38:	59 a1 00 08 	sw (r13+8),r1                                  <== NOT EXECUTED
  device_info->minor              = the_jnode->info.device.minor;     
 8000b3c:	2a 10 00 54 	lw r16,(r16+84)                                <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
 8000b40:	2b 81 00 2c 	lw r1,(sp+44)                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
  device_info->device_name_length = strlen( name );                   
  device_info->major              = the_jnode->info.device.major;     
  device_info->minor              = the_jnode->info.device.minor;     
 8000b44:	59 b0 00 0c 	sw (r13+12),r16                                <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
 8000b48:	44 2e 00 09 	be r1,r14,8000b6c <rtems_io_lookup_name+0x120> <== NOT EXECUTED
 8000b4c:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 8000b50:	44 40 00 07 	be r2,r0,8000b6c <rtems_io_lookup_name+0x120>  <== NOT EXECUTED
 8000b54:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8000b58:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
 8000b5c:	b9 c0 08 00 	mv r1,r14                                      <== NOT EXECUTED
 8000b60:	e3 ff ff df 	bi 8000adc <rtems_io_lookup_name+0x90>         <== NOT EXECUTED
 8000b64:	34 01 00 0d 	mvi r1,13                                      <== NOT EXECUTED
 8000b68:	e3 ff ff dd 	bi 8000adc <rtems_io_lookup_name+0x90>         <== NOT EXECUTED
 8000b6c:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 8000b70:	e3 ff ff db 	bi 8000adc <rtems_io_lookup_name+0x90>         <== NOT EXECUTED
                                                                      
0800b214 <rtems_io_read>:                                             
rtems_status_code rtems_io_read(                                      
  rtems_device_major_number  major,                                   
  rtems_device_minor_number  minor,                                   
  void                      *argument                                 
)                                                                     
{                                                                     
 800b214:	37 9c ff ec 	addi sp,sp,-20                                 
 800b218:	5b 8b 00 10 	sw (sp+16),r11                                 
 800b21c:	5b 8c 00 0c 	sw (sp+12),r12                                 
 800b220:	5b 8d 00 08 	sw (sp+8),r13                                  
 800b224:	5b 9d 00 04 	sw (sp+4),ra                                   
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
 800b228:	78 04 08 01 	mvhi r4,0x801                                  
 800b22c:	38 84 ca 64 	ori r4,r4,0xca64                               
 800b230:	28 84 00 00 	lw r4,(r4+0)                                   
rtems_status_code rtems_io_read(                                      
  rtems_device_major_number  major,                                   
  rtems_device_minor_number  minor,                                   
  void                      *argument                                 
)                                                                     
{                                                                     
 800b234:	b8 20 58 00 	mv r11,r1                                      
 800b238:	b8 40 60 00 	mv r12,r2                                      
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
 800b23c:	54 81 00 08 	bgu r4,r1,800b25c <rtems_io_read+0x48>         
 800b240:	34 01 00 0a 	mvi r1,10                                      
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].read_entry;               
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
}                                                                     
 800b244:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800b248:	2b 8b 00 10 	lw r11,(sp+16)                                 
 800b24c:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 800b250:	2b 8d 00 08 	lw r13,(sp+8)                                  
 800b254:	37 9c 00 14 	addi sp,sp,20                                  
 800b258:	c3 a0 00 00 	ret                                            
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].read_entry;               
 800b25c:	78 01 08 01 	mvhi r1,0x801                                  
 800b260:	38 21 ca 68 	ori r1,r1,0xca68                               
 800b264:	28 2d 00 00 	lw r13,(r1+0)                                  
 800b268:	b5 6b 08 00 	add r1,r11,r11                                 
 800b26c:	b4 2b 08 00 	add r1,r1,r11                                  
 800b270:	34 02 00 03 	mvi r2,3                                       
 800b274:	5b 83 00 14 	sw (sp+20),r3                                  
 800b278:	fb ff d3 de 	calli 80001f0 <__ashlsi3>                      
 800b27c:	b5 a1 08 00 	add r1,r13,r1                                  
 800b280:	28 24 00 0c 	lw r4,(r1+12)                                  
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
 800b284:	2b 83 00 14 	lw r3,(sp+20)                                  
 800b288:	b8 80 08 00 	mv r1,r4                                       
 800b28c:	44 80 ff ee 	be r4,r0,800b244 <rtems_io_read+0x30>          <== NEVER TAKEN
 800b290:	b9 60 08 00 	mv r1,r11                                      
 800b294:	b9 80 10 00 	mv r2,r12                                      
 800b298:	d8 80 00 00 	call r4                                        
}                                                                     
 800b29c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800b2a0:	2b 8b 00 10 	lw r11,(sp+16)                                 
 800b2a4:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 800b2a8:	2b 8d 00 08 	lw r13,(sp+8)                                  
 800b2ac:	37 9c 00 14 	addi sp,sp,20                                  
 800b2b0:	c3 a0 00 00 	ret                                            
                                                                      
08004e04 <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                  
)                                                                     
{                                                                     
 8004e04:	37 9c ff ec 	addi sp,sp,-20                                 
 8004e08:	5b 8b 00 10 	sw (sp+16),r11                                 
 8004e0c:	5b 8c 00 0c 	sw (sp+12),r12                                 
 8004e10:	5b 8d 00 08 	sw (sp+8),r13                                  
 8004e14:	5b 9d 00 04 	sw (sp+4),ra                                   
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
 8004e18:	78 04 08 02 	mvhi r4,0x802                                  
 8004e1c:	38 84 49 4c 	ori r4,r4,0x494c                               
 8004e20:	28 85 00 00 	lw r5,(r4+0)                                   
  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;      
 8004e24:	78 04 08 02 	mvhi r4,0x802                                  
 8004e28:	38 84 4b 68 	ori r4,r4,0x4b68                               
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                  
)                                                                     
{                                                                     
 8004e2c:	b8 20 58 00 	mv r11,r1                                      
 8004e30:	b8 40 60 00 	mv r12,r2                                      
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
 8004e34:	34 01 00 12 	mvi r1,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;      
 8004e38:	28 82 00 00 	lw r2,(r4+0)                                   
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
 8004e3c:	5c a0 00 08 	bne r5,r0,8004e5c <rtems_io_register_driver+0x58>
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( registered_major == NULL )                                     
 8004e40:	44 65 00 52 	be r3,r5,8004f88 <rtems_io_register_driver+0x184>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
 8004e44:	58 62 00 00 	sw (r3+0),r2                                   
                                                                      
  if ( driver_table == NULL )                                         
 8004e48:	45 80 00 50 	be r12,r0,8004f88 <rtems_io_register_driver+0x184>
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
 8004e4c:	29 81 00 00 	lw r1,(r12+0)                                  
 8004e50:	44 20 00 4c 	be r1,r0,8004f80 <rtems_io_register_driver+0x17c>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
 8004e54:	54 4b 00 08 	bgu r2,r11,8004e74 <rtems_io_register_driver+0x70>
 8004e58:	34 01 00 0a 	mvi r1,10                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
 8004e5c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8004e60:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8004e64:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8004e68:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8004e6c:	37 9c 00 14 	addi sp,sp,20                                  
 8004e70:	c3 a0 00 00 	ret                                            
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 8004e74:	78 01 08 02 	mvhi r1,0x802                                  
 8004e78:	38 21 48 b4 	ori r1,r1,0x48b4                               
 8004e7c:	28 22 00 00 	lw r2,(r1+0)                                   
 8004e80:	34 42 00 01 	addi r2,r2,1                                   
 8004e84:	58 22 00 00 	sw (r1+0),r2                                   
  if ( major >= major_limit )                                         
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( major == 0 ) {                                                 
 8004e88:	5d 60 00 2a 	bne r11,r0,8004f30 <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;                
 8004e8c:	28 84 00 00 	lw r4,(r4+0)                                   
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
 8004e90:	44 8b 00 48 	be r4,r11,8004fb0 <rtems_io_register_driver+0x1ac><== NEVER TAKEN
 8004e94:	78 01 08 02 	mvhi r1,0x802                                  
 8004e98:	38 21 4b 6c 	ori r1,r1,0x4b6c                               
 8004e9c:	28 2d 00 00 	lw r13,(r1+0)                                  
 8004ea0:	b9 a0 08 00 	mv r1,r13                                      
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
 8004ea4:	28 22 00 00 	lw r2,(r1+0)                                   
 8004ea8:	44 40 00 3f 	be r2,r0,8004fa4 <rtems_io_register_driver+0x1a0>
  rtems_device_major_number n = _IO_Number_of_drivers;                
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
 8004eac:	35 6b 00 01 	addi r11,r11,1                                 
 8004eb0:	34 21 00 18 	addi r1,r1,24                                  
 8004eb4:	54 8b ff fc 	bgu r4,r11,8004ea4 <rtems_io_register_driver+0xa0>
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
 8004eb8:	58 6b 00 00 	sw (r3+0),r11                                  
                                                                      
  if ( m != n )                                                       
 8004ebc:	44 8b 00 3e 	be r4,r11,8004fb4 <rtems_io_register_driver+0x1b0>
 8004ec0:	b5 6b 08 00 	add r1,r11,r11                                 
 8004ec4:	b4 2b 08 00 	add r1,r1,r11                                  
 8004ec8:	34 02 00 03 	mvi r2,3                                       
 8004ecc:	fb ff ef 46 	calli 8000be4 <__ashlsi3>                      
 8004ed0:	b5 a1 08 00 	add r1,r13,r1                                  
    }                                                                 
                                                                      
    *registered_major = major;                                        
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
 8004ed4:	29 82 00 00 	lw r2,(r12+0)                                  
 8004ed8:	58 22 00 00 	sw (r1+0),r2                                   
 8004edc:	29 82 00 04 	lw r2,(r12+4)                                  
 8004ee0:	58 22 00 04 	sw (r1+4),r2                                   
 8004ee4:	29 82 00 08 	lw r2,(r12+8)                                  
 8004ee8:	58 22 00 08 	sw (r1+8),r2                                   
 8004eec:	29 82 00 0c 	lw r2,(r12+12)                                 
 8004ef0:	58 22 00 0c 	sw (r1+12),r2                                  
 8004ef4:	29 82 00 10 	lw r2,(r12+16)                                 
 8004ef8:	58 22 00 10 	sw (r1+16),r2                                  
 8004efc:	29 8c 00 14 	lw r12,(r12+20)                                
 8004f00:	58 2c 00 14 	sw (r1+20),r12                                 
                                                                      
  _Thread_Enable_dispatch();                                          
 8004f04:	f8 00 07 ca 	calli 8006e2c <_Thread_Enable_dispatch>        
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
 8004f08:	34 02 00 00 	mvi r2,0                                       
 8004f0c:	b9 60 08 00 	mv r1,r11                                      
 8004f10:	b8 40 18 00 	mv r3,r2                                       
 8004f14:	f8 00 28 bc 	calli 800f204 <rtems_io_initialize>            
}                                                                     
 8004f18:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8004f1c:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8004f20:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8004f24:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8004f28:	37 9c 00 14 	addi sp,sp,20                                  
 8004f2c:	c3 a0 00 00 	ret                                            
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
 8004f30:	b5 6b 08 00 	add r1,r11,r11                                 
 8004f34:	34 02 00 03 	mvi r2,3                                       
 8004f38:	78 0d 08 02 	mvhi r13,0x802                                 
 8004f3c:	b4 2b 08 00 	add r1,r1,r11                                  
 8004f40:	5b 83 00 14 	sw (sp+20),r3                                  
 8004f44:	39 ad 4b 6c 	ori r13,r13,0x4b6c                             
 8004f48:	fb ff ef 27 	calli 8000be4 <__ashlsi3>                      
 8004f4c:	29 a2 00 00 	lw r2,(r13+0)                                  
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
 8004f50:	2b 83 00 14 	lw r3,(sp+20)                                  
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
 8004f54:	b4 41 08 00 	add r1,r2,r1                                   
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
 8004f58:	28 22 00 00 	lw r2,(r1+0)                                   
 8004f5c:	44 40 00 19 	be r2,r0,8004fc0 <rtems_io_register_driver+0x1bc>
    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();                                      
 8004f60:	f8 00 07 b3 	calli 8006e2c <_Thread_Enable_dispatch>        
 8004f64:	34 01 00 0c 	mvi r1,12                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
 8004f68:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8004f6c:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8004f70:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8004f74:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8004f78:	37 9c 00 14 	addi sp,sp,20                                  
 8004f7c:	c3 a0 00 00 	ret                                            
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
 8004f80:	29 85 00 04 	lw r5,(r12+4)                                  
 8004f84:	5c a1 ff b4 	bne r5,r1,8004e54 <rtems_io_register_driver+0x50>
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
 8004f88:	34 01 00 09 	mvi r1,9                                       
}                                                                     
 8004f8c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8004f90:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8004f94:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8004f98:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8004f9c:	37 9c 00 14 	addi sp,sp,20                                  
 8004fa0:	c3 a0 00 00 	ret                                            
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
 8004fa4:	28 25 00 04 	lw r5,(r1+4)                                   
 8004fa8:	5c a2 ff c1 	bne r5,r2,8004eac <rtems_io_register_driver+0xa8>
 8004fac:	e3 ff ff c3 	bi 8004eb8 <rtems_io_register_driver+0xb4>     
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
 8004fb0:	58 6b 00 00 	sw (r3+0),r11                                  <== NOT EXECUTED
                                                                      
  if ( major == 0 ) {                                                 
    rtems_status_code sc = rtems_io_obtain_major_number( registered_major );
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
      _Thread_Enable_dispatch();                                      
 8004fb4:	f8 00 07 9e 	calli 8006e2c <_Thread_Enable_dispatch>        
 8004fb8:	34 01 00 05 	mvi r1,5                                       
      return sc;                                                      
 8004fbc:	e3 ff ff a8 	bi 8004e5c <rtems_io_register_driver+0x58>     
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
 8004fc0:	28 24 00 04 	lw r4,(r1+4)                                   
 8004fc4:	5c 82 ff e7 	bne r4,r2,8004f60 <rtems_io_register_driver+0x15c>
    if ( !rtems_io_is_empty_table( table ) ) {                        
      _Thread_Enable_dispatch();                                      
      return RTEMS_RESOURCE_IN_USE;                                   
    }                                                                 
                                                                      
    *registered_major = major;                                        
 8004fc8:	58 6b 00 00 	sw (r3+0),r11                                  
 8004fcc:	e3 ff ff c2 	bi 8004ed4 <rtems_io_register_driver+0xd0>     
                                                                      
08005690 <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) 
{                                                                     
 8005690:	37 9c ff e4 	addi sp,sp,-28                                 
 8005694:	5b 8b 00 1c 	sw (sp+28),r11                                 
 8005698:	5b 8c 00 18 	sw (sp+24),r12                                 
 800569c:	5b 8d 00 14 	sw (sp+20),r13                                 
 80056a0:	5b 8e 00 10 	sw (sp+16),r14                                 
 80056a4:	5b 8f 00 0c 	sw (sp+12),r15                                 
 80056a8:	5b 90 00 08 	sw (sp+8),r16                                  
 80056ac:	5b 9d 00 04 	sw (sp+4),ra                                   
 80056b0:	b8 20 78 00 	mv r15,r1                                      
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
 80056b4:	44 20 00 18 	be r1,r0,8005714 <rtems_iterate_over_all_threads+0x84><== NEVER TAKEN
 80056b8:	78 0e 08 02 	mvhi r14,0x802                                 
 80056bc:	39 ce b5 b8 	ori r14,r14,0xb5b8                             
#endif                                                                
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/thread.h>                                       
                                                                      
void rtems_iterate_over_all_threads(rtems_per_thread_routine routine) 
 80056c0:	35 d0 00 10 	addi r16,r14,16                                
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
    if ( !_Objects_Information_table[ api_index ] )                   
 80056c4:	29 c1 00 00 	lw r1,(r14+0)                                  
 80056c8:	44 20 00 11 	be r1,r0,800570c <rtems_iterate_over_all_threads+0x7c>
      continue;                                                       
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
 80056cc:	28 2d 00 04 	lw r13,(r1+4)                                  
    if ( !information )                                               
 80056d0:	45 a0 00 0f 	be r13,r0,800570c <rtems_iterate_over_all_threads+0x7c>
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
 80056d4:	2d a3 00 10 	lhu r3,(r13+16)                                
 80056d8:	44 60 00 0d 	be r3,r0,800570c <rtems_iterate_over_all_threads+0x7c><== NEVER TAKEN
 80056dc:	34 0c 00 04 	mvi r12,4                                      
 80056e0:	34 0b 00 01 	mvi r11,1                                      
      the_thread = (Thread_Control *)information->local_table[ i ];   
 80056e4:	29 a2 00 1c 	lw r2,(r13+28)                                 
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
 80056e8:	35 6b 00 01 	addi r11,r11,1                                 
      the_thread = (Thread_Control *)information->local_table[ i ];   
 80056ec:	b4 4c 10 00 	add r2,r2,r12                                  
 80056f0:	28 42 00 00 	lw r2,(r2+0)                                   
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
 80056f4:	35 8c 00 04 	addi r12,r12,4                                 
      the_thread = (Thread_Control *)information->local_table[ i ];   
                                                                      
      if ( !the_thread )                                              
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
 80056f8:	b8 40 08 00 	mv r1,r2                                       
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
      the_thread = (Thread_Control *)information->local_table[ i ];   
                                                                      
      if ( !the_thread )                                              
 80056fc:	44 40 00 03 	be r2,r0,8005708 <rtems_iterate_over_all_threads+0x78><== NEVER TAKEN
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
 8005700:	d9 e0 00 00 	call r15                                       
 8005704:	2d a3 00 10 	lhu r3,(r13+16)                                
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
 8005708:	50 6b ff f7 	bgeu r3,r11,80056e4 <rtems_iterate_over_all_threads+0x54>
 800570c:	35 ce 00 04 	addi r14,r14,4                                 
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
 8005710:	5d d0 ff ed 	bne r14,r16,80056c4 <rtems_iterate_over_all_threads+0x34>
                                                                      
      (*routine)(the_thread);                                         
    }                                                                 
  }                                                                   
                                                                      
}                                                                     
 8005714:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8005718:	2b 8b 00 1c 	lw r11,(sp+28)                                 
 800571c:	2b 8c 00 18 	lw r12,(sp+24)                                 
 8005720:	2b 8d 00 14 	lw r13,(sp+20)                                 
 8005724:	2b 8e 00 10 	lw r14,(sp+16)                                 
 8005728:	2b 8f 00 0c 	lw r15,(sp+12)                                 
 800572c:	2b 90 00 08 	lw r16,(sp+8)                                  
 8005730:	37 9c 00 1c 	addi sp,sp,28                                  
 8005734:	c3 a0 00 00 	ret                                            
                                                                      
08007bbc <rtems_libio_allocate>:                                      
 *  This routine searches the IOP Table for an unused entry.  If it   
 *  finds one, it returns it.  Otherwise, it returns NULL.            
 */                                                                   
                                                                      
rtems_libio_t *rtems_libio_allocate( void )                           
{                                                                     
 8007bbc:	37 9c ff e8 	addi sp,sp,-24                                 
 8007bc0:	5b 8b 00 14 	sw (sp+20),r11                                 
 8007bc4:	5b 8c 00 10 	sw (sp+16),r12                                 
 8007bc8:	5b 8d 00 0c 	sw (sp+12),r13                                 
 8007bcc:	5b 8e 00 08 	sw (sp+8),r14                                  
 8007bd0:	5b 9d 00 04 	sw (sp+4),ra                                   
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 );
 8007bd4:	78 0b 08 01 	mvhi r11,0x801                                 
 8007bd8:	39 6b c6 a4 	ori r11,r11,0xc6a4                             
 8007bdc:	29 61 00 00 	lw r1,(r11+0)                                  
 8007be0:	34 02 00 00 	mvi r2,0                                       
  rtems_status_code rc;                                               
  rtems_id sema;                                                      
                                                                      
  rtems_libio_lock();                                                 
                                                                      
  if (rtems_libio_iop_freelist) {                                     
 8007be4:	78 0c 08 01 	mvhi r12,0x801                                 
 8007be8:	b8 40 18 00 	mv r3,r2                                       
 8007bec:	39 8c c6 a0 	ori r12,r12,0xc6a0                             
 8007bf0:	f8 00 01 d5 	calli 8008344 <rtems_semaphore_obtain>         
 8007bf4:	29 81 00 00 	lw r1,(r12+0)                                  
 8007bf8:	5c 20 00 0c 	bne r1,r0,8007c28 <rtems_libio_allocate+0x6c>  
    next = iop->data1;                                                
    (void) memset( iop, 0, sizeof(rtems_libio_t) );                   
    iop->flags = LIBIO_FLAGS_OPEN;                                    
    iop->sem = sema;                                                  
    rtems_libio_iop_freelist = next;                                  
    goto done;                                                        
 8007bfc:	34 0d 00 00 	mvi r13,0                                      
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
 8007c00:	29 61 00 00 	lw r1,(r11+0)                                  
 8007c04:	f8 00 02 31 	calli 80084c8 <rtems_semaphore_release>        
  iop = 0;                                                            
                                                                      
done:                                                                 
  rtems_libio_unlock();                                               
  return iop;                                                         
}                                                                     
 8007c08:	b9 a0 08 00 	mv r1,r13                                      
 8007c0c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8007c10:	2b 8b 00 14 	lw r11,(sp+20)                                 
 8007c14:	2b 8c 00 10 	lw r12,(sp+16)                                 
 8007c18:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 8007c1c:	2b 8e 00 08 	lw r14,(sp+8)                                  
 8007c20:	37 9c 00 18 	addi sp,sp,24                                  
 8007c24:	c3 a0 00 00 	ret                                            
  rtems_id sema;                                                      
                                                                      
  rtems_libio_lock();                                                 
                                                                      
  if (rtems_libio_iop_freelist) {                                     
    rc = rtems_semaphore_create(                                      
 8007c28:	78 02 08 01 	mvhi r2,0x801                                  
 8007c2c:	38 42 c6 9c 	ori r2,r2,0xc69c                               
 8007c30:	28 43 00 00 	lw r3,(r2+0)                                   
 8007c34:	34 02 00 03 	mvi r2,3                                       
 8007c38:	c8 23 08 00 	sub r1,r1,r3                                   
 8007c3c:	fb ff e1 bd 	calli 8000330 <__ashrsi3>                      
 8007c40:	78 02 38 e3 	mvhi r2,0x38e3                                 
 8007c44:	38 42 8e 39 	ori r2,r2,0x8e39                               
 8007c48:	f8 00 47 d4 	calli 8019b98 <__mulsi3>                       
 8007c4c:	78 02 4c 42 	mvhi r2,0x4c42                                 
 8007c50:	38 42 49 00 	ori r2,r2,0x4900                               
 8007c54:	b8 22 08 00 	or r1,r1,r2                                    
 8007c58:	34 03 00 54 	mvi r3,84                                      
 8007c5c:	34 02 00 01 	mvi r2,1                                       
 8007c60:	34 04 00 00 	mvi r4,0                                       
 8007c64:	37 85 00 18 	addi r5,sp,24                                  
 8007c68:	fb ff e9 56 	calli 80021c0 <rtems_semaphore_create>         
      1,                                                              
      RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
      0,                                                              
      &sema                                                           
    );                                                                
    if (rc != RTEMS_SUCCESSFUL)                                       
 8007c6c:	5c 20 ff e4 	bne r1,r0,8007bfc <rtems_libio_allocate+0x40>  <== NEVER TAKEN
      goto failed;                                                    
    iop = rtems_libio_iop_freelist;                                   
 8007c70:	29 8d 00 00 	lw r13,(r12+0)                                 
    next = iop->data1;                                                
    (void) memset( iop, 0, sizeof(rtems_libio_t) );                   
 8007c74:	b8 20 10 00 	mv r2,r1                                       
 8007c78:	34 03 00 48 	mvi r3,72                                      
 8007c7c:	b9 a0 08 00 	mv r1,r13                                      
      &sema                                                           
    );                                                                
    if (rc != RTEMS_SUCCESSFUL)                                       
      goto failed;                                                    
    iop = rtems_libio_iop_freelist;                                   
    next = iop->data1;                                                
 8007c80:	29 ae 00 38 	lw r14,(r13+56)                                
    (void) memset( iop, 0, sizeof(rtems_libio_t) );                   
 8007c84:	f8 00 12 e4 	calli 800c814 <memset>                         
    iop->flags = LIBIO_FLAGS_OPEN;                                    
 8007c88:	34 01 01 00 	mvi r1,256                                     
 8007c8c:	59 a1 00 18 	sw (r13+24),r1                                 
    iop->sem = sema;                                                  
 8007c90:	2b 81 00 18 	lw r1,(sp+24)                                  
    rtems_libio_iop_freelist = next;                                  
 8007c94:	59 8e 00 00 	sw (r12+0),r14                                 
      goto failed;                                                    
    iop = rtems_libio_iop_freelist;                                   
    next = iop->data1;                                                
    (void) memset( iop, 0, sizeof(rtems_libio_t) );                   
    iop->flags = LIBIO_FLAGS_OPEN;                                    
    iop->sem = sema;                                                  
 8007c98:	59 a1 00 30 	sw (r13+48),r1                                 
    rtems_libio_iop_freelist = next;                                  
    goto done;                                                        
 8007c9c:	e3 ff ff d9 	bi 8007c00 <rtems_libio_allocate+0x44>         
                                                                      
08007d58 <rtems_libio_free>:                                          
 */                                                                   
                                                                      
void rtems_libio_free(                                                
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
 8007d58:	37 9c ff f4 	addi sp,sp,-12                                 
 8007d5c:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8007d60:	5b 8c 00 08 	sw (sp+8),r12                                  
 8007d64:	5b 9d 00 04 	sw (sp+4),ra                                   
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 );
 8007d68:	78 0c 08 01 	mvhi r12,0x801                                 
 8007d6c:	39 8c c6 a4 	ori r12,r12,0xc6a4                             
 8007d70:	b8 20 58 00 	mv r11,r1                                      
 8007d74:	29 81 00 00 	lw r1,(r12+0)                                  
 8007d78:	34 02 00 00 	mvi r2,0                                       
 8007d7c:	b8 40 18 00 	mv r3,r2                                       
 8007d80:	f8 00 01 71 	calli 8008344 <rtems_semaphore_obtain>         
  rtems_libio_lock();                                                 
                                                                      
    if (iop->sem)                                                     
 8007d84:	29 61 00 30 	lw r1,(r11+48)                                 
 8007d88:	44 20 00 02 	be r1,r0,8007d90 <rtems_libio_free+0x38>       <== NEVER TAKEN
      rtems_semaphore_delete(iop->sem);                               
 8007d8c:	f8 00 01 2b 	calli 8008238 <rtems_semaphore_delete>         
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
 8007d90:	29 63 00 18 	lw r3,(r11+24)                                 
    iop->data1 = rtems_libio_iop_freelist;                            
 8007d94:	78 02 08 01 	mvhi r2,0x801                                  
  rtems_libio_lock();                                                 
                                                                      
    if (iop->sem)                                                     
      rtems_semaphore_delete(iop->sem);                               
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
 8007d98:	34 01 fe ff 	mvi r1,-257                                    
 8007d9c:	a0 61 08 00 	and r1,r3,r1                                   
    iop->data1 = rtems_libio_iop_freelist;                            
 8007da0:	38 42 c6 a0 	ori r2,r2,0xc6a0                               
  rtems_libio_lock();                                                 
                                                                      
    if (iop->sem)                                                     
      rtems_semaphore_delete(iop->sem);                               
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
 8007da4:	59 61 00 18 	sw (r11+24),r1                                 
    iop->data1 = rtems_libio_iop_freelist;                            
 8007da8:	28 41 00 00 	lw r1,(r2+0)                                   
    rtems_libio_iop_freelist = iop;                                   
 8007dac:	58 4b 00 00 	sw (r2+0),r11                                  
                                                                      
    if (iop->sem)                                                     
      rtems_semaphore_delete(iop->sem);                               
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
    iop->data1 = rtems_libio_iop_freelist;                            
 8007db0:	59 61 00 38 	sw (r11+56),r1                                 
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
 8007db4:	29 81 00 00 	lw r1,(r12+0)                                  
 8007db8:	f8 00 01 c4 	calli 80084c8 <rtems_semaphore_release>        
    rtems_libio_iop_freelist = iop;                                   
                                                                      
  rtems_libio_unlock();                                               
}                                                                     
 8007dbc:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8007dc0:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8007dc4:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8007dc8:	37 9c 00 0c 	addi sp,sp,12                                  
 8007dcc:	c3 a0 00 00 	ret                                            
                                                                      
08000ff0 <rtems_libio_init>:                                          
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
{                                                                     
 8000ff0:	37 9c ff f4 	addi sp,sp,-12                                 
 8000ff4:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8000ff8:	5b 8c 00 08 	sw (sp+8),r12                                  
 8000ffc:	5b 9d 00 04 	sw (sp+4),ra                                   
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
 8001000:	78 0b 08 01 	mvhi r11,0x801                                 
 8001004:	39 6b c0 10 	ori r11,r11,0xc010                             
 8001008:	29 61 00 00 	lw r1,(r11+0)                                  
 800100c:	44 20 00 1e 	be r1,r0,8001084 <rtems_libio_init+0x94>       <== NEVER TAKEN
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
 8001010:	34 02 00 48 	mvi r2,72                                      
 8001014:	f8 00 19 b7 	calli 80076f0 <calloc>                         
 8001018:	b8 20 60 00 	mv r12,r1                                      
 800101c:	78 01 08 01 	mvhi r1,0x801                                  
 8001020:	38 21 c6 9c 	ori r1,r1,0xc69c                               
 8001024:	58 2c 00 00 	sw (r1+0),r12                                  
 8001028:	b9 80 10 00 	mv r2,r12                                      
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
 800102c:	45 80 00 2b 	be r12,r0,80010d8 <rtems_libio_init+0xe8>      <== NEVER TAKEN
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
 8001030:	78 01 08 01 	mvhi r1,0x801                                  
	for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)         
 8001034:	29 64 00 00 	lw r4,(r11+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);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
 8001038:	38 21 c6 a0 	ori r1,r1,0xc6a0                               
 800103c:	58 2c 00 00 	sw (r1+0),r12                                  
	for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)         
 8001040:	34 03 00 01 	mvi r3,1                                       
 8001044:	50 64 00 0e 	bgeu r3,r4,800107c <rtems_libio_init+0x8c>     <== NEVER TAKEN
 8001048:	35 82 00 48 	addi r2,r12,72                                 
		iop->data1 = iop + 1;                                               
 800104c:	58 42 ff f0 	sw (r2+-16),r2                                 
 8001050:	34 63 00 01 	addi r3,r3,1                                   
 8001054:	34 42 00 48 	addi r2,r2,72                                  
                                                    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++)         
 8001058:	5c 64 ff fd 	bne r3,r4,800104c <rtems_libio_init+0x5c>      
 800105c:	34 61 ff ff 	addi r1,r3,-1                                  
 8001060:	34 02 00 03 	mvi r2,3                                       
 8001064:	fb ff fc 63 	calli 80001f0 <__ashlsi3>                      
 8001068:	34 02 00 03 	mvi r2,3                                       
 800106c:	b8 20 58 00 	mv r11,r1                                      
 8001070:	fb ff fc 60 	calli 80001f0 <__ashlsi3>                      
 8001074:	b5 61 08 00 	add r1,r11,r1                                  
 8001078:	b5 81 10 00 	add r2,r12,r1                                  
		iop->data1 = iop + 1;                                               
	iop->data1 = NULL;                                                   
 800107c:	34 01 00 00 	mvi r1,0                                       
 8001080:	58 41 00 38 	sw (r2+56),r1                                  
  /*                                                                  
   *  Create the binary semaphore used to provide mutual exclusion    
   *  on the IOP Table.                                               
   */                                                                 
                                                                      
  rc = rtems_semaphore_create(                                        
 8001084:	78 01 4c 42 	mvhi r1,0x4c42                                 
 8001088:	78 05 08 01 	mvhi r5,0x801                                  
 800108c:	34 03 00 54 	mvi r3,84                                      
 8001090:	38 21 49 4f 	ori r1,r1,0x494f                               
 8001094:	38 a5 c6 a4 	ori r5,r5,0xc6a4                               
 8001098:	34 02 00 01 	mvi r2,1                                       
 800109c:	34 04 00 00 	mvi r4,0                                       
 80010a0:	f8 00 04 48 	calli 80021c0 <rtems_semaphore_create>         
 80010a4:	b8 20 18 00 	mv r3,r1                                       
    1,                                                                
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
 80010a8:	5c 20 00 0b 	bne r1,r0,80010d4 <rtems_libio_init+0xe4>      <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
 80010ac:	78 02 08 01 	mvhi r2,0x801                                  
 80010b0:	38 42 c0 0c 	ori r2,r2,0xc00c                               
 80010b4:	28 41 00 00 	lw r1,(r2+0)                                   
 80010b8:	44 23 00 02 	be r1,r3,80010c0 <rtems_libio_init+0xd0>       <== NEVER TAKEN
     (* rtems_fs_init_helper)();                                      
 80010bc:	d8 20 00 00 	call r1                                        
}                                                                     
 80010c0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80010c4:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 80010c8:	2b 8c 00 08 	lw r12,(sp+8)                                  
 80010cc:	37 9c 00 0c 	addi sp,sp,12                                  
 80010d0:	c3 a0 00 00 	ret                                            
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
    rtems_fatal_error_occurred( rc );                                 
 80010d4:	f8 00 06 2a 	calli 800297c <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);              
 80010d8:	34 01 00 1a 	mvi r1,26                                      <== NOT EXECUTED
 80010dc:	f8 00 06 28 	calli 800297c <rtems_fatal_error_occurred>     <== NOT EXECUTED
                                                                      
08007dd0 <rtems_libio_is_file_open>:                                  
 */                                                                   
                                                                      
int rtems_libio_is_file_open(                                         
  void         *node_access                                           
)                                                                     
{                                                                     
 8007dd0:	37 9c ff f4 	addi sp,sp,-12                                 
 8007dd4:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8007dd8:	5b 8c 00 08 	sw (sp+8),r12                                  
 8007ddc:	5b 9d 00 04 	sw (sp+4),ra                                   
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 );
 8007de0:	78 0c 08 01 	mvhi r12,0x801                                 
 8007de4:	39 8c c6 a4 	ori r12,r12,0xc6a4                             
 8007de8:	b8 20 58 00 	mv r11,r1                                      
 8007dec:	29 81 00 00 	lw r1,(r12+0)                                  
 8007df0:	34 02 00 00 	mvi r2,0                                       
 8007df4:	b8 40 18 00 	mv r3,r2                                       
 8007df8:	f8 00 01 53 	calli 8008344 <rtems_semaphore_obtain>         
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
 for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
 8007dfc:	78 01 08 01 	mvhi r1,0x801                                  
 8007e00:	38 21 c0 10 	ori r1,r1,0xc010                               
 8007e04:	28 25 00 00 	lw r5,(r1+0)                                   
 8007e08:	78 01 08 01 	mvhi r1,0x801                                  
 8007e0c:	38 21 c6 9c 	ori r1,r1,0xc69c                               
 8007e10:	28 22 00 00 	lw r2,(r1+0)                                   
 8007e14:	44 a0 00 0b 	be r5,r0,8007e40 <rtems_libio_is_file_open+0x70><== NEVER TAKEN
 8007e18:	34 03 00 00 	mvi r3,0                                       
    if ((iop->flags & LIBIO_FLAGS_OPEN) != 0) {                       
 8007e1c:	28 44 00 18 	lw r4,(r2+24)                                  
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
 for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
 8007e20:	34 63 00 01 	addi r3,r3,1                                   
    if ((iop->flags & LIBIO_FLAGS_OPEN) != 0) {                       
 8007e24:	20 84 01 00 	andi r4,r4,0x100                               
 8007e28:	44 80 00 03 	be r4,r0,8007e34 <rtems_libio_is_file_open+0x64>
       /*                                                             
        *  Check if this node is under the file system that we        
        *  are trying to dismount.                                    
        */                                                            
                                                                      
       if ( iop->pathinfo.node_access == node_access ) {              
 8007e2c:	28 41 00 1c 	lw r1,(r2+28)                                  
 8007e30:	44 2b 00 0d 	be r1,r11,8007e64 <rtems_libio_is_file_open+0x94>
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
 for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
 8007e34:	50 65 00 03 	bgeu r3,r5,8007e40 <rtems_libio_is_file_open+0x70>
 8007e38:	34 42 00 48 	addi r2,r2,72                                  
 8007e3c:	e3 ff ff f8 	bi 8007e1c <rtems_libio_is_file_open+0x4c>     
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
 8007e40:	29 81 00 00 	lw r1,(r12+0)                                  
 8007e44:	34 0b 00 00 	mvi r11,0                                      
 8007e48:	f8 00 01 a0 	calli 80084c8 <rtems_semaphore_release>        
  }                                                                   
                                                                      
  rtems_libio_unlock();                                               
                                                                      
  return result;                                                      
}                                                                     
 8007e4c:	b9 60 08 00 	mv r1,r11                                      
 8007e50:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8007e54:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8007e58:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8007e5c:	37 9c 00 0c 	addi sp,sp,12                                  
 8007e60:	c3 a0 00 00 	ret                                            
 8007e64:	29 81 00 00 	lw r1,(r12+0)                                  
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
 for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
 8007e68:	34 0b 00 01 	mvi r11,1                                      
 8007e6c:	f8 00 01 97 	calli 80084c8 <rtems_semaphore_release>        
  }                                                                   
                                                                      
  rtems_libio_unlock();                                               
                                                                      
  return result;                                                      
}                                                                     
 8007e70:	b9 60 08 00 	mv r1,r11                                      
 8007e74:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8007e78:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8007e7c:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8007e80:	37 9c 00 0c 	addi sp,sp,12                                  
 8007e84:	c3 a0 00 00 	ret                                            
                                                                      
08007ca0 <rtems_libio_is_open_files_in_fs>:                           
 */                                                                   
                                                                      
int rtems_libio_is_open_files_in_fs(                                  
  rtems_filesystem_mount_table_entry_t * fs_mt_entry                  
)                                                                     
{                                                                     
 8007ca0:	37 9c ff f4 	addi sp,sp,-12                                 
 8007ca4:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8007ca8:	5b 8c 00 08 	sw (sp+8),r12                                  
 8007cac:	5b 9d 00 04 	sw (sp+4),ra                                   
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 );
 8007cb0:	78 0c 08 01 	mvhi r12,0x801                                 
 8007cb4:	39 8c c6 a4 	ori r12,r12,0xc6a4                             
 8007cb8:	b8 20 58 00 	mv r11,r1                                      
 8007cbc:	29 81 00 00 	lw r1,(r12+0)                                  
 8007cc0:	34 02 00 00 	mvi r2,0                                       
 8007cc4:	b8 40 18 00 	mv r3,r2                                       
 8007cc8:	f8 00 01 9f 	calli 8008344 <rtems_semaphore_obtain>         
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
  for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
 8007ccc:	78 01 08 01 	mvhi r1,0x801                                  
 8007cd0:	38 21 c0 10 	ori r1,r1,0xc010                               
 8007cd4:	28 25 00 00 	lw r5,(r1+0)                                   
 8007cd8:	78 01 08 01 	mvhi r1,0x801                                  
 8007cdc:	38 21 c6 9c 	ori r1,r1,0xc69c                               
 8007ce0:	28 22 00 00 	lw r2,(r1+0)                                   
 8007ce4:	44 a0 00 0b 	be r5,r0,8007d10 <rtems_libio_is_open_files_in_fs+0x70><== NEVER TAKEN
 8007ce8:	34 03 00 00 	mvi r3,0                                       
                                                                      
    if ((iop->flags & LIBIO_FLAGS_OPEN) != 0) {                       
 8007cec:	28 44 00 18 	lw r4,(r2+24)                                  
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
  for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
 8007cf0:	34 63 00 01 	addi r3,r3,1                                   
                                                                      
    if ((iop->flags & LIBIO_FLAGS_OPEN) != 0) {                       
 8007cf4:	20 84 01 00 	andi r4,r4,0x100                               
 8007cf8:	44 80 00 03 	be r4,r0,8007d04 <rtems_libio_is_open_files_in_fs+0x64>
       /*                                                             
        *  Check if this node is under the file system that we        
        *  are trying to dismount.                                    
        */                                                            
                                                                      
       if ( iop->pathinfo.mt_entry == fs_mt_entry ) {                 
 8007cfc:	28 41 00 2c 	lw r1,(r2+44)                                  
 8007d00:	44 2b 00 0d 	be r1,r11,8007d34 <rtems_libio_is_open_files_in_fs+0x94>
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
  for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
 8007d04:	50 65 00 03 	bgeu r3,r5,8007d10 <rtems_libio_is_open_files_in_fs+0x70>
 8007d08:	34 42 00 48 	addi r2,r2,72                                  
 8007d0c:	e3 ff ff f8 	bi 8007cec <rtems_libio_is_open_files_in_fs+0x4c>
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
 8007d10:	29 81 00 00 	lw r1,(r12+0)                                  
 8007d14:	34 0b 00 00 	mvi r11,0                                      
 8007d18:	f8 00 01 ec 	calli 80084c8 <rtems_semaphore_release>        
  }                                                                   
                                                                      
  rtems_libio_unlock();                                               
                                                                      
  return result;                                                      
}                                                                     
 8007d1c:	b9 60 08 00 	mv r1,r11                                      
 8007d20:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8007d24:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8007d28:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8007d2c:	37 9c 00 0c 	addi sp,sp,12                                  
 8007d30:	c3 a0 00 00 	ret                                            
 8007d34:	29 81 00 00 	lw r1,(r12+0)                                  
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
  for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
 8007d38:	34 0b 00 01 	mvi r11,1                                      
 8007d3c:	f8 00 01 e3 	calli 80084c8 <rtems_semaphore_release>        
  }                                                                   
                                                                      
  rtems_libio_unlock();                                               
                                                                      
  return result;                                                      
}                                                                     
 8007d40:	b9 60 08 00 	mv r1,r11                                      
 8007d44:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8007d48:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8007d4c:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8007d50:	37 9c 00 0c 	addi sp,sp,12                                  
 8007d54:	c3 a0 00 00 	ret                                            
                                                                      
0802ad0c <rtems_libio_set_private_env>:                               
		rtems_filesystem_freenode( &env->root_directory);                   
		free(env);                                                          
	}                                                                    
}                                                                     
                                                                      
rtems_status_code rtems_libio_set_private_env(void) {                 
 802ad0c:	37 9c ff d0 	addi sp,sp,-48                                 
 802ad10:	5b 8b 00 18 	sw (sp+24),r11                                 
 802ad14:	5b 8c 00 14 	sw (sp+20),r12                                 
 802ad18:	5b 8d 00 10 	sw (sp+16),r13                                 
 802ad1c:	5b 8e 00 0c 	sw (sp+12),r14                                 
 802ad20:	5b 8f 00 08 	sw (sp+8),r15                                  
 802ad24:	5b 9d 00 04 	sw (sp+4),ra                                   
  rtems_status_code 					sc;                                          
  rtems_id          					task_id;                                     
  rtems_filesystem_location_info_t		loc;                              
                                                                      
  sc=rtems_task_ident(RTEMS_SELF,0,&task_id);                         
 802ad28:	34 01 00 00 	mvi r1,0                                       
 802ad2c:	b8 20 10 00 	mv r2,r1                                       
 802ad30:	37 83 00 30 	addi r3,sp,48                                  
 802ad34:	f8 00 07 ac 	calli 802cbe4 <rtems_task_ident>               
 802ad38:	b8 20 70 00 	mv r14,r1                                      
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
 802ad3c:	b8 20 78 00 	mv r15,r1                                      
 802ad40:	5c 20 00 60 	bne r1,r0,802aec0 <rtems_libio_set_private_env+0x1b4><== NEVER TAKEN
                                                                      
  /* Only for the first time a malloc is necesary */                  
  if (rtems_current_user_env==&rtems_global_user_env) {               
 802ad44:	78 0d 08 07 	mvhi r13,0x807                                 
 802ad48:	39 ad 12 f0 	ori r13,r13,0x12f0                             
 802ad4c:	29 ab 00 00 	lw r11,(r13+0)                                 
 802ad50:	78 0c 08 07 	mvhi r12,0x807                                 
 802ad54:	39 8c 4e e4 	ori r12,r12,0x4ee4                             
 802ad58:	45 6c 00 63 	be r11,r12,802aee4 <rtems_libio_set_private_env+0x1d8><== NEVER TAKEN
     return sc;                                                       
   }                                                                  
   rtems_current_user_env = tmp;                                      
  };                                                                  
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
 802ad5c:	29 81 00 00 	lw r1,(r12+0)                                  
  rtems_current_user_env->task_id=task_id;         /* mark the local values*/
                                                                      
  /* get a clean root */                                              
  rtems_filesystem_root    = THE_ROOT_FS_LOC;                         
 802ad60:	78 06 08 07 	mvhi r6,0x807                                  
 802ad64:	38 c6 4e d8 	ori r6,r6,0x4ed8                               
     return sc;                                                       
   }                                                                  
   rtems_current_user_env = tmp;                                      
  };                                                                  
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
 802ad68:	59 61 00 00 	sw (r11+0),r1                                  
 802ad6c:	29 82 00 04 	lw r2,(r12+4)                                  
   * code we must _not_ free the original locs because                
   * what we are trying to do here is forking off                     
   * clones.                                                          
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
 802ad70:	34 03 00 00 	mvi r3,0                                       
 802ad74:	37 8e 00 1c 	addi r14,sp,28                                 
     return sc;                                                       
   }                                                                  
   rtems_current_user_env = tmp;                                      
  };                                                                  
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
 802ad78:	59 62 00 04 	sw (r11+4),r2                                  
 802ad7c:	29 84 00 08 	lw r4,(r12+8)                                  
   * code we must _not_ free the original locs because                
   * what we are trying to do here is forking off                     
   * clones.                                                          
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
 802ad80:	78 01 08 06 	mvhi r1,0x806                                  
 802ad84:	b8 60 28 00 	mv r5,r3                                       
     return sc;                                                       
   }                                                                  
   rtems_current_user_env = tmp;                                      
  };                                                                  
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
 802ad88:	59 64 00 08 	sw (r11+8),r4                                  
 802ad8c:	29 87 00 0c 	lw r7,(r12+12)                                 
   * code we must _not_ free the original locs because                
   * what we are trying to do here is forking off                     
   * clones.                                                          
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
 802ad90:	34 02 00 01 	mvi r2,1                                       
 802ad94:	38 21 f8 1c 	ori r1,r1,0xf81c                               
     return sc;                                                       
   }                                                                  
   rtems_current_user_env = tmp;                                      
  };                                                                  
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
 802ad98:	59 67 00 0c 	sw (r11+12),r7                                 
 802ad9c:	29 84 00 10 	lw r4,(r12+16)                                 
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root    = loc;                                     
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_current = loc;                                     
 802ada0:	b8 60 78 00 	mv r15,r3                                      
     return sc;                                                       
   }                                                                  
   rtems_current_user_env = tmp;                                      
  };                                                                  
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
 802ada4:	59 64 00 10 	sw (r11+16),r4                                 
 802ada8:	29 87 00 14 	lw r7,(r12+20)                                 
   * code we must _not_ free the original locs because                
   * what we are trying to do here is forking off                     
   * clones.                                                          
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
 802adac:	b9 c0 20 00 	mv r4,r14                                      
     return sc;                                                       
   }                                                                  
   rtems_current_user_env = tmp;                                      
  };                                                                  
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
 802adb0:	59 67 00 14 	sw (r11+20),r7                                 
 802adb4:	29 87 00 18 	lw r7,(r12+24)                                 
 802adb8:	59 67 00 18 	sw (r11+24),r7                                 
 802adbc:	29 87 00 1c 	lw r7,(r12+28)                                 
 802adc0:	59 67 00 1c 	sw (r11+28),r7                                 
 802adc4:	29 87 00 20 	lw r7,(r12+32)                                 
 802adc8:	59 67 00 20 	sw (r11+32),r7                                 
 802adcc:	29 87 00 24 	lw r7,(r12+36)                                 
 802add0:	59 67 00 24 	sw (r11+36),r7                                 
 802add4:	29 87 00 28 	lw r7,(r12+40)                                 
 802add8:	59 67 00 28 	sw (r11+40),r7                                 
 802addc:	29 87 00 2c 	lw r7,(r12+44)                                 
 802ade0:	59 67 00 2c 	sw (r11+44),r7                                 
 802ade4:	29 87 00 30 	lw r7,(r12+48)                                 
 802ade8:	59 67 00 30 	sw (r11+48),r7                                 
 802adec:	29 87 00 34 	lw r7,(r12+52)                                 
 802adf0:	59 67 00 34 	sw (r11+52),r7                                 
 802adf4:	29 87 00 38 	lw r7,(r12+56)                                 
 802adf8:	59 67 00 38 	sw (r11+56),r7                                 
 802adfc:	29 87 00 3c 	lw r7,(r12+60)                                 
 802ae00:	59 67 00 3c 	sw (r11+60),r7                                 
 802ae04:	29 87 00 40 	lw r7,(r12+64)                                 
 802ae08:	59 67 00 40 	sw (r11+64),r7                                 
 802ae0c:	29 8c 00 44 	lw r12,(r12+68)                                
 802ae10:	59 6c 00 44 	sw (r11+68),r12                                
  rtems_current_user_env->task_id=task_id;         /* mark the local values*/
                                                                      
  /* get a clean root */                                              
  rtems_filesystem_root    = THE_ROOT_FS_LOC;                         
 802ae14:	28 c6 00 00 	lw r6,(r6+0)                                   
   }                                                                  
   rtems_current_user_env = tmp;                                      
  };                                                                  
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
  rtems_current_user_env->task_id=task_id;         /* mark the local values*/
 802ae18:	2b 87 00 30 	lw r7,(sp+48)                                  
 802ae1c:	59 67 00 00 	sw (r11+0),r7                                  
                                                                      
  /* get a clean root */                                              
  rtems_filesystem_root    = THE_ROOT_FS_LOC;                         
 802ae20:	28 c7 00 1c 	lw r7,(r6+28)                                  
 802ae24:	59 67 00 18 	sw (r11+24),r7                                 
 802ae28:	28 c7 00 20 	lw r7,(r6+32)                                  
 802ae2c:	59 67 00 1c 	sw (r11+28),r7                                 
 802ae30:	28 c7 00 24 	lw r7,(r6+36)                                  
 802ae34:	59 67 00 20 	sw (r11+32),r7                                 
 802ae38:	28 c7 00 28 	lw r7,(r6+40)                                  
 802ae3c:	59 67 00 24 	sw (r11+36),r7                                 
 802ae40:	28 c6 00 2c 	lw r6,(r6+44)                                  
 802ae44:	59 66 00 28 	sw (r11+40),r6                                 
   * code we must _not_ free the original locs because                
   * what we are trying to do here is forking off                     
   * clones.                                                          
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
 802ae48:	fb ff 6d b3 	calli 8006514 <rtems_filesystem_evaluate_path> 
  rtems_filesystem_root    = loc;                                     
 802ae4c:	2b 82 00 1c 	lw r2,(sp+28)                                  
 802ae50:	29 a6 00 00 	lw r6,(r13+0)                                  
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
 802ae54:	78 01 08 06 	mvhi r1,0x806                                  
 802ae58:	b9 c0 20 00 	mv r4,r14                                      
   * what we are trying to do here is forking off                     
   * clones.                                                          
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root    = loc;                                     
 802ae5c:	58 c2 00 18 	sw (r6+24),r2                                  
 802ae60:	2b 87 00 20 	lw r7,(sp+32)                                  
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
 802ae64:	34 02 00 01 	mvi r2,1                                       
 802ae68:	b9 e0 18 00 	mv r3,r15                                      
   * what we are trying to do here is forking off                     
   * clones.                                                          
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root    = loc;                                     
 802ae6c:	58 c7 00 1c 	sw (r6+28),r7                                  
 802ae70:	2b 87 00 24 	lw r7,(sp+36)                                  
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
 802ae74:	38 21 f8 1c 	ori r1,r1,0xf81c                               
 802ae78:	b9 e0 28 00 	mv r5,r15                                      
   * what we are trying to do here is forking off                     
   * clones.                                                          
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root    = loc;                                     
 802ae7c:	58 c7 00 20 	sw (r6+32),r7                                  
 802ae80:	2b 87 00 28 	lw r7,(sp+40)                                  
 802ae84:	58 c7 00 24 	sw (r6+36),r7                                  
 802ae88:	2b 87 00 2c 	lw r7,(sp+44)                                  
 802ae8c:	58 c7 00 28 	sw (r6+40),r7                                  
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
 802ae90:	fb ff 6d a1 	calli 8006514 <rtems_filesystem_evaluate_path> 
  rtems_filesystem_current = loc;                                     
 802ae94:	2b 81 00 1c 	lw r1,(sp+28)                                  
 802ae98:	29 a2 00 00 	lw r2,(r13+0)                                  
 802ae9c:	58 41 00 04 	sw (r2+4),r1                                   
 802aea0:	2b 84 00 20 	lw r4,(sp+32)                                  
 802aea4:	58 44 00 08 	sw (r2+8),r4                                   
 802aea8:	2b 87 00 24 	lw r7,(sp+36)                                  
 802aeac:	58 47 00 0c 	sw (r2+12),r7                                  
 802aeb0:	2b 81 00 28 	lw r1,(sp+40)                                  
 802aeb4:	58 41 00 10 	sw (r2+16),r1                                  
 802aeb8:	2b 84 00 2c 	lw r4,(sp+44)                                  
 802aebc:	58 44 00 14 	sw (r2+20),r4                                  
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 802aec0:	b9 e0 08 00 	mv r1,r15                                      
 802aec4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802aec8:	2b 8b 00 18 	lw r11,(sp+24)                                 
 802aecc:	2b 8c 00 14 	lw r12,(sp+20)                                 
 802aed0:	2b 8d 00 10 	lw r13,(sp+16)                                 
 802aed4:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 802aed8:	2b 8f 00 08 	lw r15,(sp+8)                                  
 802aedc:	37 9c 00 30 	addi sp,sp,48                                  
 802aee0:	c3 a0 00 00 	ret                                            
  sc=rtems_task_ident(RTEMS_SELF,0,&task_id);                         
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
                                                                      
  /* Only for the first time a malloc is necesary */                  
  if (rtems_current_user_env==&rtems_global_user_env) {               
   rtems_user_env_t	*tmp = malloc(sizeof(rtems_user_env_t));          
 802aee4:	34 01 00 48 	mvi r1,72                                      
 802aee8:	fb ff 6f be 	calli 8006de0 <malloc>                         
 802aeec:	b8 20 58 00 	mv r11,r1                                      
   if (!tmp)                                                          
 802aef0:	34 0f 00 1a 	mvi r15,26                                     
 802aef4:	44 20 ff f3 	be r1,r0,802aec0 <rtems_libio_set_private_env+0x1b4><== NEVER TAKEN
                                                                      
#ifdef HAVE_USERENV_REFCNT                                            
   tmp->refcnt = 1;                                                   
#endif                                                                
                                                                      
   sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,(void(*)(void *))free_user_envÌB
 802aef8:	78 03 08 02 	mvhi r3,0x802                                  
 802aefc:	b9 c0 08 00 	mv r1,r14                                      
 802af00:	38 63 ab d4 	ori r3,r3,0xabd4                               
 802af04:	b9 a0 10 00 	mv r2,r13                                      
 802af08:	f8 00 08 75 	calli 802d0dc <rtems_task_variable_add>        
 802af0c:	b8 20 78 00 	mv r15,r1                                      
   if (sc != RTEMS_SUCCESSFUL) {                                      
 802af10:	5c 20 00 03 	bne r1,r0,802af1c <rtems_libio_set_private_env+0x210><== NEVER TAKEN
	  * not initialized yet                                              
	  */                                                                 
     free(tmp);                                                       
     return sc;                                                       
   }                                                                  
   rtems_current_user_env = tmp;                                      
 802af14:	59 ab 00 00 	sw (r13+0),r11                                 
 802af18:	e3 ff ff 91 	bi 802ad5c <rtems_libio_set_private_env+0x50>  
   sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,(void(*)(void *))free_user_envTW
   if (sc != RTEMS_SUCCESSFUL) {                                      
	 /* don't use free_user_env because the pathlocs are                 
	  * not initialized yet                                              
	  */                                                                 
     free(tmp);                                                       
 802af1c:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 802af20:	fb ff 6d b5 	calli 80065f4 <free>                           <== NOT EXECUTED
     return sc;                                                       
 802af24:	e3 ff ff e7 	bi 802aec0 <rtems_libio_set_private_env+0x1b4> <== NOT EXECUTED
                                                                      
0802ac38 <rtems_libio_share_private_env>:                             
 *  b) mutex access to rtems_filesystem_current, rtems_filesytem_root 
 *     while changing any of those (chdir(), chroot()).               
 */                                                                   
                                                                      
#ifndef HAVE_USERENV_REFCNT                                           
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) {   
 802ac38:	37 9c ff e4 	addi sp,sp,-28                                 <== NOT EXECUTED
 802ac3c:	5b 8b 00 14 	sw (sp+20),r11                                 <== NOT EXECUTED
 802ac40:	5b 8c 00 10 	sw (sp+16),r12                                 <== NOT EXECUTED
 802ac44:	5b 8d 00 0c 	sw (sp+12),r13                                 <== NOT EXECUTED
 802ac48:	5b 8e 00 08 	sw (sp+8),r14                                  <== NOT EXECUTED
 802ac4c:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 802ac50:	b8 20 70 00 	mv r14,r1                                      <== NOT EXECUTED
  rtems_status_code  sc;                                              
  rtems_user_env_t * shared_user_env;                                 
  rtems_id           current_task_id;                                 
                                                                      
  sc=rtems_task_ident(RTEMS_SELF,0,¤t_task_id);                 
 802ac54:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 802ac58:	37 83 00 18 	addi r3,sp,24                                  <== NOT EXECUTED
 802ac5c:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
 802ac60:	f8 00 07 e1 	calli 802cbe4 <rtems_task_ident>               <== NOT EXECUTED
 802ac64:	b8 20 18 00 	mv r3,r1                                       <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
 802ac68:	5c 20 00 11 	bne r1,r0,802acac <rtems_libio_share_private_env+0x74><== NOT EXECUTED
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
 802ac6c:	78 0b 08 07 	mvhi r11,0x807                                 <== NOT EXECUTED
 802ac70:	39 6b 12 f0 	ori r11,r11,0x12f0                             <== NOT EXECUTED
 802ac74:	29 6d 00 00 	lw r13,(r11+0)                                 <== NOT EXECUTED
 802ac78:	2b 82 00 18 	lw r2,(sp+24)                                  <== NOT EXECUTED
 802ac7c:	b9 60 60 00 	mv r12,r11                                     <== NOT EXECUTED
 802ac80:	29 a3 00 00 	lw r3,(r13+0)                                  <== NOT EXECUTED
 802ac84:	44 62 00 12 	be r3,r2,802accc <rtems_libio_share_private_env+0x94><== NOT EXECUTED
   free_user_env(tmp);                                                
  };                                                                  
                                                                      
  /* AT THIS POINT, rtems_current_user_env is DANGLING */             
                                                                      
  sc = rtems_task_variable_get(task_id,(void*)&rtems_current_user_env,
 802ac88:	37 83 00 1c 	addi r3,sp,28                                  <== NOT EXECUTED
 802ac8c:	b9 c0 08 00 	mv r1,r14                                      <== NOT EXECUTED
 802ac90:	b9 80 10 00 	mv r2,r12                                      <== NOT EXECUTED
 802ac94:	f8 00 09 80 	calli 802d294 <rtems_task_variable_get>        <== NOT EXECUTED
 802ac98:	b8 20 18 00 	mv r3,r1                                       <== NOT EXECUTED
		                       (void*)&shared_user_env       );             
  if (sc != RTEMS_SUCCESSFUL)                                         
 802ac9c:	44 20 00 13 	be r1,r0,802ace8 <rtems_libio_share_private_env+0xb0><== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
                                                                      
bailout:                                                              
  /* fallback to the global env */                                    
  rtems_current_user_env = &rtems_global_user_env;                    
 802aca0:	78 01 08 07 	mvhi r1,0x807                                  <== NOT EXECUTED
 802aca4:	38 21 4e e4 	ori r1,r1,0x4ee4                               <== NOT EXECUTED
 802aca8:	59 61 00 00 	sw (r11+0),r1                                  <== NOT EXECUTED
  return sc;                                                          
}                                                                     
 802acac:	b8 60 08 00 	mv r1,r3                                       <== NOT EXECUTED
 802acb0:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 802acb4:	2b 8b 00 14 	lw r11,(sp+20)                                 <== NOT EXECUTED
 802acb8:	2b 8c 00 10 	lw r12,(sp+16)                                 <== NOT EXECUTED
 802acbc:	2b 8d 00 0c 	lw r13,(sp+12)                                 <== NOT EXECUTED
 802acc0:	2b 8e 00 08 	lw r14,(sp+8)                                  <== NOT EXECUTED
 802acc4:	37 9c 00 1c 	addi sp,sp,28                                  <== NOT EXECUTED
 802acc8:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
   /* kill the current user env & task_var*/                          
	rtems_user_env_t 	*tmp = rtems_current_user_env;                     
   sc = rtems_task_variable_delete(RTEMS_SELF,(void*)&rtems_current_user_env);
 802accc:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 802acd0:	f8 00 09 42 	calli 802d1d8 <rtems_task_variable_delete>     <== NOT EXECUTED
 802acd4:	b8 20 18 00 	mv r3,r1                                       <== NOT EXECUTED
   if (sc != RTEMS_SUCCESSFUL) return sc;                             
 802acd8:	5c 20 ff f5 	bne r1,r0,802acac <rtems_libio_share_private_env+0x74><== NOT EXECUTED
   free_user_env(tmp);                                                
 802acdc:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 802ace0:	fb ff ff bd 	calli 802abd4 <free_user_env>                  <== NOT EXECUTED
 802ace4:	e3 ff ff e9 	bi 802ac88 <rtems_libio_share_private_env+0x50><== NOT EXECUTED
  sc = rtems_task_variable_get(task_id,(void*)&rtems_current_user_env,
		                       (void*)&shared_user_env       );             
  if (sc != RTEMS_SUCCESSFUL)                                         
    goto bailout;                                                     
                                                                      
  sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,free_user_env);
 802ace8:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 802acec:	38 63 ab d4 	ori r3,r3,0xabd4                               <== NOT EXECUTED
 802acf0:	b9 80 10 00 	mv r2,r12                                      <== NOT EXECUTED
 802acf4:	f8 00 08 fa 	calli 802d0dc <rtems_task_variable_add>        <== NOT EXECUTED
 802acf8:	b8 20 18 00 	mv r3,r1                                       <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 802acfc:	5c 20 ff e9 	bne r1,r0,802aca0 <rtems_libio_share_private_env+0x68><== NOT EXECUTED
    goto bailout;                                                     
                                                                      
  /* the current_user_env is the same pointer that remote env */      
  rtems_current_user_env = shared_user_env;                           
 802ad00:	2b 81 00 1c 	lw r1,(sp+28)                                  <== NOT EXECUTED
 802ad04:	59 61 00 00 	sw (r11+0),r1                                  <== NOT EXECUTED
  /* increase the reference count */                                  
#ifdef HAVE_USERENV_REFCNT                                            
  rtems_current_user_env->refcnt++;                                   
#endif                                                                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 802ad08:	e3 ff ff e9 	bi 802acac <rtems_libio_share_private_env+0x74><== NOT EXECUTED
                                                                      
08007af4 <rtems_libio_to_fcntl_flags>:                                
 */                                                                   
                                                                      
uint32_t   rtems_libio_to_fcntl_flags(                                
  uint32_t   flags                                                    
)                                                                     
{                                                                     
 8007af4:	37 9c ff f8 	addi sp,sp,-8                                  
 8007af8:	5b 8b 00 08 	sw (sp+8),r11                                  
 8007afc:	5b 9d 00 04 	sw (sp+4),ra                                   
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
 8007b00:	34 03 00 06 	mvi r3,6                                       
 8007b04:	20 24 00 06 	andi r4,r1,0x6                                 
 */                                                                   
                                                                      
uint32_t   rtems_libio_to_fcntl_flags(                                
  uint32_t   flags                                                    
)                                                                     
{                                                                     
 8007b08:	b8 20 58 00 	mv r11,r1                                      
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
 8007b0c:	34 02 00 02 	mvi r2,2                                       
 8007b10:	44 83 00 04 	be r4,r3,8007b20 <rtems_libio_to_fcntl_flags+0x2c><== NEVER TAKEN
    fcntl_flags |= O_RDWR;                                            
  } else if ( (flags & LIBIO_FLAGS_READ) == LIBIO_FLAGS_READ) {       
 8007b14:	a0 22 18 00 	and r3,r1,r2                                   
 8007b18:	34 02 00 00 	mvi r2,0                                       
 8007b1c:	44 62 00 0f 	be r3,r2,8007b58 <rtems_libio_to_fcntl_flags+0x64><== 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 ) {     
 8007b20:	21 61 00 01 	andi r1,r11,0x1                                
 8007b24:	44 20 00 02 	be r1,r0,8007b2c <rtems_libio_to_fcntl_flags+0x38>
    fcntl_flags |= O_NONBLOCK;                                        
 8007b28:	38 42 40 00 	ori r2,r2,0x4000                               
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_APPEND) == LIBIO_FLAGS_APPEND ) {         
 8007b2c:	21 61 02 00 	andi r1,r11,0x200                              
 8007b30:	44 20 00 02 	be r1,r0,8007b38 <rtems_libio_to_fcntl_flags+0x44>
    fcntl_flags |= O_APPEND;                                          
 8007b34:	38 42 00 08 	ori r2,r2,0x8                                  
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_CREATE) == LIBIO_FLAGS_CREATE ) {         
 8007b38:	21 6b 04 00 	andi r11,r11,0x400                             
 8007b3c:	45 60 00 02 	be r11,r0,8007b44 <rtems_libio_to_fcntl_flags+0x50>
    fcntl_flags |= O_CREAT;                                           
 8007b40:	38 42 02 00 	ori r2,r2,0x200                                
  }                                                                   
                                                                      
  return fcntl_flags;                                                 
}                                                                     
 8007b44:	b8 40 08 00 	mv r1,r2                                       
 8007b48:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8007b4c:	2b 8b 00 08 	lw r11,(sp+8)                                  
 8007b50:	37 9c 00 08 	addi sp,sp,8                                   
 8007b54:	c3 a0 00 00 	ret                                            
{                                                                     
  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) {       
 8007b58:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 8007b5c:	fb ff e1 cd 	calli 8000290 <__lshrsi3>                      <== NOT EXECUTED
 8007b60:	20 22 00 01 	andi r2,r1,0x1                                 <== NOT EXECUTED
 8007b64:	e3 ff ff ef 	bi 8007b20 <rtems_libio_to_fcntl_flags+0x2c>   <== NOT EXECUTED
                                                                      
08006f08 <rtems_malloc_statistics_at_free>:                           
 *  size and thus we skip updating the statistics.                    
 */                                                                   
static void rtems_malloc_statistics_at_free(                          
  void *pointer                                                       
)                                                                     
{                                                                     
 8006f08:	37 9c ff f8 	addi sp,sp,-8                                  <== NOT EXECUTED
 8006f0c:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
 8006f10:	78 03 08 07 	mvhi r3,0x807                                  <== NOT EXECUTED
 8006f14:	38 63 10 1c 	ori r3,r3,0x101c                               <== NOT EXECUTED
 *  size and thus we skip updating the statistics.                    
 */                                                                   
static void rtems_malloc_statistics_at_free(                          
  void *pointer                                                       
)                                                                     
{                                                                     
 8006f18:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
 8006f1c:	28 61 00 00 	lw r1,(r3+0)                                   <== NOT EXECUTED
 8006f20:	37 83 00 08 	addi r3,sp,8                                   <== NOT EXECUTED
 8006f24:	f8 00 10 af 	calli 800b1e0 <_Protected_heap_Get_block_size> <== NOT EXECUTED
 8006f28:	44 20 00 0b 	be r1,r0,8006f54 <rtems_malloc_statistics_at_free+0x4c><== NOT EXECUTED
    MSBUMP(lifetime_freed, size);                                     
 8006f2c:	78 01 08 07 	mvhi r1,0x807                                  <== NOT EXECUTED
 8006f30:	38 21 4e a8 	ori r1,r1,0x4ea8                               <== NOT EXECUTED
 8006f34:	2b 83 00 08 	lw r3,(sp+8)                                   <== NOT EXECUTED
 8006f38:	28 22 00 2c 	lw r2,(r1+44)                                  <== NOT EXECUTED
 8006f3c:	28 24 00 28 	lw r4,(r1+40)                                  <== NOT EXECUTED
 8006f40:	b4 62 10 00 	add r2,r3,r2                                   <== NOT EXECUTED
 8006f44:	f4 62 18 00 	cmpgu r3,r3,r2                                 <== NOT EXECUTED
 8006f48:	58 22 00 2c 	sw (r1+44),r2                                  <== NOT EXECUTED
 8006f4c:	b4 64 10 00 	add r2,r3,r4                                   <== NOT EXECUTED
 8006f50:	58 22 00 28 	sw (r1+40),r2                                  <== NOT EXECUTED
  }                                                                   
}                                                                     
 8006f54:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8006f58:	37 9c 00 08 	addi sp,sp,8                                   <== NOT EXECUTED
 8006f5c:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08006f60 <rtems_malloc_statistics_at_malloc>:                         
}                                                                     
                                                                      
static void rtems_malloc_statistics_at_malloc(                        
  void *pointer                                                       
)                                                                     
{                                                                     
 8006f60:	37 9c ff f8 	addi sp,sp,-8                                  <== NOT EXECUTED
 8006f64:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 8006f68:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
  uintptr_t actual_size = 0;                                          
  uint32_t current_depth;                                             
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
 8006f6c:	44 20 00 17 	be r1,r0,8006fc8 <rtems_malloc_statistics_at_malloc+0x68><== NOT EXECUTED
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
 8006f70:	78 03 08 07 	mvhi r3,0x807                                  <== NOT EXECUTED
 8006f74:	38 63 10 1c 	ori r3,r3,0x101c                               <== NOT EXECUTED
 8006f78:	28 61 00 00 	lw r1,(r3+0)                                   <== NOT EXECUTED
                                                                      
static void rtems_malloc_statistics_at_malloc(                        
  void *pointer                                                       
)                                                                     
{                                                                     
  uintptr_t actual_size = 0;                                          
 8006f7c:	34 04 00 00 	mvi r4,0                                       <== NOT EXECUTED
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
 8006f80:	37 83 00 08 	addi r3,sp,8                                   <== NOT EXECUTED
                                                                      
static void rtems_malloc_statistics_at_malloc(                        
  void *pointer                                                       
)                                                                     
{                                                                     
  uintptr_t actual_size = 0;                                          
 8006f84:	5b 84 00 08 	sw (sp+8),r4                                   <== NOT EXECUTED
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
 8006f88:	f8 00 10 96 	calli 800b1e0 <_Protected_heap_Get_block_size> <== NOT EXECUTED
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
 8006f8c:	78 01 08 07 	mvhi r1,0x807                                  <== NOT EXECUTED
 8006f90:	38 21 4e a8 	ori r1,r1,0x4ea8                               <== NOT EXECUTED
 8006f94:	2b 84 00 08 	lw r4,(sp+8)                                   <== NOT EXECUTED
 8006f98:	28 22 00 24 	lw r2,(r1+36)                                  <== NOT EXECUTED
 8006f9c:	28 26 00 20 	lw r6,(r1+32)                                  <== NOT EXECUTED
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
 8006fa0:	28 23 00 2c 	lw r3,(r1+44)                                  <== NOT EXECUTED
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
 8006fa4:	b4 82 10 00 	add r2,r4,r2                                   <== NOT EXECUTED
 8006fa8:	f4 82 20 00 	cmpgu r4,r4,r2                                 <== NOT EXECUTED
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
  if (current_depth > s->max_depth)                                   
 8006fac:	28 25 00 18 	lw r5,(r1+24)                                  <== NOT EXECUTED
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
 8006fb0:	b4 86 20 00 	add r4,r4,r6                                   <== NOT EXECUTED
 8006fb4:	58 24 00 20 	sw (r1+32),r4                                  <== NOT EXECUTED
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
 8006fb8:	c8 43 18 00 	sub r3,r2,r3                                   <== NOT EXECUTED
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
 8006fbc:	58 22 00 24 	sw (r1+36),r2                                  <== NOT EXECUTED
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
  if (current_depth > s->max_depth)                                   
 8006fc0:	50 a3 00 02 	bgeu r5,r3,8006fc8 <rtems_malloc_statistics_at_malloc+0x68><== NOT EXECUTED
      s->max_depth = current_depth;                                   
 8006fc4:	58 23 00 18 	sw (r1+24),r3                                  <== NOT EXECUTED
}                                                                     
 8006fc8:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8006fcc:	37 9c 00 08 	addi sp,sp,8                                   <== NOT EXECUTED
 8006fd0:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08006fd4 <rtems_malloc_statistics_initialize>:                        
static void rtems_malloc_statistics_initialize( void )                
{                                                                     
  /*                                                                  
   * Zero all the statistics                                          
   */                                                                 
  (void) memset(&rtems_malloc_statistics, 0, sizeof(rtems_malloc_statistics));
 8006fd4:	78 01 08 07 	mvhi r1,0x807                                  <== NOT EXECUTED
 8006fd8:	38 21 4e a8 	ori r1,r1,0x4ea8                               <== NOT EXECUTED
 8006fdc:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 8006fe0:	58 22 00 2c 	sw (r1+44),r2                                  <== NOT EXECUTED
 8006fe4:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8006fe8:	58 22 00 04 	sw (r1+4),r2                                   <== NOT EXECUTED
 8006fec:	58 22 00 08 	sw (r1+8),r2                                   <== NOT EXECUTED
 8006ff0:	58 22 00 0c 	sw (r1+12),r2                                  <== NOT EXECUTED
 8006ff4:	58 22 00 10 	sw (r1+16),r2                                  <== NOT EXECUTED
 8006ff8:	58 22 00 14 	sw (r1+20),r2                                  <== NOT EXECUTED
 8006ffc:	58 22 00 18 	sw (r1+24),r2                                  <== NOT EXECUTED
 8007000:	58 22 00 1c 	sw (r1+28),r2                                  <== NOT EXECUTED
 8007004:	58 22 00 20 	sw (r1+32),r2                                  <== NOT EXECUTED
 8007008:	58 22 00 24 	sw (r1+36),r2                                  <== NOT EXECUTED
 800700c:	58 22 00 28 	sw (r1+40),r2                                  <== NOT EXECUTED
}                                                                     
 8007010:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
0800e01c <rtems_memalign>:                                            
int rtems_memalign(                                                   
  void   **pointer,                                                   
  size_t   alignment,                                                 
  size_t   size                                                       
)                                                                     
{                                                                     
 800e01c:	37 9c ff f0 	addi sp,sp,-16                                 
 800e020:	5b 8b 00 10 	sw (sp+16),r11                                 
 800e024:	5b 8c 00 0c 	sw (sp+12),r12                                 
 800e028:	5b 8d 00 08 	sw (sp+8),r13                                  
 800e02c:	5b 9d 00 04 	sw (sp+4),ra                                   
 800e030:	b8 20 58 00 	mv r11,r1                                      
 800e034:	b8 40 60 00 	mv r12,r2                                      
 800e038:	b8 60 68 00 	mv r13,r3                                      
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
 800e03c:	44 20 00 24 	be r1,r0,800e0cc <rtems_memalign+0xb0>         
  *pointer = NULL;                                                    
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
 800e040:	78 01 08 02 	mvhi r1,0x802                                  
 800e044:	38 21 4a 50 	ori r1,r1,0x4a50                               
 800e048:	28 22 00 00 	lw r2,(r1+0)                                   
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
    return EINVAL;                                                    
                                                                      
  *pointer = NULL;                                                    
 800e04c:	34 01 00 00 	mvi r1,0                                       
 800e050:	59 61 00 00 	sw (r11+0),r1                                  
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
 800e054:	34 01 00 03 	mvi r1,3                                       
 800e058:	44 41 00 1b 	be r2,r1,800e0c4 <rtems_memalign+0xa8>         <== ALWAYS TAKEN
                                                                      
  /*                                                                  
   *                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
 800e05c:	fb ff d3 88 	calli 8002e7c <malloc_deferred_frees_process>  
  uintptr_t size,                                                     
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return                                                              
    _Protected_heap_Allocate_aligned_with_boundary( heap, size, alignment, 0 );
 800e060:	78 01 08 02 	mvhi r1,0x802                                  
 800e064:	38 21 40 1c 	ori r1,r1,0x401c                               
 800e068:	28 21 00 00 	lw r1,(r1+0)                                   
 800e06c:	b9 80 18 00 	mv r3,r12                                      
 800e070:	b9 a0 10 00 	mv r2,r13                                      
 800e074:	34 04 00 00 	mvi r4,0                                       
 800e078:	fb ff e1 b5 	calli 800674c <_Protected_heap_Allocate_aligned_with_boundary>
 800e07c:	b8 20 60 00 	mv r12,r1                                      
  return_this = _Protected_heap_Allocate_aligned(                     
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
 800e080:	34 01 00 0c 	mvi r1,12                                      
 800e084:	45 80 00 0a 	be r12,r0,800e0ac <rtems_memalign+0x90>        
    return ENOMEM;                                                    
                                                                      
  /*                                                                  
   *  If configured, update the more involved statistics              
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
 800e088:	78 02 08 02 	mvhi r2,0x802                                  
 800e08c:	38 42 46 30 	ori r2,r2,0x4630                               
 800e090:	28 41 00 00 	lw r1,(r2+0)                                   
 800e094:	44 20 00 04 	be r1,r0,800e0a4 <rtems_memalign+0x88>         <== ALWAYS TAKEN
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
 800e098:	28 22 00 04 	lw r2,(r1+4)                                   <== NOT EXECUTED
 800e09c:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 800e0a0:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
     */                                                               
    if (rtems_malloc_boundary_helpers)                                
      (*rtems_malloc_boundary_helpers->at_malloc)(return_this, size); 
  #endif                                                              
                                                                      
  *pointer = return_this;                                             
 800e0a4:	59 6c 00 00 	sw (r11+0),r12                                 
 800e0a8:	34 01 00 00 	mvi r1,0                                       
  return 0;                                                           
}                                                                     
 800e0ac:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800e0b0:	2b 8b 00 10 	lw r11,(sp+16)                                 
 800e0b4:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 800e0b8:	2b 8d 00 08 	lw r13,(sp+8)                                  
 800e0bc:	37 9c 00 10 	addi sp,sp,16                                  
 800e0c0:	c3 a0 00 00 	ret                                            
  *pointer = NULL;                                                    
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
 800e0c4:	fb ff d3 53 	calli 8002e10 <malloc_is_system_state_OK>      
 800e0c8:	5c 20 ff e5 	bne r1,r0,800e05c <rtems_memalign+0x40>        <== ALWAYS TAKEN
    if (rtems_malloc_boundary_helpers)                                
      (*rtems_malloc_boundary_helpers->at_malloc)(return_this, size); 
  #endif                                                              
                                                                      
  *pointer = return_this;                                             
  return 0;                                                           
 800e0cc:	34 01 00 16 	mvi r1,22                                      
}                                                                     
 800e0d0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800e0d4:	2b 8b 00 10 	lw r11,(sp+16)                                 
 800e0d8:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 800e0dc:	2b 8d 00 08 	lw r13,(sp+8)                                  
 800e0e0:	37 9c 00 10 	addi sp,sp,16                                  
 800e0e4:	c3 a0 00 00 	ret                                            
                                                                      
080044c4 <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                            
)                                                                     
{                                                                     
 80044c4:	37 9c ff e8 	addi sp,sp,-24                                 
 80044c8:	5b 8b 00 18 	sw (sp+24),r11                                 
 80044cc:	5b 8c 00 14 	sw (sp+20),r12                                 
 80044d0:	5b 8d 00 10 	sw (sp+16),r13                                 
 80044d4:	5b 8e 00 0c 	sw (sp+12),r14                                 
 80044d8:	5b 8f 00 08 	sw (sp+8),r15                                  
 80044dc:	5b 9d 00 04 	sw (sp+4),ra                                   
 80044e0:	b8 60 70 00 	mv r14,r3                                      
  int                  i;                                             
                                                                      
  /*                                                                  
   * Validate parameters and look up information structure.           
   */                                                                 
  if ( !info )                                                        
 80044e4:	34 03 00 09 	mvi r3,9                                       
 80044e8:	45 c0 00 1e 	be r14,r0,8004560 <rtems_object_get_class_information+0x9c>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  obj_info = _Objects_Get_information( the_api, the_class );          
 80044ec:	f8 00 06 f7 	calli 80060c8 <_Objects_Get_information>       
 80044f0:	b8 20 10 00 	mv r2,r1                                       
  if ( !obj_info )                                                    
 80044f4:	34 03 00 0a 	mvi r3,10                                      
 80044f8:	44 20 00 1a 	be r1,r0,8004560 <rtems_object_get_class_information+0x9c>
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
 80044fc:	28 21 00 08 	lw r1,(r1+8)                                   
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
 8004500:	2c 4d 00 10 	lhu r13,(r2+16)                                
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
 8004504:	59 c1 00 00 	sw (r14+0),r1                                  
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
 8004508:	40 41 00 12 	lbu r1,(r2+18)                                 
  info->maximum     = obj_info->maximum;                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
 800450c:	b9 a0 60 00 	mv r12,r13                                     
  /*                                                                  
   * 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;                          
 8004510:	31 c1 00 0c 	sb (r14+12),r1                                 
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
 8004514:	28 41 00 0c 	lw r1,(r2+12)                                  
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
 8004518:	59 cd 00 08 	sw (r14+8),r13                                 
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
 800451c:	59 c1 00 04 	sw (r14+4),r1                                  
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
 8004520:	45 a0 00 0e 	be r13,r0,8004558 <rtems_object_get_class_information+0x94><== NEVER TAKEN
 8004524:	28 4f 00 1c 	lw r15,(r2+28)                                 
 8004528:	34 01 00 01 	mvi r1,1                                       
 800452c:	b8 20 58 00 	mv r11,r1                                      
 8004530:	34 0c 00 00 	mvi r12,0                                      
    if ( !obj_info->local_table[i] )                                  
 8004534:	34 02 00 02 	mvi r2,2                                       
 8004538:	fb ff f6 97 	calli 8001f94 <__ashlsi3>                      
 800453c:	b5 e1 08 00 	add r1,r15,r1                                  
 8004540:	28 22 00 00 	lw r2,(r1+0)                                   
  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++ )               
 8004544:	35 6b 00 01 	addi r11,r11,1                                 
 8004548:	b9 60 08 00 	mv r1,r11                                      
    if ( !obj_info->local_table[i] )                                  
      unallocated++;                                                  
 800454c:	64 42 00 00 	cmpei r2,r2,0                                  
 8004550:	b5 82 60 00 	add r12,r12,r2                                 
  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++ )               
 8004554:	51 ab ff f8 	bgeu r13,r11,8004534 <rtems_object_get_class_information+0x70>
    if ( !obj_info->local_table[i] )                                  
      unallocated++;                                                  
                                                                      
  info->unallocated = unallocated;                                    
 8004558:	59 cc 00 10 	sw (r14+16),r12                                
 800455c:	34 03 00 00 	mvi r3,0                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 8004560:	b8 60 08 00 	mv r1,r3                                       
 8004564:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8004568:	2b 8b 00 18 	lw r11,(sp+24)                                 
 800456c:	2b 8c 00 14 	lw r12,(sp+20)                                 
 8004570:	2b 8d 00 10 	lw r13,(sp+16)                                 
 8004574:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 8004578:	2b 8f 00 08 	lw r15,(sp+8)                                  
 800457c:	37 9c 00 18 	addi sp,sp,24                                  
 8004580:	c3 a0 00 00 	ret                                            
                                                                      
080071b8 <rtems_panic>:                                               
                                                                      
void rtems_panic(                                                     
    const char *printf_format,                                        
    ...                                                               
  )                                                                   
{                                                                     
 80071b8:	37 9c ff dc 	addi sp,sp,-36                                 <== NOT EXECUTED
 80071bc:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 80071c0:	b8 20 48 00 	mv r9,r1                                       <== NOT EXECUTED
 80071c4:	5b 81 00 08 	sw (sp+8),r1                                   <== NOT EXECUTED
    va_list arglist;                                                  
                                                                      
    va_start(arglist, printf_format);                                 
    (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);   
 80071c8:	78 01 20 00 	mvhi r1,0x2000                                 <== NOT EXECUTED
                                                                      
void rtems_panic(                                                     
    const char *printf_format,                                        
    ...                                                               
  )                                                                   
{                                                                     
 80071cc:	5b 82 00 0c 	sw (sp+12),r2                                  <== NOT EXECUTED
 80071d0:	5b 83 00 10 	sw (sp+16),r3                                  <== NOT EXECUTED
    va_list arglist;                                                  
                                                                      
    va_start(arglist, printf_format);                                 
    (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);   
 80071d4:	b9 20 10 00 	mv r2,r9                                       <== NOT EXECUTED
 80071d8:	37 83 00 0c 	addi r3,sp,12                                  <== NOT EXECUTED
 80071dc:	38 21 00 00 	ori r1,r1,0x0                                  <== NOT EXECUTED
                                                                      
void rtems_panic(                                                     
    const char *printf_format,                                        
    ...                                                               
  )                                                                   
{                                                                     
 80071e0:	5b 84 00 14 	sw (sp+20),r4                                  <== NOT EXECUTED
 80071e4:	5b 85 00 18 	sw (sp+24),r5                                  <== NOT EXECUTED
 80071e8:	5b 86 00 1c 	sw (sp+28),r6                                  <== NOT EXECUTED
 80071ec:	5b 87 00 20 	sw (sp+32),r7                                  <== NOT EXECUTED
 80071f0:	5b 88 00 24 	sw (sp+36),r8                                  <== NOT EXECUTED
    va_list arglist;                                                  
                                                                      
    va_start(arglist, printf_format);                                 
    (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);   
 80071f4:	fb ff ff 73 	calli 8006fc0 <rtems_verror>                   <== NOT EXECUTED
    va_end(arglist);                                                  
}                                                                     
 80071f8:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 80071fc:	37 9c 00 24 	addi sp,sp,36                                  <== NOT EXECUTED
 8007200:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08011490 <rtems_partition_create>:                                    
  uint32_t         length,                                            
  uint32_t         buffer_size,                                       
  rtems_attribute  attribute_set,                                     
  rtems_id        *id                                                 
)                                                                     
{                                                                     
 8011490:	37 9c ff d8 	addi sp,sp,-40                                 
 8011494:	5b 8b 00 18 	sw (sp+24),r11                                 
 8011498:	5b 8c 00 14 	sw (sp+20),r12                                 
 801149c:	5b 8d 00 10 	sw (sp+16),r13                                 
 80114a0:	5b 8e 00 0c 	sw (sp+12),r14                                 
 80114a4:	5b 8f 00 08 	sw (sp+8),r15                                  
 80114a8:	5b 9d 00 04 	sw (sp+4),ra                                   
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
 80114ac:	34 07 00 03 	mvi r7,3                                       
  uint32_t         length,                                            
  uint32_t         buffer_size,                                       
  rtems_attribute  attribute_set,                                     
  rtems_id        *id                                                 
)                                                                     
{                                                                     
 80114b0:	b8 20 60 00 	mv r12,r1                                      
 80114b4:	b8 40 58 00 	mv r11,r2                                      
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
 80114b8:	44 20 00 3c 	be r1,r0,80115a8 <rtems_partition_create+0x118>
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
 80114bc:	44 40 00 46 	be r2,r0,80115d4 <rtems_partition_create+0x144>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
 80114c0:	44 c0 00 45 	be r6,r0,80115d4 <rtems_partition_create+0x144><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
 80114c4:	64 82 00 00 	cmpei r2,r4,0                                  
 80114c8:	64 61 00 00 	cmpei r1,r3,0                                  
 80114cc:	b8 41 08 00 	or r1,r2,r1                                    
 80114d0:	5c 20 00 3f 	bne r1,r0,80115cc <rtems_partition_create+0x13c>
 80114d4:	54 83 00 3e 	bgu r4,r3,80115cc <rtems_partition_create+0x13c>
 80114d8:	20 81 00 07 	andi r1,r4,0x7                                 
 80114dc:	5c 20 00 3c 	bne r1,r0,80115cc <rtems_partition_create+0x13c>
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
 80114e0:	21 6e 00 07 	andi r14,r11,0x7                               
 80114e4:	5d c1 00 3c 	bne r14,r1,80115d4 <rtems_partition_create+0x144>
 80114e8:	78 01 08 03 	mvhi r1,0x803                                  
 80114ec:	38 21 ec 2c 	ori r1,r1,0xec2c                               
 80114f0:	28 22 00 00 	lw r2,(r1+0)                                   
 80114f4:	34 42 00 01 	addi r2,r2,1                                   
 80114f8:	58 22 00 00 	sw (r1+0),r2                                   
 *  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 );
 80114fc:	78 01 08 03 	mvhi r1,0x803                                  
 8011500:	38 21 ea 74 	ori r1,r1,0xea74                               
 8011504:	5b 83 00 28 	sw (sp+40),r3                                  
 8011508:	5b 84 00 20 	sw (sp+32),r4                                  
 801150c:	5b 85 00 24 	sw (sp+36),r5                                  
 8011510:	5b 86 00 1c 	sw (sp+28),r6                                  
 8011514:	f8 00 17 0e 	calli 801714c <_Objects_Allocate>              
 8011518:	b8 20 68 00 	mv r13,r1                                      
                                                                      
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
 801151c:	2b 83 00 28 	lw r3,(sp+40)                                  
 8011520:	2b 84 00 20 	lw r4,(sp+32)                                  
 8011524:	2b 85 00 24 	lw r5,(sp+36)                                  
 8011528:	2b 86 00 1c 	lw r6,(sp+28)                                  
 801152c:	44 2e 00 2c 	be r1,r14,80115dc <rtems_partition_create+0x14c>
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
  the_partition->length                = length;                      
  the_partition->buffer_size           = buffer_size;                 
  the_partition->attribute_set         = attribute_set;               
 8011530:	58 25 00 1c 	sw (r1+28),r5                                  
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
 8011534:	58 2b 00 10 	sw (r1+16),r11                                 
  the_partition->length                = length;                      
 8011538:	58 23 00 14 	sw (r1+20),r3                                  
  the_partition->buffer_size           = buffer_size;                 
 801153c:	58 24 00 18 	sw (r1+24),r4                                  
  the_partition->attribute_set         = attribute_set;               
  the_partition->number_of_used_blocks = 0;                           
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
 8011540:	b8 80 10 00 	mv r2,r4                                       
                                                                      
  the_partition->starting_address      = starting_address;            
  the_partition->length                = length;                      
  the_partition->buffer_size           = buffer_size;                 
  the_partition->attribute_set         = attribute_set;               
  the_partition->number_of_used_blocks = 0;                           
 8011544:	58 2e 00 20 	sw (r1+32),r14                                 
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
 8011548:	b8 60 08 00 	mv r1,r3                                       
 801154c:	5b 86 00 1c 	sw (sp+28),r6                                  
 8011550:	5b 84 00 20 	sw (sp+32),r4                                  
 8011554:	f8 00 7b 31 	calli 8030218 <__udivsi3>                      
 8011558:	2b 84 00 20 	lw r4,(sp+32)                                  
 801155c:	35 af 00 24 	addi r15,r13,36                                
 8011560:	b8 20 18 00 	mv r3,r1                                       
 8011564:	b9 60 10 00 	mv r2,r11                                      
 8011568:	b9 e0 08 00 	mv r1,r15                                      
 801156c:	f8 00 10 77 	calli 8015748 <_Chain_Initialize>              
 8011570:	29 ab 00 08 	lw r11,(r13+8)                                 
 8011574:	78 01 08 03 	mvhi r1,0x803                                  
 8011578:	38 21 ea 74 	ori r1,r1,0xea74                               
 801157c:	28 2f 00 1c 	lw r15,(r1+28)                                 
 8011580:	34 02 00 02 	mvi r2,2                                       
 8011584:	21 61 ff ff 	andi r1,r11,0xffff                             
 8011588:	fb ff f2 5c 	calli 800def8 <__ashlsi3>                      
    &_Partition_Information,                                          
    &the_partition->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_partition->Object.id;                                     
 801158c:	2b 86 00 1c 	lw r6,(sp+28)                                  
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
 8011590:	59 ac 00 0c 	sw (r13+12),r12                                
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 8011594:	b5 e1 08 00 	add r1,r15,r1                                  
 8011598:	58 cb 00 00 	sw (r6+0),r11                                  
 801159c:	58 2d 00 00 	sw (r1+0),r13                                  
      name,                                                           
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
 80115a0:	f8 00 1b d2 	calli 80184e8 <_Thread_Enable_dispatch>        
 80115a4:	b9 c0 38 00 	mv r7,r14                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 80115a8:	b8 e0 08 00 	mv r1,r7                                       
 80115ac:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80115b0:	2b 8b 00 18 	lw r11,(sp+24)                                 
 80115b4:	2b 8c 00 14 	lw r12,(sp+20)                                 
 80115b8:	2b 8d 00 10 	lw r13,(sp+16)                                 
 80115bc:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 80115c0:	2b 8f 00 08 	lw r15,(sp+8)                                  
 80115c4:	37 9c 00 28 	addi sp,sp,40                                  
 80115c8:	c3 a0 00 00 	ret                                            
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
 80115cc:	34 07 00 08 	mvi r7,8                                       
 80115d0:	e3 ff ff f6 	bi 80115a8 <rtems_partition_create+0x118>      
 80115d4:	34 07 00 09 	mvi r7,9                                       
 80115d8:	e3 ff ff f4 	bi 80115a8 <rtems_partition_create+0x118>      
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
    _Thread_Enable_dispatch();                                        
 80115dc:	f8 00 1b c3 	calli 80184e8 <_Thread_Enable_dispatch>        
 80115e0:	34 07 00 05 	mvi r7,5                                       
    return RTEMS_TOO_MANY;                                            
 80115e4:	e3 ff ff f1 	bi 80115a8 <rtems_partition_create+0x118>      
                                                                      
08009d74 <rtems_pipe_initialize>:                                     
                                                                      
/*                                                                    
 * Initialization of FIFO/pipe module.                                
 */                                                                   
void rtems_pipe_initialize (void)                                     
{                                                                     
 8009d74:	37 9c ff f8 	addi sp,sp,-8                                  
 8009d78:	5b 8b 00 08 	sw (sp+8),r11                                  
 8009d7c:	5b 9d 00 04 	sw (sp+4),ra                                   
  if (!rtems_pipe_configured)                                         
 8009d80:	78 01 08 01 	mvhi r1,0x801                                  
 8009d84:	38 21 c6 0c 	ori r1,r1,0xc60c                               
 8009d88:	40 21 00 00 	lbu r1,(r1+0)                                  
 8009d8c:	44 20 00 05 	be r1,r0,8009da0 <rtems_pipe_initialize+0x2c>  <== ALWAYS TAKEN
    return;                                                           
                                                                      
  if (rtems_pipe_semaphore)                                           
 8009d90:	78 05 08 01 	mvhi r5,0x801                                  <== NOT EXECUTED
 8009d94:	38 a5 c6 28 	ori r5,r5,0xc628                               <== NOT EXECUTED
 8009d98:	28 ab 00 00 	lw r11,(r5+0)                                  <== NOT EXECUTED
 8009d9c:	45 60 00 05 	be r11,r0,8009db0 <rtems_pipe_initialize+0x3c> <== NOT EXECUTED
    rtems_fatal_error_occurred (sc);                                  
                                                                      
  rtems_interval now;                                                 
  now = rtems_clock_get_ticks_since_boot();                           
  rtems_pipe_no = now;                                                
}                                                                     
 8009da0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8009da4:	2b 8b 00 08 	lw r11,(sp+8)                                  
 8009da8:	37 9c 00 08 	addi sp,sp,8                                   
 8009dac:	c3 a0 00 00 	ret                                            
                                                                      
  if (rtems_pipe_semaphore)                                           
    return;                                                           
                                                                      
  rtems_status_code sc;                                               
  sc = rtems_semaphore_create(                                        
 8009db0:	78 01 50 49 	mvhi r1,0x5049                                 <== NOT EXECUTED
 8009db4:	38 21 50 45 	ori r1,r1,0x5045                               <== NOT EXECUTED
 8009db8:	34 02 00 01 	mvi r2,1                                       <== NOT EXECUTED
 8009dbc:	34 03 00 54 	mvi r3,84                                      <== NOT EXECUTED
 8009dc0:	b9 60 20 00 	mv r4,r11                                      <== NOT EXECUTED
 8009dc4:	fb ff e0 ff 	calli 80021c0 <rtems_semaphore_create>         <== NOT EXECUTED
        rtems_build_name ('P', 'I', 'P', 'E'), 1,                     
        RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
        RTEMS_NO_PRIORITY, &rtems_pipe_semaphore);                    
  if (sc != RTEMS_SUCCESSFUL)                                         
 8009dc8:	5c 2b 00 09 	bne r1,r11,8009dec <rtems_pipe_initialize+0x78><== NOT EXECUTED
    rtems_fatal_error_occurred (sc);                                  
                                                                      
  rtems_interval now;                                                 
  now = rtems_clock_get_ticks_since_boot();                           
 8009dcc:	f8 00 04 1b 	calli 800ae38 <rtems_clock_get_ticks_since_boot><== NOT EXECUTED
  rtems_pipe_no = now;                                                
 8009dd0:	78 02 08 01 	mvhi r2,0x801                                  <== NOT EXECUTED
 8009dd4:	38 42 c6 2e 	ori r2,r2,0xc62e                               <== NOT EXECUTED
 8009dd8:	0c 41 00 00 	sh (r2+0),r1                                   <== NOT EXECUTED
}                                                                     
 8009ddc:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8009de0:	2b 8b 00 08 	lw r11,(sp+8)                                  <== NOT EXECUTED
 8009de4:	37 9c 00 08 	addi sp,sp,8                                   <== NOT EXECUTED
 8009de8:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
  sc = rtems_semaphore_create(                                        
        rtems_build_name ('P', 'I', 'P', 'E'), 1,                     
        RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
        RTEMS_NO_PRIORITY, &rtems_pipe_semaphore);                    
  if (sc != RTEMS_SUCCESSFUL)                                         
    rtems_fatal_error_occurred (sc);                                  
 8009dec:	fb ff e2 e4 	calli 800297c <rtems_fatal_error_occurred>     <== NOT EXECUTED
                                                                      
08040960 <rtems_rate_monotonic_period>:                               
                                                                      
rtems_status_code rtems_rate_monotonic_period(                        
  rtems_id       id,                                                  
  rtems_interval length                                               
)                                                                     
{                                                                     
 8040960:	37 9c ff e0 	addi sp,sp,-32                                 
 8040964:	5b 8b 00 18 	sw (sp+24),r11                                 
 8040968:	5b 8c 00 14 	sw (sp+20),r12                                 
 804096c:	5b 8d 00 10 	sw (sp+16),r13                                 
 8040970:	5b 8e 00 0c 	sw (sp+12),r14                                 
 8040974:	5b 8f 00 08 	sw (sp+8),r15                                  
 8040978:	5b 9d 00 04 	sw (sp+4),ra                                   
 804097c:	b8 20 70 00 	mv r14,r1                                      
 8040980:	78 01 08 07 	mvhi r1,0x807                                  
 8040984:	b8 40 68 00 	mv r13,r2                                      
 8040988:	38 21 54 9c 	ori r1,r1,0x549c                               
 804098c:	b9 c0 10 00 	mv r2,r14                                      
 8040990:	37 83 00 20 	addi r3,sp,32                                  
 8040994:	fb ff 29 11 	calli 800add8 <_Objects_Get>                   
 8040998:	b8 20 58 00 	mv r11,r1                                      
  rtems_rate_monotonic_period_states   local_state;                   
  ISR_Level                            level;                         
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
                                                                      
  switch ( location ) {                                               
 804099c:	2b 81 00 20 	lw r1,(sp+32)                                  
 80409a0:	44 20 00 0a 	be r1,r0,80409c8 <rtems_rate_monotonic_period+0x68>
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
          the_period->next_length = length;                           
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
          _Thread_Enable_dispatch();                                  
          return RTEMS_TIMEOUT;                                       
 80409a4:	34 01 00 04 	mvi r1,4                                       
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 80409a8:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80409ac:	2b 8b 00 18 	lw r11,(sp+24)                                 
 80409b0:	2b 8c 00 14 	lw r12,(sp+20)                                 
 80409b4:	2b 8d 00 10 	lw r13,(sp+16)                                 
 80409b8:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 80409bc:	2b 8f 00 08 	lw r15,(sp+8)                                  
 80409c0:	37 9c 00 20 	addi sp,sp,32                                  
 80409c4:	c3 a0 00 00 	ret                                            
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
                                                                      
  switch ( location ) {                                               
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
 80409c8:	78 0c 08 07 	mvhi r12,0x807                                 
 80409cc:	39 8c 50 e0 	ori r12,r12,0x50e0                             
 80409d0:	29 62 00 40 	lw r2,(r11+64)                                 
 80409d4:	29 81 00 00 	lw r1,(r12+0)                                  
 80409d8:	44 41 00 0b 	be r2,r1,8040a04 <rtems_rate_monotonic_period+0xa4>
        _Thread_Enable_dispatch();                                    
 80409dc:	fb ff 2b d5 	calli 800b930 <_Thread_Enable_dispatch>        
 80409e0:	34 01 00 17 	mvi r1,23                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 80409e4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80409e8:	2b 8b 00 18 	lw r11,(sp+24)                                 
 80409ec:	2b 8c 00 14 	lw r12,(sp+20)                                 
 80409f0:	2b 8d 00 10 	lw r13,(sp+16)                                 
 80409f4:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 80409f8:	2b 8f 00 08 	lw r15,(sp+8)                                  
 80409fc:	37 9c 00 20 	addi sp,sp,32                                  
 8040a00:	c3 a0 00 00 	ret                                            
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
 8040a04:	45 a0 00 32 	be r13,r0,8040acc <rtems_rate_monotonic_period+0x16c>
        }                                                             
        _Thread_Enable_dispatch();                                    
        return( return_value );                                       
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
 8040a08:	90 00 78 00 	rcsr r15,IE                                    
 8040a0c:	34 01 ff fe 	mvi r1,-2                                      
 8040a10:	a1 e1 08 00 	and r1,r15,r1                                  
 8040a14:	d0 01 00 00 	wcsr IE,r1                                     
      switch ( the_period->state ) {                                  
 8040a18:	29 61 00 38 	lw r1,(r11+56)                                 
 8040a1c:	34 02 00 02 	mvi r2,2                                       
 8040a20:	44 22 00 30 	be r1,r2,8040ae0 <rtems_rate_monotonic_period+0x180>
 8040a24:	34 02 00 04 	mvi r2,4                                       
 8040a28:	44 22 00 19 	be r1,r2,8040a8c <rtems_rate_monotonic_period+0x12c>
 8040a2c:	5c 20 ff de 	bne r1,r0,80409a4 <rtems_rate_monotonic_period+0x44><== NEVER TAKEN
        case RATE_MONOTONIC_INACTIVE: {                               
                                                                      
          _ISR_Enable( level );                                       
 8040a30:	d0 0f 00 00 	wcsr IE,r15                                    
                                                                      
          /*                                                          
           *  Baseline statistics information for the beginning of a period.
           */                                                         
          _Rate_monotonic_Initiate_statistics( the_period );          
 8040a34:	b9 60 08 00 	mv r1,r11                                      
 8040a38:	fb ff ff 1b 	calli 80406a4 <_Rate_monotonic_Initiate_statistics>
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 8040a3c:	78 02 08 04 	mvhi r2,0x804                                  
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 8040a40:	34 0c 00 00 	mvi r12,0                                      
  the_watchdog->routine   = routine;                                  
 8040a44:	38 42 0b 6c 	ori r2,r2,0xb6c                                
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
 8040a48:	34 03 00 02 	mvi r3,2                                       
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 8040a4c:	78 01 08 07 	mvhi r1,0x807                                  
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 8040a50:	59 62 00 2c 	sw (r11+44),r2                                 
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 8040a54:	38 21 51 00 	ori r1,r1,0x5100                               
 8040a58:	59 63 00 38 	sw (r11+56),r3                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
 8040a5c:	59 6e 00 30 	sw (r11+48),r14                                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 8040a60:	59 6d 00 1c 	sw (r11+28),r13                                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 8040a64:	35 62 00 10 	addi r2,r11,16                                 
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 8040a68:	59 6c 00 18 	sw (r11+24),r12                                
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 8040a6c:	59 6c 00 34 	sw (r11+52),r12                                
            _Rate_monotonic_Timeout,                                  
            id,                                                       
            NULL                                                      
          );                                                          
                                                                      
          the_period->next_length = length;                           
 8040a70:	59 6d 00 3c 	sw (r11+60),r13                                
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 8040a74:	fb ff 30 ec 	calli 800ce24 <_Watchdog_Insert>               
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
          _Thread_Enable_dispatch();                                  
 8040a78:	b9 80 08 00 	mv r1,r12                                      
 8040a7c:	5b 81 00 1c 	sw (sp+28),r1                                  
 8040a80:	fb ff 2b ac 	calli 800b930 <_Thread_Enable_dispatch>        
          return RTEMS_SUCCESSFUL;                                    
 8040a84:	2b 81 00 1c 	lw r1,(sp+28)                                  
 8040a88:	e3 ff ff d7 	bi 80409e4 <rtems_rate_monotonic_period+0x84>  
        case RATE_MONOTONIC_EXPIRED:                                  
                                                                      
          /*                                                          
           *  Update statistics from the concluding period            
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
 8040a8c:	b9 60 08 00 	mv r1,r11                                      
 8040a90:	fb ff ff 6a 	calli 8040838 <_Rate_monotonic_Update_statistics>
                                                                      
          _ISR_Enable( level );                                       
 8040a94:	d0 0f 00 00 	wcsr IE,r15                                    
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
 8040a98:	34 02 00 02 	mvi r2,2                                       
 8040a9c:	78 01 08 07 	mvhi r1,0x807                                  
 8040aa0:	59 62 00 38 	sw (r11+56),r2                                 
 8040aa4:	38 21 51 00 	ori r1,r1,0x5100                               
 8040aa8:	35 62 00 10 	addi r2,r11,16                                 
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 8040aac:	59 6d 00 1c 	sw (r11+28),r13                                
          the_period->next_length = length;                           
 8040ab0:	59 6d 00 3c 	sw (r11+60),r13                                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 8040ab4:	fb ff 30 dc 	calli 800ce24 <_Watchdog_Insert>               
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
          _Thread_Enable_dispatch();                                  
 8040ab8:	34 01 00 06 	mvi r1,6                                       
 8040abc:	5b 81 00 1c 	sw (sp+28),r1                                  
 8040ac0:	fb ff 2b 9c 	calli 800b930 <_Thread_Enable_dispatch>        
          return RTEMS_TIMEOUT;                                       
 8040ac4:	2b 81 00 1c 	lw r1,(sp+28)                                  
 8040ac8:	e3 ff ff c7 	bi 80409e4 <rtems_rate_monotonic_period+0x84>  
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
        switch ( the_period->state ) {                                
 8040acc:	29 61 00 38 	lw r1,(r11+56)                                 
 8040ad0:	34 02 00 04 	mvi r2,4                                       
 8040ad4:	50 41 00 1b 	bgeu r2,r1,8040b40 <rtems_rate_monotonic_period+0x1e0><== ALWAYS TAKEN
 8040ad8:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 8040adc:	e3 ff ff e8 	bi 8040a7c <rtems_rate_monotonic_period+0x11c> <== NOT EXECUTED
        case RATE_MONOTONIC_ACTIVE:                                   
                                                                      
          /*                                                          
           *  Update statistics from the concluding period.           
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
 8040ae0:	b9 60 08 00 	mv r1,r11                                      
 8040ae4:	fb ff ff 55 	calli 8040838 <_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;       
 8040ae8:	34 01 00 01 	mvi r1,1                                       
          the_period->next_length = length;                           
 8040aec:	59 6d 00 3c 	sw (r11+60),r13                                
          /*                                                          
           *  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;       
 8040af0:	59 61 00 38 	sw (r11+56),r1                                 
          the_period->next_length = length;                           
                                                                      
          _ISR_Enable( level );                                       
 8040af4:	d0 0f 00 00 	wcsr IE,r15                                    
                                                                      
          _Thread_Executing->Wait.id = the_period->Object.id;         
 8040af8:	29 81 00 00 	lw r1,(r12+0)                                  
 8040afc:	29 63 00 08 	lw r3,(r11+8)                                  
          _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
 8040b00:	34 02 40 00 	mvi r2,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;         
 8040b04:	58 23 00 20 	sw (r1+32),r3                                  
          _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
 8040b08:	fb ff 2e 82 	calli 800c510 <_Thread_Set_state>              
                                                                      
          /*                                                          
           *  Did the watchdog timer expire while we were actually blocking
           *  on it?                                                  
           */                                                         
          _ISR_Disable( level );                                      
 8040b0c:	90 00 08 00 	rcsr r1,IE                                     
 8040b10:	34 02 ff fe 	mvi r2,-2                                      
 8040b14:	a0 22 10 00 	and r2,r1,r2                                   
 8040b18:	d0 02 00 00 	wcsr IE,r2                                     
            local_state = the_period->state;                          
            the_period->state = RATE_MONOTONIC_ACTIVE;                
 8040b1c:	34 03 00 02 	mvi r3,2                                       
          /*                                                          
           *  Did the watchdog timer expire while we were actually blocking
           *  on it?                                                  
           */                                                         
          _ISR_Disable( level );                                      
            local_state = the_period->state;                          
 8040b20:	29 62 00 38 	lw r2,(r11+56)                                 
            the_period->state = RATE_MONOTONIC_ACTIVE;                
 8040b24:	59 63 00 38 	sw (r11+56),r3                                 
          _ISR_Enable( level );                                       
 8040b28:	d0 01 00 00 	wcsr IE,r1                                     
                                                                      
          /*                                                          
           *  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 ) 
 8040b2c:	34 01 00 03 	mvi r1,3                                       
 8040b30:	44 41 00 0b 	be r2,r1,8040b5c <rtems_rate_monotonic_period+0x1fc><== NEVER TAKEN
            _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
                                                                      
          _Thread_Enable_dispatch();                                  
 8040b34:	fb ff 2b 7f 	calli 800b930 <_Thread_Enable_dispatch>        
 8040b38:	34 01 00 00 	mvi r1,0                                       
          return RTEMS_SUCCESSFUL;                                    
 8040b3c:	e3 ff ff aa 	bi 80409e4 <rtems_rate_monotonic_period+0x84>  
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
        switch ( the_period->state ) {                                
 8040b40:	78 0b 08 06 	mvhi r11,0x806                                 
 8040b44:	34 02 00 02 	mvi r2,2                                       
 8040b48:	fb ff 01 86 	calli 8001160 <__ashlsi3>                      
 8040b4c:	39 6b dd f4 	ori r11,r11,0xddf4                             
 8040b50:	b5 61 08 00 	add r1,r11,r1                                  
 8040b54:	28 21 00 00 	lw r1,(r1+0)                                   
 8040b58:	e3 ff ff c9 	bi 8040a7c <rtems_rate_monotonic_period+0x11c> 
          /*                                                          
           *  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 );
 8040b5c:	29 81 00 00 	lw r1,(r12+0)                                  <== NOT EXECUTED
 8040b60:	34 02 40 00 	mvi r2,16384                                   <== NOT EXECUTED
 8040b64:	fb ff b5 84 	calli 802e174 <_Thread_Clear_state>            <== NOT EXECUTED
 8040b68:	e3 ff ff f3 	bi 8040b34 <rtems_rate_monotonic_period+0x1d4> <== NOT EXECUTED
                                                                      
0802c714 <rtems_rate_monotonic_report_statistics_with_plugin>:        
 */                                                                   
void rtems_rate_monotonic_report_statistics_with_plugin(              
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
 802c714:	37 9c ff 5c 	addi sp,sp,-164                                
 802c718:	5b 8b 00 44 	sw (sp+68),r11                                 
 802c71c:	5b 8c 00 40 	sw (sp+64),r12                                 
 802c720:	5b 8d 00 3c 	sw (sp+60),r13                                 
 802c724:	5b 8e 00 38 	sw (sp+56),r14                                 
 802c728:	5b 8f 00 34 	sw (sp+52),r15                                 
 802c72c:	5b 90 00 30 	sw (sp+48),r16                                 
 802c730:	5b 91 00 2c 	sw (sp+44),r17                                 
 802c734:	5b 92 00 28 	sw (sp+40),r18                                 
 802c738:	5b 93 00 24 	sw (sp+36),r19                                 
 802c73c:	5b 94 00 20 	sw (sp+32),r20                                 
 802c740:	5b 95 00 1c 	sw (sp+28),r21                                 
 802c744:	5b 96 00 18 	sw (sp+24),r22                                 
 802c748:	5b 97 00 14 	sw (sp+20),r23                                 
 802c74c:	5b 98 00 10 	sw (sp+16),r24                                 
 802c750:	5b 99 00 0c 	sw (sp+12),r25                                 
 802c754:	5b 9b 00 08 	sw (sp+8),fp                                   
 802c758:	5b 9d 00 04 	sw (sp+4),ra                                   
 802c75c:	b8 40 68 00 	mv r13,r2                                      
 802c760:	b8 20 78 00 	mv r15,r1                                      
  rtems_id                               id;                          
  rtems_rate_monotonic_period_statistics the_stats;                   
  rtems_rate_monotonic_period_status     the_status;                  
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
 802c764:	44 40 00 2b 	be r2,r0,802c810 <rtems_rate_monotonic_report_statistics_with_plugin+0xfc><== NEVER TAKEN
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
 802c768:	78 02 08 06 	mvhi r2,0x806                                  
 802c76c:	38 42 a3 60 	ori r2,r2,0xa360                               
 802c770:	d9 a0 00 00 	call r13                                       
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
 802c774:	78 02 08 06 	mvhi r2,0x806                                  
 802c778:	38 42 a3 80 	ori r2,r2,0xa380                               
 802c77c:	b9 e0 08 00 	mv r1,r15                                      
 802c780:	d9 a0 00 00 	call r13                                       
    (*print)( context, "--- Wall times are in seconds ---\n" );       
 802c784:	78 02 08 06 	mvhi r2,0x806                                  
 802c788:	38 42 a3 a4 	ori r2,r2,0xa3a4                               
 802c78c:	b9 e0 08 00 	mv r1,r15                                      
 802c790:	d9 a0 00 00 	call r13                                       
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
 802c794:	78 02 08 06 	mvhi r2,0x806                                  
 802c798:	38 42 a3 c8 	ori r2,r2,0xa3c8                               
 802c79c:	b9 e0 08 00 	mv r1,r15                                      
 802c7a0:	d9 a0 00 00 	call r13                                       
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
 802c7a4:	78 02 08 06 	mvhi r2,0x806                                  
 802c7a8:	b9 e0 08 00 	mv r1,r15                                      
                                                                      
  /*                                                                  
   * 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 ;                   
 802c7ac:	78 0c 08 07 	mvhi r12,0x807                                 
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
 802c7b0:	38 42 a4 14 	ori r2,r2,0xa414                               
                                                                      
  /*                                                                  
   * 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 ;                   
 802c7b4:	39 8c 54 9c 	ori r12,r12,0x549c                             
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
 802c7b8:	d9 a0 00 00 	call r13                                       
                                                                      
  /*                                                                  
   * 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 ;                   
 802c7bc:	29 81 00 0c 	lw r1,(r12+12)                                 
 802c7c0:	29 8b 00 08 	lw r11,(r12+8)                                 
 802c7c4:	55 61 00 13 	bgu r11,r1,802c810 <rtems_rate_monotonic_report_statistics_with_plugin+0xfc><== NEVER TAKEN
 802c7c8:	37 90 00 48 	addi r16,sp,72                                 
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
    if ( status != RTEMS_SUCCESSFUL )                                 
      continue;                                                       
                                                                      
    /* If the above passed, so should this but check it anyway */     
    status = rtems_rate_monotonic_get_status( id, &the_status );      
 802c7cc:	37 96 00 80 	addi r22,sp,128                                
    #if defined(RTEMS_DEBUG)                                          
      if ( status != RTEMS_SUCCESSFUL )                               
        continue;                                                     
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
 802c7d0:	37 91 00 a0 	addi r17,sp,160                                
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
 802c7d4:	78 15 08 06 	mvhi r21,0x806                                 
      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 );
 802c7d8:	37 94 00 60 	addi r20,sp,96                                 
 802c7dc:	37 92 00 98 	addi r18,sp,152                                
      (*print)( context,                                              
 802c7e0:	78 1b 08 06 	mvhi fp,0x806                                  
      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);
 802c7e4:	37 99 00 78 	addi r25,sp,120                                
      (*print)( context,                                              
 802c7e8:	78 18 08 06 	mvhi r24,0x806                                 
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
 802c7ec:	78 13 08 06 	mvhi r19,0x806                                 
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
 802c7f0:	b9 60 08 00 	mv r1,r11                                      
 802c7f4:	ba 00 10 00 	mv r2,r16                                      
 802c7f8:	f8 00 4f 44 	calli 8040508 <rtems_rate_monotonic_get_statistics>
 802c7fc:	b8 20 70 00 	mv r14,r1                                      
    if ( status != RTEMS_SUCCESSFUL )                                 
 802c800:	44 20 00 17 	be r1,r0,802c85c <rtems_rate_monotonic_report_statistics_with_plugin+0x148>
                                                                      
  /*                                                                  
   * 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 ;                   
 802c804:	29 85 00 0c 	lw r5,(r12+12)                                 
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
 802c808:	35 6b 00 01 	addi r11,r11,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 ;                   
 802c80c:	50 ab ff f9 	bgeu r5,r11,802c7f0 <rtems_rate_monotonic_report_statistics_with_plugin+0xdc>
        the_stats.min_wall_time, the_stats.max_wall_time, ival_wall, fval_wall
      );                                                              
    #endif                                                            
    }                                                                 
  }                                                                   
}                                                                     
 802c810:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802c814:	2b 8b 00 44 	lw r11,(sp+68)                                 
 802c818:	2b 8c 00 40 	lw r12,(sp+64)                                 
 802c81c:	2b 8d 00 3c 	lw r13,(sp+60)                                 
 802c820:	2b 8e 00 38 	lw r14,(sp+56)                                 
 802c824:	2b 8f 00 34 	lw r15,(sp+52)                                 
 802c828:	2b 90 00 30 	lw r16,(sp+48)                                 
 802c82c:	2b 91 00 2c 	lw r17,(sp+44)                                 
 802c830:	2b 92 00 28 	lw r18,(sp+40)                                 
 802c834:	2b 93 00 24 	lw r19,(sp+36)                                 
 802c838:	2b 94 00 20 	lw r20,(sp+32)                                 
 802c83c:	2b 95 00 1c 	lw r21,(sp+28)                                 
 802c840:	2b 96 00 18 	lw r22,(sp+24)                                 
 802c844:	2b 97 00 14 	lw r23,(sp+20)                                 
 802c848:	2b 98 00 10 	lw r24,(sp+16)                                 
 802c84c:	2b 99 00 0c 	lw r25,(sp+12)                                 
 802c850:	2b 9b 00 08 	lw fp,(sp+8)                                   
 802c854:	37 9c 00 a4 	addi sp,sp,164                                 
 802c858:	c3 a0 00 00 	ret                                            
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
    if ( status != RTEMS_SUCCESSFUL )                                 
      continue;                                                       
                                                                      
    /* If the above passed, so should this but check it anyway */     
    status = rtems_rate_monotonic_get_status( id, &the_status );      
 802c85c:	ba c0 10 00 	mv r2,r22                                      
 802c860:	b9 60 08 00 	mv r1,r11                                      
 802c864:	f8 00 4f 5c 	calli 80405d4 <rtems_rate_monotonic_get_status>
    #if defined(RTEMS_DEBUG)                                          
      if ( status != RTEMS_SUCCESSFUL )                               
        continue;                                                     
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
 802c868:	2b 81 00 80 	lw r1,(sp+128)                                 
 802c86c:	ba 20 18 00 	mv r3,r17                                      
 802c870:	34 02 00 05 	mvi r2,5                                       
 802c874:	fb ff 70 75 	calli 8008a48 <rtems_object_get_name>          
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
 802c878:	2b 85 00 48 	lw r5,(sp+72)                                  
 802c87c:	2b 86 00 4c 	lw r6,(sp+76)                                  
 802c880:	ba a0 10 00 	mv r2,r21                                      
 802c884:	b9 60 18 00 	mv r3,r11                                      
 802c888:	38 42 a4 60 	ori r2,r2,0xa460                               
 802c88c:	b9 e0 08 00 	mv r1,r15                                      
 802c890:	ba 20 20 00 	mv r4,r17                                      
 802c894:	d9 a0 00 00 	call r13                                       
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
 802c898:	2b 85 00 48 	lw r5,(sp+72)                                  
      (*print)( context, "\n" );                                      
 802c89c:	ba 60 10 00 	mv r2,r19                                      
      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 );
 802c8a0:	ba 40 18 00 	mv r3,r18                                      
 802c8a4:	ba 80 08 00 	mv r1,r20                                      
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
 802c8a8:	38 42 bd fc 	ori r2,r2,0xbdfc                               
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
 802c8ac:	5c ae 00 04 	bne r5,r14,802c8bc <rtems_rate_monotonic_report_statistics_with_plugin+0x1a8>
      (*print)( context, "\n" );                                      
 802c8b0:	b9 e0 08 00 	mv r1,r15                                      
 802c8b4:	d9 a0 00 00 	call r13                                       
      continue;                                                       
 802c8b8:	e3 ff ff d3 	bi 802c804 <rtems_rate_monotonic_report_statistics_with_plugin+0xf0>
      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 );
 802c8bc:	b8 a0 10 00 	mv r2,r5                                       
 802c8c0:	f8 00 08 02 	calli 802e8c8 <_Timespec_Divide_by_integer>    
      (*print)( context,                                              
 802c8c4:	2b 81 00 54 	lw r1,(sp+84)                                  
 802c8c8:	34 02 03 e8 	mvi r2,1000                                    
 802c8cc:	f8 00 dc 11 	calli 8063910 <__divsi3>                       
 802c8d0:	b8 20 b8 00 	mv r23,r1                                      
 802c8d4:	2b 81 00 5c 	lw r1,(sp+92)                                  
 802c8d8:	34 02 03 e8 	mvi r2,1000                                    
 802c8dc:	f8 00 dc 0d 	calli 8063910 <__divsi3>                       
 802c8e0:	b8 20 70 00 	mv r14,r1                                      
 802c8e4:	2b 81 00 9c 	lw r1,(sp+156)                                 
 802c8e8:	34 02 03 e8 	mvi r2,1000                                    
 802c8ec:	f8 00 dc 09 	calli 8063910 <__divsi3>                       
 802c8f0:	2b 85 00 58 	lw r5,(sp+88)                                  
 802c8f4:	2b 87 00 98 	lw r7,(sp+152)                                 
 802c8f8:	2b 83 00 50 	lw r3,(sp+80)                                  
 802c8fc:	bb 60 10 00 	mv r2,fp                                       
 802c900:	b8 20 40 00 	mv r8,r1                                       
 802c904:	ba e0 20 00 	mv r4,r23                                      
 802c908:	b9 c0 30 00 	mv r6,r14                                      
 802c90c:	b9 e0 08 00 	mv r1,r15                                      
 802c910:	38 42 a4 78 	ori r2,r2,0xa478                               
 802c914:	d9 a0 00 00 	call r13                                       
      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);
 802c918:	2b 82 00 48 	lw r2,(sp+72)                                  
 802c91c:	ba 40 18 00 	mv r3,r18                                      
 802c920:	bb 20 08 00 	mv r1,r25                                      
 802c924:	f8 00 07 e9 	calli 802e8c8 <_Timespec_Divide_by_integer>    
      (*print)( context,                                              
 802c928:	2b 81 00 6c 	lw r1,(sp+108)                                 
 802c92c:	34 02 03 e8 	mvi r2,1000                                    
 802c930:	f8 00 db f8 	calli 8063910 <__divsi3>                       
 802c934:	b8 20 b8 00 	mv r23,r1                                      
 802c938:	2b 81 00 74 	lw r1,(sp+116)                                 
 802c93c:	34 02 03 e8 	mvi r2,1000                                    
 802c940:	f8 00 db f4 	calli 8063910 <__divsi3>                       
 802c944:	b8 20 70 00 	mv r14,r1                                      
 802c948:	2b 81 00 9c 	lw r1,(sp+156)                                 
 802c94c:	34 02 03 e8 	mvi r2,1000                                    
 802c950:	f8 00 db f0 	calli 8063910 <__divsi3>                       
 802c954:	2b 83 00 68 	lw r3,(sp+104)                                 
 802c958:	2b 85 00 70 	lw r5,(sp+112)                                 
 802c95c:	2b 87 00 98 	lw r7,(sp+152)                                 
 802c960:	bb 00 10 00 	mv r2,r24                                      
 802c964:	b8 20 40 00 	mv r8,r1                                       
 802c968:	ba e0 20 00 	mv r4,r23                                      
 802c96c:	b9 e0 08 00 	mv r1,r15                                      
 802c970:	b9 c0 30 00 	mv r6,r14                                      
 802c974:	38 42 a4 98 	ori r2,r2,0xa498                               
 802c978:	d9 a0 00 00 	call r13                                       
 802c97c:	e3 ff ff a2 	bi 802c804 <rtems_rate_monotonic_report_statistics_with_plugin+0xf0>
                                                                      
0802c9a4 <rtems_rate_monotonic_reset_all_statistics>:                 
                                                                      
/*                                                                    
 *  rtems_rate_monotonic_reset_all_statistics                         
 */                                                                   
void rtems_rate_monotonic_reset_all_statistics( void )                
{                                                                     
 802c9a4:	37 9c ff f4 	addi sp,sp,-12                                 
 802c9a8:	5b 8b 00 0c 	sw (sp+12),r11                                 
 802c9ac:	5b 8c 00 08 	sw (sp+8),r12                                  
 802c9b0:	5b 9d 00 04 	sw (sp+4),ra                                   
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 802c9b4:	78 01 08 07 	mvhi r1,0x807                                  
 802c9b8:	38 21 50 24 	ori r1,r1,0x5024                               
 802c9bc:	28 22 00 00 	lw r2,(r1+0)                                   
 802c9c0:	34 42 00 01 	addi r2,r2,1                                   
 802c9c4:	58 22 00 00 	sw (r1+0),r2                                   
                                                                      
    /*                                                                
     * 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 ;                 
 802c9c8:	78 0c 08 07 	mvhi r12,0x807                                 
 802c9cc:	39 8c 54 9c 	ori r12,r12,0x549c                             
 802c9d0:	29 8b 00 08 	lw r11,(r12+8)                                 
 802c9d4:	29 81 00 0c 	lw r1,(r12+12)                                 
 802c9d8:	55 61 00 06 	bgu r11,r1,802c9f0 <rtems_rate_monotonic_reset_all_statistics+0x4c><== NEVER TAKEN
          id <= _Rate_monotonic_Information.maximum_id ;              
          id++ ) {                                                    
      status = rtems_rate_monotonic_reset_statistics( id );           
 802c9dc:	b9 60 08 00 	mv r1,r11                                      
 802c9e0:	f8 00 00 0a 	calli 802ca08 <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 ;                 
 802c9e4:	29 81 00 0c 	lw r1,(r12+12)                                 
          id <= _Rate_monotonic_Information.maximum_id ;              
          id++ ) {                                                    
 802c9e8:	35 6b 00 01 	addi r11,r11,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 ;                 
 802c9ec:	50 2b ff fc 	bgeu r1,r11,802c9dc <rtems_rate_monotonic_reset_all_statistics+0x38>
    }                                                                 
                                                                      
  /*                                                                  
   *  Done so exit thread dispatching disabled critical section.      
   */                                                                 
  _Thread_Enable_dispatch();                                          
 802c9f0:	fb ff 7b d0 	calli 800b930 <_Thread_Enable_dispatch>        
}                                                                     
 802c9f4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802c9f8:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 802c9fc:	2b 8c 00 08 	lw r12,(sp+8)                                  
 802ca00:	37 9c 00 0c 	addi sp,sp,12                                  
 802ca04:	c3 a0 00 00 	ret                                            
                                                                      
08012808 <rtems_region_get_segment_size>:                             
rtems_status_code rtems_region_get_segment_size(                      
  rtems_id   id,                                                      
  void      *segment,                                                 
  uintptr_t *size                                                     
)                                                                     
{                                                                     
 8012808:	37 9c ff e8 	addi sp,sp,-24                                 
 801280c:	5b 8b 00 14 	sw (sp+20),r11                                 
 8012810:	5b 8c 00 10 	sw (sp+16),r12                                 
 8012814:	5b 8d 00 0c 	sw (sp+12),r13                                 
 8012818:	5b 8e 00 08 	sw (sp+8),r14                                  
 801281c:	5b 9d 00 04 	sw (sp+4),ra                                   
 8012820:	b8 40 60 00 	mv r12,r2                                      
 8012824:	b8 20 68 00 	mv r13,r1                                      
 8012828:	b8 60 70 00 	mv r14,r3                                      
  Objects_Locations        location;                                  
  rtems_status_code        return_status = RTEMS_SUCCESSFUL;          
  register Region_Control *the_region;                                
                                                                      
  if ( !segment )                                                     
 801282c:	44 40 00 1b 	be r2,r0,8012898 <rtems_region_get_segment_size+0x90>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !size )                                                        
 8012830:	44 60 00 1a 	be r3,r0,8012898 <rtems_region_get_segment_size+0x90>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
 8012834:	78 0b 08 03 	mvhi r11,0x803                                 
 8012838:	39 6b ec e0 	ori r11,r11,0xece0                             
 801283c:	29 61 00 00 	lw r1,(r11+0)                                  
 8012840:	f8 00 0b 7a 	calli 8015628 <_API_Mutex_Lock>                
 8012844:	78 01 08 03 	mvhi r1,0x803                                  
 8012848:	b9 a0 10 00 	mv r2,r13                                      
 801284c:	38 21 ea f4 	ori r1,r1,0xeaf4                               
 8012850:	37 83 00 18 	addi r3,sp,24                                  
 8012854:	f8 00 13 f3 	calli 8017820 <_Objects_Get_no_protection>     
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
 8012858:	2b 8d 00 18 	lw r13,(sp+24)                                 
 801285c:	45 a0 00 18 	be r13,r0,80128bc <rtems_region_get_segment_size+0xb4>
 8012860:	34 01 00 01 	mvi r1,1                                       
 8012864:	34 0c 00 04 	mvi r12,4                                      
 8012868:	45 a1 00 02 	be r13,r1,8012870 <rtems_region_get_segment_size+0x68><== ALWAYS TAKEN
                                                                      
      case OBJECTS_LOCAL:                                             
        if ( !_Heap_Size_of_alloc_area( &the_region->Memory, segment, size ) )
 801286c:	34 0c 00 00 	mvi r12,0                                      <== NOT EXECUTED
      case OBJECTS_ERROR:                                             
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
 8012870:	29 61 00 00 	lw r1,(r11+0)                                  
 8012874:	f8 00 0b 89 	calli 8015698 <_API_Mutex_Unlock>              
  return return_status;                                               
}                                                                     
 8012878:	b9 80 08 00 	mv r1,r12                                      
 801287c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8012880:	2b 8b 00 14 	lw r11,(sp+20)                                 
 8012884:	2b 8c 00 10 	lw r12,(sp+16)                                 
 8012888:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 801288c:	2b 8e 00 08 	lw r14,(sp+8)                                  
 8012890:	37 9c 00 18 	addi sp,sp,24                                  
 8012894:	c3 a0 00 00 	ret                                            
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
 8012898:	34 0c 00 09 	mvi r12,9                                      
}                                                                     
 801289c:	b9 80 08 00 	mv r1,r12                                      
 80128a0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80128a4:	2b 8b 00 14 	lw r11,(sp+20)                                 
 80128a8:	2b 8c 00 10 	lw r12,(sp+16)                                 
 80128ac:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 80128b0:	2b 8e 00 08 	lw r14,(sp+8)                                  
 80128b4:	37 9c 00 18 	addi sp,sp,24                                  
 80128b8:	c3 a0 00 00 	ret                                            
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
                                                                      
      case OBJECTS_LOCAL:                                             
        if ( !_Heap_Size_of_alloc_area( &the_region->Memory, segment, size ) )
 80128bc:	b9 80 10 00 	mv r2,r12                                      
 80128c0:	34 21 00 68 	addi r1,r1,104                                 
 80128c4:	b9 c0 18 00 	mv r3,r14                                      
 80128c8:	f8 00 11 bc 	calli 8016fb8 <_Heap_Size_of_alloc_area>       
 80128cc:	34 0c 00 09 	mvi r12,9                                      
 80128d0:	44 2d ff e8 	be r1,r13,8012870 <rtems_region_get_segment_size+0x68><== NEVER TAKEN
 80128d4:	34 0c 00 00 	mvi r12,0                                      
 80128d8:	e3 ff ff e6 	bi 8012870 <rtems_region_get_segment_size+0x68>
                                                                      
0801318c <rtems_signal_send>:                                         
                                                                      
rtems_status_code rtems_signal_send(                                  
  rtems_id          id,                                               
  rtems_signal_set  signal_set                                        
)                                                                     
{                                                                     
 801318c:	37 9c ff f4 	addi sp,sp,-12                                 
 8013190:	5b 8b 00 08 	sw (sp+8),r11                                  
 8013194:	5b 9d 00 04 	sw (sp+4),ra                                   
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
 8013198:	34 03 00 0a 	mvi r3,10                                      
                                                                      
rtems_status_code rtems_signal_send(                                  
  rtems_id          id,                                               
  rtems_signal_set  signal_set                                        
)                                                                     
{                                                                     
 801319c:	b8 40 58 00 	mv r11,r2                                      
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
 80131a0:	5c 40 00 06 	bne r2,r0,80131b8 <rtems_signal_send+0x2c>     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 80131a4:	b8 60 08 00 	mv r1,r3                                       
 80131a8:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80131ac:	2b 8b 00 08 	lw r11,(sp+8)                                  
 80131b0:	37 9c 00 0c 	addi sp,sp,12                                  
 80131b4:	c3 a0 00 00 	ret                                            
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 80131b8:	37 82 00 0c 	addi r2,sp,12                                  
 80131bc:	f8 00 14 eb 	calli 8018568 <_Thread_Get>                    
  switch ( location ) {                                               
 80131c0:	2b 84 00 0c 	lw r4,(sp+12)                                  
 80131c4:	34 03 00 04 	mvi r3,4                                       
 80131c8:	5c 80 ff f7 	bne r4,r0,80131a4 <rtems_signal_send+0x18>     
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
 80131cc:	28 22 01 24 	lw r2,(r1+292)                                 
      asr = &api->Signal;                                             
 80131d0:	28 43 00 0c 	lw r3,(r2+12)                                  
 80131d4:	44 64 00 28 	be r3,r4,8013274 <rtems_signal_send+0xe8>      
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
        if ( asr->is_enabled ) {                                      
 80131d8:	40 43 00 08 	lbu r3,(r2+8)                                  
 80131dc:	44 60 00 17 	be r3,r0,8013238 <rtems_signal_send+0xac>      
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
 80131e0:	90 00 18 00 	rcsr r3,IE                                     
 80131e4:	34 04 ff fe 	mvi r4,-2                                      
 80131e8:	a0 64 20 00 	and r4,r3,r4                                   
 80131ec:	d0 04 00 00 	wcsr IE,r4                                     
    *signal_set |= signals;                                           
 80131f0:	28 44 00 14 	lw r4,(r2+20)                                  
 80131f4:	b8 8b 58 00 	or r11,r4,r11                                  
 80131f8:	58 4b 00 14 	sw (r2+20),r11                                 
  _ISR_Enable( _level );                                              
 80131fc:	d0 03 00 00 	wcsr IE,r3                                     
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          the_thread->do_post_task_switch_extension = true;           
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
 8013200:	78 02 08 03 	mvhi r2,0x803                                  
 8013204:	38 42 ec c4 	ori r2,r2,0xecc4                               
 8013208:	28 42 00 00 	lw r2,(r2+0)                                   
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
        if ( asr->is_enabled ) {                                      
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          the_thread->do_post_task_switch_extension = true;           
 801320c:	34 03 00 01 	mvi r3,1                                       
 8013210:	30 23 00 74 	sb (r1+116),r3                                 
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
 8013214:	44 40 00 11 	be r2,r0,8013258 <rtems_signal_send+0xcc>      
 8013218:	78 02 08 03 	mvhi r2,0x803                                  
 801321c:	38 42 ec e8 	ori r2,r2,0xece8                               
 8013220:	28 42 00 00 	lw r2,(r2+0)                                   
 8013224:	5c 22 00 0d 	bne r1,r2,8013258 <rtems_signal_send+0xcc>     <== NEVER TAKEN
            _ISR_Signals_to_thread_executing = true;                  
 8013228:	78 01 08 03 	mvhi r1,0x803                                  
 801322c:	38 21 ed 80 	ori r1,r1,0xed80                               
 8013230:	30 23 00 00 	sb (r1+0),r3                                   
 8013234:	e0 00 00 09 	bi 8013258 <rtems_signal_send+0xcc>            
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
 8013238:	90 00 08 00 	rcsr r1,IE                                     
 801323c:	34 03 ff fe 	mvi r3,-2                                      
 8013240:	a0 23 18 00 	and r3,r1,r3                                   
 8013244:	d0 03 00 00 	wcsr IE,r3                                     
    *signal_set |= signals;                                           
 8013248:	28 43 00 18 	lw r3,(r2+24)                                  
 801324c:	b8 6b 58 00 	or r11,r3,r11                                  
 8013250:	58 4b 00 18 	sw (r2+24),r11                                 
  _ISR_Enable( _level );                                              
 8013254:	d0 01 00 00 	wcsr IE,r1                                     
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
 8013258:	f8 00 14 a4 	calli 80184e8 <_Thread_Enable_dispatch>        
 801325c:	34 03 00 00 	mvi r3,0                                       
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 8013260:	b8 60 08 00 	mv r1,r3                                       
 8013264:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8013268:	2b 8b 00 08 	lw r11,(sp+8)                                  
 801326c:	37 9c 00 0c 	addi sp,sp,12                                  
 8013270:	c3 a0 00 00 	ret                                            
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
 8013274:	f8 00 14 9d 	calli 80184e8 <_Thread_Enable_dispatch>        
 8013278:	34 03 00 0b 	mvi r3,11                                      
      return RTEMS_NOT_DEFINED;                                       
 801327c:	e3 ff ff ca 	bi 80131a4 <rtems_signal_send+0x18>            
                                                                      
080040bc <rtems_stack_checker_begin_extension>:                       
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  Stack_check_Control  *the_pattern;                                  
                                                                      
  if ( the_thread->Object.id == 0 )        /* skip system tasks */    
 80040bc:	28 22 00 08 	lw r2,(r1+8)                                   
 80040c0:	44 40 00 0c 	be r2,r0,80040f0 <rtems_stack_checker_begin_extension+0x34><== NEVER TAKEN
    return;                                                           
                                                                      
  the_pattern = Stack_check_Get_pattern_area(&the_thread->Start.Initial_stack);
                                                                      
  *the_pattern = Stack_check_Pattern;                                 
 80040c4:	28 22 00 c4 	lw r2,(r1+196)                                 
 80040c8:	78 01 08 07 	mvhi r1,0x807                                  
 80040cc:	38 21 4e 78 	ori r1,r1,0x4e78                               
 80040d0:	28 23 00 00 	lw r3,(r1+0)                                   
 80040d4:	58 43 00 08 	sw (r2+8),r3                                   
 80040d8:	28 23 00 04 	lw r3,(r1+4)                                   
 80040dc:	58 43 00 0c 	sw (r2+12),r3                                  
 80040e0:	28 23 00 08 	lw r3,(r1+8)                                   
 80040e4:	58 43 00 10 	sw (r2+16),r3                                  
 80040e8:	28 21 00 0c 	lw r1,(r1+12)                                  
 80040ec:	58 41 00 14 	sw (r2+20),r1                                  
 80040f0:	c3 a0 00 00 	ret                                            
                                                                      
08004674 <rtems_stack_checker_create_extension>:                      
 */                                                                   
bool rtems_stack_checker_create_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
 8004674:	37 9c ff f8 	addi sp,sp,-8                                  
 8004678:	5b 8b 00 08 	sw (sp+8),r11                                  
 800467c:	5b 9d 00 04 	sw (sp+4),ra                                   
 8004680:	b8 40 58 00 	mv r11,r2                                      
  Stack_check_Initialize();                                           
 8004684:	fb ff ff c8 	calli 80045a4 <Stack_check_Initialize>         
                                                                      
  if (the_thread)                                                     
 8004688:	45 60 00 05 	be r11,r0,800469c <rtems_stack_checker_create_extension+0x28><== NEVER TAKEN
    Stack_check_Dope_stack(&the_thread->Start.Initial_stack);         
 800468c:	29 63 00 c0 	lw r3,(r11+192)                                
 8004690:	29 61 00 c4 	lw r1,(r11+196)                                
 8004694:	34 02 00 a5 	mvi r2,165                                     
 8004698:	f8 01 1a b0 	calli 804b158 <memset>                         
                                                                      
  return true;                                                        
}                                                                     
 800469c:	34 01 00 01 	mvi r1,1                                       
 80046a0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80046a4:	2b 8b 00 08 	lw r11,(sp+8)                                  
 80046a8:	37 9c 00 08 	addi sp,sp,8                                   
 80046ac:	c3 a0 00 00 	ret                                            
                                                                      
08004484 <rtems_stack_checker_is_blown>:                              
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
 8004484:	37 9c ff f0 	addi sp,sp,-16                                 
 8004488:	5b 9b 00 08 	sw (sp+8),fp                                   
 800448c:	34 1b 00 10 	mvi fp,16                                      
 8004490:	b7 7c d8 00 	add fp,fp,sp                                   
 8004494:	5b 8b 00 10 	sw (sp+16),r11                                 
 8004498:	5b 8c 00 0c 	sw (sp+12),r12                                 
 800449c:	5b 9d 00 04 	sw (sp+4),ra                                   
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
 80044a0:	78 0b 08 07 	mvhi r11,0x807                                 
 80044a4:	39 6b 50 e0 	ori r11,r11,0x50e0                             
 80044a8:	29 62 00 00 	lw r2,(r11+0)                                  
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
 80044ac:	28 41 00 c4 	lw r1,(r2+196)                                 
 80044b0:	53 61 00 19 	bgeu fp,r1,8004514 <rtems_stack_checker_is_blown+0x90><== ALWAYS TAKEN
 80044b4:	34 0c 00 00 	mvi r12,0                                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
 80044b8:	78 02 08 07 	mvhi r2,0x807                                  
 80044bc:	38 42 24 a8 	ori r2,r2,0x24a8                               
 80044c0:	28 43 00 00 	lw r3,(r2+0)                                   
 80044c4:	34 02 00 01 	mvi r2,1                                       
 80044c8:	44 60 00 07 	be r3,r0,80044e4 <rtems_stack_checker_is_blown+0x60><== NEVER TAKEN
    pattern_ok = (!memcmp(                                            
 80044cc:	78 02 08 07 	mvhi r2,0x807                                  
 80044d0:	38 42 4e 78 	ori r2,r2,0x4e78                               
 80044d4:	34 21 00 08 	addi r1,r1,8                                   
 80044d8:	34 03 00 10 	mvi r3,16                                      
 80044dc:	f8 01 1a 35 	calli 804adb0 <memcmp>                         
 80044e0:	64 22 00 00 	cmpei r2,r1,0                                  
  }                                                                   
                                                                      
  /*                                                                  
   * The Stack Pointer and the Pattern Area are OK so return false.   
   */                                                                 
  if ( sp_ok && pattern_ok )                                          
 80044e4:	45 80 00 03 	be r12,r0,80044f0 <rtems_stack_checker_is_blown+0x6c><== NEVER TAKEN
 80044e8:	34 01 00 00 	mvi r1,0                                       
 80044ec:	5c 41 00 04 	bne r2,r1,80044fc <rtems_stack_checker_is_blown+0x78><== ALWAYS TAKEN
    return false;                                                     
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  Stack_check_report_blown_task( _Thread_Executing, pattern_ok );     
 80044f0:	29 61 00 00 	lw r1,(r11+0)                                  <== NOT EXECUTED
 80044f4:	fb ff ff b5 	calli 80043c8 <Stack_check_report_blown_task>  <== NOT EXECUTED
 80044f8:	34 01 00 01 	mvi r1,1                                       <== NOT EXECUTED
  return true;                                                        
}                                                                     
 80044fc:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8004500:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8004504:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8004508:	2b 9b 00 08 	lw fp,(sp+8)                                   
 800450c:	37 9c 00 10 	addi sp,sp,16                                  
 8004510:	c3 a0 00 00 	ret                                            
}                                                                     
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
 8004514:	28 4c 00 c0 	lw r12,(r2+192)                                
 8004518:	b4 2c 60 00 	add r12,r1,r12                                 
 800451c:	f1 9b 60 00 	cmpgeu r12,r12,fp                              
 8004520:	e3 ff ff e6 	bi 80044b8 <rtems_stack_checker_is_blown+0x34> 
                                                                      
080043a4 <rtems_stack_checker_report_usage>:                          
                                                                      
void rtems_stack_checker_report_usage( void )                         
{                                                                     
 80043a4:	37 9c ff fc 	addi sp,sp,-4                                  <== NOT EXECUTED
 80043a8:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  rtems_stack_checker_report_usage_with_plugin( NULL, printk_plugin );
 80043ac:	78 02 08 00 	mvhi r2,0x800                                  <== NOT EXECUTED
 80043b0:	38 42 7b 70 	ori r2,r2,0x7b70                               <== NOT EXECUTED
 80043b4:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 80043b8:	fb ff ff d7 	calli 8004314 <rtems_stack_checker_report_usage_with_plugin><== NOT EXECUTED
}                                                                     
 80043bc:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 80043c0:	37 9c 00 04 	addi sp,sp,4                                   <== NOT EXECUTED
 80043c4:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08004314 <rtems_stack_checker_report_usage_with_plugin>:              
                                                                      
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
 8004314:	37 9c ff ec 	addi sp,sp,-20                                 <== NOT EXECUTED
 8004318:	5b 8b 00 14 	sw (sp+20),r11                                 <== NOT EXECUTED
 800431c:	5b 8c 00 10 	sw (sp+16),r12                                 <== NOT EXECUTED
 8004320:	5b 8d 00 0c 	sw (sp+12),r13                                 <== NOT EXECUTED
 8004324:	5b 8e 00 08 	sw (sp+8),r14                                  <== NOT EXECUTED
 8004328:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  print_context = context;                                            
 800432c:	78 0b 08 07 	mvhi r11,0x807                                 <== NOT EXECUTED
  print_handler = print;                                              
 8004330:	78 0c 08 07 	mvhi r12,0x807                                 <== NOT EXECUTED
                                                                      
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
 8004334:	b8 40 68 00 	mv r13,r2                                      <== NOT EXECUTED
  print_context = context;                                            
 8004338:	39 6b 24 ac 	ori r11,r11,0x24ac                             <== NOT EXECUTED
  print_handler = print;                                              
 800433c:	39 8c 24 b0 	ori r12,r12,0x24b0                             <== NOT EXECUTED
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
 8004340:	78 02 08 06 	mvhi r2,0x806                                  <== NOT EXECUTED
 8004344:	38 42 50 58 	ori r2,r2,0x5058                               <== NOT EXECUTED
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
  print_context = context;                                            
 8004348:	59 61 00 00 	sw (r11+0),r1                                  <== NOT EXECUTED
  print_handler = print;                                              
 800434c:	59 8d 00 00 	sw (r12+0),r13                                 <== NOT EXECUTED
                                                                      
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
 8004350:	b8 20 70 00 	mv r14,r1                                      <== NOT EXECUTED
  print_context = context;                                            
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
 8004354:	d9 a0 00 00 	call r13                                       <== NOT EXECUTED
  (*print)( context,                                                  
 8004358:	78 02 08 06 	mvhi r2,0x806                                  <== NOT EXECUTED
 800435c:	38 42 50 70 	ori r2,r2,0x5070                               <== NOT EXECUTED
 8004360:	b9 c0 08 00 	mv r1,r14                                      <== NOT EXECUTED
 8004364:	d9 a0 00 00 	call r13                                       <== NOT EXECUTED
"    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 );   
 8004368:	78 01 08 00 	mvhi r1,0x800                                  <== NOT EXECUTED
 800436c:	38 21 41 7c 	ori r1,r1,0x417c                               <== NOT EXECUTED
 8004370:	f8 00 18 6d 	calli 800a524 <rtems_iterate_over_all_threads> <== NOT EXECUTED
                                                                      
  /* dump interrupt stack info if any */                              
  Stack_check_Dump_threads_usage((Thread_Control *) -1);              
 8004374:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8004378:	fb ff ff 81 	calli 800417c <Stack_check_Dump_threads_usage> <== NOT EXECUTED
                                                                      
  print_context = NULL;                                               
 800437c:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
  print_handler = NULL;                                               
 8004380:	59 81 00 00 	sw (r12+0),r1                                  <== NOT EXECUTED
  rtems_iterate_over_all_threads( Stack_check_Dump_threads_usage );   
                                                                      
  /* dump interrupt stack info if any */                              
  Stack_check_Dump_threads_usage((Thread_Control *) -1);              
                                                                      
  print_context = NULL;                                               
 8004384:	59 61 00 00 	sw (r11+0),r1                                  <== NOT EXECUTED
  print_handler = NULL;                                               
                                                                      
}                                                                     
 8004388:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 800438c:	2b 8b 00 14 	lw r11,(sp+20)                                 <== NOT EXECUTED
 8004390:	2b 8c 00 10 	lw r12,(sp+16)                                 <== NOT EXECUTED
 8004394:	2b 8d 00 0c 	lw r13,(sp+12)                                 <== NOT EXECUTED
 8004398:	2b 8e 00 08 	lw r14,(sp+8)                                  <== NOT EXECUTED
 800439c:	37 9c 00 14 	addi sp,sp,20                                  <== NOT EXECUTED
 80043a0:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08004524 <rtems_stack_checker_switch_extension>:                      
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
 8004524:	37 9c ff f4 	addi sp,sp,-12                                 
 8004528:	5b 9b 00 08 	sw (sp+8),fp                                   
 800452c:	34 1b 00 0c 	mvi fp,12                                      
 8004530:	b7 7c d8 00 	add fp,fp,sp                                   
 8004534:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8004538:	5b 9d 00 04 	sw (sp+4),ra                                   
  Stack_Control *the_stack = &running->Start.Initial_stack;           
  void          *pattern;                                             
  bool        sp_ok;                                                  
  bool        pattern_ok = true;                                      
                                                                      
  pattern = (void *) Stack_check_Get_pattern_area(the_stack)->pattern;
 800453c:	28 22 00 c4 	lw r2,(r1+196)                                 
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
 8004540:	b8 20 58 00 	mv r11,r1                                      
  Stack_Control *the_stack = &running->Start.Initial_stack;           
  void          *pattern;                                             
  bool        sp_ok;                                                  
  bool        pattern_ok = true;                                      
                                                                      
  pattern = (void *) Stack_check_Get_pattern_area(the_stack)->pattern;
 8004544:	34 41 00 08 	addi r1,r2,8                                   
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
 8004548:	54 5b 00 04 	bgu r2,fp,8004558 <rtems_stack_checker_switch_extension+0x34><== NEVER TAKEN
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
  Stack_Control *the_stack = &running->Start.Initial_stack;           
 800454c:	29 63 00 c0 	lw r3,(r11+192)                                
 8004550:	b4 43 10 00 	add r2,r2,r3                                   
 8004554:	50 5b 00 0d 	bgeu r2,fp,8004588 <rtems_stack_checker_switch_extension+0x64><== 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,                                     
 8004558:	78 02 08 07 	mvhi r2,0x807                                  <== NOT EXECUTED
 800455c:	38 42 4e 78 	ori r2,r2,0x4e78                               <== NOT EXECUTED
 8004560:	34 03 00 10 	mvi r3,16                                      <== NOT EXECUTED
 8004564:	f8 01 1a 13 	calli 804adb0 <memcmp>                         <== NOT EXECUTED
 8004568:	64 22 00 00 	cmpei r2,r1,0                                  <== NOT EXECUTED
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
    Stack_check_report_blown_task( running, pattern_ok );             
 800456c:	b9 60 08 00 	mv r1,r11                                      
 8004570:	fb ff ff 96 	calli 80043c8 <Stack_check_report_blown_task>  
  }                                                                   
}                                                                     
 8004574:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8004578:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 800457c:	2b 9b 00 08 	lw fp,(sp+8)                                   
 8004580:	37 9c 00 0c 	addi sp,sp,12                                  
 8004584:	c3 a0 00 00 	ret                                            
  /*                                                                  
   *  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,                                     
 8004588:	78 02 08 07 	mvhi r2,0x807                                  
 800458c:	38 42 4e 78 	ori r2,r2,0x4e78                               
 8004590:	34 03 00 10 	mvi r3,16                                      
 8004594:	f8 01 1a 07 	calli 804adb0 <memcmp>                         
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
 8004598:	34 02 00 00 	mvi r2,0                                       
 800459c:	5c 22 ff f4 	bne r1,r2,800456c <rtems_stack_checker_switch_extension+0x48>
 80045a0:	e3 ff ff f5 	bi 8004574 <rtems_stack_checker_switch_extension+0x50>
                                                                      
08008484 <rtems_string_to_double>:                                    
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
 8008484:	37 9c ff e4 	addi sp,sp,-28                                 
 8008488:	5b 8b 00 18 	sw (sp+24),r11                                 
 800848c:	5b 8c 00 14 	sw (sp+20),r12                                 
 8008490:	5b 8d 00 10 	sw (sp+16),r13                                 
 8008494:	5b 8e 00 0c 	sw (sp+12),r14                                 
 8008498:	5b 8f 00 08 	sw (sp+8),r15                                  
 800849c:	5b 9d 00 04 	sw (sp+4),ra                                   
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
 80084a0:	34 0c 00 00 	mvi r12,0                                      
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
 80084a4:	b8 40 58 00 	mv r11,r2                                      
 80084a8:	b8 20 68 00 	mv r13,r1                                      
 80084ac:	b8 60 70 00 	mv r14,r3                                      
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
 80084b0:	34 04 00 09 	mvi r4,9                                       
 80084b4:	44 4c 00 19 	be r2,r12,8008518 <rtems_string_to_double+0x94>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 80084b8:	f8 00 11 53 	calli 800ca04 <__errno>                        
 80084bc:	58 2c 00 00 	sw (r1+0),r12                                  
  *n    = 0;                                                          
 80084c0:	59 6c 00 04 	sw (r11+4),r12                                 
 80084c4:	59 6c 00 00 	sw (r11+0),r12                                 
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
 80084c8:	b9 a0 08 00 	mv r1,r13                                      
 80084cc:	37 82 00 1c 	addi r2,sp,28                                  
 80084d0:	f8 00 1d 71 	calli 800fa94 <strtod>                         
 80084d4:	b8 20 60 00 	mv r12,r1                                      
 80084d8:	b8 40 78 00 	mv r15,r2                                      
  #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 )                                                       
 80084dc:	45 c0 00 1e 	be r14,r0,8008554 <rtems_string_to_double+0xd0>
    *endptr = end;                                                    
 80084e0:	2b 85 00 1c 	lw r5,(sp+28)                                  
 80084e4:	59 c5 00 00 	sw (r14+0),r5                                  
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
 80084e8:	34 04 00 0b 	mvi r4,11                                      
 80084ec:	44 ad 00 0b 	be r5,r13,8008518 <rtems_string_to_double+0x94>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
 80084f0:	78 03 7f ef 	mvhi r3,0x7fef                                 
 80084f4:	38 63 ff ff 	ori r3,r3,0xffff                               
 80084f8:	b9 80 08 00 	mv r1,r12                                      
 80084fc:	b9 e0 10 00 	mv r2,r15                                      
 8008500:	34 04 ff ff 	mvi r4,-1                                      
 8008504:	f8 00 4b 60 	calli 801b284 <__gedf2>                        
 8008508:	48 20 00 0d 	bg r1,r0,800853c <rtems_string_to_double+0xb8> 
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
 800850c:	59 6f 00 04 	sw (r11+4),r15                                 
 8008510:	59 6c 00 00 	sw (r11+0),r12                                 
 8008514:	34 04 00 00 	mvi r4,0                                       
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 8008518:	b8 80 08 00 	mv r1,r4                                       
 800851c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8008520:	2b 8b 00 18 	lw r11,(sp+24)                                 
 8008524:	2b 8c 00 14 	lw r12,(sp+20)                                 
 8008528:	2b 8d 00 10 	lw r13,(sp+16)                                 
 800852c:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 8008530:	2b 8f 00 08 	lw r15,(sp+8)                                  
 8008534:	37 9c 00 1c 	addi sp,sp,28                                  
 8008538:	c3 a0 00 00 	ret                                            
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
 800853c:	f8 00 11 32 	calli 800ca04 <__errno>                        
 8008540:	28 22 00 00 	lw r2,(r1+0)                                   
 8008544:	34 01 00 22 	mvi r1,34                                      
 8008548:	34 04 00 0a 	mvi r4,10                                      
 800854c:	5c 41 ff f0 	bne r2,r1,800850c <rtems_string_to_double+0x88><== NEVER TAKEN
 8008550:	e3 ff ff f2 	bi 8008518 <rtems_string_to_double+0x94>       
 8008554:	2b 85 00 1c 	lw r5,(sp+28)                                  
 8008558:	e3 ff ff e4 	bi 80084e8 <rtems_string_to_double+0x64>       
                                                                      
0800855c <rtems_string_to_float>:                                     
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
 800855c:	37 9c ff e8 	addi sp,sp,-24                                 
 8008560:	5b 8b 00 14 	sw (sp+20),r11                                 
 8008564:	5b 8c 00 10 	sw (sp+16),r12                                 
 8008568:	5b 8d 00 0c 	sw (sp+12),r13                                 
 800856c:	5b 8e 00 08 	sw (sp+8),r14                                  
 8008570:	5b 9d 00 04 	sw (sp+4),ra                                   
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
 8008574:	34 0d 00 00 	mvi r13,0                                      
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
 8008578:	b8 40 58 00 	mv r11,r2                                      
 800857c:	b8 20 60 00 	mv r12,r1                                      
 8008580:	b8 60 70 00 	mv r14,r3                                      
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
 8008584:	34 04 00 09 	mvi r4,9                                       
 8008588:	44 4d 00 14 	be r2,r13,80085d8 <rtems_string_to_float+0x7c> 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 800858c:	f8 00 11 1e 	calli 800ca04 <__errno>                        
 8008590:	58 2d 00 00 	sw (r1+0),r13                                  
  *n    = 0;                                                          
 8008594:	59 6d 00 00 	sw (r11+0),r13                                 
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
 8008598:	b9 80 08 00 	mv r1,r12                                      
 800859c:	37 82 00 18 	addi r2,sp,24                                  
 80085a0:	f8 00 1d 20 	calli 800fa20 <strtof>                         
 80085a4:	b8 20 68 00 	mv r13,r1                                      
  #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 )                                                       
 80085a8:	45 c0 00 1a 	be r14,r0,8008610 <rtems_string_to_float+0xb4> 
    *endptr = end;                                                    
 80085ac:	2b 82 00 18 	lw r2,(sp+24)                                  
 80085b0:	59 c2 00 00 	sw (r14+0),r2                                  
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
 80085b4:	34 04 00 0b 	mvi r4,11                                      
 80085b8:	44 4c 00 08 	be r2,r12,80085d8 <rtems_string_to_float+0x7c> 
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
 80085bc:	78 02 7f 7f 	mvhi r2,0x7f7f                                 
 80085c0:	38 42 ff ff 	ori r2,r2,0xffff                               
 80085c4:	b9 a0 08 00 	mv r1,r13                                      
 80085c8:	f8 00 45 01 	calli 80199cc <__gesf2>                        
 80085cc:	48 20 00 0b 	bg r1,r0,80085f8 <rtems_string_to_float+0x9c>  
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
 80085d0:	59 6d 00 00 	sw (r11+0),r13                                 
 80085d4:	34 04 00 00 	mvi r4,0                                       
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 80085d8:	b8 80 08 00 	mv r1,r4                                       
 80085dc:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80085e0:	2b 8b 00 14 	lw r11,(sp+20)                                 
 80085e4:	2b 8c 00 10 	lw r12,(sp+16)                                 
 80085e8:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 80085ec:	2b 8e 00 08 	lw r14,(sp+8)                                  
 80085f0:	37 9c 00 18 	addi sp,sp,24                                  
 80085f4:	c3 a0 00 00 	ret                                            
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
 80085f8:	f8 00 11 03 	calli 800ca04 <__errno>                        
 80085fc:	28 22 00 00 	lw r2,(r1+0)                                   
 8008600:	34 01 00 22 	mvi r1,34                                      
 8008604:	34 04 00 0a 	mvi r4,10                                      
 8008608:	5c 41 ff f2 	bne r2,r1,80085d0 <rtems_string_to_float+0x74> <== NEVER TAKEN
 800860c:	e3 ff ff f3 	bi 80085d8 <rtems_string_to_float+0x7c>        
 8008610:	2b 82 00 18 	lw r2,(sp+24)                                  
 8008614:	e3 ff ff e8 	bi 80085b4 <rtems_string_to_float+0x58>        
                                                                      
0801d4e8 <rtems_string_to_int>:                                       
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
 801d4e8:	37 9c ff e4 	addi sp,sp,-28                                 
 801d4ec:	5b 8b 00 18 	sw (sp+24),r11                                 
 801d4f0:	5b 8c 00 14 	sw (sp+20),r12                                 
 801d4f4:	5b 8d 00 10 	sw (sp+16),r13                                 
 801d4f8:	5b 8e 00 0c 	sw (sp+12),r14                                 
 801d4fc:	5b 8f 00 08 	sw (sp+8),r15                                  
 801d500:	5b 9d 00 04 	sw (sp+4),ra                                   
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
 801d504:	34 0c 00 00 	mvi r12,0                                      
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
 801d508:	b8 40 58 00 	mv r11,r2                                      
 801d50c:	b8 20 68 00 	mv r13,r1                                      
 801d510:	b8 60 70 00 	mv r14,r3                                      
 801d514:	b8 80 78 00 	mv r15,r4                                      
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
 801d518:	34 05 00 09 	mvi r5,9                                       
 801d51c:	44 4c 00 13 	be r2,r12,801d568 <rtems_string_to_int+0x80>   
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 801d520:	f8 00 a7 a2 	calli 80473a8 <__errno>                        
 801d524:	58 2c 00 00 	sw (r1+0),r12                                  
  *n    = 0;                                                          
 801d528:	59 6c 00 00 	sw (r11+0),r12                                 
  #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 );                       
 801d52c:	b9 e0 18 00 	mv r3,r15                                      
 801d530:	b9 a0 08 00 	mv r1,r13                                      
 801d534:	37 82 00 1c 	addi r2,sp,28                                  
 801d538:	f8 00 c9 48 	calli 804fa58 <strtol>                         
 801d53c:	b8 20 60 00 	mv r12,r1                                      
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
 801d540:	45 c0 00 19 	be r14,r0,801d5a4 <rtems_string_to_int+0xbc>   
    *endptr = end;                                                    
 801d544:	2b 82 00 1c 	lw r2,(sp+28)                                  
 801d548:	59 c2 00 00 	sw (r14+0),r2                                  
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
 801d54c:	34 05 00 0b 	mvi r5,11                                      
 801d550:	44 4d 00 06 	be r2,r13,801d568 <rtems_string_to_int+0x80>   
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
 801d554:	78 02 7f ff 	mvhi r2,0x7fff                                 
 801d558:	38 42 ff ff 	ori r2,r2,0xffff                               
 801d55c:	45 82 00 0c 	be r12,r2,801d58c <rtems_string_to_int+0xa4>   
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
 801d560:	59 6c 00 00 	sw (r11+0),r12                                 
 801d564:	34 05 00 00 	mvi r5,0                                       
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 801d568:	b8 a0 08 00 	mv r1,r5                                       
 801d56c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 801d570:	2b 8b 00 18 	lw r11,(sp+24)                                 
 801d574:	2b 8c 00 14 	lw r12,(sp+20)                                 
 801d578:	2b 8d 00 10 	lw r13,(sp+16)                                 
 801d57c:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 801d580:	2b 8f 00 08 	lw r15,(sp+8)                                  
 801d584:	37 9c 00 1c 	addi sp,sp,28                                  
 801d588:	c3 a0 00 00 	ret                                            
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
 801d58c:	f8 00 a7 87 	calli 80473a8 <__errno>                        
 801d590:	28 22 00 00 	lw r2,(r1+0)                                   
 801d594:	34 01 00 22 	mvi r1,34                                      
 801d598:	34 05 00 0a 	mvi r5,10                                      
 801d59c:	5c 41 ff f1 	bne r2,r1,801d560 <rtems_string_to_int+0x78>   <== NEVER TAKEN
 801d5a0:	e3 ff ff f2 	bi 801d568 <rtems_string_to_int+0x80>          
 801d5a4:	2b 82 00 1c 	lw r2,(sp+28)                                  
 801d5a8:	e3 ff ff e9 	bi 801d54c <rtems_string_to_int+0x64>          
                                                                      
080087cc <rtems_string_to_long>:                                      
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
 80087cc:	37 9c ff e4 	addi sp,sp,-28                                 
 80087d0:	5b 8b 00 18 	sw (sp+24),r11                                 
 80087d4:	5b 8c 00 14 	sw (sp+20),r12                                 
 80087d8:	5b 8d 00 10 	sw (sp+16),r13                                 
 80087dc:	5b 8e 00 0c 	sw (sp+12),r14                                 
 80087e0:	5b 8f 00 08 	sw (sp+8),r15                                  
 80087e4:	5b 9d 00 04 	sw (sp+4),ra                                   
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
 80087e8:	34 0c 00 00 	mvi r12,0                                      
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
 80087ec:	b8 40 58 00 	mv r11,r2                                      
 80087f0:	b8 20 68 00 	mv r13,r1                                      
 80087f4:	b8 60 70 00 	mv r14,r3                                      
 80087f8:	b8 80 78 00 	mv r15,r4                                      
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
 80087fc:	34 05 00 09 	mvi r5,9                                       
 8008800:	44 4c 00 16 	be r2,r12,8008858 <rtems_string_to_long+0x8c>  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 8008804:	f8 00 10 80 	calli 800ca04 <__errno>                        
 8008808:	58 2c 00 00 	sw (r1+0),r12                                  
  *n    = 0;                                                          
 800880c:	59 6c 00 00 	sw (r11+0),r12                                 
  #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 );                       
 8008810:	b9 e0 18 00 	mv r3,r15                                      
 8008814:	b9 a0 08 00 	mv r1,r13                                      
 8008818:	37 82 00 1c 	addi r2,sp,28                                  
 800881c:	f8 00 1d 41 	calli 800fd20 <strtol>                         
 8008820:	b8 20 60 00 	mv r12,r1                                      
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
 8008824:	45 c0 00 1c 	be r14,r0,8008894 <rtems_string_to_long+0xc8>  
    *endptr = end;                                                    
 8008828:	2b 82 00 1c 	lw r2,(sp+28)                                  
 800882c:	59 c2 00 00 	sw (r14+0),r2                                  
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
 8008830:	34 05 00 0b 	mvi r5,11                                      
 8008834:	44 4d 00 09 	be r2,r13,8008858 <rtems_string_to_long+0x8c>  
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
 8008838:	78 02 7f ff 	mvhi r2,0x7fff                                 
 800883c:	38 42 ff ff 	ori r2,r2,0xffff                               
 8008840:	45 82 00 0f 	be r12,r2,800887c <rtems_string_to_long+0xb0>  
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MIN                                                
    /* there was an underflow */                                      
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
 8008844:	78 01 80 00 	mvhi r1,0x8000                                 
 8008848:	38 21 00 00 	ori r1,r1,0x0                                  
 800884c:	45 81 00 0c 	be r12,r1,800887c <rtems_string_to_long+0xb0>  
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
 8008850:	59 6c 00 00 	sw (r11+0),r12                                 
 8008854:	34 05 00 00 	mvi r5,0                                       
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 8008858:	b8 a0 08 00 	mv r1,r5                                       
 800885c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8008860:	2b 8b 00 18 	lw r11,(sp+24)                                 
 8008864:	2b 8c 00 14 	lw r12,(sp+20)                                 
 8008868:	2b 8d 00 10 	lw r13,(sp+16)                                 
 800886c:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 8008870:	2b 8f 00 08 	lw r15,(sp+8)                                  
 8008874:	37 9c 00 1c 	addi sp,sp,28                                  
 8008878:	c3 a0 00 00 	ret                                            
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MIN                                                
    /* there was an underflow */                                      
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
 800887c:	f8 00 10 62 	calli 800ca04 <__errno>                        
 8008880:	28 22 00 00 	lw r2,(r1+0)                                   
 8008884:	34 01 00 22 	mvi r1,34                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
 8008888:	34 05 00 0a 	mvi r5,10                                      
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MIN                                                
    /* there was an underflow */                                      
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
 800888c:	5c 41 ff f1 	bne r2,r1,8008850 <rtems_string_to_long+0x84>  <== NEVER TAKEN
 8008890:	e3 ff ff f2 	bi 8008858 <rtems_string_to_long+0x8c>         
 8008894:	2b 82 00 1c 	lw r2,(sp+28)                                  
 8008898:	e3 ff ff e6 	bi 8008830 <rtems_string_to_long+0x64>         
                                                                      
080086dc <rtems_string_to_long_long>:                                 
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
 80086dc:	37 9c ff e0 	addi sp,sp,-32                                 
 80086e0:	5b 8b 00 18 	sw (sp+24),r11                                 
 80086e4:	5b 8c 00 14 	sw (sp+20),r12                                 
 80086e8:	5b 8d 00 10 	sw (sp+16),r13                                 
 80086ec:	5b 8e 00 0c 	sw (sp+12),r14                                 
 80086f0:	5b 8f 00 08 	sw (sp+8),r15                                  
 80086f4:	5b 9d 00 04 	sw (sp+4),ra                                   
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
 80086f8:	34 0c 00 00 	mvi r12,0                                      
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
 80086fc:	b8 40 58 00 	mv r11,r2                                      
 8008700:	b8 20 68 00 	mv r13,r1                                      
 8008704:	b8 60 70 00 	mv r14,r3                                      
 8008708:	b8 80 78 00 	mv r15,r4                                      
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
 800870c:	34 05 00 09 	mvi r5,9                                       
 8008710:	44 4c 00 18 	be r2,r12,8008770 <rtems_string_to_long_long+0x94>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 8008714:	f8 00 10 bc 	calli 800ca04 <__errno>                        
 8008718:	58 2c 00 00 	sw (r1+0),r12                                  
  *n    = 0;                                                          
 800871c:	59 6c 00 04 	sw (r11+4),r12                                 
 8008720:	59 6c 00 00 	sw (r11+0),r12                                 
  #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 );                       
 8008724:	b9 e0 18 00 	mv r3,r15                                      
 8008728:	b9 a0 08 00 	mv r1,r13                                      
 800872c:	37 82 00 20 	addi r2,sp,32                                  
 8008730:	f8 00 1d 8a 	calli 800fd58 <strtoll>                        
 8008734:	b8 20 60 00 	mv r12,r1                                      
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
 8008738:	45 c0 00 23 	be r14,r0,80087c4 <rtems_string_to_long_long+0xe8>
    *endptr = end;                                                    
 800873c:	2b 84 00 20 	lw r4,(sp+32)                                  
 8008740:	59 c4 00 00 	sw (r14+0),r4                                  
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
 8008744:	34 05 00 0b 	mvi r5,11                                      
 8008748:	44 8d 00 0a 	be r4,r13,8008770 <rtems_string_to_long_long+0x94>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
 800874c:	78 03 7f ff 	mvhi r3,0x7fff                                 
 8008750:	38 63 ff ff 	ori r3,r3,0xffff                               
 8008754:	45 83 00 10 	be r12,r3,8008794 <rtems_string_to_long_long+0xb8>
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MIN                                                
    /* there was an underflow */                                      
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
 8008758:	78 01 80 00 	mvhi r1,0x8000                                 
 800875c:	38 21 00 00 	ori r1,r1,0x0                                  
 8008760:	45 81 00 17 	be r12,r1,80087bc <rtems_string_to_long_long+0xe0>
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
 8008764:	59 62 00 04 	sw (r11+4),r2                                  
 8008768:	59 6c 00 00 	sw (r11+0),r12                                 
 800876c:	34 05 00 00 	mvi r5,0                                       
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 8008770:	b8 a0 08 00 	mv r1,r5                                       
 8008774:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8008778:	2b 8b 00 18 	lw r11,(sp+24)                                 
 800877c:	2b 8c 00 14 	lw r12,(sp+20)                                 
 8008780:	2b 8d 00 10 	lw r13,(sp+16)                                 
 8008784:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 8008788:	2b 8f 00 08 	lw r15,(sp+8)                                  
 800878c:	37 9c 00 20 	addi sp,sp,32                                  
 8008790:	c3 a0 00 00 	ret                                            
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
 8008794:	34 01 ff ff 	mvi r1,-1                                      
 8008798:	5c 41 ff f0 	bne r2,r1,8008758 <rtems_string_to_long_long+0x7c><== NEVER TAKEN
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MIN                                                
    /* there was an underflow */                                      
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
 800879c:	5b 82 00 1c 	sw (sp+28),r2                                  
 80087a0:	f8 00 10 99 	calli 800ca04 <__errno>                        
 80087a4:	28 23 00 00 	lw r3,(r1+0)                                   
 80087a8:	34 01 00 22 	mvi r1,34                                      
 80087ac:	2b 82 00 1c 	lw r2,(sp+28)                                  
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
 80087b0:	34 05 00 0a 	mvi r5,10                                      
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MIN                                                
    /* there was an underflow */                                      
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
 80087b4:	5c 61 ff ec 	bne r3,r1,8008764 <rtems_string_to_long_long+0x88><== NEVER TAKEN
 80087b8:	e3 ff ff ee 	bi 8008770 <rtems_string_to_long_long+0x94>    
 80087bc:	5c 40 ff ea 	bne r2,r0,8008764 <rtems_string_to_long_long+0x88><== NEVER TAKEN
 80087c0:	e3 ff ff f7 	bi 800879c <rtems_string_to_long_long+0xc0>    
 80087c4:	2b 84 00 20 	lw r4,(sp+32)                                  
 80087c8:	e3 ff ff df 	bi 8008744 <rtems_string_to_long_long+0x68>    
                                                                      
0801d5ac <rtems_string_to_pointer>:                                   
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
 801d5ac:	37 9c ff e8 	addi sp,sp,-24                                 
 801d5b0:	5b 8b 00 14 	sw (sp+20),r11                                 
 801d5b4:	5b 8c 00 10 	sw (sp+16),r12                                 
 801d5b8:	5b 8d 00 0c 	sw (sp+12),r13                                 
 801d5bc:	5b 8e 00 08 	sw (sp+8),r14                                  
 801d5c0:	5b 9d 00 04 	sw (sp+4),ra                                   
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
 801d5c4:	34 0c 00 00 	mvi r12,0                                      
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
 801d5c8:	b8 40 58 00 	mv r11,r2                                      
 801d5cc:	b8 20 68 00 	mv r13,r1                                      
 801d5d0:	b8 60 70 00 	mv r14,r3                                      
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
 801d5d4:	34 04 00 09 	mvi r4,9                                       
 801d5d8:	44 4c 00 12 	be r2,r12,801d620 <rtems_string_to_pointer+0x74>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 801d5dc:	f8 00 a7 73 	calli 80473a8 <__errno>                        
 801d5e0:	58 2c 00 00 	sw (r1+0),r12                                  
  *n    = 0;                                                          
 801d5e4:	59 6c 00 00 	sw (r11+0),r12                                 
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
 801d5e8:	b9 a0 08 00 	mv r1,r13                                      
 801d5ec:	37 82 00 18 	addi r2,sp,24                                  
 801d5f0:	34 03 00 10 	mvi r3,16                                      
 801d5f4:	f8 00 ca 87 	calli 8050010 <strtoul>                        
 801d5f8:	b8 20 60 00 	mv r12,r1                                      
  #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 )                                                       
 801d5fc:	45 c0 00 17 	be r14,r0,801d658 <rtems_string_to_pointer+0xac>
    *endptr = end;                                                    
 801d600:	2b 82 00 18 	lw r2,(sp+24)                                  
 801d604:	59 c2 00 00 	sw (r14+0),r2                                  
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
 801d608:	34 04 00 0b 	mvi r4,11                                      
 801d60c:	44 4d 00 05 	be r2,r13,801d620 <rtems_string_to_pointer+0x74>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
 801d610:	34 01 ff ff 	mvi r1,-1                                      
 801d614:	45 81 00 0b 	be r12,r1,801d640 <rtems_string_to_pointer+0x94><== 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;                          
 801d618:	59 6c 00 00 	sw (r11+0),r12                                 
 801d61c:	34 04 00 00 	mvi r4,0                                       
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 801d620:	b8 80 08 00 	mv r1,r4                                       
 801d624:	2b 9d 00 04 	lw ra,(sp+4)                                   
 801d628:	2b 8b 00 14 	lw r11,(sp+20)                                 
 801d62c:	2b 8c 00 10 	lw r12,(sp+16)                                 
 801d630:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 801d634:	2b 8e 00 08 	lw r14,(sp+8)                                  
 801d638:	37 9c 00 18 	addi sp,sp,24                                  
 801d63c:	c3 a0 00 00 	ret                                            
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
 801d640:	f8 00 a7 5a 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 801d644:	28 22 00 00 	lw r2,(r1+0)                                   <== NOT EXECUTED
 801d648:	34 01 00 22 	mvi r1,34                                      <== NOT EXECUTED
 801d64c:	34 04 00 0a 	mvi r4,10                                      <== NOT EXECUTED
 801d650:	5c 41 ff f2 	bne r2,r1,801d618 <rtems_string_to_pointer+0x6c><== NOT EXECUTED
 801d654:	e3 ff ff f3 	bi 801d620 <rtems_string_to_pointer+0x74>      <== NOT EXECUTED
 801d658:	2b 82 00 18 	lw r2,(sp+24)                                  
 801d65c:	e3 ff ff eb 	bi 801d608 <rtems_string_to_pointer+0x5c>      
                                                                      
080089ec <rtems_string_to_unsigned_int>:                              
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
 80089ec:	37 9c ff e4 	addi sp,sp,-28                                 
 80089f0:	5b 8b 00 18 	sw (sp+24),r11                                 
 80089f4:	5b 8c 00 14 	sw (sp+20),r12                                 
 80089f8:	5b 8d 00 10 	sw (sp+16),r13                                 
 80089fc:	5b 8e 00 0c 	sw (sp+12),r14                                 
 8008a00:	5b 8f 00 08 	sw (sp+8),r15                                  
 8008a04:	5b 9d 00 04 	sw (sp+4),ra                                   
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
 8008a08:	34 0c 00 00 	mvi r12,0                                      
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
 8008a0c:	b8 40 58 00 	mv r11,r2                                      
 8008a10:	b8 20 68 00 	mv r13,r1                                      
 8008a14:	b8 60 70 00 	mv r14,r3                                      
 8008a18:	b8 80 78 00 	mv r15,r4                                      
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
 8008a1c:	34 05 00 09 	mvi r5,9                                       
 8008a20:	44 4c 00 12 	be r2,r12,8008a68 <rtems_string_to_unsigned_int+0x7c>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 8008a24:	f8 00 0f f8 	calli 800ca04 <__errno>                        
 8008a28:	58 2c 00 00 	sw (r1+0),r12                                  
  *n    = 0;                                                          
 8008a2c:	59 6c 00 00 	sw (r11+0),r12                                 
  #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 );                       
 8008a30:	b9 e0 18 00 	mv r3,r15                                      
 8008a34:	b9 a0 08 00 	mv r1,r13                                      
 8008a38:	37 82 00 1c 	addi r2,sp,28                                  
 8008a3c:	f8 00 1e 27 	calli 80102d8 <strtoul>                        
 8008a40:	b8 20 60 00 	mv r12,r1                                      
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
 8008a44:	45 c0 00 18 	be r14,r0,8008aa4 <rtems_string_to_unsigned_int+0xb8>
    *endptr = end;                                                    
 8008a48:	2b 82 00 1c 	lw r2,(sp+28)                                  
 8008a4c:	59 c2 00 00 	sw (r14+0),r2                                  
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
 8008a50:	34 05 00 0b 	mvi r5,11                                      
 8008a54:	44 4d 00 05 	be r2,r13,8008a68 <rtems_string_to_unsigned_int+0x7c>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
 8008a58:	34 01 ff ff 	mvi r1,-1                                      
 8008a5c:	45 81 00 0c 	be r12,r1,8008a8c <rtems_string_to_unsigned_int+0xa0>
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
 8008a60:	59 6c 00 00 	sw (r11+0),r12                                 
 8008a64:	34 05 00 00 	mvi r5,0                                       
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 8008a68:	b8 a0 08 00 	mv r1,r5                                       
 8008a6c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8008a70:	2b 8b 00 18 	lw r11,(sp+24)                                 
 8008a74:	2b 8c 00 14 	lw r12,(sp+20)                                 
 8008a78:	2b 8d 00 10 	lw r13,(sp+16)                                 
 8008a7c:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 8008a80:	2b 8f 00 08 	lw r15,(sp+8)                                  
 8008a84:	37 9c 00 1c 	addi sp,sp,28                                  
 8008a88:	c3 a0 00 00 	ret                                            
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
 8008a8c:	f8 00 0f de 	calli 800ca04 <__errno>                        
 8008a90:	28 22 00 00 	lw r2,(r1+0)                                   
 8008a94:	34 01 00 22 	mvi r1,34                                      
 8008a98:	34 05 00 0a 	mvi r5,10                                      
 8008a9c:	5c 41 ff f1 	bne r2,r1,8008a60 <rtems_string_to_unsigned_int+0x74><== NEVER TAKEN
 8008aa0:	e3 ff ff f2 	bi 8008a68 <rtems_string_to_unsigned_int+0x7c> 
 8008aa4:	2b 82 00 1c 	lw r2,(sp+28)                                  
 8008aa8:	e3 ff ff ea 	bi 8008a50 <rtems_string_to_unsigned_int+0x64> 
                                                                      
0801d6fc <rtems_string_to_unsigned_long>:                             
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
 801d6fc:	37 9c ff e4 	addi sp,sp,-28                                 
 801d700:	5b 8b 00 18 	sw (sp+24),r11                                 
 801d704:	5b 8c 00 14 	sw (sp+20),r12                                 
 801d708:	5b 8d 00 10 	sw (sp+16),r13                                 
 801d70c:	5b 8e 00 0c 	sw (sp+12),r14                                 
 801d710:	5b 8f 00 08 	sw (sp+8),r15                                  
 801d714:	5b 9d 00 04 	sw (sp+4),ra                                   
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
 801d718:	34 0c 00 00 	mvi r12,0                                      
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
 801d71c:	b8 40 58 00 	mv r11,r2                                      
 801d720:	b8 20 68 00 	mv r13,r1                                      
 801d724:	b8 60 70 00 	mv r14,r3                                      
 801d728:	b8 80 78 00 	mv r15,r4                                      
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
 801d72c:	34 05 00 09 	mvi r5,9                                       
 801d730:	44 4c 00 12 	be r2,r12,801d778 <rtems_string_to_unsigned_long+0x7c>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 801d734:	f8 00 a7 1d 	calli 80473a8 <__errno>                        
 801d738:	58 2c 00 00 	sw (r1+0),r12                                  
  *n    = 0;                                                          
 801d73c:	59 6c 00 00 	sw (r11+0),r12                                 
  #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 );                       
 801d740:	b9 e0 18 00 	mv r3,r15                                      
 801d744:	b9 a0 08 00 	mv r1,r13                                      
 801d748:	37 82 00 1c 	addi r2,sp,28                                  
 801d74c:	f8 00 ca 31 	calli 8050010 <strtoul>                        
 801d750:	b8 20 60 00 	mv r12,r1                                      
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
 801d754:	45 c0 00 18 	be r14,r0,801d7b4 <rtems_string_to_unsigned_long+0xb8>
    *endptr = end;                                                    
 801d758:	2b 82 00 1c 	lw r2,(sp+28)                                  
 801d75c:	59 c2 00 00 	sw (r14+0),r2                                  
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
 801d760:	34 05 00 0b 	mvi r5,11                                      
 801d764:	44 4d 00 05 	be r2,r13,801d778 <rtems_string_to_unsigned_long+0x7c>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
 801d768:	34 01 ff ff 	mvi r1,-1                                      
 801d76c:	45 81 00 0c 	be r12,r1,801d79c <rtems_string_to_unsigned_long+0xa0>
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
 801d770:	59 6c 00 00 	sw (r11+0),r12                                 
 801d774:	34 05 00 00 	mvi r5,0                                       
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 801d778:	b8 a0 08 00 	mv r1,r5                                       
 801d77c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 801d780:	2b 8b 00 18 	lw r11,(sp+24)                                 
 801d784:	2b 8c 00 14 	lw r12,(sp+20)                                 
 801d788:	2b 8d 00 10 	lw r13,(sp+16)                                 
 801d78c:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 801d790:	2b 8f 00 08 	lw r15,(sp+8)                                  
 801d794:	37 9c 00 1c 	addi sp,sp,28                                  
 801d798:	c3 a0 00 00 	ret                                            
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
 801d79c:	f8 00 a7 03 	calli 80473a8 <__errno>                        
 801d7a0:	28 22 00 00 	lw r2,(r1+0)                                   
 801d7a4:	34 01 00 22 	mvi r1,34                                      
 801d7a8:	34 05 00 0a 	mvi r5,10                                      
 801d7ac:	5c 41 ff f1 	bne r2,r1,801d770 <rtems_string_to_unsigned_long+0x74><== NEVER TAKEN
 801d7b0:	e3 ff ff f2 	bi 801d778 <rtems_string_to_unsigned_long+0x7c>
 801d7b4:	2b 82 00 1c 	lw r2,(sp+28)                                  
 801d7b8:	e3 ff ff ea 	bi 801d760 <rtems_string_to_unsigned_long+0x64>
                                                                      
08008aac <rtems_string_to_unsigned_long_long>:                        
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
 8008aac:	37 9c ff e0 	addi sp,sp,-32                                 
 8008ab0:	5b 8b 00 18 	sw (sp+24),r11                                 
 8008ab4:	5b 8c 00 14 	sw (sp+20),r12                                 
 8008ab8:	5b 8d 00 10 	sw (sp+16),r13                                 
 8008abc:	5b 8e 00 0c 	sw (sp+12),r14                                 
 8008ac0:	5b 8f 00 08 	sw (sp+8),r15                                  
 8008ac4:	5b 9d 00 04 	sw (sp+4),ra                                   
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
 8008ac8:	34 0c 00 00 	mvi r12,0                                      
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
 8008acc:	b8 40 58 00 	mv r11,r2                                      
 8008ad0:	b8 20 68 00 	mv r13,r1                                      
 8008ad4:	b8 60 70 00 	mv r14,r3                                      
 8008ad8:	b8 80 78 00 	mv r15,r4                                      
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
 8008adc:	34 05 00 09 	mvi r5,9                                       
 8008ae0:	44 4c 00 14 	be r2,r12,8008b30 <rtems_string_to_unsigned_long_long+0x84>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 8008ae4:	f8 00 0f c8 	calli 800ca04 <__errno>                        
 8008ae8:	58 2c 00 00 	sw (r1+0),r12                                  
  *n    = 0;                                                          
 8008aec:	59 6c 00 04 	sw (r11+4),r12                                 
 8008af0:	59 6c 00 00 	sw (r11+0),r12                                 
  #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 );                       
 8008af4:	b9 e0 18 00 	mv r3,r15                                      
 8008af8:	b9 a0 08 00 	mv r1,r13                                      
 8008afc:	37 82 00 20 	addi r2,sp,32                                  
 8008b00:	f8 00 1e 04 	calli 8010310 <strtoull>                       
 8008b04:	b8 20 60 00 	mv r12,r1                                      
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
 8008b08:	45 c0 00 1c 	be r14,r0,8008b78 <rtems_string_to_unsigned_long_long+0xcc>
    *endptr = end;                                                    
 8008b0c:	2b 84 00 20 	lw r4,(sp+32)                                  
 8008b10:	59 c4 00 00 	sw (r14+0),r4                                  
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
 8008b14:	34 05 00 0b 	mvi r5,11                                      
 8008b18:	44 8d 00 06 	be r4,r13,8008b30 <rtems_string_to_unsigned_long_long+0x84>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
 8008b1c:	34 01 ff ff 	mvi r1,-1                                      
 8008b20:	45 81 00 0d 	be r12,r1,8008b54 <rtems_string_to_unsigned_long_long+0xa8>
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
 8008b24:	59 62 00 04 	sw (r11+4),r2                                  
 8008b28:	59 6c 00 00 	sw (r11+0),r12                                 
 8008b2c:	34 05 00 00 	mvi r5,0                                       
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 8008b30:	b8 a0 08 00 	mv r1,r5                                       
 8008b34:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8008b38:	2b 8b 00 18 	lw r11,(sp+24)                                 
 8008b3c:	2b 8c 00 14 	lw r12,(sp+20)                                 
 8008b40:	2b 8d 00 10 	lw r13,(sp+16)                                 
 8008b44:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 8008b48:	2b 8f 00 08 	lw r15,(sp+8)                                  
 8008b4c:	37 9c 00 20 	addi sp,sp,32                                  
 8008b50:	c3 a0 00 00 	ret                                            
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
 8008b54:	5c 4c ff f4 	bne r2,r12,8008b24 <rtems_string_to_unsigned_long_long+0x78><== NEVER TAKEN
 8008b58:	5b 82 00 1c 	sw (sp+28),r2                                  
 8008b5c:	f8 00 0f aa 	calli 800ca04 <__errno>                        
 8008b60:	28 23 00 00 	lw r3,(r1+0)                                   
 8008b64:	34 01 00 22 	mvi r1,34                                      
 8008b68:	34 05 00 0a 	mvi r5,10                                      
 8008b6c:	2b 82 00 1c 	lw r2,(sp+28)                                  
 8008b70:	5c 61 ff ed 	bne r3,r1,8008b24 <rtems_string_to_unsigned_long_long+0x78><== NEVER TAKEN
 8008b74:	e3 ff ff ef 	bi 8008b30 <rtems_string_to_unsigned_long_long+0x84>
 8008b78:	2b 84 00 20 	lw r4,(sp+32)                                  
 8008b7c:	e3 ff ff e6 	bi 8008b14 <rtems_string_to_unsigned_long_long+0x68>
                                                                      
0800ae48 <rtems_task_mode>:                                           
rtems_status_code rtems_task_mode(                                    
  rtems_mode  mode_set,                                               
  rtems_mode  mask,                                                   
  rtems_mode *previous_mode_set                                       
)                                                                     
{                                                                     
 800ae48:	37 9c ff e0 	addi sp,sp,-32                                 
 800ae4c:	5b 8b 00 20 	sw (sp+32),r11                                 
 800ae50:	5b 8c 00 1c 	sw (sp+28),r12                                 
 800ae54:	5b 8d 00 18 	sw (sp+24),r13                                 
 800ae58:	5b 8e 00 14 	sw (sp+20),r14                                 
 800ae5c:	5b 8f 00 10 	sw (sp+16),r15                                 
 800ae60:	5b 90 00 0c 	sw (sp+12),r16                                 
 800ae64:	5b 91 00 08 	sw (sp+8),r17                                  
 800ae68:	5b 9d 00 04 	sw (sp+4),ra                                   
 800ae6c:	b8 40 68 00 	mv r13,r2                                      
 800ae70:	b8 60 80 00 	mv r16,r3                                      
 800ae74:	b8 20 78 00 	mv r15,r1                                      
  ASR_Information    *asr;                                            
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
 800ae78:	34 02 00 09 	mvi r2,9                                       
 800ae7c:	44 60 00 44 	be r3,r0,800af8c <rtems_task_mode+0x144>       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
 800ae80:	78 02 08 01 	mvhi r2,0x801                                  
 800ae84:	38 42 c8 e0 	ori r2,r2,0xc8e0                               
 800ae88:	28 4b 00 00 	lw r11,(r2+0)                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
 800ae8c:	34 0e 00 00 	mvi r14,0                                      
 800ae90:	41 61 00 75 	lbu r1,(r11+117)                               
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
 800ae94:	29 6c 01 24 	lw r12,(r11+292)                               
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
 800ae98:	44 2e 00 55 	be r1,r14,800afec <rtems_task_mode+0x1a4>      
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
 800ae9c:	29 61 00 7c 	lw r1,(r11+124)                                
 800aea0:	5c 20 00 4e 	bne r1,r0,800afd8 <rtems_task_mode+0x190>      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
 800aea4:	41 81 00 08 	lbu r1,(r12+8)                                 
 800aea8:	34 11 00 00 	mvi r17,0                                      
 800aeac:	44 31 00 43 	be r1,r17,800afb8 <rtems_task_mode+0x170>      
    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();                                       
 800aeb0:	fb ff ec b4 	calli 8006180 <_CPU_ISR_Get_level>             
  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;           
 800aeb4:	ba 21 88 00 	or r17,r17,r1                                  
  old_mode |= _ISR_Get_level();                                       
                                                                      
  *previous_mode_set = old_mode;                                      
 800aeb8:	ba 2e 88 00 	or r17,r17,r14                                 
 800aebc:	5a 11 00 00 	sw (r16+0),r17                                 
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
                                                                      
  if ( mask & RTEMS_PREEMPT_MASK )                                    
 800aec0:	21 a1 01 00 	andi r1,r13,0x100                              
 800aec4:	44 20 00 07 	be r1,r0,800aee0 <rtems_task_mode+0x98>        
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
 800aec8:	b9 e0 08 00 	mv r1,r15                                      
 800aecc:	34 02 00 08 	mvi r2,8                                       
 800aed0:	fb ff d4 f0 	calli 8000290 <__lshrsi3>                      
 800aed4:	18 21 00 01 	xori r1,r1,0x1                                 
 800aed8:	20 21 00 01 	andi r1,r1,0x1                                 
 800aedc:	31 61 00 75 	sb (r11+117),r1                                
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
 800aee0:	21 a1 02 00 	andi r1,r13,0x200                              
 800aee4:	44 20 00 09 	be r1,r0,800af08 <rtems_task_mode+0xc0>        
    if ( _Modes_Is_timeslice(mode_set) ) {                            
 800aee8:	21 e1 02 00 	andi r1,r15,0x200                              
 800aeec:	44 20 00 44 	be r1,r0,800affc <rtems_task_mode+0x1b4>       
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
 800aef0:	78 01 08 01 	mvhi r1,0x801                                  
 800aef4:	38 21 c7 b4 	ori r1,r1,0xc7b4                               
 800aef8:	28 21 00 00 	lw r1,(r1+0)                                   
  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;
 800aefc:	34 02 00 01 	mvi r2,1                                       
 800af00:	59 62 00 7c 	sw (r11+124),r2                                
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
 800af04:	59 61 00 78 	sw (r11+120),r1                                
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
                                                                      
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
 800af08:	21 a1 00 01 	andi r1,r13,0x1                                
 800af0c:	44 20 00 04 	be r1,r0,800af1c <rtems_task_mode+0xd4>        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level (                
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  _ISR_Set_level( _Modes_Get_interrupt_level( mode_set ) );           
 800af10:	19 e1 00 01 	xori r1,r15,0x1                                
 800af14:	20 21 00 01 	andi r1,r1,0x1                                 
 800af18:	d0 01 00 00 	wcsr IE,r1                                     
   */                                                                 
                                                                      
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
 800af1c:	21 ad 04 00 	andi r13,r13,0x400                             
 800af20:	45 a0 00 14 	be r13,r0,800af70 <rtems_task_mode+0x128>      
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
 800af24:	34 02 00 0a 	mvi r2,10                                      
 800af28:	b9 e0 08 00 	mv r1,r15                                      
 800af2c:	fb ff d4 d9 	calli 8000290 <__lshrsi3>                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
 800af30:	41 82 00 08 	lbu r2,(r12+8)                                 
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
 800af34:	18 21 00 01 	xori r1,r1,0x1                                 
 800af38:	20 21 00 01 	andi r1,r1,0x1                                 
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
 800af3c:	44 41 00 0d 	be r2,r1,800af70 <rtems_task_mode+0x128>       
  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 ) {                        
      asr->is_enabled = is_asr_enabled;                               
 800af40:	31 81 00 08 	sb (r12+8),r1                                  
)                                                                     
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
 800af44:	90 00 08 00 	rcsr r1,IE                                     
 800af48:	34 02 ff fe 	mvi r2,-2                                      
 800af4c:	a0 22 10 00 	and r2,r1,r2                                   
 800af50:	d0 02 00 00 	wcsr IE,r2                                     
    _signals                     = information->signals_pending;      
 800af54:	29 82 00 18 	lw r2,(r12+24)                                 
    information->signals_pending = information->signals_posted;       
 800af58:	29 83 00 14 	lw r3,(r12+20)                                 
    information->signals_posted  = _signals;                          
 800af5c:	59 82 00 14 	sw (r12+20),r2                                 
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
    _signals                     = information->signals_pending;      
    information->signals_pending = information->signals_posted;       
 800af60:	59 83 00 18 	sw (r12+24),r3                                 
    information->signals_posted  = _signals;                          
  _ISR_Enable( _level );                                              
 800af64:	d0 01 00 00 	wcsr IE,r1                                     
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
 800af68:	29 81 00 14 	lw r1,(r12+20)                                 
 800af6c:	5c 20 00 2e 	bne r1,r0,800b024 <rtems_task_mode+0x1dc>      
    if ( is_asr_enabled != asr->is_enabled ) {                        
      asr->is_enabled = is_asr_enabled;                               
      _ASR_Swap_signals( asr );                                       
      if ( _ASR_Are_signals_pending( asr ) ) {                        
        needs_asr_dispatching = true;                                 
        executing->do_post_task_switch_extension = true;              
 800af70:	34 0b 00 00 	mvi r11,0                                      
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) )                   
 800af74:	78 01 08 01 	mvhi r1,0x801                                  
 800af78:	38 21 c9 c0 	ori r1,r1,0xc9c0                               
 800af7c:	28 22 00 00 	lw r2,(r1+0)                                   
 800af80:	34 01 00 03 	mvi r1,3                                       
 800af84:	44 41 00 22 	be r2,r1,800b00c <rtems_task_mode+0x1c4>       <== ALWAYS TAKEN
    if ( _Thread_Evaluate_mode() || needs_asr_dispatching )           
      _Thread_Dispatch();                                             
 800af88:	34 02 00 00 	mvi r2,0                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 800af8c:	b8 40 08 00 	mv r1,r2                                       
 800af90:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800af94:	2b 8b 00 20 	lw r11,(sp+32)                                 
 800af98:	2b 8c 00 1c 	lw r12,(sp+28)                                 
 800af9c:	2b 8d 00 18 	lw r13,(sp+24)                                 
 800afa0:	2b 8e 00 14 	lw r14,(sp+20)                                 
 800afa4:	2b 8f 00 10 	lw r15,(sp+16)                                 
 800afa8:	2b 90 00 0c 	lw r16,(sp+12)                                 
 800afac:	2b 91 00 08 	lw r17,(sp+8)                                  
 800afb0:	37 9c 00 20 	addi sp,sp,32                                  
 800afb4:	c3 a0 00 00 	ret                                            
    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();                                       
 800afb8:	fb ff ec 72 	calli 8006180 <_CPU_ISR_Get_level>             
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
 800afbc:	34 11 04 00 	mvi r17,1024                                   
  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;           
 800afc0:	ba 21 88 00 	or r17,r17,r1                                  
  old_mode |= _ISR_Get_level();                                       
                                                                      
  *previous_mode_set = old_mode;                                      
 800afc4:	ba 2e 88 00 	or r17,r17,r14                                 
 800afc8:	5a 11 00 00 	sw (r16+0),r17                                 
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
                                                                      
  if ( mask & RTEMS_PREEMPT_MASK )                                    
 800afcc:	21 a1 01 00 	andi r1,r13,0x100                              
 800afd0:	44 20 ff c4 	be r1,r0,800aee0 <rtems_task_mode+0x98>        
 800afd4:	e3 ff ff bd 	bi 800aec8 <rtems_task_mode+0x80>              
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
 800afd8:	41 81 00 08 	lbu r1,(r12+8)                                 
 800afdc:	34 11 00 00 	mvi r17,0                                      
  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;                                      
 800afe0:	39 ce 02 00 	ori r14,r14,0x200                              
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
 800afe4:	5c 31 ff b3 	bne r1,r17,800aeb0 <rtems_task_mode+0x68>      
 800afe8:	e3 ff ff f4 	bi 800afb8 <rtems_task_mode+0x170>             
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
 800afec:	29 61 00 7c 	lw r1,(r11+124)                                
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
 800aff0:	34 0e 01 00 	mvi r14,256                                    
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
 800aff4:	44 20 ff ac 	be r1,r0,800aea4 <rtems_task_mode+0x5c>        
 800aff8:	e3 ff ff f8 	bi 800afd8 <rtems_task_mode+0x190>             
  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; 
 800affc:	59 61 00 7c 	sw (r11+124),r1                                
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
                                                                      
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
 800b000:	21 a1 00 01 	andi r1,r13,0x1                                
 800b004:	44 20 ff c6 	be r1,r0,800af1c <rtems_task_mode+0xd4>        
 800b008:	e3 ff ff c2 	bi 800af10 <rtems_task_mode+0xc8>              
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) )                   
    if ( _Thread_Evaluate_mode() || needs_asr_dispatching )           
 800b00c:	f8 00 01 18 	calli 800b46c <_Thread_Evaluate_mode>          
 800b010:	5c 20 00 02 	bne r1,r0,800b018 <rtems_task_mode+0x1d0>      
 800b014:	45 61 ff dd 	be r11,r1,800af88 <rtems_task_mode+0x140>      
      _Thread_Dispatch();                                             
 800b018:	fb ff e5 36 	calli 80044f0 <_Thread_Dispatch>               
 800b01c:	34 02 00 00 	mvi r2,0                                       
 800b020:	e3 ff ff db 	bi 800af8c <rtems_task_mode+0x144>             
    if ( is_asr_enabled != asr->is_enabled ) {                        
      asr->is_enabled = is_asr_enabled;                               
      _ASR_Swap_signals( asr );                                       
      if ( _ASR_Are_signals_pending( asr ) ) {                        
        needs_asr_dispatching = true;                                 
        executing->do_post_task_switch_extension = true;              
 800b024:	34 01 00 01 	mvi r1,1                                       
 800b028:	31 61 00 74 	sb (r11+116),r1                                
 800b02c:	b8 20 58 00 	mv r11,r1                                      
 800b030:	e3 ff ff d1 	bi 800af74 <rtems_task_mode+0x12c>             
                                                                      
08008f28 <rtems_task_set_priority>:                                   
rtems_status_code rtems_task_set_priority(                            
  rtems_id             id,                                            
  rtems_task_priority  new_priority,                                  
  rtems_task_priority *old_priority                                   
)                                                                     
{                                                                     
 8008f28:	37 9c ff f0 	addi sp,sp,-16                                 
 8008f2c:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8008f30:	5b 8c 00 08 	sw (sp+8),r12                                  
 8008f34:	5b 9d 00 04 	sw (sp+4),ra                                   
 8008f38:	b8 40 58 00 	mv r11,r2                                      
 8008f3c:	b8 60 60 00 	mv r12,r3                                      
  register Thread_Control *the_thread;                                
  Objects_Locations               location;                           
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
 8008f40:	44 40 00 0c 	be r2,r0,8008f70 <rtems_task_set_priority+0x48>
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RTEMS_tasks_Priority_is_valid (            
  rtems_task_priority the_priority                                    
)                                                                     
{                                                                     
  return (  ( the_priority >= RTEMS_MINIMUM_PRIORITY ) &&             
 8008f44:	78 02 08 02 	mvhi r2,0x802                                  
 8008f48:	38 42 50 c0 	ori r2,r2,0x50c0                               
 8008f4c:	40 42 00 00 	lbu r2,(r2+0)                                  
 8008f50:	50 4b 00 08 	bgeu r2,r11,8008f70 <rtems_task_set_priority+0x48>
 8008f54:	34 04 00 13 	mvi r4,19                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 8008f58:	b8 80 08 00 	mv r1,r4                                       
 8008f5c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8008f60:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8008f64:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8008f68:	37 9c 00 10 	addi sp,sp,16                                  
 8008f6c:	c3 a0 00 00 	ret                                            
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
 8008f70:	34 04 00 09 	mvi r4,9                                       
 8008f74:	45 80 ff f9 	be r12,r0,8008f58 <rtems_task_set_priority+0x30>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 8008f78:	37 82 00 10 	addi r2,sp,16                                  
 8008f7c:	f8 00 0a 21 	calli 800b800 <_Thread_Get>                    
  switch ( location ) {                                               
 8008f80:	2b 82 00 10 	lw r2,(sp+16)                                  
 8008f84:	34 04 00 04 	mvi r4,4                                       
 8008f88:	5c 40 ff f4 	bne r2,r0,8008f58 <rtems_task_set_priority+0x30>
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
 8008f8c:	28 23 00 14 	lw r3,(r1+20)                                  
 8008f90:	59 83 00 00 	sw (r12+0),r3                                  
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
 8008f94:	45 62 00 09 	be r11,r2,8008fb8 <rtems_task_set_priority+0x90>
        the_thread->real_priority = new_priority;                     
        if ( the_thread->resource_count == 0 ||                       
 8008f98:	28 22 00 1c 	lw r2,(r1+28)                                  
                                                                      
    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;                     
 8008f9c:	58 2b 00 18 	sw (r1+24),r11                                 
        if ( the_thread->resource_count == 0 ||                       
 8008fa0:	44 40 00 03 	be r2,r0,8008fac <rtems_task_set_priority+0x84>
             the_thread->current_priority > new_priority )            
 8008fa4:	28 22 00 14 	lw r2,(r1+20)                                  
 8008fa8:	51 62 00 04 	bgeu r11,r2,8008fb8 <rtems_task_set_priority+0x90><== ALWAYS TAKEN
          _Thread_Change_priority( the_thread, new_priority, false ); 
 8008fac:	b9 60 10 00 	mv r2,r11                                      
 8008fb0:	34 03 00 00 	mvi r3,0                                       
 8008fb4:	f8 00 08 34 	calli 800b084 <_Thread_Change_priority>        
      }                                                               
      _Thread_Enable_dispatch();                                      
 8008fb8:	f8 00 09 f2 	calli 800b780 <_Thread_Enable_dispatch>        
 8008fbc:	34 04 00 00 	mvi r4,0                                       
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 8008fc0:	b8 80 08 00 	mv r1,r4                                       
 8008fc4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8008fc8:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8008fcc:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8008fd0:	37 9c 00 10 	addi sp,sp,16                                  
 8008fd4:	c3 a0 00 00 	ret                                            
                                                                      
0802d0dc <rtems_task_variable_add>:                                   
rtems_status_code rtems_task_variable_add(                            
  rtems_id tid,                                                       
  void **ptr,                                                         
  void (*dtor)(void *)                                                
)                                                                     
{                                                                     
 802d0dc:	37 9c ff ec 	addi sp,sp,-20                                 
 802d0e0:	5b 8b 00 10 	sw (sp+16),r11                                 
 802d0e4:	5b 8c 00 0c 	sw (sp+12),r12                                 
 802d0e8:	5b 8d 00 08 	sw (sp+8),r13                                  
 802d0ec:	5b 9d 00 04 	sw (sp+4),ra                                   
 802d0f0:	b8 40 58 00 	mv r11,r2                                      
 802d0f4:	b8 60 68 00 	mv r13,r3                                      
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *new;                                   
                                                                      
  if ( !ptr )                                                         
 802d0f8:	34 02 00 09 	mvi r2,9                                       
 802d0fc:	45 60 00 07 	be r11,r0,802d118 <rtems_task_variable_add+0x3c>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
 802d100:	37 82 00 14 	addi r2,sp,20                                  
 802d104:	fb ff 7a 18 	calli 800b964 <_Thread_Get>                    
 802d108:	b8 20 60 00 	mv r12,r1                                      
  switch (location) {                                                 
 802d10c:	2b 81 00 14 	lw r1,(sp+20)                                  
 802d110:	34 02 00 04 	mvi r2,4                                       
 802d114:	44 20 00 08 	be r1,r0,802d134 <rtems_task_variable_add+0x58>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
 802d118:	b8 40 08 00 	mv r1,r2                                       
 802d11c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802d120:	2b 8b 00 10 	lw r11,(sp+16)                                 
 802d124:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 802d128:	2b 8d 00 08 	lw r13,(sp+8)                                  
 802d12c:	37 9c 00 14 	addi sp,sp,20                                  
 802d130:	c3 a0 00 00 	ret                                            
                                                                      
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is already in this task's list.  
       */                                                             
      tvp = the_thread->task_variables;                               
 802d134:	29 84 01 34 	lw r4,(r12+308)                                
      while (tvp) {                                                   
 802d138:	44 81 00 08 	be r4,r1,802d158 <rtems_task_variable_add+0x7c>
        if (tvp->ptr == ptr) {                                        
 802d13c:	28 81 00 04 	lw r1,(r4+4)                                   
 802d140:	5c 2b 00 04 	bne r1,r11,802d150 <rtems_task_variable_add+0x74>
 802d144:	e0 00 00 18 	bi 802d1a4 <rtems_task_variable_add+0xc8>      
 802d148:	28 82 00 04 	lw r2,(r4+4)                                   
 802d14c:	44 4b 00 16 	be r2,r11,802d1a4 <rtems_task_variable_add+0xc8><== NEVER TAKEN
          tvp->dtor = dtor;                                           
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
 802d150:	28 84 00 00 	lw r4,(r4+0)                                   
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is already in this task's list.  
       */                                                             
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
 802d154:	5c 80 ff fd 	bne r4,r0,802d148 <rtems_task_variable_add+0x6c>
      }                                                               
                                                                      
      /*                                                              
       *  Now allocate memory for this task variable.                 
       */                                                             
      new = (rtems_task_variable_t *)                                 
 802d158:	34 01 00 14 	mvi r1,20                                      
 802d15c:	fb ff 80 1b 	calli 800d1c8 <_Workspace_Allocate>            
         _Workspace_Allocate(sizeof(rtems_task_variable_t));          
      if (new == NULL) {                                              
 802d160:	44 20 00 1b 	be r1,r0,802d1cc <rtems_task_variable_add+0xf0>
      }                                                               
      new->gval = *ptr;                                               
      new->ptr = ptr;                                                 
      new->dtor = dtor;                                               
                                                                      
      new->next = (struct rtems_task_variable_tt *)the_thread->task_variables;
 802d164:	29 82 01 34 	lw r2,(r12+308)                                
      if (new == NULL) {                                              
        _Thread_Enable_dispatch();                                    
        return RTEMS_NO_MEMORY;                                       
      }                                                               
      new->gval = *ptr;                                               
      new->ptr = ptr;                                                 
 802d168:	58 2b 00 04 	sw (r1+4),r11                                  
      new->dtor = dtor;                                               
                                                                      
      new->next = (struct rtems_task_variable_tt *)the_thread->task_variables;
      the_thread->task_variables = new;                               
 802d16c:	59 81 01 34 	sw (r12+308),r1                                
      }                                                               
      new->gval = *ptr;                                               
      new->ptr = ptr;                                                 
      new->dtor = dtor;                                               
                                                                      
      new->next = (struct rtems_task_variable_tt *)the_thread->task_variables;
 802d170:	58 22 00 00 	sw (r1+0),r2                                   
         _Workspace_Allocate(sizeof(rtems_task_variable_t));          
      if (new == NULL) {                                              
        _Thread_Enable_dispatch();                                    
        return RTEMS_NO_MEMORY;                                       
      }                                                               
      new->gval = *ptr;                                               
 802d174:	29 62 00 00 	lw r2,(r11+0)                                  
      new->ptr = ptr;                                                 
      new->dtor = dtor;                                               
 802d178:	58 2d 00 10 	sw (r1+16),r13                                 
         _Workspace_Allocate(sizeof(rtems_task_variable_t));          
      if (new == NULL) {                                              
        _Thread_Enable_dispatch();                                    
        return RTEMS_NO_MEMORY;                                       
      }                                                               
      new->gval = *ptr;                                               
 802d17c:	58 22 00 08 	sw (r1+8),r2                                   
      new->ptr = ptr;                                                 
      new->dtor = dtor;                                               
                                                                      
      new->next = (struct rtems_task_variable_tt *)the_thread->task_variables;
      the_thread->task_variables = new;                               
      _Thread_Enable_dispatch();                                      
 802d180:	fb ff 79 ec 	calli 800b930 <_Thread_Enable_dispatch>        
 802d184:	34 02 00 00 	mvi r2,0                                       
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
 802d188:	b8 40 08 00 	mv r1,r2                                       
 802d18c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802d190:	2b 8b 00 10 	lw r11,(sp+16)                                 
 802d194:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 802d198:	2b 8d 00 08 	lw r13,(sp+8)                                  
 802d19c:	37 9c 00 14 	addi sp,sp,20                                  
 802d1a0:	c3 a0 00 00 	ret                                            
       *  Figure out if the variable is already in this task's list.  
       */                                                             
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
          tvp->dtor = dtor;                                           
 802d1a4:	58 8d 00 10 	sw (r4+16),r13                                 
          _Thread_Enable_dispatch();                                  
 802d1a8:	fb ff 79 e2 	calli 800b930 <_Thread_Enable_dispatch>        
 802d1ac:	34 02 00 00 	mvi r2,0                                       
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
 802d1b0:	b8 40 08 00 	mv r1,r2                                       
 802d1b4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802d1b8:	2b 8b 00 10 	lw r11,(sp+16)                                 
 802d1bc:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 802d1c0:	2b 8d 00 08 	lw r13,(sp+8)                                  
 802d1c4:	37 9c 00 14 	addi sp,sp,20                                  
 802d1c8:	c3 a0 00 00 	ret                                            
       *  Now allocate memory for this task variable.                 
       */                                                             
      new = (rtems_task_variable_t *)                                 
         _Workspace_Allocate(sizeof(rtems_task_variable_t));          
      if (new == NULL) {                                              
        _Thread_Enable_dispatch();                                    
 802d1cc:	fb ff 79 d9 	calli 800b930 <_Thread_Enable_dispatch>        
 802d1d0:	34 02 00 1a 	mvi r2,26                                      
        return RTEMS_NO_MEMORY;                                       
 802d1d4:	e3 ff ff d1 	bi 802d118 <rtems_task_variable_add+0x3c>      
                                                                      
0802d1d8 <rtems_task_variable_delete>:                                
                                                                      
rtems_status_code rtems_task_variable_delete(                         
  rtems_id  tid,                                                      
  void    **ptr                                                       
)                                                                     
{                                                                     
 802d1d8:	37 9c ff f4 	addi sp,sp,-12                                 
 802d1dc:	5b 8b 00 08 	sw (sp+8),r11                                  
 802d1e0:	5b 9d 00 04 	sw (sp+4),ra                                   
 802d1e4:	b8 40 58 00 	mv r11,r2                                      
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *prev;                                  
                                                                      
  if ( !ptr )                                                         
 802d1e8:	34 02 00 09 	mvi r2,9                                       
 802d1ec:	45 60 00 06 	be r11,r0,802d204 <rtems_task_variable_delete+0x2c>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  prev = NULL;                                                        
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
 802d1f0:	37 82 00 0c 	addi r2,sp,12                                  
 802d1f4:	fb ff 79 dc 	calli 800b964 <_Thread_Get>                    
  switch (location) {                                                 
 802d1f8:	2b 84 00 0c 	lw r4,(sp+12)                                  
 802d1fc:	34 02 00 04 	mvi r2,4                                       
 802d200:	44 80 00 06 	be r4,r0,802d218 <rtems_task_variable_delete+0x40>
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 802d204:	b8 40 08 00 	mv r1,r2                                       
 802d208:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802d20c:	2b 8b 00 08 	lw r11,(sp+8)                                  
 802d210:	37 9c 00 0c 	addi sp,sp,12                                  
 802d214:	c3 a0 00 00 	ret                                            
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
  switch (location) {                                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
 802d218:	28 23 01 34 	lw r3,(r1+308)                                 
      while (tvp) {                                                   
 802d21c:	44 64 00 09 	be r3,r4,802d240 <rtems_task_variable_delete+0x68>
        if (tvp->ptr == ptr) {                                        
 802d220:	28 62 00 04 	lw r2,(r3+4)                                   
 802d224:	5c 4b 00 04 	bne r2,r11,802d234 <rtems_task_variable_delete+0x5c>
 802d228:	e0 00 00 18 	bi 802d288 <rtems_task_variable_delete+0xb0>   
 802d22c:	28 64 00 04 	lw r4,(r3+4)                                   
 802d230:	44 8b 00 0b 	be r4,r11,802d25c <rtems_task_variable_delete+0x84>
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
                                                                      
          _RTEMS_Tasks_Invoke_task_variable_dtor( the_thread, tvp );  
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
 802d234:	b8 60 10 00 	mv r2,r3                                       
        }                                                             
        prev = tvp;                                                   
        tvp = (rtems_task_variable_t *)tvp->next;                     
 802d238:	28 63 00 00 	lw r3,(r3+0)                                   
  the_thread = _Thread_Get (tid, &location);                          
  switch (location) {                                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
 802d23c:	5c 60 ff fc 	bne r3,r0,802d22c <rtems_task_variable_delete+0x54><== ALWAYS TAKEN
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        prev = tvp;                                                   
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
 802d240:	fb ff 79 bc 	calli 800b930 <_Thread_Enable_dispatch>        
 802d244:	34 02 00 09 	mvi r2,9                                       
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 802d248:	b8 40 08 00 	mv r1,r2                                       
 802d24c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802d250:	2b 8b 00 08 	lw r11,(sp+8)                                  
 802d254:	37 9c 00 0c 	addi sp,sp,12                                  
 802d258:	c3 a0 00 00 	ret                                            
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
          if (prev)                                                   
            prev->next = tvp->next;                                   
 802d25c:	28 64 00 00 	lw r4,(r3+0)                                   
 802d260:	58 44 00 00 	sw (r2+0),r4                                   
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
                                                                      
          _RTEMS_Tasks_Invoke_task_variable_dtor( the_thread, tvp );  
 802d264:	b8 60 10 00 	mv r2,r3                                       
 802d268:	f8 00 00 3b 	calli 802d354 <_RTEMS_Tasks_Invoke_task_variable_dtor>
          _Thread_Enable_dispatch();                                  
 802d26c:	fb ff 79 b1 	calli 800b930 <_Thread_Enable_dispatch>        
 802d270:	34 02 00 00 	mvi r2,0                                       
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 802d274:	b8 40 08 00 	mv r1,r2                                       
 802d278:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802d27c:	2b 8b 00 08 	lw r11,(sp+8)                                  
 802d280:	37 9c 00 0c 	addi sp,sp,12                                  
 802d284:	c3 a0 00 00 	ret                                            
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
          if (prev)                                                   
            prev->next = tvp->next;                                   
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
 802d288:	28 62 00 00 	lw r2,(r3+0)                                   
 802d28c:	58 22 01 34 	sw (r1+308),r2                                 
 802d290:	e3 ff ff f5 	bi 802d264 <rtems_task_variable_delete+0x8c>   
                                                                      
0802d294 <rtems_task_variable_get>:                                   
rtems_status_code rtems_task_variable_get(                            
  rtems_id tid,                                                       
  void **ptr,                                                         
  void **result                                                       
)                                                                     
{                                                                     
 802d294:	37 9c ff f0 	addi sp,sp,-16                                 
 802d298:	5b 8b 00 0c 	sw (sp+12),r11                                 
 802d29c:	5b 8c 00 08 	sw (sp+8),r12                                  
 802d2a0:	5b 9d 00 04 	sw (sp+4),ra                                   
 802d2a4:	b8 40 58 00 	mv r11,r2                                      
 802d2a8:	b8 60 60 00 	mv r12,r3                                      
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp;                                         
                                                                      
  if ( !ptr )                                                         
 802d2ac:	44 40 00 1d 	be r2,r0,802d320 <rtems_task_variable_get+0x8c>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !result )                                                      
 802d2b0:	44 60 00 1c 	be r3,r0,802d320 <rtems_task_variable_get+0x8c>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
 802d2b4:	37 82 00 10 	addi r2,sp,16                                  
 802d2b8:	fb ff 79 ab 	calli 800b964 <_Thread_Get>                    
  switch (location) {                                                 
 802d2bc:	2b 82 00 10 	lw r2,(sp+16)                                  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !result )                                                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
 802d2c0:	b8 20 18 00 	mv r3,r1                                       
  switch (location) {                                                 
 802d2c4:	34 01 00 04 	mvi r1,4                                       
 802d2c8:	44 40 00 06 	be r2,r0,802d2e0 <rtems_task_variable_get+0x4c>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
 802d2cc:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802d2d0:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 802d2d4:	2b 8c 00 08 	lw r12,(sp+8)                                  
 802d2d8:	37 9c 00 10 	addi sp,sp,16                                  
 802d2dc:	c3 a0 00 00 	ret                                            
                                                                      
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is in this task's list.          
       */                                                             
      tvp = the_thread->task_variables;                               
 802d2e0:	28 61 01 34 	lw r1,(r3+308)                                 
      while (tvp) {                                                   
 802d2e4:	5c 22 00 04 	bne r1,r2,802d2f4 <rtems_task_variable_get+0x60>
 802d2e8:	e0 00 00 14 	bi 802d338 <rtems_task_variable_get+0xa4>      
	   */                                                                
          *result = tvp->tval;                                        
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
 802d2ec:	28 21 00 00 	lw r1,(r1+0)                                   
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is in this task's list.          
       */                                                             
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
 802d2f0:	44 20 00 12 	be r1,r0,802d338 <rtems_task_variable_get+0xa4><== NEVER TAKEN
        if (tvp->ptr == ptr) {                                        
 802d2f4:	28 22 00 04 	lw r2,(r1+4)                                   
 802d2f8:	5c 4b ff fd 	bne r2,r11,802d2ec <rtems_task_variable_get+0x58>
	  /*                                                                 
	   * Should this return the current (i.e not the                     
	   * saved) value if `tid' is the current task?                      
	   */                                                                
          *result = tvp->tval;                                        
 802d2fc:	28 21 00 0c 	lw r1,(r1+12)                                  
 802d300:	59 81 00 00 	sw (r12+0),r1                                  
          _Thread_Enable_dispatch();                                  
 802d304:	fb ff 79 8b 	calli 800b930 <_Thread_Enable_dispatch>        
 802d308:	34 01 00 00 	mvi r1,0                                       
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
 802d30c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802d310:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 802d314:	2b 8c 00 08 	lw r12,(sp+8)                                  
 802d318:	37 9c 00 10 	addi sp,sp,16                                  
 802d31c:	c3 a0 00 00 	ret                                            
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
      return RTEMS_INVALID_ADDRESS;                                   
 802d320:	34 01 00 09 	mvi r1,9                                       
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
 802d324:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802d328:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 802d32c:	2b 8c 00 08 	lw r12,(sp+8)                                  
 802d330:	37 9c 00 10 	addi sp,sp,16                                  
 802d334:	c3 a0 00 00 	ret                                            
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
 802d338:	fb ff 79 7e 	calli 800b930 <_Thread_Enable_dispatch>        
 802d33c:	34 01 00 09 	mvi r1,9                                       
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
 802d340:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802d344:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 802d348:	2b 8c 00 08 	lw r12,(sp+8)                                  
 802d34c:	37 9c 00 10 	addi sp,sp,16                                  
 802d350:	c3 a0 00 00 	ret                                            
                                                                      
08003884 <rtems_termios_baud_to_index>:                               
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
 8003884:	34 03 00 09 	mvi r3,9                                       
    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;                          
 8003888:	b8 20 10 00 	mv r2,r1                                       
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
 800388c:	44 23 00 0a 	be r1,r3,80038b4 <rtems_termios_baud_to_index+0x30><== NEVER TAKEN
 8003890:	48 23 00 0b 	bg r1,r3,80038bc <rtems_termios_baud_to_index+0x38><== NEVER TAKEN
 8003894:	34 03 00 04 	mvi r3,4                                       
 8003898:	44 23 00 07 	be r1,r3,80038b4 <rtems_termios_baud_to_index+0x30><== NEVER TAKEN
 800389c:	48 23 00 22 	bg r1,r3,8003924 <rtems_termios_baud_to_index+0xa0><== NEVER TAKEN
 80038a0:	34 01 00 01 	mvi r1,1                                       
 80038a4:	44 41 00 04 	be r2,r1,80038b4 <rtems_termios_baud_to_index+0x30><== NEVER TAKEN
 80038a8:	48 41 00 2a 	bg r2,r1,8003950 <rtems_termios_baud_to_index+0xcc><== NEVER TAKEN
 80038ac:	44 40 00 02 	be r2,r0,80038b4 <rtems_termios_baud_to_index+0x30><== NEVER TAKEN
    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;                          
 80038b0:	34 02 ff ff 	mvi r2,-1                                      
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
 80038b4:	b8 40 08 00 	mv r1,r2                                       
 80038b8:	c3 a0 00 00 	ret                                            
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
 80038bc:	34 03 00 0e 	mvi r3,14                                      <== NOT EXECUTED
 80038c0:	44 23 ff fd 	be r1,r3,80038b4 <rtems_termios_baud_to_index+0x30><== NOT EXECUTED
 80038c4:	48 23 00 0c 	bg r1,r3,80038f4 <rtems_termios_baud_to_index+0x70><== NOT EXECUTED
 80038c8:	34 03 00 0b 	mvi r3,11                                      <== NOT EXECUTED
 80038cc:	44 23 ff fa 	be r1,r3,80038b4 <rtems_termios_baud_to_index+0x30><== NOT EXECUTED
    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;                          
 80038d0:	34 02 00 0a 	mvi r2,10                                      <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
 80038d4:	48 61 ff f8 	bg r3,r1,80038b4 <rtems_termios_baud_to_index+0x30><== NOT EXECUTED
    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;                          
 80038d8:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
 80038dc:	34 01 00 0c 	mvi r1,12                                      <== NOT EXECUTED
 80038e0:	44 41 ff f5 	be r2,r1,80038b4 <rtems_termios_baud_to_index+0x30><== NOT EXECUTED
 80038e4:	34 01 00 0d 	mvi r1,13                                      <== NOT EXECUTED
 80038e8:	44 41 ff f3 	be r2,r1,80038b4 <rtems_termios_baud_to_index+0x30><== NOT EXECUTED
    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;                          
 80038ec:	34 02 ff ff 	mvi r2,-1                                      <== NOT EXECUTED
 80038f0:	e3 ff ff f1 	bi 80038b4 <rtems_termios_baud_to_index+0x30>  <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
 80038f4:	34 03 10 02 	mvi r3,4098                                    <== NOT EXECUTED
    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;                          
 80038f8:	34 02 00 11 	mvi r2,17                                      <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
 80038fc:	44 23 ff ee 	be r1,r3,80038b4 <rtems_termios_baud_to_index+0x30><== NOT EXECUTED
 8003900:	48 23 00 19 	bg r1,r3,8003964 <rtems_termios_baud_to_index+0xe0><== NOT EXECUTED
 8003904:	34 03 00 0f 	mvi r3,15                                      <== NOT EXECUTED
    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;                          
 8003908:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
 800390c:	44 23 ff ea 	be r1,r3,80038b4 <rtems_termios_baud_to_index+0x30><== NOT EXECUTED
 8003910:	34 03 10 01 	mvi r3,4097                                    <== NOT EXECUTED
    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;                          
 8003914:	34 02 00 10 	mvi r2,16                                      <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
 8003918:	44 23 ff e7 	be r1,r3,80038b4 <rtems_termios_baud_to_index+0x30><== NOT EXECUTED
    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;                          
 800391c:	34 02 ff ff 	mvi r2,-1                                      <== NOT EXECUTED
 8003920:	e3 ff ff e5 	bi 80038b4 <rtems_termios_baud_to_index+0x30>  <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
 8003924:	34 03 00 06 	mvi r3,6                                       <== NOT EXECUTED
 8003928:	44 23 ff e3 	be r1,r3,80038b4 <rtems_termios_baud_to_index+0x30><== NOT EXECUTED
    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;                          
 800392c:	34 02 00 05 	mvi r2,5                                       <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
 8003930:	48 61 ff e1 	bg r3,r1,80038b4 <rtems_termios_baud_to_index+0x30><== NOT EXECUTED
    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;                          
 8003934:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
 8003938:	34 01 00 07 	mvi r1,7                                       <== NOT EXECUTED
 800393c:	44 41 ff de 	be r2,r1,80038b4 <rtems_termios_baud_to_index+0x30><== NOT EXECUTED
 8003940:	34 01 00 08 	mvi r1,8                                       <== NOT EXECUTED
 8003944:	44 41 ff dc 	be r2,r1,80038b4 <rtems_termios_baud_to_index+0x30><== NOT EXECUTED
    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;                          
 8003948:	34 02 ff ff 	mvi r2,-1                                      <== NOT EXECUTED
 800394c:	e3 ff ff da 	bi 80038b4 <rtems_termios_baud_to_index+0x30>  <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
 8003950:	34 01 00 02 	mvi r1,2                                       <== NOT EXECUTED
 8003954:	44 41 ff d8 	be r2,r1,80038b4 <rtems_termios_baud_to_index+0x30><== NOT EXECUTED
 8003958:	34 01 00 03 	mvi r1,3                                       <== NOT EXECUTED
 800395c:	5c 41 ff d5 	bne r2,r1,80038b0 <rtems_termios_baud_to_index+0x2c><== NOT EXECUTED
 8003960:	e3 ff ff d5 	bi 80038b4 <rtems_termios_baud_to_index+0x30>  <== NOT EXECUTED
 8003964:	34 03 10 03 	mvi r3,4099                                    <== NOT EXECUTED
    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;                          
 8003968:	34 02 00 12 	mvi r2,18                                      <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
 800396c:	44 23 ff d2 	be r1,r3,80038b4 <rtems_termios_baud_to_index+0x30><== NOT EXECUTED
 8003970:	34 03 10 04 	mvi r3,4100                                    <== NOT EXECUTED
    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;                          
 8003974:	34 02 00 13 	mvi r2,19                                      <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
 8003978:	5c 23 ff ce 	bne r1,r3,80038b0 <rtems_termios_baud_to_index+0x2c><== NOT EXECUTED
 800397c:	e3 ff ff ce 	bi 80038b4 <rtems_termios_baud_to_index+0x30>  <== NOT EXECUTED
                                                                      
08003980 <rtems_termios_baud_to_number>:                              
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
 8003980:	34 03 00 09 	mvi r3,9                                       
    case B110:      baud =    110;  break;                            
    case B134:      baud =    134;  break;                            
    case B150:      baud =    150;  break;                            
    case B200:      baud =    200;  break;                            
    case B300:      baud =    300;  break;                            
    case B600:      baud =    600;  break;                            
 8003984:	34 02 04 b0 	mvi r2,1200                                    
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
 8003988:	44 23 00 0d 	be r1,r3,80039bc <rtems_termios_baud_to_number+0x3c>
 800398c:	48 23 00 0e 	bg r1,r3,80039c4 <rtems_termios_baud_to_number+0x44>
 8003990:	34 03 00 04 	mvi r3,4                                       
    case B0:        baud =      0;  break;                            
    case B50:       baud =     50;  break;                            
    case B75:       baud =     75;  break;                            
    case B110:      baud =    110;  break;                            
 8003994:	34 02 00 86 	mvi r2,134                                     
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
 8003998:	44 23 00 09 	be r1,r3,80039bc <rtems_termios_baud_to_number+0x3c>
 800399c:	48 23 00 26 	bg r1,r3,8003a34 <rtems_termios_baud_to_number+0xb4>
 80039a0:	34 03 00 01 	mvi r3,1                                       
 80039a4:	34 02 00 32 	mvi r2,50                                      
 80039a8:	44 23 00 05 	be r1,r3,80039bc <rtems_termios_baud_to_number+0x3c>
 80039ac:	48 23 00 2f 	bg r1,r3,8003a68 <rtems_termios_baud_to_number+0xe8>
 80039b0:	b8 20 10 00 	mv r2,r1                                       
 80039b4:	44 20 00 02 	be r1,r0,80039bc <rtems_termios_baud_to_number+0x3c>
    case B19200:    baud =  19200;  break;                            
    case B38400:    baud =  38400;  break;                            
    case B57600:    baud =  57600;  break;                            
    case B115200:   baud = 115200;  break;                            
    case B230400:   baud = 230400;  break;                            
    case B460800:   baud = 460800;  break;                            
 80039b8:	34 02 ff ff 	mvi r2,-1                                      
    default:        baud =     -1;  break;                            
  }                                                                   
                                                                      
  return baud;                                                        
}                                                                     
 80039bc:	b8 40 08 00 	mv r1,r2                                       
 80039c0:	c3 a0 00 00 	ret                                            
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
 80039c4:	34 03 00 0e 	mvi r3,14                                      
    case B600:      baud =    600;  break;                            
    case B1200:     baud =   1200;  break;                            
    case B1800:     baud =   1800;  break;                            
    case B2400:     baud =   2400;  break;                            
    case B4800:     baud =   4800;  break;                            
    case B9600:     baud =   9600;  break;                            
 80039c8:	34 02 4b 00 	mvi r2,19200                                   
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
 80039cc:	44 23 ff fc 	be r1,r3,80039bc <rtems_termios_baud_to_number+0x3c>
 80039d0:	48 23 00 0e 	bg r1,r3,8003a08 <rtems_termios_baud_to_number+0x88>
 80039d4:	34 03 00 0b 	mvi r3,11                                      
    case B150:      baud =    150;  break;                            
    case B200:      baud =    200;  break;                            
    case B300:      baud =    300;  break;                            
    case B600:      baud =    600;  break;                            
    case B1200:     baud =   1200;  break;                            
    case B1800:     baud =   1800;  break;                            
 80039d8:	34 02 09 60 	mvi r2,2400                                    
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
 80039dc:	44 23 ff f8 	be r1,r3,80039bc <rtems_termios_baud_to_number+0x3c>
    case B134:      baud =    134;  break;                            
    case B150:      baud =    150;  break;                            
    case B200:      baud =    200;  break;                            
    case B300:      baud =    300;  break;                            
    case B600:      baud =    600;  break;                            
    case B1200:     baud =   1200;  break;                            
 80039e0:	34 02 07 08 	mvi r2,1800                                    
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
 80039e4:	48 61 ff f6 	bg r3,r1,80039bc <rtems_termios_baud_to_number+0x3c>
 80039e8:	34 03 00 0c 	mvi r3,12                                      
    case B200:      baud =    200;  break;                            
    case B300:      baud =    300;  break;                            
    case B600:      baud =    600;  break;                            
    case B1200:     baud =   1200;  break;                            
    case B1800:     baud =   1800;  break;                            
    case B2400:     baud =   2400;  break;                            
 80039ec:	34 02 12 c0 	mvi r2,4800                                    
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
 80039f0:	44 23 ff f3 	be r1,r3,80039bc <rtems_termios_baud_to_number+0x3c>
 80039f4:	34 03 00 0d 	mvi r3,13                                      
    case B300:      baud =    300;  break;                            
    case B600:      baud =    600;  break;                            
    case B1200:     baud =   1200;  break;                            
    case B1800:     baud =   1800;  break;                            
    case B2400:     baud =   2400;  break;                            
    case B4800:     baud =   4800;  break;                            
 80039f8:	34 02 25 80 	mvi r2,9600                                    
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
 80039fc:	44 23 ff f0 	be r1,r3,80039bc <rtems_termios_baud_to_number+0x3c><== ALWAYS TAKEN
    case B19200:    baud =  19200;  break;                            
    case B38400:    baud =  38400;  break;                            
    case B57600:    baud =  57600;  break;                            
    case B115200:   baud = 115200;  break;                            
    case B230400:   baud = 230400;  break;                            
    case B460800:   baud = 460800;  break;                            
 8003a00:	34 02 ff ff 	mvi r2,-1                                      <== NOT EXECUTED
 8003a04:	e3 ff ff ee 	bi 80039bc <rtems_termios_baud_to_number+0x3c> <== NOT EXECUTED
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
 8003a08:	34 02 10 02 	mvi r2,4098                                    
 8003a0c:	44 22 00 25 	be r1,r2,8003aa0 <rtems_termios_baud_to_number+0x120>
 8003a10:	48 22 00 1d 	bg r1,r2,8003a84 <rtems_termios_baud_to_number+0x104>
 8003a14:	34 03 00 0f 	mvi r3,15                                      
    case B1200:     baud =   1200;  break;                            
    case B1800:     baud =   1800;  break;                            
    case B2400:     baud =   2400;  break;                            
    case B4800:     baud =   4800;  break;                            
    case B9600:     baud =   9600;  break;                            
    case B19200:    baud =  19200;  break;                            
 8003a18:	38 02 96 00 	mvu r2,0x9600                                  
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
 8003a1c:	44 23 ff e8 	be r1,r3,80039bc <rtems_termios_baud_to_number+0x3c>
 8003a20:	34 03 10 01 	mvi r3,4097                                    
    case B1800:     baud =   1800;  break;                            
    case B2400:     baud =   2400;  break;                            
    case B4800:     baud =   4800;  break;                            
    case B9600:     baud =   9600;  break;                            
    case B19200:    baud =  19200;  break;                            
    case B38400:    baud =  38400;  break;                            
 8003a24:	38 02 e1 00 	mvu r2,0xe100                                  
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
 8003a28:	44 23 ff e5 	be r1,r3,80039bc <rtems_termios_baud_to_number+0x3c><== ALWAYS TAKEN
    case B19200:    baud =  19200;  break;                            
    case B38400:    baud =  38400;  break;                            
    case B57600:    baud =  57600;  break;                            
    case B115200:   baud = 115200;  break;                            
    case B230400:   baud = 230400;  break;                            
    case B460800:   baud = 460800;  break;                            
 8003a2c:	34 02 ff ff 	mvi r2,-1                                      <== NOT EXECUTED
 8003a30:	e3 ff ff e3 	bi 80039bc <rtems_termios_baud_to_number+0x3c> <== NOT EXECUTED
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
 8003a34:	34 03 00 06 	mvi r3,6                                       
    case B0:        baud =      0;  break;                            
    case B50:       baud =     50;  break;                            
    case B75:       baud =     75;  break;                            
    case B110:      baud =    110;  break;                            
    case B134:      baud =    134;  break;                            
    case B150:      baud =    150;  break;                            
 8003a38:	34 02 00 c8 	mvi r2,200                                     
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
 8003a3c:	44 23 ff e0 	be r1,r3,80039bc <rtems_termios_baud_to_number+0x3c>
    case B0:        baud =      0;  break;                            
    case B50:       baud =     50;  break;                            
    case B75:       baud =     75;  break;                            
    case B110:      baud =    110;  break;                            
    case B134:      baud =    134;  break;                            
 8003a40:	34 02 00 96 	mvi r2,150                                     
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
 8003a44:	48 61 ff de 	bg r3,r1,80039bc <rtems_termios_baud_to_number+0x3c>
 8003a48:	34 03 00 07 	mvi r3,7                                       
    case B50:       baud =     50;  break;                            
    case B75:       baud =     75;  break;                            
    case B110:      baud =    110;  break;                            
    case B134:      baud =    134;  break;                            
    case B150:      baud =    150;  break;                            
    case B200:      baud =    200;  break;                            
 8003a4c:	34 02 01 2c 	mvi r2,300                                     
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
 8003a50:	44 23 ff db 	be r1,r3,80039bc <rtems_termios_baud_to_number+0x3c>
 8003a54:	34 03 00 08 	mvi r3,8                                       
    case B75:       baud =     75;  break;                            
    case B110:      baud =    110;  break;                            
    case B134:      baud =    134;  break;                            
    case B150:      baud =    150;  break;                            
    case B200:      baud =    200;  break;                            
    case B300:      baud =    300;  break;                            
 8003a58:	34 02 02 58 	mvi r2,600                                     
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
 8003a5c:	44 23 ff d8 	be r1,r3,80039bc <rtems_termios_baud_to_number+0x3c><== ALWAYS TAKEN
    case B19200:    baud =  19200;  break;                            
    case B38400:    baud =  38400;  break;                            
    case B57600:    baud =  57600;  break;                            
    case B115200:   baud = 115200;  break;                            
    case B230400:   baud = 230400;  break;                            
    case B460800:   baud = 460800;  break;                            
 8003a60:	34 02 ff ff 	mvi r2,-1                                      <== NOT EXECUTED
 8003a64:	e3 ff ff d6 	bi 80039bc <rtems_termios_baud_to_number+0x3c> <== NOT EXECUTED
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
 8003a68:	34 03 00 02 	mvi r3,2                                       
 8003a6c:	34 02 00 4b 	mvi r2,75                                      
 8003a70:	44 23 ff d3 	be r1,r3,80039bc <rtems_termios_baud_to_number+0x3c>
 8003a74:	34 03 00 03 	mvi r3,3                                       
    case B0:        baud =      0;  break;                            
    case B50:       baud =     50;  break;                            
    case B75:       baud =     75;  break;                            
 8003a78:	34 02 00 6e 	mvi r2,110                                     
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
 8003a7c:	5c 23 ff cf 	bne r1,r3,80039b8 <rtems_termios_baud_to_number+0x38><== NEVER TAKEN
 8003a80:	e3 ff ff cf 	bi 80039bc <rtems_termios_baud_to_number+0x3c> 
 8003a84:	34 02 10 03 	mvi r2,4099                                    
 8003a88:	44 22 00 09 	be r1,r2,8003aac <rtems_termios_baud_to_number+0x12c>
 8003a8c:	34 02 10 04 	mvi r2,4100                                    
 8003a90:	5c 22 ff ca 	bne r1,r2,80039b8 <rtems_termios_baud_to_number+0x38><== NEVER TAKEN
    case B9600:     baud =   9600;  break;                            
    case B19200:    baud =  19200;  break;                            
    case B38400:    baud =  38400;  break;                            
    case B57600:    baud =  57600;  break;                            
    case B115200:   baud = 115200;  break;                            
    case B230400:   baud = 230400;  break;                            
 8003a94:	78 02 00 07 	mvhi r2,0x7                                    
 8003a98:	38 42 08 00 	ori r2,r2,0x800                                
    case B460800:   baud = 460800;  break;                            
 8003a9c:	e3 ff ff c8 	bi 80039bc <rtems_termios_baud_to_number+0x3c> 
    case B2400:     baud =   2400;  break;                            
    case B4800:     baud =   4800;  break;                            
    case B9600:     baud =   9600;  break;                            
    case B19200:    baud =  19200;  break;                            
    case B38400:    baud =  38400;  break;                            
    case B57600:    baud =  57600;  break;                            
 8003aa0:	78 02 00 01 	mvhi r2,0x1                                    
 8003aa4:	38 42 c2 00 	ori r2,r2,0xc200                               
    case B115200:   baud = 115200;  break;                            
 8003aa8:	e3 ff ff c5 	bi 80039bc <rtems_termios_baud_to_number+0x3c> 
 8003aac:	78 02 00 03 	mvhi r2,0x3                                    
 8003ab0:	38 42 84 00 	ori r2,r2,0x8400                               
    case B230400:   baud = 230400;  break;                            
 8003ab4:	e3 ff ff c2 	bi 80039bc <rtems_termios_baud_to_number+0x3c> 
                                                                      
08003c48 <rtems_termios_bufsize>:                                     
  int cbufsize,                                                       
  int raw_input,                                                      
  int raw_output                                                      
)                                                                     
{                                                                     
  rtems_termios_cbufsize        = cbufsize;                           
 8003c48:	78 06 08 02 	mvhi r6,0x802                                  <== NOT EXECUTED
  rtems_termios_raw_input_size  = raw_input;                          
 8003c4c:	78 05 08 02 	mvhi r5,0x802                                  <== NOT EXECUTED
  rtems_termios_raw_output_size = raw_output;                         
 8003c50:	78 04 08 02 	mvhi r4,0x802                                  <== NOT EXECUTED
  int cbufsize,                                                       
  int raw_input,                                                      
  int raw_output                                                      
)                                                                     
{                                                                     
  rtems_termios_cbufsize        = cbufsize;                           
 8003c54:	38 c6 42 34 	ori r6,r6,0x4234                               <== NOT EXECUTED
  rtems_termios_raw_input_size  = raw_input;                          
 8003c58:	38 a5 42 38 	ori r5,r5,0x4238                               <== NOT EXECUTED
  rtems_termios_raw_output_size = raw_output;                         
 8003c5c:	38 84 42 3c 	ori r4,r4,0x423c                               <== NOT EXECUTED
  int cbufsize,                                                       
  int raw_input,                                                      
  int raw_output                                                      
)                                                                     
{                                                                     
  rtems_termios_cbufsize        = cbufsize;                           
 8003c60:	58 c1 00 00 	sw (r6+0),r1                                   <== NOT EXECUTED
  rtems_termios_raw_input_size  = raw_input;                          
 8003c64:	58 a2 00 00 	sw (r5+0),r2                                   <== NOT EXECUTED
  rtems_termios_raw_output_size = raw_output;                         
 8003c68:	58 83 00 00 	sw (r4+0),r3                                   <== NOT EXECUTED
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 8003c6c:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 8003c70:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
080054e0 <rtems_termios_close>:                                       
	}                                                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
 80054e0:	37 9c ff e8 	addi sp,sp,-24                                 
 80054e4:	5b 8b 00 18 	sw (sp+24),r11                                 
 80054e8:	5b 8c 00 14 	sw (sp+20),r12                                 
 80054ec:	5b 8d 00 10 	sw (sp+16),r13                                 
 80054f0:	5b 8e 00 0c 	sw (sp+12),r14                                 
 80054f4:	5b 8f 00 08 	sw (sp+8),r15                                  
 80054f8:	5b 9d 00 04 	sw (sp+4),ra                                   
	rtems_libio_open_close_args_t *args = arg;                           
	struct rtems_termios_tty *tty = args->iop->data1;                    
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
 80054fc:	78 0c 08 02 	mvhi r12,0x802                                 
 8005500:	39 8c 49 4c 	ori r12,r12,0x494c                             
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
	rtems_libio_open_close_args_t *args = arg;                           
	struct rtems_termios_tty *tty = args->iop->data1;                    
 8005504:	28 24 00 00 	lw r4,(r1+0)                                   
	}                                                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
 8005508:	b8 20 78 00 	mv r15,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 (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
 800550c:	29 81 00 00 	lw r1,(r12+0)                                  
 8005510:	34 02 00 00 	mvi r2,0                                       
 8005514:	b8 40 18 00 	mv r3,r2                                       
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
	rtems_libio_open_close_args_t *args = arg;                           
	struct rtems_termios_tty *tty = args->iop->data1;                    
 8005518:	28 8b 00 38 	lw r11,(r4+56)                                 
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
 800551c:	f8 00 04 fb 	calli 8006908 <rtems_semaphore_obtain>         
	if (sc != RTEMS_SUCCESSFUL)                                          
 8005520:	5c 20 00 62 	bne r1,r0,80056a8 <rtems_termios_close+0x1c8>  <== NEVER TAKEN
		rtems_fatal_error_occurred (sc);                                    
	if (--tty->refcount == 0) {                                          
 8005524:	29 6d 00 08 	lw r13,(r11+8)                                 
 8005528:	35 ad ff ff 	addi r13,r13,-1                                
 800552c:	59 6d 00 08 	sw (r11+8),r13                                 
 8005530:	5d a1 00 2e 	bne r13,r1,80055e8 <rtems_termios_close+0x108> <== NEVER TAKEN
                if (rtems_termios_linesw[tty->t_line].l_close != NULL) {
 8005534:	29 61 00 cc 	lw r1,(r11+204)                                
 8005538:	78 0e 08 02 	mvhi r14,0x802                                 
 800553c:	34 02 00 05 	mvi r2,5                                       
 8005540:	39 ce 47 7c 	ori r14,r14,0x477c                             
 8005544:	fb ff ef e1 	calli 80014c8 <__ashlsi3>                      
 8005548:	b5 c1 08 00 	add r1,r14,r1                                  
 800554c:	28 2e 00 04 	lw r14,(r1+4)                                  
 8005550:	45 cd 00 43 	be r14,r13,800565c <rtems_termios_close+0x17c> <== ALWAYS TAKEN
			/*                                                                 
			 * call discipline-specific close                                  
			 */                                                                
			sc = rtems_termios_linesw[tty->t_line].l_close(tty);               
 8005554:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8005558:	d9 c0 00 00 	call r14                                       <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
			}                                                                  
		        drainOutput (tty);                                          
		}                                                                   
                                                                      
		if (tty->device.outputUsesInterrupts                                
 800555c:	29 62 00 b4 	lw r2,(r11+180)                                <== NOT EXECUTED
 8005560:	34 01 00 02 	mvi r1,2                                       <== NOT EXECUTED
 8005564:	44 41 00 48 	be r2,r1,8005684 <rtems_termios_close+0x1a4>   <== NOT EXECUTED
                                  tty->txTaskId,                      
				  TERMIOS_TX_TERMINATE_EVENT);                                    
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
		}                                                                   
		if (tty->device.lastClose)                                          
 8005568:	29 64 00 9c 	lw r4,(r11+156)                                
 800556c:	44 80 00 05 	be r4,r0,8005580 <rtems_termios_close+0xa0>    <== ALWAYS TAKEN
			 (*tty->device.lastClose)(tty->major, tty->minor, arg);            
 8005570:	29 61 00 0c 	lw r1,(r11+12)                                 <== NOT EXECUTED
 8005574:	29 62 00 10 	lw r2,(r11+16)                                 <== NOT EXECUTED
 8005578:	b9 e0 18 00 	mv r3,r15                                      <== NOT EXECUTED
 800557c:	d8 80 00 00 	call r4                                        <== NOT EXECUTED
		if (tty->forw == NULL) {                                            
 8005580:	29 61 00 00 	lw r1,(r11+0)                                  
 8005584:	44 20 00 27 	be r1,r0,8005620 <rtems_termios_close+0x140>   <== ALWAYS TAKEN
			if ( rtems_termios_ttyTail != NULL ) {                             
				rtems_termios_ttyTail->forw = NULL;                               
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
 8005588:	29 62 00 04 	lw r2,(r11+4)                                  <== NOT EXECUTED
 800558c:	58 22 00 04 	sw (r1+4),r2                                   <== NOT EXECUTED
		}                                                                   
		if (tty->back == NULL) {                                            
 8005590:	29 62 00 04 	lw r2,(r11+4)                                  <== NOT EXECUTED
 8005594:	44 40 00 2c 	be r2,r0,8005644 <rtems_termios_close+0x164>   <== NOT EXECUTED
			if ( rtems_termios_ttyHead != NULL ) {                             
				rtems_termios_ttyHead->back = NULL;                               
			}                                                                  
		}                                                                   
		else {                                                              
			tty->back->forw = tty->forw;                                       
 8005598:	58 41 00 00 	sw (r2+0),r1                                   <== NOT EXECUTED
		}                                                                   
		rtems_semaphore_delete (tty->isem);                                 
 800559c:	29 61 00 14 	lw r1,(r11+20)                                 
 80055a0:	f8 00 04 a7 	calli 800683c <rtems_semaphore_delete>         
		rtems_semaphore_delete (tty->osem);                                 
 80055a4:	29 61 00 18 	lw r1,(r11+24)                                 
 80055a8:	f8 00 04 a5 	calli 800683c <rtems_semaphore_delete>         
		rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                  
 80055ac:	29 61 00 8c 	lw r1,(r11+140)                                
 80055b0:	f8 00 04 a3 	calli 800683c <rtems_semaphore_delete>         
		if ((tty->device.pollRead == NULL) ||                               
 80055b4:	29 61 00 a0 	lw r1,(r11+160)                                
 80055b8:	44 20 00 17 	be r1,r0,8005614 <rtems_termios_close+0x134>   <== NEVER TAKEN
		    (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))      
 80055bc:	29 62 00 b4 	lw r2,(r11+180)                                
 80055c0:	34 01 00 02 	mvi r1,2                                       
 80055c4:	44 41 00 14 	be r2,r1,8005614 <rtems_termios_close+0x134>   <== NEVER TAKEN
			rtems_semaphore_delete (tty->rawInBuf.Semaphore);                  
		free (tty->rawInBuf.theBuf);                                        
 80055c8:	29 61 00 58 	lw r1,(r11+88)                                 
 80055cc:	f8 00 1c 9e 	calli 800c844 <free>                           
		free (tty->rawOutBuf.theBuf);                                       
 80055d0:	29 61 00 7c 	lw r1,(r11+124)                                
 80055d4:	f8 00 1c 9c 	calli 800c844 <free>                           
		free (tty->cbuf);                                                   
 80055d8:	29 61 00 1c 	lw r1,(r11+28)                                 
 80055dc:	f8 00 1c 9a 	calli 800c844 <free>                           
		free (tty);                                                         
 80055e0:	b9 60 08 00 	mv r1,r11                                      
 80055e4:	f8 00 1c 98 	calli 800c844 <free>                           
	}                                                                    
	rtems_semaphore_release (rtems_termios_ttyMutex);                    
 80055e8:	29 81 00 00 	lw r1,(r12+0)                                  
 80055ec:	f8 00 05 28 	calli 8006a8c <rtems_semaphore_release>        
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
 80055f0:	34 01 00 00 	mvi r1,0                                       
 80055f4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80055f8:	2b 8b 00 18 	lw r11,(sp+24)                                 
 80055fc:	2b 8c 00 14 	lw r12,(sp+20)                                 
 8005600:	2b 8d 00 10 	lw r13,(sp+16)                                 
 8005604:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 8005608:	2b 8f 00 08 	lw r15,(sp+8)                                  
 800560c:	37 9c 00 18 	addi sp,sp,24                                  
 8005610:	c3 a0 00 00 	ret                                            
		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);                  
 8005614:	29 61 00 68 	lw r1,(r11+104)                                <== NOT EXECUTED
 8005618:	f8 00 04 89 	calli 800683c <rtems_semaphore_delete>         <== NOT EXECUTED
 800561c:	e3 ff ff eb 	bi 80055c8 <rtems_termios_close+0xe8>          <== NOT EXECUTED
				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;                                 
 8005620:	29 62 00 04 	lw r2,(r11+4)                                  
 8005624:	78 03 08 02 	mvhi r3,0x802                                  
 8005628:	38 63 49 50 	ori r3,r3,0x4950                               
 800562c:	58 62 00 00 	sw (r3+0),r2                                   
			if ( rtems_termios_ttyTail != NULL ) {                             
 8005630:	44 41 00 1f 	be r2,r1,80056ac <rtems_termios_close+0x1cc>   <== ALWAYS TAKEN
				rtems_termios_ttyTail->forw = NULL;                               
 8005634:	58 41 00 00 	sw (r2+0),r1                                   <== NOT EXECUTED
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
 8005638:	29 62 00 04 	lw r2,(r11+4)                                  <== NOT EXECUTED
 800563c:	29 61 00 00 	lw r1,(r11+0)                                  <== NOT EXECUTED
 8005640:	5c 40 ff d6 	bne r2,r0,8005598 <rtems_termios_close+0xb8>   <== NOT EXECUTED
			rtems_termios_ttyHead = tty->forw;                                 
 8005644:	78 03 08 02 	mvhi r3,0x802                                  <== NOT EXECUTED
 8005648:	38 63 49 54 	ori r3,r3,0x4954                               <== NOT EXECUTED
 800564c:	58 61 00 00 	sw (r3+0),r1                                   <== NOT EXECUTED
			if ( rtems_termios_ttyHead != NULL ) {                             
 8005650:	44 22 ff d3 	be r1,r2,800559c <rtems_termios_close+0xbc>    <== NOT EXECUTED
				rtems_termios_ttyHead->back = NULL;                               
 8005654:	58 22 00 04 	sw (r1+4),r2                                   <== NOT EXECUTED
 8005658:	e3 ff ff d1 	bi 800559c <rtems_termios_close+0xbc>          <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * default: just flush output buffer                               
			 */                                                                
			sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
 800565c:	29 61 00 18 	lw r1,(r11+24)                                 
 8005660:	b9 c0 10 00 	mv r2,r14                                      
 8005664:	b9 c0 18 00 	mv r3,r14                                      
 8005668:	f8 00 04 a8 	calli 8006908 <rtems_semaphore_obtain>         
			if (sc != RTEMS_SUCCESSFUL) {                                      
 800566c:	5d c1 00 0f 	bne r14,r1,80056a8 <rtems_termios_close+0x1c8> <== NEVER TAKEN
				rtems_fatal_error_occurred (sc);                                  
			}                                                                  
		        drainOutput (tty);                                          
 8005670:	b9 60 08 00 	mv r1,r11                                      
 8005674:	fb ff fd 71 	calli 8004c38 <drainOutput>                    
		}                                                                   
                                                                      
		if (tty->device.outputUsesInterrupts                                
 8005678:	29 62 00 b4 	lw r2,(r11+180)                                
 800567c:	34 01 00 02 	mvi r1,2                                       
 8005680:	5c 41 ff ba 	bne r2,r1,8005568 <rtems_termios_close+0x88>   <== ALWAYS TAKEN
		    == TERMIOS_TASK_DRIVEN) {                                       
			/*                                                                 
			 * send "terminate" to I/O tasks                                   
			 */                                                                
			sc = rtems_event_send(                                             
 8005684:	29 61 00 c4 	lw r1,(r11+196)                                <== NOT EXECUTED
 8005688:	34 02 00 01 	mvi r2,1                                       <== NOT EXECUTED
 800568c:	f8 00 03 2e 	calli 8006344 <rtems_event_send>               <== NOT EXECUTED
 8005690:	b8 20 68 00 	mv r13,r1                                      <== NOT EXECUTED
                                  tty->rxTaskId,                      
				  TERMIOS_RX_TERMINATE_EVENT);                                    
			if (sc != RTEMS_SUCCESSFUL)                                        
 8005694:	5c 20 00 05 	bne r1,r0,80056a8 <rtems_termios_close+0x1c8>  <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
			sc = rtems_event_send(                                             
 8005698:	29 61 00 c8 	lw r1,(r11+200)                                <== NOT EXECUTED
 800569c:	34 02 00 01 	mvi r2,1                                       <== NOT EXECUTED
 80056a0:	f8 00 03 29 	calli 8006344 <rtems_event_send>               <== NOT EXECUTED
                                  tty->txTaskId,                      
				  TERMIOS_TX_TERMINATE_EVENT);                                    
			if (sc != RTEMS_SUCCESSFUL)                                        
 80056a4:	44 2d ff b1 	be r1,r13,8005568 <rtems_termios_close+0x88>   <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
 80056a8:	f8 00 06 c4 	calli 80071b8 <rtems_fatal_error_occurred>     <== NOT EXECUTED
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
			rtems_termios_ttyHead = tty->forw;                                 
 80056ac:	78 01 08 02 	mvhi r1,0x802                                  
 80056b0:	38 21 49 54 	ori r1,r1,0x4954                               
 80056b4:	58 22 00 00 	sw (r1+0),r2                                   
 80056b8:	e3 ff ff b9 	bi 800559c <rtems_termios_close+0xbc>          
                                                                      
08003f04 <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)                
{                                                                     
 8003f04:	37 9c ff fc 	addi sp,sp,-4                                  <== NOT EXECUTED
 8003f08:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	/*                                                                   
	 * sum up character count already sent                               
	 */                                                                  
	tty->t_dqlen += len;                                                 
 8003f0c:	28 25 00 90 	lw r5,(r1+144)                                 <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
 8003f10:	28 24 00 b4 	lw r4,(r1+180)                                 <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	/*                                                                   
	 * sum up character count already sent                               
	 */                                                                  
	tty->t_dqlen += len;                                                 
 8003f14:	b4 a2 10 00 	add r2,r5,r2                                   <== NOT EXECUTED
 8003f18:	58 22 00 90 	sw (r1+144),r2                                 <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
 8003f1c:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 8003f20:	44 82 00 11 	be r4,r2,8003f64 <rtems_termios_dequeue_characters+0x60><== NOT EXECUTED
				      TERMIOS_TX_START_EVENT);                                    
		if (sc != RTEMS_SUCCESSFUL)                                         
			rtems_fatal_error_occurred (sc);                                   
		return 0; /* nothing to output in IRQ... */                         
	}                                                                    
	else if (tty->t_line == PPPDISC ) {                                  
 8003f24:	28 23 00 cc 	lw r3,(r1+204)                                 <== NOT EXECUTED
 8003f28:	34 02 00 05 	mvi r2,5                                       <== NOT EXECUTED
 8003f2c:	44 62 00 05 	be r3,r2,8003f40 <rtems_termios_dequeue_characters+0x3c><== NOT EXECUTED
			rtems_termios_linesw[tty->t_line].l_start(tty);                    
		}                                                                   
		return 0; /* nothing to output in IRQ... */                         
	}                                                                    
	else {                                                               
		return rtems_termios_refill_transmitter(tty);                       
 8003f30:	fb ff ff 59 	calli 8003c94 <rtems_termios_refill_transmitter><== NOT EXECUTED
	}                                                                    
}                                                                     
 8003f34:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8003f38:	37 9c 00 04 	addi sp,sp,4                                   <== NOT EXECUTED
 8003f3c:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
	}                                                                    
	else if (tty->t_line == PPPDISC ) {                                  
		/*                                                                  
		 * call any line discipline start function                          
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_start != NULL) {            
 8003f40:	78 02 08 02 	mvhi r2,0x802                                  <== NOT EXECUTED
 8003f44:	38 42 47 7c 	ori r2,r2,0x477c                               <== NOT EXECUTED
 8003f48:	28 42 00 b4 	lw r2,(r2+180)                                 <== NOT EXECUTED
 8003f4c:	44 40 00 0a 	be r2,r0,8003f74 <rtems_termios_dequeue_characters+0x70><== NOT EXECUTED
			rtems_termios_linesw[tty->t_line].l_start(tty);                    
 8003f50:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
 8003f54:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
		return 0; /* nothing to output in IRQ... */                         
	}                                                                    
	else {                                                               
		return rtems_termios_refill_transmitter(tty);                       
	}                                                                    
}                                                                     
 8003f58:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8003f5c:	37 9c 00 04 	addi sp,sp,4                                   <== NOT EXECUTED
 8003f60:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
		/*                                                                  
		 * send wake up to transmitter task                                 
		 */                                                                 
		sc = rtems_event_send(tty->txTaskId,                                
 8003f64:	28 21 00 c8 	lw r1,(r1+200)                                 <== NOT EXECUTED
 8003f68:	b8 80 10 00 	mv r2,r4                                       <== NOT EXECUTED
 8003f6c:	f8 00 08 f6 	calli 8006344 <rtems_event_send>               <== NOT EXECUTED
				      TERMIOS_TX_START_EVENT);                                    
		if (sc != RTEMS_SUCCESSFUL)                                         
 8003f70:	5c 20 00 05 	bne r1,r0,8003f84 <rtems_termios_dequeue_characters+0x80><== NOT EXECUTED
			rtems_termios_linesw[tty->t_line].l_start(tty);                    
		}                                                                   
		return 0; /* nothing to output in IRQ... */                         
	}                                                                    
	else {                                                               
		return rtems_termios_refill_transmitter(tty);                       
 8003f74:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
	}                                                                    
}                                                                     
 8003f78:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8003f7c:	37 9c 00 04 	addi sp,sp,4                                   <== NOT EXECUTED
 8003f80:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
		 * send wake up to transmitter task                                 
		 */                                                                 
		sc = rtems_event_send(tty->txTaskId,                                
				      TERMIOS_TX_START_EVENT);                                    
		if (sc != RTEMS_SUCCESSFUL)                                         
			rtems_fatal_error_occurred (sc);                                   
 8003f84:	f8 00 0c 8d 	calli 80071b8 <rtems_fatal_error_occurred>     <== NOT EXECUTED
                                                                      
08003f88 <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) 
{                                                                     
 8003f88:	37 9c ff b8 	addi sp,sp,-72                                 <== NOT EXECUTED
 8003f8c:	5b 8b 00 44 	sw (sp+68),r11                                 <== NOT EXECUTED
 8003f90:	5b 8c 00 40 	sw (sp+64),r12                                 <== NOT EXECUTED
 8003f94:	5b 8d 00 3c 	sw (sp+60),r13                                 <== NOT EXECUTED
 8003f98:	5b 8e 00 38 	sw (sp+56),r14                                 <== NOT EXECUTED
 8003f9c:	5b 8f 00 34 	sw (sp+52),r15                                 <== NOT EXECUTED
 8003fa0:	5b 90 00 30 	sw (sp+48),r16                                 <== NOT EXECUTED
 8003fa4:	5b 91 00 2c 	sw (sp+44),r17                                 <== NOT EXECUTED
 8003fa8:	5b 92 00 28 	sw (sp+40),r18                                 <== NOT EXECUTED
 8003fac:	5b 93 00 24 	sw (sp+36),r19                                 <== NOT EXECUTED
 8003fb0:	5b 94 00 20 	sw (sp+32),r20                                 <== NOT EXECUTED
 8003fb4:	5b 95 00 1c 	sw (sp+28),r21                                 <== NOT EXECUTED
 8003fb8:	5b 96 00 18 	sw (sp+24),r22                                 <== NOT EXECUTED
 8003fbc:	5b 97 00 14 	sw (sp+20),r23                                 <== NOT EXECUTED
 8003fc0:	5b 98 00 10 	sw (sp+16),r24                                 <== NOT EXECUTED
 8003fc4:	5b 99 00 0c 	sw (sp+12),r25                                 <== NOT EXECUTED
 8003fc8:	5b 9b 00 08 	sw (sp+8),fp                                   <== NOT EXECUTED
 8003fcc:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 8003fd0:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
	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) {              
 8003fd4:	28 21 00 cc 	lw r1,(r1+204)                                 <== NOT EXECUTED
 *       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) 
{                                                                     
 8003fd8:	b8 40 68 00 	mv r13,r2                                      <== NOT EXECUTED
	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) {              
 8003fdc:	78 0e 08 02 	mvhi r14,0x802                                 <== NOT EXECUTED
 8003fe0:	b4 21 08 00 	add r1,r1,r1                                   <== NOT EXECUTED
 8003fe4:	34 21 00 01 	addi r1,r1,1                                   <== NOT EXECUTED
 8003fe8:	34 02 00 04 	mvi r2,4                                       <== NOT EXECUTED
 *       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) 
{                                                                     
 8003fec:	b8 60 78 00 	mv r15,r3                                      <== NOT EXECUTED
	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) {              
 8003ff0:	39 ce 47 7c 	ori r14,r14,0x477c                             <== NOT EXECUTED
 8003ff4:	fb ff f5 35 	calli 80014c8 <__ashlsi3>                      <== NOT EXECUTED
 8003ff8:	b5 c1 08 00 	add r1,r14,r1                                  <== NOT EXECUTED
 8003ffc:	28 24 00 00 	lw r4,(r1+0)                                   <== NOT EXECUTED
 8004000:	44 80 00 31 	be r4,r0,80040c4 <rtems_termios_enqueue_raw_characters+0x13c><== NOT EXECUTED
	  while (len--) {                                                    
 8004004:	45 e0 00 10 	be r15,r0,8004044 <rtems_termios_enqueue_raw_characters+0xbc><== NOT EXECUTED
 8004008:	34 0c 00 00 	mvi r12,0                                      <== NOT EXECUTED
 800400c:	e0 00 00 07 	bi 8004028 <rtems_termios_enqueue_raw_characters+0xa0><== NOT EXECUTED
 8004010:	29 61 00 cc 	lw r1,(r11+204)                                <== NOT EXECUTED
 8004014:	b4 21 08 00 	add r1,r1,r1                                   <== NOT EXECUTED
 8004018:	34 21 00 01 	addi r1,r1,1                                   <== NOT EXECUTED
 800401c:	fb ff f5 2b 	calli 80014c8 <__ashlsi3>                      <== NOT EXECUTED
 8004020:	b5 c1 08 00 	add r1,r14,r1                                  <== NOT EXECUTED
 8004024:	28 24 00 00 	lw r4,(r1+0)                                   <== NOT EXECUTED
	    c = *buf++;                                                      
	    rtems_termios_linesw[tty->t_line].l_rint(c,tty);                 
 8004028:	b5 ac 08 00 	add r1,r13,r12                                 <== NOT EXECUTED
 800402c:	40 21 00 00 	lbu r1,(r1+0)                                  <== NOT EXECUTED
 8004030:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 8004034:	35 8c 00 01 	addi r12,r12,1                                 <== NOT EXECUTED
 8004038:	d8 80 00 00 	call r4                                        <== 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--) {                                                    
 800403c:	34 02 00 04 	mvi r2,4                                       <== NOT EXECUTED
 8004040:	5d ec ff f4 	bne r15,r12,8004010 <rtems_termios_enqueue_raw_characters+0x88><== NOT EXECUTED
	  }                                                                  
                                                                      
	  /*                                                                 
	   * check to see if rcv wakeup callback was set                     
	   */                                                                
	  if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
 8004044:	29 63 00 e4 	lw r3,(r11+228)                                <== NOT EXECUTED
 8004048:	5c 60 00 1d 	bne r3,r0,80040bc <rtems_termios_enqueue_raw_characters+0x134><== NOT EXECUTED
 800404c:	29 64 00 dc 	lw r4,(r11+220)                                <== NOT EXECUTED
 8004050:	44 83 00 1b 	be r4,r3,80040bc <rtems_termios_enqueue_raw_characters+0x134><== NOT EXECUTED
	    (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
 8004054:	29 62 00 e0 	lw r2,(r11+224)                                <== NOT EXECUTED
 8004058:	35 61 00 30 	addi r1,r11,48                                 <== NOT EXECUTED
	    tty->tty_rcvwakeup = 1;                                          
 800405c:	b8 60 80 00 	mv r16,r3                                      <== 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);      
 8004060:	d8 80 00 00 	call r4                                        <== NOT EXECUTED
	    tty->tty_rcvwakeup = 1;                                          
 8004064:	34 01 00 01 	mvi r1,1                                       <== NOT EXECUTED
 8004068:	59 61 00 e4 	sw (r11+228),r1                                <== NOT EXECUTED
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
	return dropped;                                                      
}                                                                     
 800406c:	ba 00 08 00 	mv r1,r16                                      <== NOT EXECUTED
 8004070:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8004074:	2b 8b 00 44 	lw r11,(sp+68)                                 <== NOT EXECUTED
 8004078:	2b 8c 00 40 	lw r12,(sp+64)                                 <== NOT EXECUTED
 800407c:	2b 8d 00 3c 	lw r13,(sp+60)                                 <== NOT EXECUTED
 8004080:	2b 8e 00 38 	lw r14,(sp+56)                                 <== NOT EXECUTED
 8004084:	2b 8f 00 34 	lw r15,(sp+52)                                 <== NOT EXECUTED
 8004088:	2b 90 00 30 	lw r16,(sp+48)                                 <== NOT EXECUTED
 800408c:	2b 91 00 2c 	lw r17,(sp+44)                                 <== NOT EXECUTED
 8004090:	2b 92 00 28 	lw r18,(sp+40)                                 <== NOT EXECUTED
 8004094:	2b 93 00 24 	lw r19,(sp+36)                                 <== NOT EXECUTED
 8004098:	2b 94 00 20 	lw r20,(sp+32)                                 <== NOT EXECUTED
 800409c:	2b 95 00 1c 	lw r21,(sp+28)                                 <== NOT EXECUTED
 80040a0:	2b 96 00 18 	lw r22,(sp+24)                                 <== NOT EXECUTED
 80040a4:	2b 97 00 14 	lw r23,(sp+20)                                 <== NOT EXECUTED
 80040a8:	2b 98 00 10 	lw r24,(sp+16)                                 <== NOT EXECUTED
 80040ac:	2b 99 00 0c 	lw r25,(sp+12)                                 <== NOT EXECUTED
 80040b0:	2b 9b 00 08 	lw fp,(sp+8)                                   <== NOT EXECUTED
 80040b4:	37 9c 00 48 	addi sp,sp,72                                  <== NOT EXECUTED
 80040b8:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
	return dropped;                                                      
 80040bc:	34 10 00 00 	mvi r16,0                                      <== NOT EXECUTED
 80040c0:	e3 ff ff eb 	bi 800406c <rtems_termios_enqueue_raw_characters+0xe4><== NOT EXECUTED
		    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,                              
 80040c4:	35 61 00 4a 	addi r1,r11,74                                 <== NOT EXECUTED
 80040c8:	5b 81 00 48 	sw (sp+72),r1                                  <== 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);      
 80040cc:	b8 80 88 00 	mv r17,r4                                      <== NOT EXECUTED
 80040d0:	35 78 00 30 	addi r24,r11,48                                <== NOT EXECUTED
 80040d4:	b8 80 80 00 	mv r16,r4                                      <== NOT EXECUTED
	      flow_rcv = true;                                               
	    }                                                                
	  }                                                                  
	  if (flow_rcv) {                                                    
	    /* restart output according to FL_ORCVXOF flag */                
	    if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {    
 80040d8:	34 14 00 20 	mvi r20,32                                     <== NOT EXECUTED
	      /* disable interrupts    */                                    
	      rtems_interrupt_disable(level);                                
 80040dc:	34 13 ff fe 	mvi r19,-2                                     <== NOT EXECUTED
	      tty->flow_ctrl &= ~FL_OSTOP;                                   
 80040e0:	34 15 ff df 	mvi r21,-33                                    <== NOT EXECUTED
	      /* 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,                                    
 80040e4:	34 17 00 01 	mvi r23,1                                      <== NOT EXECUTED
		      % tty->rawInBuf.Size)                                         
		     > tty->highwater) &&                                           
		    !(tty->flow_ctrl & FL_IREQXOF)) {                               
		  /* incoming data stream should be stopped */                      
		  tty->flow_ctrl |= FL_IREQXOF;                                     
		  if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                    
 80040e8:	34 16 04 00 	mvi r22,1024                                   <== NOT EXECUTED
		      (*tty->device.write)(tty->minor,                              
			 (void *)&(tty->termios.c_cc[VSTOP]),                              
			 1);                                                               
		    }                                                               
		  }                                                                 
		  else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF))               
 80040ec:	34 1b 01 00 	mvi fp,256                                     <== NOT EXECUTED
	      flow_rcv = true;                                               
	    }                                                                
	    else if (c == tty->termios.c_cc[VSTART]) {                       
	      /* VSTART received */                                          
	      /* restart output  */                                          
	      tty->flow_ctrl &= ~FL_ORCVXOF;                                 
 80040f0:	34 19 ff ef 	mvi r25,-17                                    <== NOT EXECUTED
	    tty->tty_rcvwakeup = 1;                                          
    	  }                                                              
	  return 0;                                                          
	}                                                                    
                                                                      
	while (len--) {                                                      
 80040f4:	45 e0 00 38 	be r15,r0,80041d4 <rtems_termios_enqueue_raw_characters+0x24c><== NOT EXECUTED
	  c = *buf++;                                                        
	  /* FIXME: implement IXANY: any character restarts output */        
	  /* if incoming XON/XOFF controls outgoing stream: */               
	  if (tty->flow_ctrl & FL_MDXON) {                                   
 80040f8:	29 63 00 b8 	lw r3,(r11+184)                                <== NOT EXECUTED
    	  }                                                              
	  return 0;                                                          
	}                                                                    
                                                                      
	while (len--) {                                                      
	  c = *buf++;                                                        
 80040fc:	41 ae 00 00 	lbu r14,(r13+0)                                <== NOT EXECUTED
	  /* FIXME: implement IXANY: any character restarts output */        
	  /* if incoming XON/XOFF controls outgoing stream: */               
	  if (tty->flow_ctrl & FL_MDXON) {                                   
 8004100:	20 63 02 00 	andi r3,r3,0x200                               <== NOT EXECUTED
 8004104:	44 60 00 05 	be r3,r0,8004118 <rtems_termios_enqueue_raw_characters+0x190><== NOT EXECUTED
	    /* if received char is V_STOP and V_START (both are equal value) */
	    if (c == tty->termios.c_cc[VSTOP]) {                             
 8004108:	41 63 00 4a 	lbu r3,(r11+74)                                <== NOT EXECUTED
 800410c:	44 6e 00 52 	be r3,r14,8004254 <rtems_termios_enqueue_raw_characters+0x2cc><== NOT EXECUTED
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
	      }                                                              
	      flow_rcv = true;                                               
	    }                                                                
	    else if (c == tty->termios.c_cc[VSTART]) {                       
 8004110:	41 63 00 49 	lbu r3,(r11+73)                                <== NOT EXECUTED
 8004114:	44 6e 00 36 	be r3,r14,80041ec <rtems_termios_enqueue_raw_characters+0x264><== NOT EXECUTED
	      /* restart output  */                                          
	      tty->flow_ctrl &= ~FL_ORCVXOF;                                 
	      flow_rcv = true;                                               
	    }                                                                
	  }                                                                  
	  if (flow_rcv) {                                                    
 8004118:	5e 20 00 39 	bne r17,r0,80041fc <rtems_termios_enqueue_raw_characters+0x274><== NOT EXECUTED
	      /* reenable interrupts */                                      
	      rtems_interrupt_enable(level);                                 
	    }                                                                
	  }                                                                  
	  else {                                                             
		newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;            
 800411c:	29 63 00 60 	lw r3,(r11+96)                                 <== NOT EXECUTED
 8004120:	29 62 00 64 	lw r2,(r11+100)                                <== NOT EXECUTED
 8004124:	34 61 00 01 	addi r1,r3,1                                   <== NOT EXECUTED
 8004128:	f8 00 71 e0 	calli 80208a8 <__umodsi3>                      <== NOT EXECUTED
 800412c:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
		/* if chars_in_buffer > highwater                */                 
		rtems_interrupt_disable(level);                                     
 8004130:	90 00 90 00 	rcsr r18,IE                                    <== NOT EXECUTED
 8004134:	a2 53 18 00 	and r3,r18,r19                                 <== NOT EXECUTED
 8004138:	d0 03 00 00 	wcsr IE,r3                                     <== NOT EXECUTED
		if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)           
 800413c:	29 63 00 5c 	lw r3,(r11+92)                                 <== NOT EXECUTED
 8004140:	29 64 00 64 	lw r4,(r11+100)                                <== NOT EXECUTED
 8004144:	29 62 00 64 	lw r2,(r11+100)                                <== NOT EXECUTED
 8004148:	c8 83 18 00 	sub r3,r4,r3                                   <== NOT EXECUTED
 800414c:	b4 61 08 00 	add r1,r3,r1                                   <== NOT EXECUTED
 8004150:	f8 00 71 d6 	calli 80208a8 <__umodsi3>                      <== NOT EXECUTED
		      % tty->rawInBuf.Size)                                         
		     > tty->highwater) &&                                           
 8004154:	29 63 00 c0 	lw r3,(r11+192)                                <== NOT EXECUTED
 8004158:	50 61 00 0d 	bgeu r3,r1,800418c <rtems_termios_enqueue_raw_characters+0x204><== NOT EXECUTED
		    !(tty->flow_ctrl & FL_IREQXOF)) {                               
 800415c:	29 63 00 b8 	lw r3,(r11+184)                                <== 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)           
 8004160:	20 63 00 01 	andi r3,r3,0x1                                 <== NOT EXECUTED
 8004164:	5c 60 00 0a 	bne r3,r0,800418c <rtems_termios_enqueue_raw_characters+0x204><== NOT EXECUTED
		      % tty->rawInBuf.Size)                                         
		     > tty->highwater) &&                                           
		    !(tty->flow_ctrl & FL_IREQXOF)) {                               
		  /* incoming data stream should be stopped */                      
		  tty->flow_ctrl |= FL_IREQXOF;                                     
 8004168:	29 63 00 b8 	lw r3,(r11+184)                                <== NOT EXECUTED
 800416c:	38 63 00 01 	ori r3,r3,0x1                                  <== NOT EXECUTED
 8004170:	59 63 00 b8 	sw (r11+184),r3                                <== NOT EXECUTED
		  if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                    
 8004174:	29 63 00 b8 	lw r3,(r11+184)                                <== NOT EXECUTED
 8004178:	20 63 04 02 	andi r3,r3,0x402                               <== NOT EXECUTED
 800417c:	44 76 00 42 	be r3,r22,8004284 <rtems_termios_enqueue_raw_characters+0x2fc><== NOT EXECUTED
		      (*tty->device.write)(tty->minor,                              
			 (void *)&(tty->termios.c_cc[VSTOP]),                              
			 1);                                                               
		    }                                                               
		  }                                                                 
		  else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF))               
 8004180:	29 61 00 b8 	lw r1,(r11+184)                                <== NOT EXECUTED
 8004184:	20 21 01 04 	andi r1,r1,0x104                               <== NOT EXECUTED
 8004188:	44 3b 00 4d 	be r1,fp,80042bc <rtems_termios_enqueue_raw_characters+0x334><== NOT EXECUTED
		      tty->device.stopRemoteTx(tty->minor);                         
		    }                                                               
		  }                                                                 
		}                                                                   
		/* reenable interrupts */                                           
		rtems_interrupt_enable(level);                                      
 800418c:	d0 12 00 00 	wcsr IE,r18                                    <== NOT EXECUTED
                                                                      
		if (newTail == tty->rawInBuf.Head) {                                
 8004190:	29 63 00 5c 	lw r3,(r11+92)                                 <== NOT EXECUTED
 8004194:	44 6c 00 36 	be r3,r12,800426c <rtems_termios_enqueue_raw_characters+0x2e4><== NOT EXECUTED
		        dropped++;                                                  
		}                                                                   
		else {                                                              
		        tty->rawInBuf.theBuf[newTail] = c;                          
 8004198:	29 63 00 58 	lw r3,(r11+88)                                 <== NOT EXECUTED
 800419c:	b4 6c 18 00 	add r3,r3,r12                                  <== NOT EXECUTED
 80041a0:	30 6e 00 00 	sb (r3+0),r14                                  <== NOT EXECUTED
		        tty->rawInBuf.Tail = newTail;                               
                                                                      
			/*                                                                 
			 * check to see if rcv wakeup callback was set                     
			 */                                                                
			if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
 80041a4:	29 63 00 e4 	lw r3,(r11+228)                                <== NOT EXECUTED
		if (newTail == tty->rawInBuf.Head) {                                
		        dropped++;                                                  
		}                                                                   
		else {                                                              
		        tty->rawInBuf.theBuf[newTail] = c;                          
		        tty->rawInBuf.Tail = newTail;                               
 80041a8:	59 6c 00 60 	sw (r11+96),r12                                <== NOT EXECUTED
                                                                      
			/*                                                                 
			 * check to see if rcv wakeup callback was set                     
			 */                                                                
			if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
 80041ac:	5c 60 00 07 	bne r3,r0,80041c8 <rtems_termios_enqueue_raw_characters+0x240><== NOT EXECUTED
 80041b0:	29 64 00 dc 	lw r4,(r11+220)                                <== NOT EXECUTED
 80041b4:	44 83 00 05 	be r4,r3,80041c8 <rtems_termios_enqueue_raw_characters+0x240><== NOT EXECUTED
			  (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
 80041b8:	29 62 00 e0 	lw r2,(r11+224)                                <== NOT EXECUTED
 80041bc:	bb 00 08 00 	mv r1,r24                                      <== NOT EXECUTED
 80041c0:	d8 80 00 00 	call r4                                        <== NOT EXECUTED
			  tty->tty_rcvwakeup = 1;                                          
 80041c4:	59 77 00 e4 	sw (r11+228),r23                               <== NOT EXECUTED
    	  }                                                              
	  return 0;                                                          
	}                                                                    
                                                                      
	while (len--) {                                                      
	  c = *buf++;                                                        
 80041c8:	35 ef ff ff 	addi r15,r15,-1                                <== NOT EXECUTED
 80041cc:	35 ad 00 01 	addi r13,r13,1                                 <== NOT EXECUTED
	    tty->tty_rcvwakeup = 1;                                          
    	  }                                                              
	  return 0;                                                          
	}                                                                    
                                                                      
	while (len--) {                                                      
 80041d0:	5d e0 ff ca 	bne r15,r0,80040f8 <rtems_termios_enqueue_raw_characters+0x170><== NOT EXECUTED
			  tty->tty_rcvwakeup = 1;                                          
			}                                                                  
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
 80041d4:	29 62 00 78 	lw r2,(r11+120)                                <== NOT EXECUTED
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
 80041d8:	29 61 00 68 	lw r1,(r11+104)                                <== NOT EXECUTED
			  tty->tty_rcvwakeup = 1;                                          
			}                                                                  
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
 80041dc:	b4 50 10 00 	add r2,r2,r16                                  <== NOT EXECUTED
 80041e0:	59 62 00 78 	sw (r11+120),r2                                <== NOT EXECUTED
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
 80041e4:	f8 00 0a 2a 	calli 8006a8c <rtems_semaphore_release>        <== NOT EXECUTED
	return dropped;                                                      
 80041e8:	e3 ff ff a1 	bi 800406c <rtems_termios_enqueue_raw_characters+0xe4><== NOT EXECUTED
	      flow_rcv = true;                                               
	    }                                                                
	    else if (c == tty->termios.c_cc[VSTART]) {                       
	      /* VSTART received */                                          
	      /* restart output  */                                          
	      tty->flow_ctrl &= ~FL_ORCVXOF;                                 
 80041ec:	29 61 00 b8 	lw r1,(r11+184)                                <== NOT EXECUTED
 80041f0:	a0 39 08 00 	and r1,r1,r25                                  <== NOT EXECUTED
 80041f4:	59 61 00 b8 	sw (r11+184),r1                                <== NOT EXECUTED
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
	return dropped;                                                      
 80041f8:	34 11 00 01 	mvi r17,1                                      <== NOT EXECUTED
	      flow_rcv = true;                                               
	    }                                                                
	  }                                                                  
	  if (flow_rcv) {                                                    
	    /* restart output according to FL_ORCVXOF flag */                
	    if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {    
 80041fc:	29 63 00 b8 	lw r3,(r11+184)                                <== NOT EXECUTED
 8004200:	20 63 00 30 	andi r3,r3,0x30                                <== NOT EXECUTED
 8004204:	5c 74 ff f1 	bne r3,r20,80041c8 <rtems_termios_enqueue_raw_characters+0x240><== NOT EXECUTED
	      /* disable interrupts    */                                    
	      rtems_interrupt_disable(level);                                
 8004208:	90 00 60 00 	rcsr r12,IE                                    <== NOT EXECUTED
 800420c:	a1 93 18 00 	and r3,r12,r19                                 <== NOT EXECUTED
 8004210:	d0 03 00 00 	wcsr IE,r3                                     <== NOT EXECUTED
	      tty->flow_ctrl &= ~FL_OSTOP;                                   
 8004214:	29 63 00 b8 	lw r3,(r11+184)                                <== NOT EXECUTED
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
 8004218:	29 61 00 94 	lw r1,(r11+148)                                <== 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;                                   
 800421c:	a0 75 18 00 	and r3,r3,r21                                  <== NOT EXECUTED
 8004220:	59 63 00 b8 	sw (r11+184),r3                                <== NOT EXECUTED
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
 8004224:	5c 20 00 03 	bne r1,r0,8004230 <rtems_termios_enqueue_raw_characters+0x2a8><== NOT EXECUTED
	      /* if chars available, call write function... */               
		(*tty->device.write)(tty->minor,                                    
		     &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);               
	      }                                                              
	      /* reenable interrupts */                                      
	      rtems_interrupt_enable(level);                                 
 8004228:	d0 0c 00 00 	wcsr IE,r12                                    <== NOT EXECUTED
 800422c:	e3 ff ff e7 	bi 80041c8 <rtems_termios_enqueue_raw_characters+0x240><== 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)(tty->minor,                                    
 8004230:	29 63 00 7c 	lw r3,(r11+124)                                <== NOT EXECUTED
		     &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);               
 8004234:	29 62 00 84 	lw r2,(r11+132)                                <== 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)(tty->minor,                                    
 8004238:	29 64 00 a4 	lw r4,(r11+164)                                <== NOT EXECUTED
 800423c:	29 61 00 10 	lw r1,(r11+16)                                 <== NOT EXECUTED
 8004240:	b4 62 10 00 	add r2,r3,r2                                   <== NOT EXECUTED
 8004244:	34 03 00 01 	mvi r3,1                                       <== NOT EXECUTED
 8004248:	d8 80 00 00 	call r4                                        <== NOT EXECUTED
		     &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);               
	      }                                                              
	      /* reenable interrupts */                                      
	      rtems_interrupt_enable(level);                                 
 800424c:	d0 0c 00 00 	wcsr IE,r12                                    <== NOT EXECUTED
 8004250:	e3 ff ff de 	bi 80041c8 <rtems_termios_enqueue_raw_characters+0x240><== NOT EXECUTED
	  /* 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]) {                          
 8004254:	41 64 00 49 	lbu r4,(r11+73)                                <== NOT EXECUTED
 8004258:	44 83 00 07 	be r4,r3,8004274 <rtems_termios_enqueue_raw_characters+0x2ec><== NOT EXECUTED
		tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;                       
	      }                                                              
	      else {                                                         
		/* VSTOP received (other code than VSTART) */                       
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
 800425c:	29 61 00 b8 	lw r1,(r11+184)                                <== NOT EXECUTED
 8004260:	38 21 00 10 	ori r1,r1,0x10                                 <== NOT EXECUTED
 8004264:	59 61 00 b8 	sw (r11+184),r1                                <== NOT EXECUTED
 8004268:	e3 ff ff e4 	bi 80041f8 <rtems_termios_enqueue_raw_characters+0x270><== NOT EXECUTED
		}                                                                   
		/* reenable interrupts */                                           
		rtems_interrupt_enable(level);                                      
                                                                      
		if (newTail == tty->rawInBuf.Head) {                                
		        dropped++;                                                  
 800426c:	36 10 00 01 	addi r16,r16,1                                 <== NOT EXECUTED
 8004270:	e3 ff ff d6 	bi 80041c8 <rtems_termios_enqueue_raw_characters+0x240><== 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;                       
 8004274:	29 61 00 b8 	lw r1,(r11+184)                                <== NOT EXECUTED
 8004278:	18 21 00 10 	xori r1,r1,0x10                                <== NOT EXECUTED
 800427c:	59 61 00 b8 	sw (r11+184),r1                                <== NOT EXECUTED
 8004280:	e3 ff ff de 	bi 80041f8 <rtems_termios_enqueue_raw_characters+0x270><== 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) ||                              
 8004284:	29 61 00 b8 	lw r1,(r11+184)                                <== NOT EXECUTED
 8004288:	20 21 00 20 	andi r1,r1,0x20                                <== NOT EXECUTED
 800428c:	5c 20 00 03 	bne r1,r0,8004298 <rtems_termios_enqueue_raw_characters+0x310><== NOT EXECUTED
			(tty->rawOutBufState == rob_idle)) {                               
 8004290:	29 62 00 94 	lw r2,(r11+148)                                <== NOT EXECUTED
 8004294:	5c 41 ff be 	bne r2,r1,800418c <rtems_termios_enqueue_raw_characters+0x204><== NOT EXECUTED
		      /* if tx is stopped due to XOFF or out of data */             
		      /*    call write function here                 */             
		      tty->flow_ctrl |= FL_ISNTXOF;                                 
 8004298:	29 62 00 b8 	lw r2,(r11+184)                                <== NOT EXECUTED
		      (*tty->device.write)(tty->minor,                              
 800429c:	29 64 00 a4 	lw r4,(r11+164)                                <== NOT EXECUTED
 80042a0:	29 61 00 10 	lw r1,(r11+16)                                 <== 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;                                 
 80042a4:	38 42 00 02 	ori r2,r2,0x2                                  <== NOT EXECUTED
 80042a8:	59 62 00 b8 	sw (r11+184),r2                                <== NOT EXECUTED
		      (*tty->device.write)(tty->minor,                              
 80042ac:	2b 82 00 48 	lw r2,(sp+72)                                  <== NOT EXECUTED
 80042b0:	34 03 00 01 	mvi r3,1                                       <== NOT EXECUTED
 80042b4:	d8 80 00 00 	call r4                                        <== NOT EXECUTED
 80042b8:	e3 ff ff b5 	bi 800418c <rtems_termios_enqueue_raw_characters+0x204><== NOT EXECUTED
			 1);                                                               
		    }                                                               
		  }                                                                 
		  else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF))               
			   ==                (FL_MDRTS             ) ) {                   
		    tty->flow_ctrl |= FL_IRTSOFF;                                   
 80042bc:	29 61 00 b8 	lw r1,(r11+184)                                <== NOT EXECUTED
		    /* deactivate RTS line */                                       
		    if (tty->device.stopRemoteTx != NULL) {                         
 80042c0:	29 62 00 ac 	lw r2,(r11+172)                                <== NOT EXECUTED
			 1);                                                               
		    }                                                               
		  }                                                                 
		  else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF))               
			   ==                (FL_MDRTS             ) ) {                   
		    tty->flow_ctrl |= FL_IRTSOFF;                                   
 80042c4:	38 21 00 04 	ori r1,r1,0x4                                  <== NOT EXECUTED
 80042c8:	59 61 00 b8 	sw (r11+184),r1                                <== NOT EXECUTED
		    /* deactivate RTS line */                                       
		    if (tty->device.stopRemoteTx != NULL) {                         
 80042cc:	44 40 ff b0 	be r2,r0,800418c <rtems_termios_enqueue_raw_characters+0x204><== NOT EXECUTED
		      tty->device.stopRemoteTx(tty->minor);                         
 80042d0:	29 61 00 10 	lw r1,(r11+16)                                 <== NOT EXECUTED
 80042d4:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
 80042d8:	e3 ff ff ad 	bi 800418c <rtems_termios_enqueue_raw_characters+0x204><== NOT EXECUTED
                                                                      
08003ab8 <rtems_termios_initialize>:                                  
struct rtems_termios_tty *rtems_termios_ttyTail;                      
rtems_id rtems_termios_ttyMutex;                                      
                                                                      
void                                                                  
rtems_termios_initialize (void)                                       
{                                                                     
 8003ab8:	37 9c ff f8 	addi sp,sp,-8                                  
 8003abc:	5b 8b 00 08 	sw (sp+8),r11                                  
 8003ac0:	5b 9d 00 04 	sw (sp+4),ra                                   
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * Create the mutex semaphore for the tty list                      
   */                                                                 
  if (!rtems_termios_ttyMutex) {                                      
 8003ac4:	78 05 08 02 	mvhi r5,0x802                                  
 8003ac8:	38 a5 49 4c 	ori r5,r5,0x494c                               
 8003acc:	28 ab 00 00 	lw r11,(r5+0)                                  
 8003ad0:	45 60 00 05 	be r11,r0,8003ae4 <rtems_termios_initialize+0x2c><== ALWAYS TAKEN
      RTEMS_NO_PRIORITY,                                              
      &rtems_termios_ttyMutex);                                       
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
  }                                                                   
}                                                                     
 8003ad4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8003ad8:	2b 8b 00 08 	lw r11,(sp+8)                                  
 8003adc:	37 9c 00 08 	addi sp,sp,8                                   
 8003ae0:	c3 a0 00 00 	ret                                            
                                                                      
  /*                                                                  
   * Create the mutex semaphore for the tty list                      
   */                                                                 
  if (!rtems_termios_ttyMutex) {                                      
    sc = rtems_semaphore_create (                                     
 8003ae4:	78 01 54 52 	mvhi r1,0x5452                                 
 8003ae8:	38 21 6d 69 	ori r1,r1,0x6d69                               
 8003aec:	34 02 00 01 	mvi r2,1                                       
 8003af0:	34 03 00 54 	mvi r3,84                                      
 8003af4:	b9 60 20 00 	mv r4,r11                                      
 8003af8:	f8 00 0a c7 	calli 8006614 <rtems_semaphore_create>         
      rtems_build_name ('T', 'R', 'm', 'i'),                          
      1,                                                              
      RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
      RTEMS_NO_PRIORITY,                                              
      &rtems_termios_ttyMutex);                                       
    if (sc != RTEMS_SUCCESSFUL)                                       
 8003afc:	44 2b ff f6 	be r1,r11,8003ad4 <rtems_termios_initialize+0x1c><== ALWAYS TAKEN
      rtems_fatal_error_occurred (sc);                                
 8003b00:	f8 00 0d ae 	calli 80071b8 <rtems_fatal_error_occurred>     <== NOT EXECUTED
                                                                      
0800507c <rtems_termios_ioctl>:                                       
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
 800507c:	37 9c ff e8 	addi sp,sp,-24                                 
 8005080:	5b 8b 00 18 	sw (sp+24),r11                                 
 8005084:	5b 8c 00 14 	sw (sp+20),r12                                 
 8005088:	5b 8d 00 10 	sw (sp+16),r13                                 
 800508c:	5b 8e 00 0c 	sw (sp+12),r14                                 
 8005090:	5b 8f 00 08 	sw (sp+8),r15                                  
 8005094:	5b 9d 00 04 	sw (sp+4),ra                                   
 8005098:	b8 20 60 00 	mv r12,r1                                      
	rtems_libio_ioctl_args_t *args = arg;                                
	struct rtems_termios_tty *tty = args->iop->data1;                    
 800509c:	28 21 00 00 	lw r1,(r1+0)                                   
	struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer; 
	rtems_status_code sc;                                                
                                                                      
 	args->ioctl_return = 0;                                             
 80050a0:	34 02 00 00 	mvi r2,0                                       
 80050a4:	59 82 00 0c 	sw (r12+12),r2                                 
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
	rtems_libio_ioctl_args_t *args = arg;                                
	struct rtems_termios_tty *tty = args->iop->data1;                    
 80050a8:	28 2b 00 38 	lw r11,(r1+56)                                 
	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);
 80050ac:	b8 40 18 00 	mv r3,r2                                       
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; 
 80050b0:	29 8e 00 08 	lw r14,(r12+8)                                 
	rtems_status_code sc;                                                
                                                                      
 	args->ioctl_return = 0;                                             
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
 80050b4:	29 61 00 18 	lw r1,(r11+24)                                 
 80050b8:	f8 00 06 14 	calli 8006908 <rtems_semaphore_obtain>         
 80050bc:	b8 20 68 00 	mv r13,r1                                      
	if (sc != RTEMS_SUCCESSFUL) {                                        
 80050c0:	5c 20 00 1e 	bne r1,r0,8005138 <rtems_termios_ioctl+0xbc>   <== NEVER TAKEN
		args->ioctl_return = sc;                                            
		return sc;                                                          
	}                                                                    
	switch (args->command) {                                             
 80050c4:	29 81 00 04 	lw r1,(r12+4)                                  
 80050c8:	34 02 00 04 	mvi r2,4                                       
 80050cc:	44 22 00 15 	be r1,r2,8005120 <rtems_termios_ioctl+0xa4>    <== NEVER TAKEN
 80050d0:	54 22 00 24 	bgu r1,r2,8005160 <rtems_termios_ioctl+0xe4>   <== NEVER TAKEN
 80050d4:	34 02 00 02 	mvi r2,2                                       
 80050d8:	44 22 00 2d 	be r1,r2,800518c <rtems_termios_ioctl+0x110>   
 80050dc:	54 22 00 d9 	bgu r1,r2,8005440 <rtems_termios_ioctl+0x3c4>  <== NEVER TAKEN
 80050e0:	34 02 00 01 	mvi r2,1                                       
 80050e4:	44 22 00 c3 	be r1,r2,80053f0 <rtems_termios_ioctl+0x374>   <== ALWAYS TAKEN
	default:                                                             
		if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {            
 80050e8:	29 61 00 cc 	lw r1,(r11+204)                                <== NOT EXECUTED
 80050ec:	78 0d 08 02 	mvhi r13,0x802                                 <== NOT EXECUTED
 80050f0:	34 02 00 05 	mvi r2,5                                       <== NOT EXECUTED
 80050f4:	39 ad 47 7c 	ori r13,r13,0x477c                             <== NOT EXECUTED
 80050f8:	fb ff f0 f4 	calli 80014c8 <__ashlsi3>                      <== NOT EXECUTED
 80050fc:	b5 a1 08 00 	add r1,r13,r1                                  <== NOT EXECUTED
 8005100:	28 23 00 18 	lw r3,(r1+24)                                  <== NOT EXECUTED
 8005104:	34 0d 00 0a 	mvi r13,10                                     <== NOT EXECUTED
 8005108:	44 60 00 0a 	be r3,r0,8005130 <rtems_termios_ioctl+0xb4>    <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);          
 800510c:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8005110:	b9 80 10 00 	mv r2,r12                                      <== NOT EXECUTED
 8005114:	d8 60 00 00 	call r3                                        <== NOT EXECUTED
 8005118:	b8 20 68 00 	mv r13,r1                                      <== NOT EXECUTED
 800511c:	e0 00 00 05 	bi 8005130 <rtems_termios_ioctl+0xb4>          <== NOT EXECUTED
	case RTEMS_IO_SNDWAKEUP:                                             
		tty->tty_snd = *wakeup;                                             
		break;                                                              
                                                                      
	case RTEMS_IO_RCVWAKEUP:                                             
		tty->tty_rcv = *wakeup;                                             
 8005120:	29 c2 00 00 	lw r2,(r14+0)                                  <== NOT EXECUTED
 8005124:	59 62 00 dc 	sw (r11+220),r2                                <== NOT EXECUTED
 8005128:	29 ce 00 04 	lw r14,(r14+4)                                 <== NOT EXECUTED
 800512c:	59 6e 00 e0 	sw (r11+224),r14                               <== NOT EXECUTED
		/* Half guess that this is the right operation */                   
		*(int *)args->buffer = tty->ccount - tty->cindex + rawnc;           
		}                                                                   
		break;                                                              
	}                                                                    
	rtems_semaphore_release (tty->osem);                                 
 8005130:	29 61 00 18 	lw r1,(r11+24)                                 
 8005134:	f8 00 06 56 	calli 8006a8c <rtems_semaphore_release>        
	args->ioctl_return = sc;                                             
	return sc;                                                           
}                                                                     
 8005138:	b9 a0 08 00 	mv r1,r13                                      
		*(int *)args->buffer = tty->ccount - tty->cindex + rawnc;           
		}                                                                   
		break;                                                              
	}                                                                    
	rtems_semaphore_release (tty->osem);                                 
	args->ioctl_return = sc;                                             
 800513c:	59 8d 00 0c 	sw (r12+12),r13                                
	return sc;                                                           
}                                                                     
 8005140:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8005144:	2b 8b 00 18 	lw r11,(sp+24)                                 
 8005148:	2b 8c 00 14 	lw r12,(sp+20)                                 
 800514c:	2b 8d 00 10 	lw r13,(sp+16)                                 
 8005150:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 8005154:	2b 8f 00 08 	lw r15,(sp+8)                                  
 8005158:	37 9c 00 18 	addi sp,sp,24                                  
 800515c:	c3 a0 00 00 	ret                                            
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
	if (sc != RTEMS_SUCCESSFUL) {                                        
		args->ioctl_return = sc;                                            
		return sc;                                                          
	}                                                                    
	switch (args->command) {                                             
 8005160:	78 02 40 04 	mvhi r2,0x4004                                 <== NOT EXECUTED
 8005164:	38 42 66 7f 	ori r2,r2,0x667f                               <== NOT EXECUTED
 8005168:	44 22 00 72 	be r1,r2,8005330 <rtems_termios_ioctl+0x2b4>   <== NOT EXECUTED
 800516c:	54 22 00 7e 	bgu r1,r2,8005364 <rtems_termios_ioctl+0x2e8>  <== NOT EXECUTED
 8005170:	34 02 00 05 	mvi r2,5                                       <== NOT EXECUTED
 8005174:	5c 22 ff dd 	bne r1,r2,80050e8 <rtems_termios_ioctl+0x6c>   <== NOT EXECUTED
	case RTEMS_IO_TCDRAIN:                                               
		drainOutput (tty);                                                  
		break;                                                              
                                                                      
	case RTEMS_IO_SNDWAKEUP:                                             
		tty->tty_snd = *wakeup;                                             
 8005178:	29 c1 00 00 	lw r1,(r14+0)                                  <== NOT EXECUTED
 800517c:	59 61 00 d4 	sw (r11+212),r1                                <== NOT EXECUTED
 8005180:	29 ce 00 04 	lw r14,(r14+4)                                 <== NOT EXECUTED
 8005184:	59 6e 00 d8 	sw (r11+216),r14                               <== NOT EXECUTED
		break;                                                              
 8005188:	e3 ff ff ea 	bi 8005130 <rtems_termios_ioctl+0xb4>          <== NOT EXECUTED
	case RTEMS_IO_GET_ATTRIBUTES:                                        
		*(struct termios *)args->buffer = tty->termios;                     
		break;                                                              
                                                                      
	case RTEMS_IO_SET_ATTRIBUTES:                                        
		tty->termios = *(struct termios *)args->buffer;                     
 800518c:	29 81 00 08 	lw r1,(r12+8)                                  
  /*                                                                  
   * check for flow control options to be switched off                
   */                                                                 
                                                                      
  /* check for outgoing XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXON) &&                                 
 8005190:	29 63 00 b8 	lw r3,(r11+184)                                
	case RTEMS_IO_GET_ATTRIBUTES:                                        
		*(struct termios *)args->buffer = tty->termios;                     
		break;                                                              
                                                                      
	case RTEMS_IO_SET_ATTRIBUTES:                                        
		tty->termios = *(struct termios *)args->buffer;                     
 8005194:	28 22 00 00 	lw r2,(r1+0)                                   
  /*                                                                  
   * check for flow control options to be switched off                
   */                                                                 
                                                                      
  /* check for outgoing XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXON) &&                                 
 8005198:	20 63 02 00 	andi r3,r3,0x200                               
	case RTEMS_IO_GET_ATTRIBUTES:                                        
		*(struct termios *)args->buffer = tty->termios;                     
		break;                                                              
                                                                      
	case RTEMS_IO_SET_ATTRIBUTES:                                        
		tty->termios = *(struct termios *)args->buffer;                     
 800519c:	59 62 00 30 	sw (r11+48),r2                                 
 80051a0:	28 24 00 04 	lw r4,(r1+4)                                   
 80051a4:	59 64 00 34 	sw (r11+52),r4                                 
 80051a8:	28 24 00 08 	lw r4,(r1+8)                                   
 80051ac:	59 64 00 38 	sw (r11+56),r4                                 
 80051b0:	28 24 00 0c 	lw r4,(r1+12)                                  
 80051b4:	59 64 00 3c 	sw (r11+60),r4                                 
 80051b8:	28 24 00 10 	lw r4,(r1+16)                                  
 80051bc:	59 64 00 40 	sw (r11+64),r4                                 
 80051c0:	28 24 00 14 	lw r4,(r1+20)                                  
 80051c4:	59 64 00 44 	sw (r11+68),r4                                 
 80051c8:	28 24 00 18 	lw r4,(r1+24)                                  
 80051cc:	59 64 00 48 	sw (r11+72),r4                                 
 80051d0:	28 24 00 1c 	lw r4,(r1+28)                                  
 80051d4:	59 64 00 4c 	sw (r11+76),r4                                 
 80051d8:	28 21 00 20 	lw r1,(r1+32)                                  
 80051dc:	59 61 00 50 	sw (r11+80),r1                                 
  /*                                                                  
   * check for flow control options to be switched off                
   */                                                                 
                                                                      
  /* check for outgoing XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXON) &&                                 
 80051e0:	44 60 00 15 	be r3,r0,8005234 <rtems_termios_ioctl+0x1b8>   
 80051e4:	20 42 04 00 	andi r2,r2,0x400                               
 80051e8:	5c 40 00 13 	bne r2,r0,8005234 <rtems_termios_ioctl+0x1b8>  <== ALWAYS TAKEN
      !(tty->termios.c_iflag & IXON)) {                               
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXON | FL_ORCVXOF);                       
 80051ec:	29 62 00 b8 	lw r2,(r11+184)                                <== NOT EXECUTED
 80051f0:	34 01 fd ef 	mvi r1,-529                                    <== NOT EXECUTED
 80051f4:	a0 41 08 00 	and r1,r2,r1                                   <== NOT EXECUTED
 80051f8:	59 61 00 b8 	sw (r11+184),r1                                <== NOT EXECUTED
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
 80051fc:	29 61 00 b8 	lw r1,(r11+184)                                <== NOT EXECUTED
 8005200:	20 21 00 20 	andi r1,r1,0x20                                <== NOT EXECUTED
 8005204:	44 20 00 0c 	be r1,r0,8005234 <rtems_termios_ioctl+0x1b8>   <== NOT EXECUTED
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
 8005208:	90 00 70 00 	rcsr r14,IE                                    <== NOT EXECUTED
 800520c:	34 01 ff fe 	mvi r1,-2                                      <== NOT EXECUTED
 8005210:	a1 c1 08 00 	and r1,r14,r1                                  <== NOT EXECUTED
 8005214:	d0 01 00 00 	wcsr IE,r1                                     <== NOT EXECUTED
      tty->flow_ctrl &= ~FL_OSTOP;                                    
 8005218:	29 62 00 b8 	lw r2,(r11+184)                                <== NOT EXECUTED
 800521c:	34 01 ff df 	mvi r1,-33                                     <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
 8005220:	29 63 00 94 	lw r3,(r11+148)                                <== 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;                                    
 8005224:	a0 41 08 00 	and r1,r2,r1                                   <== NOT EXECUTED
 8005228:	59 61 00 b8 	sw (r11+184),r1                                <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
 800522c:	5c 60 00 8a 	bne r3,r0,8005454 <rtems_termios_ioctl+0x3d8>  <== NOT EXECUTED
	/* if chars available, call write function... */                     
	(*tty->device.write)(tty->minor,                                     
		     &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);                
      }                                                               
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
 8005230:	d0 0e 00 00 	wcsr IE,r14                                    <== NOT EXECUTED
    }                                                                 
  }                                                                   
  /* check for incoming XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXOF) &&                                 
 8005234:	29 61 00 b8 	lw r1,(r11+184)                                
 8005238:	20 21 04 00 	andi r1,r1,0x400                               
 800523c:	44 20 00 0c 	be r1,r0,800526c <rtems_termios_ioctl+0x1f0>   <== ALWAYS TAKEN
 8005240:	29 61 00 30 	lw r1,(r11+48)                                 <== NOT EXECUTED
 8005244:	20 21 10 00 	andi r1,r1,0x1000                              <== NOT EXECUTED
 8005248:	5c 20 00 09 	bne r1,r0,800526c <rtems_termios_ioctl+0x1f0>  <== NOT EXECUTED
      !(tty->termios.c_iflag & IXOFF)) {                              
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXOF);                                    
 800524c:	29 62 00 b8 	lw r2,(r11+184)                                <== NOT EXECUTED
 8005250:	34 01 fb ff 	mvi r1,-1025                                   <== NOT EXECUTED
 8005254:	a0 41 08 00 	and r1,r2,r1                                   <== NOT EXECUTED
 8005258:	59 61 00 b8 	sw (r11+184),r1                                <== NOT EXECUTED
    /* FIXME: what happens, if we had sent XOFF but not yet XON? */   
    tty->flow_ctrl &= ~(FL_ISNTXOF);                                  
 800525c:	29 62 00 b8 	lw r2,(r11+184)                                <== NOT EXECUTED
 8005260:	34 01 ff fd 	mvi r1,-3                                      <== NOT EXECUTED
 8005264:	a0 41 08 00 	and r1,r2,r1                                   <== NOT EXECUTED
 8005268:	59 61 00 b8 	sw (r11+184),r1                                <== NOT EXECUTED
  }                                                                   
                                                                      
  /* check for incoming RTS/CTS flow control switched off */          
  if (( tty->flow_ctrl & FL_MDRTS) &&                                 
 800526c:	29 61 00 b8 	lw r1,(r11+184)                                
 8005270:	20 21 01 00 	andi r1,r1,0x100                               
 8005274:	44 20 00 76 	be r1,r0,800544c <rtems_termios_ioctl+0x3d0>   <== ALWAYS TAKEN
 8005278:	29 62 00 38 	lw r2,(r11+56)                                 <== NOT EXECUTED
 800527c:	48 02 00 12 	bg r0,r2,80052c4 <rtems_termios_ioctl+0x248>   <== NOT EXECUTED
      !(tty->termios.c_cflag & CRTSCTS)) {                            
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
 8005280:	29 63 00 b8 	lw r3,(r11+184)                                <== NOT EXECUTED
 8005284:	34 01 fe ff 	mvi r1,-257                                    <== NOT EXECUTED
 8005288:	a0 61 08 00 	and r1,r3,r1                                   <== NOT EXECUTED
 800528c:	59 61 00 b8 	sw (r11+184),r1                                <== NOT EXECUTED
                                                                      
    /* restart remote Tx, if it was stopped */                        
    if ((tty->flow_ctrl & FL_IRTSOFF) &&                              
 8005290:	29 61 00 b8 	lw r1,(r11+184)                                <== NOT EXECUTED
 8005294:	20 21 00 04 	andi r1,r1,0x4                                 <== NOT EXECUTED
 8005298:	44 20 00 06 	be r1,r0,80052b0 <rtems_termios_ioctl+0x234>   <== NOT EXECUTED
	(tty->device.startRemoteTx != NULL)) {                               
 800529c:	29 63 00 b0 	lw r3,(r11+176)                                <== NOT EXECUTED
      !(tty->termios.c_cflag & CRTSCTS)) {                            
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
                                                                      
    /* restart remote Tx, if it was stopped */                        
    if ((tty->flow_ctrl & FL_IRTSOFF) &&                              
 80052a0:	44 60 00 04 	be r3,r0,80052b0 <rtems_termios_ioctl+0x234>   <== NOT EXECUTED
	(tty->device.startRemoteTx != NULL)) {                               
      tty->device.startRemoteTx(tty->minor);                          
 80052a4:	29 61 00 10 	lw r1,(r11+16)                                 <== NOT EXECUTED
 80052a8:	d8 60 00 00 	call r3                                        <== NOT EXECUTED
 80052ac:	29 62 00 38 	lw r2,(r11+56)                                 <== NOT EXECUTED
    }                                                                 
    tty->flow_ctrl &= ~(FL_IRTSOFF);                                  
 80052b0:	29 63 00 b8 	lw r3,(r11+184)                                <== NOT EXECUTED
 80052b4:	34 01 ff fb 	mvi r1,-5                                      <== NOT EXECUTED
 80052b8:	a0 61 08 00 	and r1,r3,r1                                   <== NOT EXECUTED
 80052bc:	59 61 00 b8 	sw (r11+184),r1                                <== 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) {                               
 80052c0:	4c 40 00 04 	bge r2,r0,80052d0 <rtems_termios_ioctl+0x254>  <== ALWAYS TAKEN
    tty->flow_ctrl |= FL_MDRTS;                                       
 80052c4:	29 61 00 b8 	lw r1,(r11+184)                                <== NOT EXECUTED
 80052c8:	38 21 01 00 	ori r1,r1,0x100                                <== NOT EXECUTED
 80052cc:	59 61 00 b8 	sw (r11+184),r1                                <== NOT EXECUTED
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
 80052d0:	29 61 00 30 	lw r1,(r11+48)                                 
 80052d4:	20 22 10 00 	andi r2,r1,0x1000                              
 80052d8:	44 40 00 04 	be r2,r0,80052e8 <rtems_termios_ioctl+0x26c>   <== ALWAYS TAKEN
    tty->flow_ctrl |= FL_MDXOF;                                       
 80052dc:	29 62 00 b8 	lw r2,(r11+184)                                <== NOT EXECUTED
 80052e0:	38 42 04 00 	ori r2,r2,0x400                                <== NOT EXECUTED
 80052e4:	59 62 00 b8 	sw (r11+184),r2                                <== NOT EXECUTED
  }                                                                   
  /* check for outgoing XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXON) {                                  
 80052e8:	20 21 04 00 	andi r1,r1,0x400                               
 80052ec:	44 20 00 04 	be r1,r0,80052fc <rtems_termios_ioctl+0x280>   <== NEVER TAKEN
    tty->flow_ctrl |= FL_MDXON;                                       
 80052f0:	29 61 00 b8 	lw r1,(r11+184)                                
 80052f4:	38 21 02 00 	ori r1,r1,0x200                                
 80052f8:	59 61 00 b8 	sw (r11+184),r1                                
		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) {                                
 80052fc:	29 6e 00 3c 	lw r14,(r11+60)                                
 8005300:	34 01 00 00 	mvi r1,0                                       
 8005304:	21 ce 00 02 	andi r14,r14,0x2                               
 8005308:	45 c1 00 5c 	be r14,r1,8005478 <rtems_termios_ioctl+0x3fc>  <== NEVER TAKEN
			tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                        
			tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                  
			tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;             
 800530c:	59 61 00 74 	sw (r11+116),r1                                
                                                                      
		/* check for and process change in flow control options */          
		termios_set_flowctrl(tty);                                          
                                                                      
		if (tty->termios.c_lflag & ICANON) {                                
			tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                        
 8005310:	59 61 00 6c 	sw (r11+108),r1                                
			tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                  
 8005314:	59 61 00 70 	sw (r11+112),r1                                
				else {                                                            
					tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;                   
				}                                                                 
			}                                                                  
		}                                                                   
		if (tty->device.setAttributes)                                      
 8005318:	29 63 00 a8 	lw r3,(r11+168)                                
 800531c:	44 60 ff 85 	be r3,r0,8005130 <rtems_termios_ioctl+0xb4>    <== NEVER TAKEN
			(*tty->device.setAttributes)(tty->minor, &tty->termios);           
 8005320:	29 61 00 10 	lw r1,(r11+16)                                 
 8005324:	35 62 00 30 	addi r2,r11,48                                 
 8005328:	d8 60 00 00 	call r3                                        
 800532c:	e3 ff ff 81 	bi 8005130 <rtems_termios_ioctl+0xb4>          
		*(int*)(args->buffer)=tty->t_line;                                  
		break;                                                              
#endif                                                                
 	case FIONREAD:                                                      
		{                                                                   
		int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;                
 8005330:	29 62 00 60 	lw r2,(r11+96)                                 <== NOT EXECUTED
 8005334:	29 61 00 5c 	lw r1,(r11+92)                                 <== NOT EXECUTED
 8005338:	c8 41 08 00 	sub r1,r2,r1                                   <== NOT EXECUTED
		if ( rawnc < 0 )                                                    
 800533c:	4c 20 00 03 	bge r1,r0,8005348 <rtems_termios_ioctl+0x2cc>  <== NOT EXECUTED
			rawnc += tty->rawInBuf.Size;                                       
 8005340:	29 62 00 64 	lw r2,(r11+100)                                <== NOT EXECUTED
 8005344:	b4 22 08 00 	add r1,r1,r2                                   <== NOT EXECUTED
		/* Half guess that this is the right operation */                   
		*(int *)args->buffer = tty->ccount - tty->cindex + rawnc;           
 8005348:	29 64 00 20 	lw r4,(r11+32)                                 <== NOT EXECUTED
 800534c:	29 62 00 24 	lw r2,(r11+36)                                 <== NOT EXECUTED
 8005350:	29 83 00 08 	lw r3,(r12+8)                                  <== NOT EXECUTED
 8005354:	c8 82 10 00 	sub r2,r4,r2                                   <== NOT EXECUTED
 8005358:	b4 41 08 00 	add r1,r2,r1                                   <== NOT EXECUTED
 800535c:	58 61 00 00 	sw (r3+0),r1                                   <== NOT EXECUTED
 8005360:	e3 ff ff 74 	bi 8005130 <rtems_termios_ioctl+0xb4>          <== 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) {                                             
 8005364:	78 02 40 04 	mvhi r2,0x4004                                 <== NOT EXECUTED
 8005368:	38 42 74 1a 	ori r2,r2,0x741a                               <== NOT EXECUTED
 800536c:	44 22 00 1d 	be r1,r2,80053e0 <rtems_termios_ioctl+0x364>   <== NOT EXECUTED
 8005370:	78 02 80 04 	mvhi r2,0x8004                                 <== NOT EXECUTED
 8005374:	38 42 74 1b 	ori r2,r2,0x741b                               <== NOT EXECUTED
 8005378:	5c 22 ff 5c 	bne r1,r2,80050e8 <rtems_termios_ioctl+0x6c>   <== NOT EXECUTED
#if 1 /* FIXME */                                                     
	case TIOCSETD:                                                       
		/*                                                                  
		 * close old line discipline                                        
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_close != NULL) {            
 800537c:	29 61 00 cc 	lw r1,(r11+204)                                <== NOT EXECUTED
 8005380:	34 02 00 05 	mvi r2,5                                       <== NOT EXECUTED
 8005384:	78 0e 08 02 	mvhi r14,0x802                                 <== NOT EXECUTED
 8005388:	fb ff f0 50 	calli 80014c8 <__ashlsi3>                      <== NOT EXECUTED
 800538c:	39 ce 47 7c 	ori r14,r14,0x477c                             <== NOT EXECUTED
 8005390:	b5 c1 08 00 	add r1,r14,r1                                  <== NOT EXECUTED
 8005394:	28 22 00 04 	lw r2,(r1+4)                                   <== NOT EXECUTED
 8005398:	44 40 00 04 	be r2,r0,80053a8 <rtems_termios_ioctl+0x32c>   <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_close(tty);               
 800539c:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 80053a0:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
 80053a4:	b8 20 68 00 	mv r13,r1                                      <== NOT EXECUTED
		}                                                                   
		tty->t_line=*(int*)(args->buffer);                                  
 80053a8:	29 81 00 08 	lw r1,(r12+8)                                  <== NOT EXECUTED
		tty->t_sc = NULL; /* ensure that no more valid data */              
 80053ac:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 80053b0:	59 62 00 d0 	sw (r11+208),r2                                <== NOT EXECUTED
		 * 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);                                  
 80053b4:	28 21 00 00 	lw r1,(r1+0)                                   <== NOT EXECUTED
		tty->t_sc = NULL; /* ensure that no more valid data */              
		/*                                                                  
		 * open new line discipline                                         
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_open != NULL) {             
 80053b8:	34 02 00 05 	mvi r2,5                                       <== NOT EXECUTED
		 * 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);                                  
 80053bc:	59 61 00 cc 	sw (r11+204),r1                                <== NOT EXECUTED
		tty->t_sc = NULL; /* ensure that no more valid data */              
		/*                                                                  
		 * open new line discipline                                         
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_open != NULL) {             
 80053c0:	fb ff f0 42 	calli 80014c8 <__ashlsi3>                      <== NOT EXECUTED
 80053c4:	b5 c1 08 00 	add r1,r14,r1                                  <== NOT EXECUTED
 80053c8:	28 22 00 00 	lw r2,(r1+0)                                   <== NOT EXECUTED
 80053cc:	44 40 ff 59 	be r2,r0,8005130 <rtems_termios_ioctl+0xb4>    <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_open(tty);                
 80053d0:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 80053d4:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
 80053d8:	b8 20 68 00 	mv r13,r1                                      <== NOT EXECUTED
 80053dc:	e3 ff ff 55 	bi 8005130 <rtems_termios_ioctl+0xb4>          <== NOT EXECUTED
		}                                                                   
		break;                                                              
	case TIOCGETD:                                                       
		*(int*)(args->buffer)=tty->t_line;                                  
 80053e0:	29 81 00 08 	lw r1,(r12+8)                                  <== NOT EXECUTED
 80053e4:	29 64 00 cc 	lw r4,(r11+204)                                <== NOT EXECUTED
 80053e8:	58 24 00 00 	sw (r1+0),r4                                   <== NOT EXECUTED
		break;                                                              
 80053ec:	e3 ff ff 51 	bi 8005130 <rtems_termios_ioctl+0xb4>          <== NOT EXECUTED
			sc = RTEMS_INVALID_NUMBER;                                         
		}                                                                   
		break;                                                              
                                                                      
	case RTEMS_IO_GET_ATTRIBUTES:                                        
		*(struct termios *)args->buffer = tty->termios;                     
 80053f0:	29 62 00 30 	lw r2,(r11+48)                                 
 80053f4:	29 81 00 08 	lw r1,(r12+8)                                  
 80053f8:	58 22 00 00 	sw (r1+0),r2                                   
 80053fc:	29 64 00 34 	lw r4,(r11+52)                                 
 8005400:	58 24 00 04 	sw (r1+4),r4                                   
 8005404:	29 62 00 38 	lw r2,(r11+56)                                 
 8005408:	58 22 00 08 	sw (r1+8),r2                                   
 800540c:	29 64 00 3c 	lw r4,(r11+60)                                 
 8005410:	58 24 00 0c 	sw (r1+12),r4                                  
 8005414:	29 62 00 40 	lw r2,(r11+64)                                 
 8005418:	58 22 00 10 	sw (r1+16),r2                                  
 800541c:	29 64 00 44 	lw r4,(r11+68)                                 
 8005420:	58 24 00 14 	sw (r1+20),r4                                  
 8005424:	29 62 00 48 	lw r2,(r11+72)                                 
 8005428:	58 22 00 18 	sw (r1+24),r2                                  
 800542c:	29 64 00 4c 	lw r4,(r11+76)                                 
 8005430:	58 24 00 1c 	sw (r1+28),r4                                  
 8005434:	29 62 00 50 	lw r2,(r11+80)                                 
 8005438:	58 22 00 20 	sw (r1+32),r2                                  
		break;                                                              
 800543c:	e3 ff ff 3d 	bi 8005130 <rtems_termios_ioctl+0xb4>          
		if (tty->device.setAttributes)                                      
			(*tty->device.setAttributes)(tty->minor, &tty->termios);           
		break;                                                              
                                                                      
	case RTEMS_IO_TCDRAIN:                                               
		drainOutput (tty);                                                  
 8005440:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8005444:	fb ff fd fd 	calli 8004c38 <drainOutput>                    <== NOT EXECUTED
		break;                                                              
 8005448:	e3 ff ff 3a 	bi 8005130 <rtems_termios_ioctl+0xb4>          <== NOT EXECUTED
 800544c:	29 62 00 38 	lw r2,(r11+56)                                 
 8005450:	e3 ff ff 9c 	bi 80052c0 <rtems_termios_ioctl+0x244>         
      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)(tty->minor,                                     
 8005454:	29 63 00 7c 	lw r3,(r11+124)                                <== NOT EXECUTED
		     &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);                
 8005458:	29 62 00 84 	lw r2,(r11+132)                                <== 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)(tty->minor,                                     
 800545c:	29 64 00 a4 	lw r4,(r11+164)                                <== NOT EXECUTED
 8005460:	29 61 00 10 	lw r1,(r11+16)                                 <== NOT EXECUTED
 8005464:	b4 62 10 00 	add r2,r3,r2                                   <== NOT EXECUTED
 8005468:	34 03 00 01 	mvi r3,1                                       <== NOT EXECUTED
 800546c:	d8 80 00 00 	call r4                                        <== NOT EXECUTED
		     &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);                
      }                                                               
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
 8005470:	d0 0e 00 00 	wcsr IE,r14                                    <== NOT EXECUTED
 8005474:	e3 ff ff 70 	bi 8005234 <rtems_termios_ioctl+0x1b8>         <== NOT EXECUTED
			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;             
 8005478:	41 6f 00 46 	lbu r15,(r11+70)                               <== NOT EXECUTED
 800547c:	f8 00 03 12 	calli 80060c4 <rtems_clock_get_ticks_per_second><== NOT EXECUTED
			tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                        
			tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                  
			tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;             
		}                                                                   
		else {                                                              
			tty->vtimeTicks = tty->termios.c_cc[VTIME] *                       
 8005480:	b9 e0 10 00 	mv r2,r15                                      <== NOT EXECUTED
 8005484:	f8 00 6c 7a 	calli 802066c <__mulsi3>                       <== NOT EXECUTED
 8005488:	34 02 00 0a 	mvi r2,10                                      <== NOT EXECUTED
 800548c:	f8 00 6c f7 	calli 8020868 <__udivsi3>                      <== NOT EXECUTED
			              rtems_clock_get_ticks_per_second() / 10;             
			if (tty->termios.c_cc[VTIME]) {                                    
 8005490:	41 62 00 46 	lbu r2,(r11+70)                                <== NOT EXECUTED
			tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                        
			tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                  
			tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;             
		}                                                                   
		else {                                                              
			tty->vtimeTicks = tty->termios.c_cc[VTIME] *                       
 8005494:	59 61 00 54 	sw (r11+84),r1                                 <== NOT EXECUTED
			              rtems_clock_get_ticks_per_second() / 10;             
			if (tty->termios.c_cc[VTIME]) {                                    
 8005498:	44 4e 00 07 	be r2,r14,80054b4 <rtems_termios_ioctl+0x438>  <== NOT EXECUTED
				tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                       
				tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;                  
				if (tty->termios.c_cc[VMIN])                                      
 800549c:	41 62 00 47 	lbu r2,(r11+71)                                <== NOT EXECUTED
		}                                                                   
		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;                       
 80054a0:	59 6e 00 6c 	sw (r11+108),r14                               <== NOT EXECUTED
				tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;                  
 80054a4:	59 61 00 70 	sw (r11+112),r1                                <== NOT EXECUTED
				if (tty->termios.c_cc[VMIN])                                      
 80054a8:	44 40 00 09 	be r2,r0,80054cc <rtems_termios_ioctl+0x450>   <== NOT EXECUTED
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
 80054ac:	59 6e 00 74 	sw (r11+116),r14                               <== NOT EXECUTED
 80054b0:	e3 ff ff 9a 	bi 8005318 <rtems_termios_ioctl+0x29c>         <== NOT EXECUTED
				else                                                              
					tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;            
			}                                                                  
			else {                                                             
				if (tty->termios.c_cc[VMIN]) {                                    
 80054b4:	41 61 00 47 	lbu r1,(r11+71)                                <== NOT EXECUTED
 80054b8:	44 22 00 07 	be r1,r2,80054d4 <rtems_termios_ioctl+0x458>   <== NOT EXECUTED
					tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                      
					tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
 80054bc:	59 62 00 74 	sw (r11+116),r2                                <== NOT EXECUTED
				else                                                              
					tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;            
			}                                                                  
			else {                                                             
				if (tty->termios.c_cc[VMIN]) {                                    
					tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                      
 80054c0:	59 62 00 6c 	sw (r11+108),r2                                <== NOT EXECUTED
					tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                
 80054c4:	59 62 00 70 	sw (r11+112),r2                                <== NOT EXECUTED
 80054c8:	e3 ff ff 94 	bi 8005318 <rtems_termios_ioctl+0x29c>         <== 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;            
 80054cc:	59 61 00 74 	sw (r11+116),r1                                <== NOT EXECUTED
 80054d0:	e3 ff ff 92 	bi 8005318 <rtems_termios_ioctl+0x29c>         <== NOT EXECUTED
					tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                      
					tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
				}                                                                 
				else {                                                            
					tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;                   
 80054d4:	34 01 00 01 	mvi r1,1                                       <== NOT EXECUTED
 80054d8:	59 61 00 6c 	sw (r11+108),r1                                <== NOT EXECUTED
 80054dc:	e3 ff ff 8f 	bi 8005318 <rtems_termios_ioctl+0x29c>         <== NOT EXECUTED
                                                                      
08003b04 <rtems_termios_number_to_baud>:                              
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
 8003b04:	34 03 04 b0 	mvi r3,1200                                    
    case 110:     termios_baud = B110;    break;                      
    case 134:     termios_baud = B134;    break;                      
    case 150:     termios_baud = B150;    break;                      
    case 200:     termios_baud = B200;    break;                      
    case 300:     termios_baud = B300;    break;                      
    case 600:     termios_baud = B600;    break;                      
 8003b08:	34 02 00 09 	mvi r2,9                                       
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
 8003b0c:	44 23 00 0d 	be r1,r3,8003b40 <rtems_termios_number_to_baud+0x3c>
 8003b10:	48 23 00 0e 	bg r1,r3,8003b48 <rtems_termios_number_to_baud+0x44>
 8003b14:	34 03 00 86 	mvi r3,134                                     
    case 0:       termios_baud = B0;      break;                      
    case 50:      termios_baud = B50;     break;                      
    case 75:      termios_baud = B75;     break;                      
    case 110:     termios_baud = B110;    break;                      
 8003b18:	34 02 00 04 	mvi r2,4                                       
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
 8003b1c:	44 23 00 09 	be r1,r3,8003b40 <rtems_termios_number_to_baud+0x3c>
 8003b20:	48 23 00 24 	bg r1,r3,8003bb0 <rtems_termios_number_to_baud+0xac>
 8003b24:	34 03 00 32 	mvi r3,50                                      
 8003b28:	34 02 00 01 	mvi r2,1                                       
 8003b2c:	44 23 00 05 	be r1,r3,8003b40 <rtems_termios_number_to_baud+0x3c>
 8003b30:	48 23 00 2f 	bg r1,r3,8003bec <rtems_termios_number_to_baud+0xe8>
 8003b34:	b8 20 10 00 	mv r2,r1                                       
 8003b38:	44 20 00 02 	be r1,r0,8003b40 <rtems_termios_number_to_baud+0x3c>
    case 19200:   termios_baud = B19200;  break;                      
    case 38400:   termios_baud = B38400;  break;                      
    case 57600:   termios_baud = B57600;  break;                      
    case 115200:  termios_baud = B115200; break;                      
    case 230400:  termios_baud = B230400; break;                      
    case 460800:  termios_baud = B460800; break;                      
 8003b3c:	34 02 ff ff 	mvi r2,-1                                      
    default:      termios_baud = -1;      break;                      
  }                                                                   
                                                                      
  return termios_baud;                                                
}                                                                     
 8003b40:	b8 40 08 00 	mv r1,r2                                       
 8003b44:	c3 a0 00 00 	ret                                            
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
 8003b48:	34 03 4b 00 	mvi r3,19200                                   
    case 600:     termios_baud = B600;    break;                      
    case 1200:    termios_baud = B1200;   break;                      
    case 1800:    termios_baud = B1800;   break;                      
    case 2400:    termios_baud = B2400;   break;                      
    case 4800:    termios_baud = B4800;   break;                      
    case 9600:    termios_baud = B9600;   break;                      
 8003b4c:	34 02 00 0e 	mvi r2,14                                      
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
 8003b50:	44 23 ff fc 	be r1,r3,8003b40 <rtems_termios_number_to_baud+0x3c>
 8003b54:	48 23 00 0a 	bg r1,r3,8003b7c <rtems_termios_number_to_baud+0x78>
 8003b58:	34 03 09 60 	mvi r3,2400                                    
    case 150:     termios_baud = B150;    break;                      
    case 200:     termios_baud = B200;    break;                      
    case 300:     termios_baud = B300;    break;                      
    case 600:     termios_baud = B600;    break;                      
    case 1200:    termios_baud = B1200;   break;                      
    case 1800:    termios_baud = B1800;   break;                      
 8003b5c:	34 02 00 0b 	mvi r2,11                                      
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
 8003b60:	44 23 ff f8 	be r1,r3,8003b40 <rtems_termios_number_to_baud+0x3c>
 8003b64:	48 23 00 32 	bg r1,r3,8003c2c <rtems_termios_number_to_baud+0x128>
 8003b68:	34 03 07 08 	mvi r3,1800                                    
    case 134:     termios_baud = B134;    break;                      
    case 150:     termios_baud = B150;    break;                      
    case 200:     termios_baud = B200;    break;                      
    case 300:     termios_baud = B300;    break;                      
    case 600:     termios_baud = B600;    break;                      
    case 1200:    termios_baud = B1200;   break;                      
 8003b6c:	34 02 00 0a 	mvi r2,10                                      
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
 8003b70:	44 23 ff f4 	be r1,r3,8003b40 <rtems_termios_number_to_baud+0x3c><== ALWAYS TAKEN
    case 19200:   termios_baud = B19200;  break;                      
    case 38400:   termios_baud = B38400;  break;                      
    case 57600:   termios_baud = B57600;  break;                      
    case 115200:  termios_baud = B115200; break;                      
    case 230400:  termios_baud = B230400; break;                      
    case 460800:  termios_baud = B460800; break;                      
 8003b74:	34 02 ff ff 	mvi r2,-1                                      <== NOT EXECUTED
 8003b78:	e3 ff ff f2 	bi 8003b40 <rtems_termios_number_to_baud+0x3c> <== NOT EXECUTED
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
 8003b7c:	78 03 00 01 	mvhi r3,0x1                                    
 8003b80:	38 63 c2 00 	ori r3,r3,0xc200                               
    case 2400:    termios_baud = B2400;   break;                      
    case 4800:    termios_baud = B4800;   break;                      
    case 9600:    termios_baud = B9600;   break;                      
    case 19200:   termios_baud = B19200;  break;                      
    case 38400:   termios_baud = B38400;  break;                      
    case 57600:   termios_baud = B57600;  break;                      
 8003b84:	34 02 10 02 	mvi r2,4098                                    
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
 8003b88:	44 23 ff ee 	be r1,r3,8003b40 <rtems_termios_number_to_baud+0x3c>
 8003b8c:	48 23 00 1f 	bg r1,r3,8003c08 <rtems_termios_number_to_baud+0x104>
 8003b90:	38 03 96 00 	mvu r3,0x9600                                  
    case 1200:    termios_baud = B1200;   break;                      
    case 1800:    termios_baud = B1800;   break;                      
    case 2400:    termios_baud = B2400;   break;                      
    case 4800:    termios_baud = B4800;   break;                      
    case 9600:    termios_baud = B9600;   break;                      
    case 19200:   termios_baud = B19200;  break;                      
 8003b94:	34 02 00 0f 	mvi r2,15                                      
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
 8003b98:	44 23 ff ea 	be r1,r3,8003b40 <rtems_termios_number_to_baud+0x3c>
 8003b9c:	38 03 e1 00 	mvu r3,0xe100                                  
    case 1800:    termios_baud = B1800;   break;                      
    case 2400:    termios_baud = B2400;   break;                      
    case 4800:    termios_baud = B4800;   break;                      
    case 9600:    termios_baud = B9600;   break;                      
    case 19200:   termios_baud = B19200;  break;                      
    case 38400:   termios_baud = B38400;  break;                      
 8003ba0:	34 02 10 01 	mvi r2,4097                                    
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
 8003ba4:	44 23 ff e7 	be r1,r3,8003b40 <rtems_termios_number_to_baud+0x3c><== ALWAYS TAKEN
    case 19200:   termios_baud = B19200;  break;                      
    case 38400:   termios_baud = B38400;  break;                      
    case 57600:   termios_baud = B57600;  break;                      
    case 115200:  termios_baud = B115200; break;                      
    case 230400:  termios_baud = B230400; break;                      
    case 460800:  termios_baud = B460800; break;                      
 8003ba8:	34 02 ff ff 	mvi r2,-1                                      <== NOT EXECUTED
 8003bac:	e3 ff ff e5 	bi 8003b40 <rtems_termios_number_to_baud+0x3c> <== NOT EXECUTED
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
 8003bb0:	34 03 00 c8 	mvi r3,200                                     
    case 0:       termios_baud = B0;      break;                      
    case 50:      termios_baud = B50;     break;                      
    case 75:      termios_baud = B75;     break;                      
    case 110:     termios_baud = B110;    break;                      
    case 134:     termios_baud = B134;    break;                      
    case 150:     termios_baud = B150;    break;                      
 8003bb4:	34 02 00 06 	mvi r2,6                                       
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
 8003bb8:	44 23 ff e2 	be r1,r3,8003b40 <rtems_termios_number_to_baud+0x3c>
 8003bbc:	48 23 00 05 	bg r1,r3,8003bd0 <rtems_termios_number_to_baud+0xcc>
 8003bc0:	34 03 00 96 	mvi r3,150                                     
    case 0:       termios_baud = B0;      break;                      
    case 50:      termios_baud = B50;     break;                      
    case 75:      termios_baud = B75;     break;                      
    case 110:     termios_baud = B110;    break;                      
    case 134:     termios_baud = B134;    break;                      
 8003bc4:	34 02 00 05 	mvi r2,5                                       
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
 8003bc8:	5c 23 ff dd 	bne r1,r3,8003b3c <rtems_termios_number_to_baud+0x38><== NEVER TAKEN
 8003bcc:	e3 ff ff dd 	bi 8003b40 <rtems_termios_number_to_baud+0x3c> 
 8003bd0:	34 03 01 2c 	mvi r3,300                                     
    case 50:      termios_baud = B50;     break;                      
    case 75:      termios_baud = B75;     break;                      
    case 110:     termios_baud = B110;    break;                      
    case 134:     termios_baud = B134;    break;                      
    case 150:     termios_baud = B150;    break;                      
    case 200:     termios_baud = B200;    break;                      
 8003bd4:	34 02 00 07 	mvi r2,7                                       
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
 8003bd8:	44 23 ff da 	be r1,r3,8003b40 <rtems_termios_number_to_baud+0x3c>
 8003bdc:	34 03 02 58 	mvi r3,600                                     
    case 75:      termios_baud = B75;     break;                      
    case 110:     termios_baud = B110;    break;                      
    case 134:     termios_baud = B134;    break;                      
    case 150:     termios_baud = B150;    break;                      
    case 200:     termios_baud = B200;    break;                      
    case 300:     termios_baud = B300;    break;                      
 8003be0:	34 02 00 08 	mvi r2,8                                       
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
 8003be4:	5c 23 ff d6 	bne r1,r3,8003b3c <rtems_termios_number_to_baud+0x38><== NEVER TAKEN
 8003be8:	e3 ff ff d6 	bi 8003b40 <rtems_termios_number_to_baud+0x3c> 
 8003bec:	34 03 00 4b 	mvi r3,75                                      
 8003bf0:	34 02 00 02 	mvi r2,2                                       
 8003bf4:	44 23 ff d3 	be r1,r3,8003b40 <rtems_termios_number_to_baud+0x3c>
 8003bf8:	34 03 00 6e 	mvi r3,110                                     
    case 0:       termios_baud = B0;      break;                      
    case 50:      termios_baud = B50;     break;                      
    case 75:      termios_baud = B75;     break;                      
 8003bfc:	34 02 00 03 	mvi r2,3                                       
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
 8003c00:	5c 23 ff cf 	bne r1,r3,8003b3c <rtems_termios_number_to_baud+0x38><== NEVER TAKEN
 8003c04:	e3 ff ff cf 	bi 8003b40 <rtems_termios_number_to_baud+0x3c> 
 8003c08:	78 03 00 03 	mvhi r3,0x3                                    
 8003c0c:	38 63 84 00 	ori r3,r3,0x8400                               
    case 4800:    termios_baud = B4800;   break;                      
    case 9600:    termios_baud = B9600;   break;                      
    case 19200:   termios_baud = B19200;  break;                      
    case 38400:   termios_baud = B38400;  break;                      
    case 57600:   termios_baud = B57600;  break;                      
    case 115200:  termios_baud = B115200; break;                      
 8003c10:	34 02 10 03 	mvi r2,4099                                    
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
 8003c14:	44 23 ff cb 	be r1,r3,8003b40 <rtems_termios_number_to_baud+0x3c>
 8003c18:	78 03 00 07 	mvhi r3,0x7                                    
 8003c1c:	38 63 08 00 	ori r3,r3,0x800                                
    case 9600:    termios_baud = B9600;   break;                      
    case 19200:   termios_baud = B19200;  break;                      
    case 38400:   termios_baud = B38400;  break;                      
    case 57600:   termios_baud = B57600;  break;                      
    case 115200:  termios_baud = B115200; break;                      
    case 230400:  termios_baud = B230400; break;                      
 8003c20:	34 02 10 04 	mvi r2,4100                                    
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
 8003c24:	5c 23 ff c6 	bne r1,r3,8003b3c <rtems_termios_number_to_baud+0x38><== NEVER TAKEN
 8003c28:	e3 ff ff c6 	bi 8003b40 <rtems_termios_number_to_baud+0x3c> 
 8003c2c:	34 03 12 c0 	mvi r3,4800                                    
    case 200:     termios_baud = B200;    break;                      
    case 300:     termios_baud = B300;    break;                      
    case 600:     termios_baud = B600;    break;                      
    case 1200:    termios_baud = B1200;   break;                      
    case 1800:    termios_baud = B1800;   break;                      
    case 2400:    termios_baud = B2400;   break;                      
 8003c30:	34 02 00 0c 	mvi r2,12                                      
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
 8003c34:	44 23 ff c3 	be r1,r3,8003b40 <rtems_termios_number_to_baud+0x3c>
 8003c38:	34 03 25 80 	mvi r3,9600                                    
    case 300:     termios_baud = B300;    break;                      
    case 600:     termios_baud = B600;    break;                      
    case 1200:    termios_baud = B1200;   break;                      
    case 1800:    termios_baud = B1800;   break;                      
    case 2400:    termios_baud = B2400;   break;                      
    case 4800:    termios_baud = B4800;   break;                      
 8003c3c:	34 02 00 0d 	mvi r2,13                                      
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
 8003c40:	5c 23 ff bf 	bne r1,r3,8003b3c <rtems_termios_number_to_baud+0x38>
 8003c44:	e3 ff ff bf 	bi 8003b40 <rtems_termios_number_to_baud+0x3c> 
                                                                      
080056bc <rtems_termios_open>:                                        
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
 80056bc:	37 9c ff c4 	addi sp,sp,-60                                 
 80056c0:	5b 8b 00 3c 	sw (sp+60),r11                                 
 80056c4:	5b 8c 00 38 	sw (sp+56),r12                                 
 80056c8:	5b 8d 00 34 	sw (sp+52),r13                                 
 80056cc:	5b 8e 00 30 	sw (sp+48),r14                                 
 80056d0:	5b 8f 00 2c 	sw (sp+44),r15                                 
 80056d4:	5b 90 00 28 	sw (sp+40),r16                                 
 80056d8:	5b 91 00 24 	sw (sp+36),r17                                 
 80056dc:	5b 92 00 20 	sw (sp+32),r18                                 
 80056e0:	5b 93 00 1c 	sw (sp+28),r19                                 
 80056e4:	5b 94 00 18 	sw (sp+24),r20                                 
 80056e8:	5b 95 00 14 	sw (sp+20),r21                                 
 80056ec:	5b 96 00 10 	sw (sp+16),r22                                 
 80056f0:	5b 97 00 0c 	sw (sp+12),r23                                 
 80056f4:	5b 98 00 08 	sw (sp+8),r24                                  
 80056f8:	5b 9d 00 04 	sw (sp+4),ra                                   
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
 80056fc:	78 0d 08 02 	mvhi r13,0x802                                 
 8005700:	39 ad 49 4c 	ori r13,r13,0x494c                             
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
 8005704:	b8 20 60 00 	mv r12,r1                                      
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
 8005708:	29 a1 00 00 	lw r1,(r13+0)                                  
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
 800570c:	b8 40 78 00 	mv r15,r2                                      
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
 8005710:	34 02 00 00 	mvi r2,0                                       
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
 8005714:	b8 60 90 00 	mv r18,r3                                      
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
 8005718:	b8 40 18 00 	mv r3,r2                                       
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
 800571c:	b8 80 98 00 	mv r19,r4                                      
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
 8005720:	f8 00 04 7a 	calli 8006908 <rtems_semaphore_obtain>         
 8005724:	b8 20 70 00 	mv r14,r1                                      
				     RTEMS_WAIT, RTEMS_NO_TIMEOUT);                               
	if (sc != RTEMS_SUCCESSFUL)                                          
 8005728:	5c 20 00 1d 	bne r1,r0,800579c <rtems_termios_open+0xe0>    <== NEVER TAKEN
		return sc;                                                          
	for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) {  
 800572c:	78 10 08 02 	mvhi r16,0x802                                 
 8005730:	3a 10 49 54 	ori r16,r16,0x4954                             
 8005734:	2a 0b 00 00 	lw r11,(r16+0)                                 
 8005738:	5d 61 00 04 	bne r11,r1,8005748 <rtems_termios_open+0x8c>   <== NEVER TAKEN
 800573c:	e0 00 00 38 	bi 800581c <rtems_termios_open+0x160>          
 8005740:	29 6b 00 00 	lw r11,(r11+0)                                 <== NOT EXECUTED
 8005744:	45 60 00 36 	be r11,r0,800581c <rtems_termios_open+0x160>   <== NOT EXECUTED
		if ((tty->major == major) && (tty->minor == minor))                 
 8005748:	29 65 00 0c 	lw r5,(r11+12)                                 <== NOT EXECUTED
 800574c:	5c ac ff fd 	bne r5,r12,8005740 <rtems_termios_open+0x84>   <== NOT EXECUTED
 8005750:	29 61 00 10 	lw r1,(r11+16)                                 <== NOT EXECUTED
 8005754:	5c 2f ff fb 	bne r1,r15,8005740 <rtems_termios_open+0x84>   <== NOT EXECUTED
		if (c++ == 'z')                                                     
			c = 'a';                                                           
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
	if (!tty->refcount++) {                                              
 8005758:	29 62 00 08 	lw r2,(r11+8)                                  
		 */                                                                 
		if (c++ == 'z')                                                     
			c = 'a';                                                           
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
 800575c:	2a 43 00 00 	lw r3,(r18+0)                                  
	if (!tty->refcount++) {                                              
 8005760:	34 41 00 01 	addi r1,r2,1                                   
		 */                                                                 
		if (c++ == 'z')                                                     
			c = 'a';                                                           
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
 8005764:	58 6b 00 38 	sw (r3+56),r11                                 
	if (!tty->refcount++) {                                              
 8005768:	59 61 00 08 	sw (r11+8),r1                                  
 800576c:	5c 40 00 0a 	bne r2,r0,8005794 <rtems_termios_open+0xd8>    <== NEVER TAKEN
	  if (tty->device.firstOpen)                                         
 8005770:	29 64 00 98 	lw r4,(r11+152)                                
 8005774:	44 82 00 05 	be r4,r2,8005788 <rtems_termios_open+0xcc>     <== ALWAYS TAKEN
		(*tty->device.firstOpen)(major, minor, arg);                        
 8005778:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 800577c:	b9 e0 10 00 	mv r2,r15                                      <== NOT EXECUTED
 8005780:	ba 40 18 00 	mv r3,r18                                      <== NOT EXECUTED
 8005784:	d8 80 00 00 	call r4                                        <== NOT EXECUTED
	  /*                                                                 
	   * start I/O tasks, if needed                                      
	   */                                                                
	  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {     
 8005788:	29 62 00 b4 	lw r2,(r11+180)                                
 800578c:	34 01 00 02 	mvi r1,2                                       
 8005790:	44 41 00 15 	be r2,r1,80057e4 <rtems_termios_open+0x128>    <== NEVER TAKEN
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
	      rtems_fatal_error_occurred (sc);                               
	  }                                                                  
	}                                                                    
	rtems_semaphore_release (rtems_termios_ttyMutex);                    
 8005794:	29 a1 00 00 	lw r1,(r13+0)                                  
 8005798:	f8 00 04 bd 	calli 8006a8c <rtems_semaphore_release>        
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
 800579c:	b9 c0 08 00 	mv r1,r14                                      
 80057a0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80057a4:	2b 8b 00 3c 	lw r11,(sp+60)                                 
 80057a8:	2b 8c 00 38 	lw r12,(sp+56)                                 
 80057ac:	2b 8d 00 34 	lw r13,(sp+52)                                 
 80057b0:	2b 8e 00 30 	lw r14,(sp+48)                                 
 80057b4:	2b 8f 00 2c 	lw r15,(sp+44)                                 
 80057b8:	2b 90 00 28 	lw r16,(sp+40)                                 
 80057bc:	2b 91 00 24 	lw r17,(sp+36)                                 
 80057c0:	2b 92 00 20 	lw r18,(sp+32)                                 
 80057c4:	2b 93 00 1c 	lw r19,(sp+28)                                 
 80057c8:	2b 94 00 18 	lw r20,(sp+24)                                 
 80057cc:	2b 95 00 14 	lw r21,(sp+20)                                 
 80057d0:	2b 96 00 10 	lw r22,(sp+16)                                 
 80057d4:	2b 97 00 0c 	lw r23,(sp+12)                                 
 80057d8:	2b 98 00 08 	lw r24,(sp+8)                                  
 80057dc:	37 9c 00 3c 	addi sp,sp,60                                  
 80057e0:	c3 a0 00 00 	ret                                            
		(*tty->device.firstOpen)(major, minor, arg);                        
	  /*                                                                 
	   * start I/O tasks, if needed                                      
	   */                                                                
	  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {     
	    sc = rtems_task_start(tty->rxTaskId,                             
 80057e4:	29 61 00 c4 	lw r1,(r11+196)                                <== NOT EXECUTED
 80057e8:	78 02 08 00 	mvhi r2,0x800                                  <== NOT EXECUTED
 80057ec:	38 42 5c 08 	ori r2,r2,0x5c08                               <== NOT EXECUTED
 80057f0:	b9 60 18 00 	mv r3,r11                                      <== NOT EXECUTED
 80057f4:	f8 00 05 ae 	calli 8006eac <rtems_task_start>               <== NOT EXECUTED
 80057f8:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
				  rtems_termios_rxdaemon,                                         
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
 80057fc:	5c 20 00 c0 	bne r1,r0,8005afc <rtems_termios_open+0x440>   <== NOT EXECUTED
	      rtems_fatal_error_occurred (sc);                               
                                                                      
	    sc = rtems_task_start(tty->txTaskId,                             
 8005800:	29 61 00 c8 	lw r1,(r11+200)                                <== NOT EXECUTED
 8005804:	78 02 08 00 	mvhi r2,0x800                                  <== NOT EXECUTED
 8005808:	38 42 5b 7c 	ori r2,r2,0x5b7c                               <== NOT EXECUTED
 800580c:	b9 60 18 00 	mv r3,r11                                      <== NOT EXECUTED
 8005810:	f8 00 05 a7 	calli 8006eac <rtems_task_start>               <== NOT EXECUTED
				  rtems_termios_txdaemon,                                         
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
 8005814:	44 2c ff e0 	be r1,r12,8005794 <rtems_termios_open+0xd8>    <== NOT EXECUTED
 8005818:	e0 00 00 b9 	bi 8005afc <rtems_termios_open+0x440>          <== NOT EXECUTED
		static char c = 'a';                                                
                                                                      
		/*                                                                  
		 * Create a new device                                              
		 */                                                                 
		tty = calloc (1, sizeof (struct rtems_termios_tty));                
 800581c:	34 01 00 01 	mvi r1,1                                       
 8005820:	34 02 00 e8 	mvi r2,232                                     
 8005824:	f8 00 1b e9 	calli 800c7c8 <calloc>                         
		if (tty == NULL) {                                                  
 8005828:	34 14 00 00 	mvi r20,0                                      
		static char c = 'a';                                                
                                                                      
		/*                                                                  
		 * Create a new device                                              
		 */                                                                 
		tty = calloc (1, sizeof (struct rtems_termios_tty));                
 800582c:	b8 20 88 00 	mv r17,r1                                      
 8005830:	b8 20 58 00 	mv r11,r1                                      
		if (tty == NULL) {                                                  
 8005834:	44 34 00 9c 	be r1,r20,8005aa4 <rtems_termios_open+0x3e8>   <== NEVER TAKEN
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate raw input buffer                                        
		 */                                                                 
		tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                         
 8005838:	78 01 08 02 	mvhi r1,0x802                                  
 800583c:	38 21 42 38 	ori r1,r1,0x4238                               
 8005840:	28 21 00 00 	lw r1,(r1+0)                                   
 8005844:	5a 21 00 64 	sw (r17+100),r1                                
		tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);                 
 8005848:	2a 21 00 64 	lw r1,(r17+100)                                
 800584c:	f8 00 1d 06 	calli 800cc64 <malloc>                         
 8005850:	5a 21 00 58 	sw (r17+88),r1                                 
		if (tty->rawInBuf.theBuf == NULL) {                                 
 8005854:	44 20 00 92 	be r1,r0,8005a9c <rtems_termios_open+0x3e0>    <== NEVER TAKEN
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate raw output buffer                                       
		 */                                                                 
		tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                       
 8005858:	78 01 08 02 	mvhi r1,0x802                                  
 800585c:	38 21 42 3c 	ori r1,r1,0x423c                               
 8005860:	28 21 00 00 	lw r1,(r1+0)                                   
 8005864:	5a 21 00 88 	sw (r17+136),r1                                
		tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);               
 8005868:	2a 21 00 88 	lw r1,(r17+136)                                
 800586c:	f8 00 1c fe 	calli 800cc64 <malloc>                         
 8005870:	5a 21 00 7c 	sw (r17+124),r1                                
		if (tty->rawOutBuf.theBuf == NULL) {                                
 8005874:	44 20 00 90 	be r1,r0,8005ab4 <rtems_termios_open+0x3f8>    <== NEVER TAKEN
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate cooked buffer                                           
		 */                                                                 
		tty->cbuf  = malloc (CBUFSIZE);                                     
 8005878:	78 01 08 02 	mvhi r1,0x802                                  
 800587c:	38 21 42 34 	ori r1,r1,0x4234                               
 8005880:	28 21 00 00 	lw r1,(r1+0)                                   
 8005884:	f8 00 1c f8 	calli 800cc64 <malloc>                         
 8005888:	5a 21 00 1c 	sw (r17+28),r1                                 
		if (tty->cbuf == NULL) {                                            
 800588c:	44 20 00 9d 	be r1,r0,8005b00 <rtems_termios_open+0x444>    <== NEVER TAKEN
		tty->tty_rcvwakeup  = 0;                                            
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
 8005890:	2a 01 00 00 	lw r1,(r16+0)                                  
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * Initialize wakeup callbacks                                      
		 */                                                                 
		tty->tty_snd.sw_pfn = NULL;                                         
 8005894:	5a 34 00 d4 	sw (r17+212),r20                               
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
 8005898:	5a 34 00 04 	sw (r17+4),r20                                 
		}                                                                   
		/*                                                                  
		 * Initialize wakeup callbacks                                      
		 */                                                                 
		tty->tty_snd.sw_pfn = NULL;                                         
		tty->tty_snd.sw_arg = NULL;                                         
 800589c:	5a 34 00 d8 	sw (r17+216),r20                               
		tty->tty_rcv.sw_pfn = NULL;                                         
 80058a0:	5a 34 00 dc 	sw (r17+220),r20                               
		tty->tty_rcv.sw_arg = NULL;                                         
 80058a4:	5a 34 00 e0 	sw (r17+224),r20                               
		tty->tty_rcvwakeup  = 0;                                            
 80058a8:	5a 34 00 e4 	sw (r17+228),r20                               
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
 80058ac:	5a 21 00 00 	sw (r17+0),r1                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
 80058b0:	44 20 00 02 	be r1,r0,80058b8 <rtems_termios_open+0x1fc>    <== ALWAYS TAKEN
			rtems_termios_ttyHead->back = tty;                                 
 80058b4:	58 31 00 04 	sw (r1+4),r17                                  <== NOT EXECUTED
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
 80058b8:	78 01 08 02 	mvhi r1,0x802                                  
 80058bc:	38 21 49 50 	ori r1,r1,0x4950                               
 80058c0:	28 22 00 00 	lw r2,(r1+0)                                   
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
 80058c4:	5a 11 00 00 	sw (r16+0),r17                                 
		if (rtems_termios_ttyTail == NULL)                                  
 80058c8:	44 40 00 ab 	be r2,r0,8005b74 <rtems_termios_open+0x4b8>    <== ALWAYS TAKEN
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
 80058cc:	78 10 08 02 	mvhi r16,0x802                                 
 80058d0:	3a 10 42 40 	ori r16,r16,0x4240                             
 80058d4:	42 02 00 00 	lbu r2,(r16+0)                                 
 80058d8:	78 01 54 52 	mvhi r1,0x5452                                 
 80058dc:	38 21 69 00 	ori r1,r1,0x6900                               
 80058e0:	b8 41 08 00 	or r1,r2,r1                                    
 80058e4:	34 03 00 54 	mvi r3,84                                      
 80058e8:	34 02 00 01 	mvi r2,1                                       
 80058ec:	34 04 00 00 	mvi r4,0                                       
 80058f0:	36 25 00 14 	addi r5,r17,20                                 
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
			rtems_termios_ttyTail = tty;                                       
                                                                      
		tty->minor = minor;                                                 
 80058f4:	5a 2f 00 10 	sw (r17+16),r15                                
		tty->major = major;                                                 
 80058f8:	5a 2c 00 0c 	sw (r17+12),r12                                
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
 80058fc:	f8 00 03 46 	calli 8006614 <rtems_semaphore_create>         
 8005900:	b8 20 a0 00 	mv r20,r1                                      
			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)                                         
 8005904:	5c 20 00 7e 	bne r1,r0,8005afc <rtems_termios_open+0x440>   <== NEVER TAKEN
			rtems_fatal_error_occurred (sc);                                   
		sc = rtems_semaphore_create (                                       
 8005908:	42 01 00 00 	lbu r1,(r16+0)                                 
 800590c:	78 02 54 52 	mvhi r2,0x5452                                 
 8005910:	38 42 6f 00 	ori r2,r2,0x6f00                               
 8005914:	b8 22 08 00 	or r1,r1,r2                                    
 8005918:	34 03 00 54 	mvi r3,84                                      
 800591c:	34 02 00 01 	mvi r2,1                                       
 8005920:	ba 80 20 00 	mv r4,r20                                      
 8005924:	36 25 00 18 	addi r5,r17,24                                 
 8005928:	f8 00 03 3b 	calli 8006614 <rtems_semaphore_create>         
 800592c:	b8 20 a8 00 	mv r21,r1                                      
			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)                                         
 8005930:	5c 34 00 73 	bne r1,r20,8005afc <rtems_termios_open+0x440>  <== NEVER TAKEN
			rtems_fatal_error_occurred (sc);                                   
		sc = rtems_semaphore_create (                                       
 8005934:	42 02 00 00 	lbu r2,(r16+0)                                 
 8005938:	78 01 54 52 	mvhi r1,0x5452                                 
 800593c:	38 21 78 00 	ori r1,r1,0x7800                               
 8005940:	b8 41 08 00 	or r1,r2,r1                                    
 8005944:	34 03 00 20 	mvi r3,32                                      
 8005948:	ba a0 10 00 	mv r2,r21                                      
 800594c:	ba a0 20 00 	mv r4,r21                                      
 8005950:	36 25 00 8c 	addi r5,r17,140                                
 8005954:	f8 00 03 30 	calli 8006614 <rtems_semaphore_create>         
 8005958:	b8 20 a0 00 	mv r20,r1                                      
			rtems_build_name ('T', 'R', 'x', c),                               
			0,                                                                 
			RTEMS_SIMPLE_BINARY_SEMAPHORE | RTEMS_FIFO,                        
			RTEMS_NO_PRIORITY,                                                 
			&tty->rawOutBuf.Semaphore);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
 800595c:	5c 35 00 68 	bne r1,r21,8005afc <rtems_termios_open+0x440>  <== NEVER TAKEN
		tty->rawOutBufState = rob_idle;                                     
                                                                      
		/*                                                                  
		 * Set callbacks                                                    
		 */                                                                 
		tty->device = *callbacks;                                           
 8005960:	2a 62 00 00 	lw r2,(r19+0)                                  
 8005964:	2a 61 00 1c 	lw r1,(r19+28)                                 
			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;                                     
 8005968:	5a 34 00 94 	sw (r17+148),r20                               
                                                                      
		/*                                                                  
		 * Set callbacks                                                    
		 */                                                                 
		tty->device = *callbacks;                                           
 800596c:	5a 22 00 98 	sw (r17+152),r2                                
 8005970:	2a 62 00 04 	lw r2,(r19+4)                                  
 8005974:	5a 22 00 9c 	sw (r17+156),r2                                
 8005978:	2a 62 00 08 	lw r2,(r19+8)                                  
 800597c:	5a 22 00 a0 	sw (r17+160),r2                                
 8005980:	2a 62 00 0c 	lw r2,(r19+12)                                 
 8005984:	5a 22 00 a4 	sw (r17+164),r2                                
 8005988:	2a 62 00 10 	lw r2,(r19+16)                                 
 800598c:	5a 22 00 a8 	sw (r17+168),r2                                
 8005990:	2a 62 00 14 	lw r2,(r19+20)                                 
 8005994:	5a 22 00 ac 	sw (r17+172),r2                                
 8005998:	2a 73 00 18 	lw r19,(r19+24)                                
                                                                      
		/*                                                                  
		 * Create I/O tasks                                                 
		 */                                                                 
		if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
 800599c:	34 02 00 02 	mvi r2,2                                       
		tty->rawOutBufState = rob_idle;                                     
                                                                      
		/*                                                                  
		 * Set callbacks                                                    
		 */                                                                 
		tty->device = *callbacks;                                           
 80059a0:	5a 21 00 b4 	sw (r17+180),r1                                
 80059a4:	5a 33 00 b0 	sw (r17+176),r19                               
                                                                      
		/*                                                                  
		 * Create I/O tasks                                                 
		 */                                                                 
		if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
 80059a8:	44 22 00 5b 	be r1,r2,8005b14 <rtems_termios_open+0x458>    <== NEVER TAKEN
				   &tty->rxTaskId);                                               
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
                                                                      
		}                                                                   
		if ((tty->device.pollRead == NULL) ||                               
 80059ac:	2a 21 00 a0 	lw r1,(r17+160)                                
 80059b0:	44 20 00 49 	be r1,r0,8005ad4 <rtems_termios_open+0x418>    <== NEVER TAKEN
		    (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){     
 80059b4:	2a 22 00 b4 	lw r2,(r17+180)                                
 80059b8:	34 01 00 02 	mvi r1,2                                       
 80059bc:	44 41 00 46 	be r2,r1,8005ad4 <rtems_termios_open+0x418>    <== NEVER TAKEN
		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;                                                 
 80059c0:	34 01 00 00 	mvi r1,0                                       
 80059c4:	5a 21 00 b8 	sw (r17+184),r1                                
		}                                                                   
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
 80059c8:	34 18 25 02 	mvi r24,9474                                   
		/* 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;                          
 80059cc:	2a 21 00 64 	lw r1,(r17+100)                                
		}                                                                   
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
 80059d0:	5a 38 00 30 	sw (r17+48),r24                                
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
 80059d4:	34 18 18 05 	mvi r24,6149                                   
 80059d8:	5a 38 00 34 	sw (r17+52),r24                                
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
 80059dc:	34 18 08 bd 	mvi r24,2237                                   
		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';                                   
 80059e0:	34 03 00 00 	mvi r3,0                                       
		tty->termios.c_cc[VEOL2] = '\000';                                  
		tty->termios.c_cc[VSTART] = '\021';                                 
 80059e4:	34 0a 00 11 	mvi r10,17                                     
		tty->termios.c_cc[VSTOP] = '\023';                                  
 80059e8:	34 09 00 13 	mvi r9,19                                      
		tty->termios.c_cc[VSUSP] = '\032';                                  
 80059ec:	34 08 00 1a 	mvi r8,26                                      
		tty->termios.c_cc[VREPRINT] = '\022';                               
 80059f0:	34 07 00 12 	mvi r7,18                                      
		tty->termios.c_cc[VDISCARD] = '\017';                               
 80059f4:	34 06 00 0f 	mvi r6,15                                      
		tty->termios.c_cc[VWERASE] = '\027';                                
 80059f8:	34 05 00 17 	mvi r5,23                                      
		tty->termios.c_cc[VLNEXT] = '\026';                                 
 80059fc:	34 04 00 16 	mvi r4,22                                      
		/* 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;                          
 8005a00:	34 02 00 01 	mvi r2,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;                
 8005a04:	5a 38 00 38 	sw (r17+56),r24                                
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
                                                                      
		tty->termios.c_cc[VINTR] = '\003';                                  
 8005a08:	34 17 00 03 	mvi r23,3                                      
		tty->termios.c_cc[VQUIT] = '\034';                                  
 8005a0c:	34 16 00 1c 	mvi r22,28                                     
		tty->termios.c_cc[VERASE] = '\177';                                 
 8005a10:	34 15 00 7f 	mvi r21,127                                    
		tty->termios.c_cc[VKILL] = '\025';                                  
 8005a14:	34 14 00 15 	mvi r20,21                                     
		tty->termios.c_cc[VEOF] = '\004';                                   
 8005a18:	34 13 00 04 	mvi r19,4                                      
		 * 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 = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
 8005a1c:	38 18 82 3b 	mvu r24,0x823b                                 
		tty->termios.c_cc[VQUIT] = '\034';                                  
		tty->termios.c_cc[VERASE] = '\177';                                 
		tty->termios.c_cc[VKILL] = '\025';                                  
		tty->termios.c_cc[VEOF] = '\004';                                   
		tty->termios.c_cc[VEOL] = '\000';                                   
		tty->termios.c_cc[VEOL2] = '\000';                                  
 8005a20:	32 23 00 51 	sb (r17+81),r3                                 
		tty->termios.c_cc[VSTART] = '\021';                                 
 8005a24:	32 2a 00 49 	sb (r17+73),r10                                
		tty->termios.c_cc[VSTOP] = '\023';                                  
 8005a28:	32 29 00 4a 	sb (r17+74),r9                                 
		tty->termios.c_cc[VSUSP] = '\032';                                  
 8005a2c:	32 28 00 4b 	sb (r17+75),r8                                 
		tty->termios.c_cc[VREPRINT] = '\022';                               
 8005a30:	32 27 00 4d 	sb (r17+77),r7                                 
		tty->termios.c_cc[VDISCARD] = '\017';                               
 8005a34:	32 26 00 4e 	sb (r17+78),r6                                 
		tty->termios.c_cc[VWERASE] = '\027';                                
 8005a38:	32 25 00 4f 	sb (r17+79),r5                                 
		tty->termios.c_cc[VLNEXT] = '\026';                                 
 8005a3c:	32 24 00 50 	sb (r17+80),r4                                 
		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';                                   
 8005a40:	32 23 00 4c 	sb (r17+76),r3                                 
		 * 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 = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
 8005a44:	5a 38 00 3c 	sw (r17+60),r24                                
                                                                      
		tty->termios.c_cc[VINTR] = '\003';                                  
 8005a48:	32 37 00 41 	sb (r17+65),r23                                
		tty->termios.c_cc[VQUIT] = '\034';                                  
 8005a4c:	32 36 00 42 	sb (r17+66),r22                                
		tty->termios.c_cc[VERASE] = '\177';                                 
 8005a50:	32 35 00 43 	sb (r17+67),r21                                
		tty->termios.c_cc[VKILL] = '\025';                                  
 8005a54:	32 34 00 44 	sb (r17+68),r20                                
		tty->termios.c_cc[VEOF] = '\004';                                   
 8005a58:	32 33 00 45 	sb (r17+69),r19                                
		/* 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;                          
 8005a5c:	fb ff ee c3 	calli 8001568 <__lshrsi3>                      
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
 8005a60:	2a 23 00 64 	lw r3,(r17+100)                                
		/* 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;                          
 8005a64:	5a 21 00 bc 	sw (r17+188),r1                                
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
 8005a68:	34 02 00 02 	mvi r2,2                                       
 8005a6c:	b4 63 08 00 	add r1,r3,r3                                   
 8005a70:	b4 23 08 00 	add r1,r1,r3                                   
 8005a74:	fb ff ee bd 	calli 8001568 <__lshrsi3>                      
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
 8005a78:	42 02 00 00 	lbu r2,(r16+0)                                 
		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;                          
 8005a7c:	5a 21 00 c0 	sw (r17+192),r1                                
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
 8005a80:	34 41 00 01 	addi r1,r2,1                                   
 8005a84:	32 01 00 00 	sb (r16+0),r1                                  
 8005a88:	34 01 00 7a 	mvi r1,122                                     
 8005a8c:	5c 41 ff 33 	bne r2,r1,8005758 <rtems_termios_open+0x9c>    <== ALWAYS TAKEN
			c = 'a';                                                           
 8005a90:	34 01 00 61 	mvi r1,97                                      <== NOT EXECUTED
 8005a94:	32 01 00 00 	sb (r16+0),r1                                  <== NOT EXECUTED
 8005a98:	e3 ff ff 30 	bi 8005758 <rtems_termios_open+0x9c>           <== NOT EXECUTED
		 * allocate raw input buffer                                        
		 */                                                                 
		tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                         
		tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);                 
		if (tty->rawInBuf.theBuf == NULL) {                                 
		        free(tty);                                                  
 8005a9c:	ba 20 08 00 	mv r1,r17                                      <== NOT EXECUTED
 8005aa0:	f8 00 1b 69 	calli 800c844 <free>                           <== NOT EXECUTED
			rtems_semaphore_release (rtems_termios_ttyMutex);                  
 8005aa4:	29 a1 00 00 	lw r1,(r13+0)                                  <== NOT EXECUTED
 8005aa8:	34 0e 00 1a 	mvi r14,26                                     <== NOT EXECUTED
 8005aac:	f8 00 03 f8 	calli 8006a8c <rtems_semaphore_release>        <== NOT EXECUTED
			return RTEMS_NO_MEMORY;                                            
 8005ab0:	e3 ff ff 3b 	bi 800579c <rtems_termios_open+0xe0>           <== NOT EXECUTED
		 * allocate raw output buffer                                       
		 */                                                                 
		tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                       
		tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);               
		if (tty->rawOutBuf.theBuf == NULL) {                                
		        free((void *)(tty->rawInBuf.theBuf));                       
 8005ab4:	2a 21 00 58 	lw r1,(r17+88)                                 <== NOT EXECUTED
		        free(tty);                                                  
			rtems_semaphore_release (rtems_termios_ttyMutex);                  
 8005ab8:	34 0e 00 1a 	mvi r14,26                                     <== NOT EXECUTED
		 * allocate cooked buffer                                           
		 */                                                                 
		tty->cbuf  = malloc (CBUFSIZE);                                     
		if (tty->cbuf == NULL) {                                            
		        free((void *)(tty->rawOutBuf.theBuf));                      
		        free((void *)(tty->rawInBuf.theBuf));                       
 8005abc:	f8 00 1b 62 	calli 800c844 <free>                           <== NOT EXECUTED
		        free(tty);                                                  
 8005ac0:	ba 20 08 00 	mv r1,r17                                      <== NOT EXECUTED
 8005ac4:	f8 00 1b 60 	calli 800c844 <free>                           <== NOT EXECUTED
			rtems_semaphore_release (rtems_termios_ttyMutex);                  
 8005ac8:	29 a1 00 00 	lw r1,(r13+0)                                  <== NOT EXECUTED
 8005acc:	f8 00 03 f0 	calli 8006a8c <rtems_semaphore_release>        <== NOT EXECUTED
			return RTEMS_NO_MEMORY;                                            
 8005ad0:	e3 ff ff 33 	bi 800579c <rtems_termios_open+0xe0>           <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
                                                                      
		}                                                                   
		if ((tty->device.pollRead == NULL) ||                               
		    (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){     
			sc = rtems_semaphore_create (                                      
 8005ad4:	42 03 00 00 	lbu r3,(r16+0)                                 <== NOT EXECUTED
 8005ad8:	78 01 54 52 	mvhi r1,0x5452                                 <== NOT EXECUTED
 8005adc:	38 21 72 00 	ori r1,r1,0x7200                               <== NOT EXECUTED
 8005ae0:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 8005ae4:	b8 61 08 00 	or r1,r3,r1                                    <== NOT EXECUTED
 8005ae8:	b8 40 20 00 	mv r4,r2                                       <== NOT EXECUTED
 8005aec:	34 03 00 24 	mvi r3,36                                      <== NOT EXECUTED
 8005af0:	36 25 00 68 	addi r5,r17,104                                <== NOT EXECUTED
 8005af4:	f8 00 02 c8 	calli 8006614 <rtems_semaphore_create>         <== NOT EXECUTED
				rtems_build_name ('T', 'R', 'r', c),                              
				0,                                                                
				RTEMS_SIMPLE_BINARY_SEMAPHORE | RTEMS_PRIORITY,                   
				RTEMS_NO_PRIORITY,                                                
				&tty->rawInBuf.Semaphore);                                        
			if (sc != RTEMS_SUCCESSFUL)                                        
 8005af8:	44 20 ff b2 	be r1,r0,80059c0 <rtems_termios_open+0x304>    <== NOT EXECUTED
                                                                      
	    sc = rtems_task_start(tty->txTaskId,                             
				  rtems_termios_txdaemon,                                         
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
	      rtems_fatal_error_occurred (sc);                               
 8005afc:	f8 00 05 af 	calli 80071b8 <rtems_fatal_error_occurred>     <== NOT EXECUTED
		/*                                                                  
		 * allocate cooked buffer                                           
		 */                                                                 
		tty->cbuf  = malloc (CBUFSIZE);                                     
		if (tty->cbuf == NULL) {                                            
		        free((void *)(tty->rawOutBuf.theBuf));                      
 8005b00:	2a 21 00 7c 	lw r1,(r17+124)                                <== NOT EXECUTED
		        free((void *)(tty->rawInBuf.theBuf));                       
		        free(tty);                                                  
			rtems_semaphore_release (rtems_termios_ttyMutex);                  
 8005b04:	34 0e 00 1a 	mvi r14,26                                     <== NOT EXECUTED
		/*                                                                  
		 * allocate cooked buffer                                           
		 */                                                                 
		tty->cbuf  = malloc (CBUFSIZE);                                     
		if (tty->cbuf == NULL) {                                            
		        free((void *)(tty->rawOutBuf.theBuf));                      
 8005b08:	f8 00 1b 4f 	calli 800c844 <free>                           <== NOT EXECUTED
		        free((void *)(tty->rawInBuf.theBuf));                       
 8005b0c:	2a 21 00 58 	lw r1,(r17+88)                                 <== NOT EXECUTED
 8005b10:	e3 ff ff eb 	bi 8005abc <rtems_termios_open+0x400>          <== NOT EXECUTED
                                                                      
		/*                                                                  
		 * Create I/O tasks                                                 
		 */                                                                 
		if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
			sc = rtems_task_create (                                           
 8005b14:	42 02 00 00 	lbu r2,(r16+0)                                 <== NOT EXECUTED
 8005b18:	78 01 54 78 	mvhi r1,0x5478                                 <== NOT EXECUTED
 8005b1c:	38 21 54 00 	ori r1,r1,0x5400                               <== NOT EXECUTED
 8005b20:	b8 41 08 00 	or r1,r2,r1                                    <== NOT EXECUTED
 8005b24:	34 03 04 00 	mvi r3,1024                                    <== NOT EXECUTED
 8005b28:	34 02 00 0a 	mvi r2,10                                      <== NOT EXECUTED
 8005b2c:	34 04 05 00 	mvi r4,1280                                    <== NOT EXECUTED
 8005b30:	ba 80 28 00 	mv r5,r20                                      <== NOT EXECUTED
 8005b34:	36 26 00 c8 	addi r6,r17,200                                <== NOT EXECUTED
 8005b38:	f8 00 04 1e 	calli 8006bb0 <rtems_task_create>              <== NOT EXECUTED
 8005b3c:	b8 20 98 00 	mv r19,r1                                      <== NOT EXECUTED
				   TERMIOS_TXTASK_STACKSIZE,                                      
				   RTEMS_NO_PREEMPT | RTEMS_NO_TIMESLICE |                        
				   RTEMS_NO_ASR,                                                  
				   RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                         
				   &tty->txTaskId);                                               
			if (sc != RTEMS_SUCCESSFUL)                                        
 8005b40:	5c 34 ff ef 	bne r1,r20,8005afc <rtems_termios_open+0x440>  <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
			sc = rtems_task_create (                                           
 8005b44:	42 01 00 00 	lbu r1,(r16+0)                                 <== NOT EXECUTED
 8005b48:	78 02 52 78 	mvhi r2,0x5278                                 <== NOT EXECUTED
 8005b4c:	38 42 54 00 	ori r2,r2,0x5400                               <== NOT EXECUTED
 8005b50:	b8 22 08 00 	or r1,r1,r2                                    <== NOT EXECUTED
 8005b54:	34 03 04 00 	mvi r3,1024                                    <== NOT EXECUTED
 8005b58:	34 02 00 09 	mvi r2,9                                       <== NOT EXECUTED
 8005b5c:	34 04 05 00 	mvi r4,1280                                    <== NOT EXECUTED
 8005b60:	ba 60 28 00 	mv r5,r19                                      <== NOT EXECUTED
 8005b64:	36 26 00 c4 	addi r6,r17,196                                <== NOT EXECUTED
 8005b68:	f8 00 04 12 	calli 8006bb0 <rtems_task_create>              <== NOT EXECUTED
				   TERMIOS_RXTASK_STACKSIZE,                                      
				   RTEMS_NO_PREEMPT | RTEMS_NO_TIMESLICE |                        
				   RTEMS_NO_ASR,                                                  
				   RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                         
				   &tty->rxTaskId);                                               
			if (sc != RTEMS_SUCCESSFUL)                                        
 8005b6c:	44 33 ff 90 	be r1,r19,80059ac <rtems_termios_open+0x2f0>   <== NOT EXECUTED
 8005b70:	e3 ff ff e3 	bi 8005afc <rtems_termios_open+0x440>          <== 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;                                       
 8005b74:	58 31 00 00 	sw (r1+0),r17                                  
 8005b78:	e3 ff ff 55 	bi 80058cc <rtems_termios_open+0x210>          
                                                                      
080042dc <rtems_termios_puts>:                                        
 * Send characters to device-specific code                            
 */                                                                   
void                                                                  
rtems_termios_puts (                                                  
  const void *_buf, int len, struct rtems_termios_tty *tty)           
{                                                                     
 80042dc:	37 9c ff d8 	addi sp,sp,-40                                 <== NOT EXECUTED
 80042e0:	5b 8b 00 28 	sw (sp+40),r11                                 <== NOT EXECUTED
 80042e4:	5b 8c 00 24 	sw (sp+36),r12                                 <== NOT EXECUTED
 80042e8:	5b 8d 00 20 	sw (sp+32),r13                                 <== NOT EXECUTED
 80042ec:	5b 8e 00 1c 	sw (sp+28),r14                                 <== NOT EXECUTED
 80042f0:	5b 8f 00 18 	sw (sp+24),r15                                 <== NOT EXECUTED
 80042f4:	5b 90 00 14 	sw (sp+20),r16                                 <== NOT EXECUTED
 80042f8:	5b 91 00 10 	sw (sp+16),r17                                 <== NOT EXECUTED
 80042fc:	5b 92 00 0c 	sw (sp+12),r18                                 <== NOT EXECUTED
 8004300:	5b 93 00 08 	sw (sp+8),r19                                  <== NOT EXECUTED
 8004304:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
	const unsigned char *buf = _buf;                                     
	unsigned int newHead;                                                
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {            
 8004308:	28 64 00 b4 	lw r4,(r3+180)                                 <== NOT EXECUTED
 * Send characters to device-specific code                            
 */                                                                   
void                                                                  
rtems_termios_puts (                                                  
  const void *_buf, int len, struct rtems_termios_tty *tty)           
{                                                                     
 800430c:	b8 60 58 00 	mv r11,r3                                      <== NOT EXECUTED
 8004310:	b8 40 80 00 	mv r16,r2                                      <== NOT EXECUTED
 8004314:	b8 20 18 00 	mv r3,r1                                       <== NOT EXECUTED
	const unsigned char *buf = _buf;                                     
 8004318:	b8 20 88 00 	mv r17,r1                                      <== NOT EXECUTED
	unsigned int newHead;                                                
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {            
 800431c:	44 80 00 39 	be r4,r0,8004400 <rtems_termios_puts+0x124>    <== NOT EXECUTED
		(*tty->device.write)(tty->minor, (void *)buf, len);                 
		return;                                                             
	}                                                                    
	newHead = tty->rawOutBuf.Head;                                       
 8004320:	29 6f 00 80 	lw r15,(r11+128)                               <== NOT EXECUTED
	while (len) {                                                        
 8004324:	44 40 00 3c 	be r2,r0,8004414 <rtems_termios_puts+0x138>    <== NOT EXECUTED
		 *                                                                  
		 * To minimize latency, the memcpy should be done                   
		 * with interrupts enabled.                                         
		 */                                                                 
		newHead = (newHead + 1) % tty->rawOutBuf.Size;                      
		rtems_interrupt_disable (level);                                    
 8004328:	34 0d ff fe 	mvi r13,-2                                     <== NOT EXECUTED
		while (newHead == tty->rawOutBuf.Tail) {                            
			tty->rawOutBufState = rob_wait;                                    
 800432c:	34 0e 00 02 	mvi r14,2                                      <== NOT EXECUTED
		  }                                                                 
		  else {                                                            
		    /* remember that output has been stopped due to flow ctrl*/     
		    tty->flow_ctrl |= FL_OSTOP;                                     
		  }                                                                 
		  tty->rawOutBufState = rob_busy;                                   
 8004330:	34 13 00 01 	mvi r19,1                                      <== NOT EXECUTED
		 *	len -= ncopy                                                     
		 *                                                                  
		 * To minimize latency, the memcpy should be done                   
		 * with interrupts enabled.                                         
		 */                                                                 
		newHead = (newHead + 1) % tty->rawOutBuf.Size;                      
 8004334:	29 62 00 88 	lw r2,(r11+136)                                <== NOT EXECUTED
 8004338:	35 e1 00 01 	addi r1,r15,1                                  <== NOT EXECUTED
 800433c:	f8 00 71 5b 	calli 80208a8 <__umodsi3>                      <== NOT EXECUTED
 8004340:	b8 20 78 00 	mv r15,r1                                      <== NOT EXECUTED
		rtems_interrupt_disable (level);                                    
 8004344:	90 00 20 00 	rcsr r4,IE                                     <== NOT EXECUTED
 8004348:	a0 8d 08 00 	and r1,r4,r13                                  <== NOT EXECUTED
 800434c:	d0 01 00 00 	wcsr IE,r1                                     <== NOT EXECUTED
		while (newHead == tty->rawOutBuf.Tail) {                            
 8004350:	29 6c 00 84 	lw r12,(r11+132)                               <== NOT EXECUTED
 8004354:	b8 80 90 00 	mv r18,r4                                      <== NOT EXECUTED
 8004358:	5d 8f 00 0e 	bne r12,r15,8004390 <rtems_termios_puts+0xb4>  <== NOT EXECUTED
			tty->rawOutBufState = rob_wait;                                    
 800435c:	59 6e 00 94 	sw (r11+148),r14                               <== NOT EXECUTED
			rtems_interrupt_enable (level);                                    
 8004360:	d0 04 00 00 	wcsr IE,r4                                     <== NOT EXECUTED
			sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,             
 8004364:	29 61 00 8c 	lw r1,(r11+140)                                <== NOT EXECUTED
 8004368:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 800436c:	b8 40 18 00 	mv r3,r2                                       <== NOT EXECUTED
 8004370:	f8 00 09 66 	calli 8006908 <rtems_semaphore_obtain>         <== NOT EXECUTED
							RTEMS_WAIT,                                                    
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
 8004374:	5c 20 00 34 	bne r1,r0,8004444 <rtems_termios_puts+0x168>   <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
			rtems_interrupt_disable (level);                                   
 8004378:	90 00 20 00 	rcsr r4,IE                                     <== NOT EXECUTED
 800437c:	a0 8d 28 00 	and r5,r4,r13                                  <== NOT EXECUTED
 8004380:	d0 05 00 00 	wcsr IE,r5                                     <== NOT EXECUTED
		 * 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) {                            
 8004384:	29 65 00 84 	lw r5,(r11+132)                                <== NOT EXECUTED
 8004388:	44 ac ff f5 	be r5,r12,800435c <rtems_termios_puts+0x80>    <== NOT EXECUTED
 800438c:	b8 80 90 00 	mv r18,r4                                      <== NOT EXECUTED
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
			rtems_interrupt_disable (level);                                   
		}                                                                   
		tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;                
 8004390:	29 61 00 80 	lw r1,(r11+128)                                <== NOT EXECUTED
 8004394:	29 62 00 7c 	lw r2,(r11+124)                                <== NOT EXECUTED
 8004398:	b4 41 08 00 	add r1,r2,r1                                   <== NOT EXECUTED
 800439c:	42 22 00 00 	lbu r2,(r17+0)                                 <== NOT EXECUTED
 80043a0:	30 22 00 00 	sb (r1+0),r2                                   <== NOT EXECUTED
		tty->rawOutBuf.Head = newHead;                                      
		if (tty->rawOutBufState == rob_idle) {                              
 80043a4:	29 61 00 94 	lw r1,(r11+148)                                <== NOT EXECUTED
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
			rtems_interrupt_disable (level);                                   
		}                                                                   
		tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;                
		tty->rawOutBuf.Head = newHead;                                      
 80043a8:	59 6f 00 80 	sw (r11+128),r15                               <== NOT EXECUTED
		if (tty->rawOutBufState == rob_idle) {                              
 80043ac:	5c 20 00 08 	bne r1,r0,80043cc <rtems_termios_puts+0xf0>    <== NOT EXECUTED
		  /* check, whether XOFF has been received */                       
		  if (!(tty->flow_ctrl & FL_ORCVXOF)) {                             
 80043b0:	29 62 00 b8 	lw r2,(r11+184)                                <== NOT EXECUTED
 80043b4:	20 42 00 10 	andi r2,r2,0x10                                <== NOT EXECUTED
 80043b8:	44 41 00 0a 	be r2,r1,80043e0 <rtems_termios_puts+0x104>    <== NOT EXECUTED
		    (*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;                                     
 80043bc:	29 61 00 b8 	lw r1,(r11+184)                                <== NOT EXECUTED
 80043c0:	38 21 00 20 	ori r1,r1,0x20                                 <== NOT EXECUTED
 80043c4:	59 61 00 b8 	sw (r11+184),r1                                <== NOT EXECUTED
		  }                                                                 
		  tty->rawOutBufState = rob_busy;                                   
 80043c8:	59 73 00 94 	sw (r11+148),r19                               <== NOT EXECUTED
		}                                                                   
		rtems_interrupt_enable (level);                                     
 80043cc:	d0 12 00 00 	wcsr IE,r18                                    <== NOT EXECUTED
		len--;                                                              
 80043d0:	36 10 ff ff 	addi r16,r16,-1                                <== NOT EXECUTED
	if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {            
		(*tty->device.write)(tty->minor, (void *)buf, len);                 
		return;                                                             
	}                                                                    
	newHead = tty->rawOutBuf.Head;                                       
	while (len) {                                                        
 80043d4:	46 00 00 10 	be r16,r0,8004414 <rtems_termios_puts+0x138>   <== NOT EXECUTED
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
			rtems_interrupt_disable (level);                                   
		}                                                                   
		tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;                
 80043d8:	36 31 00 01 	addi r17,r17,1                                 <== NOT EXECUTED
 80043dc:	e3 ff ff d6 	bi 8004334 <rtems_termios_puts+0x58>           <== NOT EXECUTED
		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,                                
 80043e0:	29 63 00 7c 	lw r3,(r11+124)                                <== NOT EXECUTED
			(char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);            
 80043e4:	29 62 00 84 	lw r2,(r11+132)                                <== NOT EXECUTED
		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,                                
 80043e8:	29 64 00 a4 	lw r4,(r11+164)                                <== NOT EXECUTED
 80043ec:	29 61 00 10 	lw r1,(r11+16)                                 <== NOT EXECUTED
 80043f0:	b4 62 10 00 	add r2,r3,r2                                   <== NOT EXECUTED
 80043f4:	34 03 00 01 	mvi r3,1                                       <== NOT EXECUTED
 80043f8:	d8 80 00 00 	call r4                                        <== NOT EXECUTED
 80043fc:	e3 ff ff f3 	bi 80043c8 <rtems_termios_puts+0xec>           <== NOT EXECUTED
	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);                 
 8004400:	29 61 00 10 	lw r1,(r11+16)                                 <== NOT EXECUTED
 8004404:	29 64 00 a4 	lw r4,(r11+164)                                <== NOT EXECUTED
 8004408:	b8 60 10 00 	mv r2,r3                                       <== NOT EXECUTED
 800440c:	ba 00 18 00 	mv r3,r16                                      <== NOT EXECUTED
 8004410:	d8 80 00 00 	call r4                                        <== NOT EXECUTED
		  tty->rawOutBufState = rob_busy;                                   
		}                                                                   
		rtems_interrupt_enable (level);                                     
		len--;                                                              
	}                                                                    
}                                                                     
 8004414:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8004418:	2b 8b 00 28 	lw r11,(sp+40)                                 <== NOT EXECUTED
 800441c:	2b 8c 00 24 	lw r12,(sp+36)                                 <== NOT EXECUTED
 8004420:	2b 8d 00 20 	lw r13,(sp+32)                                 <== NOT EXECUTED
 8004424:	2b 8e 00 1c 	lw r14,(sp+28)                                 <== NOT EXECUTED
 8004428:	2b 8f 00 18 	lw r15,(sp+24)                                 <== NOT EXECUTED
 800442c:	2b 90 00 14 	lw r16,(sp+20)                                 <== NOT EXECUTED
 8004430:	2b 91 00 10 	lw r17,(sp+16)                                 <== NOT EXECUTED
 8004434:	2b 92 00 0c 	lw r18,(sp+12)                                 <== NOT EXECUTED
 8004438:	2b 93 00 08 	lw r19,(sp+8)                                  <== NOT EXECUTED
 800443c:	37 9c 00 28 	addi sp,sp,40                                  <== NOT EXECUTED
 8004440:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
			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);                                  
 8004444:	f8 00 0b 5d 	calli 80071b8 <rtems_fatal_error_occurred>     <== NOT EXECUTED
                                                                      
08004cd8 <rtems_termios_read>:                                        
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
 8004cd8:	37 9c ff cc 	addi sp,sp,-52                                 <== NOT EXECUTED
 8004cdc:	5b 8b 00 34 	sw (sp+52),r11                                 <== NOT EXECUTED
 8004ce0:	5b 8c 00 30 	sw (sp+48),r12                                 <== NOT EXECUTED
 8004ce4:	5b 8d 00 2c 	sw (sp+44),r13                                 <== NOT EXECUTED
 8004ce8:	5b 8e 00 28 	sw (sp+40),r14                                 <== NOT EXECUTED
 8004cec:	5b 8f 00 24 	sw (sp+36),r15                                 <== NOT EXECUTED
 8004cf0:	5b 90 00 20 	sw (sp+32),r16                                 <== NOT EXECUTED
 8004cf4:	5b 91 00 1c 	sw (sp+28),r17                                 <== NOT EXECUTED
 8004cf8:	5b 92 00 18 	sw (sp+24),r18                                 <== NOT EXECUTED
 8004cfc:	5b 93 00 14 	sw (sp+20),r19                                 <== NOT EXECUTED
 8004d00:	5b 94 00 10 	sw (sp+16),r20                                 <== NOT EXECUTED
 8004d04:	5b 95 00 0c 	sw (sp+12),r21                                 <== NOT EXECUTED
 8004d08:	5b 96 00 08 	sw (sp+8),r22                                  <== NOT EXECUTED
 8004d0c:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 8004d10:	b8 20 80 00 	mv r16,r1                                      <== NOT EXECUTED
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
 8004d14:	28 21 00 00 	lw r1,(r1+0)                                   <== NOT EXECUTED
	uint32_t   count = args->count;                                      
	char      *buffer = args->buffer;                                    
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
 8004d18:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 8004d1c:	b8 40 18 00 	mv r3,r2                                       <== NOT EXECUTED
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
 8004d20:	28 2b 00 38 	lw r11,(r1+56)                                 <== NOT EXECUTED
	uint32_t   count = args->count;                                      
 8004d24:	2a 0e 00 14 	lw r14,(r16+20)                                <== NOT EXECUTED
	char      *buffer = args->buffer;                                    
 8004d28:	2a 0f 00 10 	lw r15,(r16+16)                                <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
 8004d2c:	29 61 00 14 	lw r1,(r11+20)                                 <== NOT EXECUTED
 8004d30:	f8 00 06 f6 	calli 8006908 <rtems_semaphore_obtain>         <== NOT EXECUTED
 8004d34:	b8 20 88 00 	mv r17,r1                                      <== NOT EXECUTED
	if (sc != RTEMS_SUCCESSFUL)                                          
 8004d38:	5c 20 00 14 	bne r1,r0,8004d88 <rtems_termios_read+0xb0>    <== NOT EXECUTED
		return sc;                                                          
	if (rtems_termios_linesw[tty->t_line].l_read != NULL) {              
 8004d3c:	29 61 00 cc 	lw r1,(r11+204)                                <== NOT EXECUTED
 8004d40:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 8004d44:	78 0c 08 02 	mvhi r12,0x802                                 <== NOT EXECUTED
 8004d48:	fb ff f1 e0 	calli 80014c8 <__ashlsi3>                      <== NOT EXECUTED
 8004d4c:	34 21 00 01 	addi r1,r1,1                                   <== NOT EXECUTED
 8004d50:	34 02 00 03 	mvi r2,3                                       <== NOT EXECUTED
 8004d54:	fb ff f1 dd 	calli 80014c8 <__ashlsi3>                      <== NOT EXECUTED
 8004d58:	39 8c 47 7c 	ori r12,r12,0x477c                             <== NOT EXECUTED
 8004d5c:	b5 81 08 00 	add r1,r12,r1                                  <== NOT EXECUTED
 8004d60:	28 23 00 00 	lw r3,(r1+0)                                   <== NOT EXECUTED
 8004d64:	44 71 00 19 	be r3,r17,8004dc8 <rtems_termios_read+0xf0>    <== NOT EXECUTED
		sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);            
 8004d68:	ba 00 10 00 	mv r2,r16                                      <== NOT EXECUTED
 8004d6c:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8004d70:	d8 60 00 00 	call r3                                        <== NOT EXECUTED
 8004d74:	b8 20 88 00 	mv r17,r1                                      <== NOT EXECUTED
		tty->tty_rcvwakeup = 0;                                             
		rtems_semaphore_release (tty->isem);                                
 8004d78:	29 61 00 14 	lw r1,(r11+20)                                 <== NOT EXECUTED
	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);            
		tty->tty_rcvwakeup = 0;                                             
 8004d7c:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 8004d80:	59 62 00 e4 	sw (r11+228),r2                                <== NOT EXECUTED
		rtems_semaphore_release (tty->isem);                                
 8004d84:	f8 00 07 42 	calli 8006a8c <rtems_semaphore_release>        <== NOT EXECUTED
	}                                                                    
	args->bytes_moved = args->count - count;                             
	tty->tty_rcvwakeup = 0;                                              
	rtems_semaphore_release (tty->isem);                                 
	return sc;                                                           
}                                                                     
 8004d88:	ba 20 08 00 	mv r1,r17                                      <== NOT EXECUTED
 8004d8c:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8004d90:	2b 8b 00 34 	lw r11,(sp+52)                                 <== NOT EXECUTED
 8004d94:	2b 8c 00 30 	lw r12,(sp+48)                                 <== NOT EXECUTED
 8004d98:	2b 8d 00 2c 	lw r13,(sp+44)                                 <== NOT EXECUTED
 8004d9c:	2b 8e 00 28 	lw r14,(sp+40)                                 <== NOT EXECUTED
 8004da0:	2b 8f 00 24 	lw r15,(sp+36)                                 <== NOT EXECUTED
 8004da4:	2b 90 00 20 	lw r16,(sp+32)                                 <== NOT EXECUTED
 8004da8:	2b 91 00 1c 	lw r17,(sp+28)                                 <== NOT EXECUTED
 8004dac:	2b 92 00 18 	lw r18,(sp+24)                                 <== NOT EXECUTED
 8004db0:	2b 93 00 14 	lw r19,(sp+20)                                 <== NOT EXECUTED
 8004db4:	2b 94 00 10 	lw r20,(sp+16)                                 <== NOT EXECUTED
 8004db8:	2b 95 00 0c 	lw r21,(sp+12)                                 <== NOT EXECUTED
 8004dbc:	2b 96 00 08 	lw r22,(sp+8)                                  <== NOT EXECUTED
 8004dc0:	37 9c 00 34 	addi sp,sp,52                                  <== NOT EXECUTED
 8004dc4:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
		sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);            
		tty->tty_rcvwakeup = 0;                                             
		rtems_semaphore_release (tty->isem);                                
		return sc;                                                          
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
 8004dc8:	29 62 00 24 	lw r2,(r11+36)                                 <== NOT EXECUTED
 8004dcc:	29 61 00 20 	lw r1,(r11+32)                                 <== NOT EXECUTED
 8004dd0:	44 41 00 16 	be r2,r1,8004e28 <rtems_termios_read+0x150>    <== NOT EXECUTED
		else                                                                
			sc = fillBufferQueue (tty);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			tty->cindex = tty->ccount = 0;                                     
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
 8004dd4:	45 c0 00 0d 	be r14,r0,8004e08 <rtems_termios_read+0x130>   <== NOT EXECUTED
 8004dd8:	29 63 00 24 	lw r3,(r11+36)                                 <== NOT EXECUTED
 8004ddc:	29 61 00 20 	lw r1,(r11+32)                                 <== NOT EXECUTED
 8004de0:	4c 61 00 0a 	bge r3,r1,8004e08 <rtems_termios_read+0x130>   <== NOT EXECUTED
		*buffer++ = tty->cbuf[tty->cindex++];                               
 8004de4:	29 61 00 1c 	lw r1,(r11+28)                                 <== NOT EXECUTED
		count--;                                                            
 8004de8:	35 ce ff ff 	addi r14,r14,-1                                <== NOT EXECUTED
			sc = fillBufferQueue (tty);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			tty->cindex = tty->ccount = 0;                                     
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
		*buffer++ = tty->cbuf[tty->cindex++];                               
 8004dec:	b4 23 08 00 	add r1,r1,r3                                   <== NOT EXECUTED
 8004df0:	40 21 00 00 	lbu r1,(r1+0)                                  <== NOT EXECUTED
 8004df4:	34 63 00 01 	addi r3,r3,1                                   <== NOT EXECUTED
 8004df8:	31 e1 00 00 	sb (r15+0),r1                                  <== NOT EXECUTED
 8004dfc:	59 63 00 24 	sw (r11+36),r3                                 <== NOT EXECUTED
 8004e00:	35 ef 00 01 	addi r15,r15,1                                 <== NOT EXECUTED
		else                                                                
			sc = fillBufferQueue (tty);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			tty->cindex = tty->ccount = 0;                                     
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
 8004e04:	5d c0 ff f6 	bne r14,r0,8004ddc <rtems_termios_read+0x104>  <== NOT EXECUTED
		*buffer++ = tty->cbuf[tty->cindex++];                               
		count--;                                                            
	}                                                                    
	args->bytes_moved = args->count - count;                             
 8004e08:	2a 02 00 14 	lw r2,(r16+20)                                 <== NOT EXECUTED
	tty->tty_rcvwakeup = 0;                                              
 8004e0c:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 8004e10:	59 61 00 e4 	sw (r11+228),r1                                <== NOT EXECUTED
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
		*buffer++ = tty->cbuf[tty->cindex++];                               
		count--;                                                            
	}                                                                    
	args->bytes_moved = args->count - count;                             
 8004e14:	c8 4e 70 00 	sub r14,r2,r14                                 <== NOT EXECUTED
 8004e18:	5a 0e 00 1c 	sw (r16+28),r14                                <== NOT EXECUTED
	tty->tty_rcvwakeup = 0;                                              
	rtems_semaphore_release (tty->isem);                                 
 8004e1c:	29 61 00 14 	lw r1,(r11+20)                                 <== NOT EXECUTED
 8004e20:	f8 00 07 1b 	calli 8006a8c <rtems_semaphore_release>        <== NOT EXECUTED
	return sc;                                                           
 8004e24:	e3 ff ff d9 	bi 8004d88 <rtems_termios_read+0xb0>           <== NOT EXECUTED
		rtems_semaphore_release (tty->isem);                                
		return sc;                                                          
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
		tty->cindex = tty->ccount = 0;                                      
		tty->read_start_column = tty->column;                               
 8004e28:	29 61 00 28 	lw r1,(r11+40)                                 <== NOT EXECUTED
		if (tty->device.pollRead != NULL                                    
		    && tty->device.outputUsesInterrupts == TERMIOS_POLLED)          
 8004e2c:	29 62 00 a0 	lw r2,(r11+160)                                <== NOT EXECUTED
		tty->tty_rcvwakeup = 0;                                             
		rtems_semaphore_release (tty->isem);                                
		return sc;                                                          
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
		tty->cindex = tty->ccount = 0;                                      
 8004e30:	59 71 00 20 	sw (r11+32),r17                                <== NOT EXECUTED
		tty->read_start_column = tty->column;                               
 8004e34:	59 61 00 2c 	sw (r11+44),r1                                 <== NOT EXECUTED
		tty->tty_rcvwakeup = 0;                                             
		rtems_semaphore_release (tty->isem);                                
		return sc;                                                          
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
		tty->cindex = tty->ccount = 0;                                      
 8004e38:	59 71 00 24 	sw (r11+36),r17                                <== NOT EXECUTED
		tty->read_start_column = tty->column;                               
		if (tty->device.pollRead != NULL                                    
 8004e3c:	44 40 00 03 	be r2,r0,8004e48 <rtems_termios_read+0x170>    <== NOT EXECUTED
		    && tty->device.outputUsesInterrupts == TERMIOS_POLLED)          
 8004e40:	29 61 00 b4 	lw r1,(r11+180)                                <== NOT EXECUTED
 8004e44:	44 20 00 5a 	be r1,r0,8004fac <rtems_termios_read+0x2d4>    <== NOT EXECUTED
 * Fill the input buffer from the raw input queue                     
 */                                                                   
static rtems_status_code                                              
fillBufferQueue (struct rtems_termios_tty *tty)                       
{                                                                     
	rtems_interval timeout = tty->rawInBufSemaphoreFirstTimeout;         
 8004e48:	29 6d 00 74 	lw r13,(r11+116)                               <== NOT EXECUTED
                                                                      
	while ( wait ) {                                                     
		/*                                                                  
		 * Process characters read from raw queue                           
		 */                                                                 
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
 8004e4c:	78 0c 08 02 	mvhi r12,0x802                                 <== NOT EXECUTED
 8004e50:	39 8c 42 34 	ori r12,r12,0x4234                             <== NOT EXECUTED
			  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)(tty->minor,                               
 8004e54:	35 76 00 49 	addi r22,r11,73                                <== NOT EXECUTED
 8004e58:	34 12 00 01 	mvi r18,1                                      <== NOT EXECUTED
			c = tty->rawInBuf.theBuf[newHead];                                 
			tty->rawInBuf.Head = newHead;                                      
			if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)                
			    % tty->rawInBuf.Size)                                          
			   < tty->lowwater) {                                              
			  tty->flow_ctrl &= ~FL_IREQXOF;                                   
 8004e5c:	34 14 ff fe 	mvi r20,-2                                     <== NOT EXECUTED
			  /* if tx stopped and XON should be sent... */                    
			  if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))                  
 8004e60:	34 13 02 02 	mvi r19,514                                    <== NOT EXECUTED
			    (*tty->device.write)(tty->minor,                               
				(void *)&(tty->termios.c_cc[VSTART]),                             
				1);                                                               
			  }                                                                
			  else if (tty->flow_ctrl & FL_MDRTS) {                            
			    tty->flow_ctrl &= ~FL_IRTSOFF;                                 
 8004e64:	34 15 ff fb 	mvi r21,-5                                     <== NOT EXECUTED
                                                                      
	while ( wait ) {                                                     
		/*                                                                  
		 * Process characters read from raw queue                           
		 */                                                                 
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
 8004e68:	29 63 00 5c 	lw r3,(r11+92)                                 <== NOT EXECUTED
 8004e6c:	29 61 00 60 	lw r1,(r11+96)                                 <== NOT EXECUTED
 8004e70:	44 61 00 05 	be r3,r1,8004e84 <rtems_termios_read+0x1ac>    <== NOT EXECUTED
 8004e74:	29 81 00 00 	lw r1,(r12+0)                                  <== NOT EXECUTED
 8004e78:	29 62 00 20 	lw r2,(r11+32)                                 <== NOT EXECUTED
 8004e7c:	34 21 ff ff 	addi r1,r1,-1                                  <== NOT EXECUTED
 8004e80:	48 22 00 08 	bg r1,r2,8004ea0 <rtems_termios_read+0x1c8>    <== NOT EXECUTED
		}                                                                   
                                                                      
		/*                                                                  
		 * Wait for characters                                              
		 */                                                                 
		if ( wait ) {                                                       
 8004e84:	46 40 ff d4 	be r18,r0,8004dd4 <rtems_termios_read+0xfc>    <== NOT EXECUTED
			sc = rtems_semaphore_obtain (tty->rawInBuf.Semaphore,              
 8004e88:	29 61 00 68 	lw r1,(r11+104)                                <== NOT EXECUTED
 8004e8c:	29 62 00 6c 	lw r2,(r11+108)                                <== NOT EXECUTED
 8004e90:	b9 a0 18 00 	mv r3,r13                                      <== NOT EXECUTED
 8004e94:	f8 00 06 9d 	calli 8006908 <rtems_semaphore_obtain>         <== NOT EXECUTED
				tty->rawInBufSemaphoreOptions,                                    
				timeout);                                                         
			if (sc != RTEMS_SUCCESSFUL)                                        
 8004e98:	44 20 ff f4 	be r1,r0,8004e68 <rtems_termios_read+0x190>    <== NOT EXECUTED
 8004e9c:	e3 ff ff ce 	bi 8004dd4 <rtems_termios_read+0xfc>           <== NOT EXECUTED
		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;           
 8004ea0:	29 63 00 5c 	lw r3,(r11+92)                                 <== NOT EXECUTED
 8004ea4:	29 62 00 64 	lw r2,(r11+100)                                <== NOT EXECUTED
 8004ea8:	34 61 00 01 	addi r1,r3,1                                   <== NOT EXECUTED
 8004eac:	f8 00 6e 7f 	calli 80208a8 <__umodsi3>                      <== NOT EXECUTED
			c = tty->rawInBuf.theBuf[newHead];                                 
 8004eb0:	29 64 00 58 	lw r4,(r11+88)                                 <== NOT EXECUTED
 8004eb4:	b4 81 20 00 	add r4,r4,r1                                   <== NOT EXECUTED
 8004eb8:	40 8d 00 00 	lbu r13,(r4+0)                                 <== NOT EXECUTED
			tty->rawInBuf.Head = newHead;                                      
 8004ebc:	59 61 00 5c 	sw (r11+92),r1                                 <== NOT EXECUTED
			if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)                
 8004ec0:	29 64 00 60 	lw r4,(r11+96)                                 <== NOT EXECUTED
 8004ec4:	29 65 00 64 	lw r5,(r11+100)                                <== NOT EXECUTED
 8004ec8:	29 62 00 64 	lw r2,(r11+100)                                <== NOT EXECUTED
 8004ecc:	b4 a4 20 00 	add r4,r5,r4                                   <== NOT EXECUTED
 8004ed0:	c8 81 08 00 	sub r1,r4,r1                                   <== NOT EXECUTED
 8004ed4:	f8 00 6e 75 	calli 80208a8 <__umodsi3>                      <== NOT EXECUTED
 8004ed8:	29 63 00 bc 	lw r3,(r11+188)                                <== NOT EXECUTED
 8004edc:	50 23 00 11 	bgeu r1,r3,8004f20 <rtems_termios_read+0x248>  <== NOT EXECUTED
			    % tty->rawInBuf.Size)                                          
			   < tty->lowwater) {                                              
			  tty->flow_ctrl &= ~FL_IREQXOF;                                   
 8004ee0:	29 63 00 b8 	lw r3,(r11+184)                                <== NOT EXECUTED
 8004ee4:	a0 74 18 00 	and r3,r3,r20                                  <== NOT EXECUTED
 8004ee8:	59 63 00 b8 	sw (r11+184),r3                                <== NOT EXECUTED
			  /* if tx stopped and XON should be sent... */                    
			  if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))                  
 8004eec:	29 63 00 b8 	lw r3,(r11+184)                                <== NOT EXECUTED
 8004ef0:	20 63 02 02 	andi r3,r3,0x202                               <== NOT EXECUTED
 8004ef4:	44 73 00 23 	be r3,r19,8004f80 <rtems_termios_read+0x2a8>   <== NOT EXECUTED
			    /* XON should be sent now... */                                
			    (*tty->device.write)(tty->minor,                               
				(void *)&(tty->termios.c_cc[VSTART]),                             
				1);                                                               
			  }                                                                
			  else if (tty->flow_ctrl & FL_MDRTS) {                            
 8004ef8:	29 63 00 b8 	lw r3,(r11+184)                                <== NOT EXECUTED
 8004efc:	20 63 01 00 	andi r3,r3,0x100                               <== NOT EXECUTED
 8004f00:	44 60 00 08 	be r3,r0,8004f20 <rtems_termios_read+0x248>    <== NOT EXECUTED
			    tty->flow_ctrl &= ~FL_IRTSOFF;                                 
 8004f04:	29 61 00 b8 	lw r1,(r11+184)                                <== NOT EXECUTED
			    /* activate RTS line */                                        
			    if (tty->device.startRemoteTx != NULL) {                       
 8004f08:	29 63 00 b0 	lw r3,(r11+176)                                <== NOT EXECUTED
			    (*tty->device.write)(tty->minor,                               
				(void *)&(tty->termios.c_cc[VSTART]),                             
				1);                                                               
			  }                                                                
			  else if (tty->flow_ctrl & FL_MDRTS) {                            
			    tty->flow_ctrl &= ~FL_IRTSOFF;                                 
 8004f0c:	a0 35 08 00 	and r1,r1,r21                                  <== NOT EXECUTED
 8004f10:	59 61 00 b8 	sw (r11+184),r1                                <== NOT EXECUTED
			    /* activate RTS line */                                        
			    if (tty->device.startRemoteTx != NULL) {                       
 8004f14:	44 60 00 03 	be r3,r0,8004f20 <rtems_termios_read+0x248>    <== NOT EXECUTED
			      tty->device.startRemoteTx(tty->minor);                       
 8004f18:	29 61 00 10 	lw r1,(r11+16)                                 <== NOT EXECUTED
 8004f1c:	d8 60 00 00 	call r3                                        <== NOT EXECUTED
			    }                                                              
			  }                                                                
			}                                                                  
                                                                      
			/* continue processing new character */                            
			if (tty->termios.c_lflag & ICANON) {                               
 8004f20:	29 63 00 3c 	lw r3,(r11+60)                                 <== NOT EXECUTED
 8004f24:	20 63 00 02 	andi r3,r3,0x2                                 <== NOT EXECUTED
 8004f28:	44 60 00 0e 	be r3,r0,8004f60 <rtems_termios_read+0x288>    <== NOT EXECUTED
				if  (siproc (c, tty))                                             
 8004f2c:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 8004f30:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 8004f34:	fb ff fe db 	calli 8004aa0 <siproc>                         <== NOT EXECUTED
 8004f38:	5c 20 00 10 	bne r1,r0,8004f78 <rtems_termios_read+0x2a0>   <== NOT EXECUTED
                                                                      
	while ( wait ) {                                                     
		/*                                                                  
		 * Process characters read from raw queue                           
		 */                                                                 
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
 8004f3c:	29 65 00 5c 	lw r5,(r11+92)                                 <== NOT EXECUTED
 8004f40:	29 64 00 60 	lw r4,(r11+96)                                 <== NOT EXECUTED
			else {                                                             
				siproc (c, tty);                                                  
				if (tty->ccount >= tty->termios.c_cc[VMIN])                       
					wait = 0;                                                        
			}                                                                  
			timeout = tty->rawInBufSemaphoreTimeout;                           
 8004f44:	29 6d 00 70 	lw r13,(r11+112)                               <== NOT EXECUTED
                                                                      
	while ( wait ) {                                                     
		/*                                                                  
		 * Process characters read from raw queue                           
		 */                                                                 
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
 8004f48:	44 a4 ff cf 	be r5,r4,8004e84 <rtems_termios_read+0x1ac>    <== NOT EXECUTED
 8004f4c:	29 84 00 00 	lw r4,(r12+0)                                  <== NOT EXECUTED
 8004f50:	29 63 00 20 	lw r3,(r11+32)                                 <== NOT EXECUTED
 8004f54:	34 84 ff ff 	addi r4,r4,-1                                  <== NOT EXECUTED
 8004f58:	48 83 ff d2 	bg r4,r3,8004ea0 <rtems_termios_read+0x1c8>    <== NOT EXECUTED
 8004f5c:	e3 ff ff ca 	bi 8004e84 <rtems_termios_read+0x1ac>          <== NOT EXECUTED
			if (tty->termios.c_lflag & ICANON) {                               
				if  (siproc (c, tty))                                             
					wait = 0;                                                        
			}                                                                  
			else {                                                             
				siproc (c, tty);                                                  
 8004f60:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 8004f64:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 8004f68:	fb ff fe ce 	calli 8004aa0 <siproc>                         <== NOT EXECUTED
				if (tty->ccount >= tty->termios.c_cc[VMIN])                       
 8004f6c:	41 63 00 47 	lbu r3,(r11+71)                                <== NOT EXECUTED
 8004f70:	29 61 00 20 	lw r1,(r11+32)                                 <== NOT EXECUTED
 8004f74:	48 61 ff f2 	bg r3,r1,8004f3c <rtems_termios_read+0x264>    <== NOT EXECUTED
 8004f78:	34 12 00 00 	mvi r18,0                                      <== NOT EXECUTED
 8004f7c:	e3 ff ff f0 	bi 8004f3c <rtems_termios_read+0x264>          <== NOT EXECUTED
			if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)                
			    % tty->rawInBuf.Size)                                          
			   < tty->lowwater) {                                              
			  tty->flow_ctrl &= ~FL_IREQXOF;                                   
			  /* if tx stopped and XON should be sent... */                    
			  if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))                  
 8004f80:	29 61 00 94 	lw r1,(r11+148)                                <== NOT EXECUTED
 8004f84:	44 20 00 04 	be r1,r0,8004f94 <rtems_termios_read+0x2bc>    <== NOT EXECUTED
			       ==                (FL_MDXON | FL_ISNTXOF))                  
			      && ((tty->rawOutBufState == rob_idle)                        
				  || (tty->flow_ctrl & FL_OSTOP))) {                              
 8004f88:	29 61 00 b8 	lw r1,(r11+184)                                <== NOT EXECUTED
			if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)                
			    % tty->rawInBuf.Size)                                          
			   < tty->lowwater) {                                              
			  tty->flow_ctrl &= ~FL_IREQXOF;                                   
			  /* if tx stopped and XON should be sent... */                    
			  if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))                  
 8004f8c:	20 21 00 20 	andi r1,r1,0x20                                <== NOT EXECUTED
 8004f90:	44 20 ff da 	be r1,r0,8004ef8 <rtems_termios_read+0x220>    <== NOT EXECUTED
			       ==                (FL_MDXON | FL_ISNTXOF))                  
			      && ((tty->rawOutBufState == rob_idle)                        
				  || (tty->flow_ctrl & FL_OSTOP))) {                              
			    /* XON should be sent now... */                                
			    (*tty->device.write)(tty->minor,                               
 8004f94:	29 64 00 a4 	lw r4,(r11+164)                                <== NOT EXECUTED
 8004f98:	29 61 00 10 	lw r1,(r11+16)                                 <== NOT EXECUTED
 8004f9c:	ba c0 10 00 	mv r2,r22                                      <== NOT EXECUTED
 8004fa0:	34 03 00 01 	mvi r3,1                                       <== NOT EXECUTED
 8004fa4:	d8 80 00 00 	call r4                                        <== NOT EXECUTED
 8004fa8:	e3 ff ff de 	bi 8004f20 <rtems_termios_read+0x248>          <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
	int n;                                                               
                                                                      
	if (tty->termios.c_lflag & ICANON) {                                 
 8004fac:	29 61 00 3c 	lw r1,(r11+60)                                 <== NOT EXECUTED
 8004fb0:	20 21 00 02 	andi r1,r1,0x2                                 <== NOT EXECUTED
 8004fb4:	44 20 00 14 	be r1,r0,8005004 <rtems_termios_read+0x32c>    <== NOT EXECUTED
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
 8004fb8:	29 61 00 10 	lw r1,(r11+16)                                 <== NOT EXECUTED
 8004fbc:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
 8004fc0:	b8 20 18 00 	mv r3,r1                                       <== NOT EXECUTED
			if (n < 0) {                                                       
				rtems_task_wake_after (1);                                        
			}                                                                  
			else {                                                             
				if  (siproc (n, tty))                                             
 8004fc4:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 8004fc8:	20 21 00 ff 	andi r1,r1,0xff                                <== NOT EXECUTED
	int n;                                                               
                                                                      
	if (tty->termios.c_lflag & ICANON) {                                 
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
			if (n < 0) {                                                       
 8004fcc:	4c 60 00 21 	bge r3,r0,8005050 <rtems_termios_read+0x378>   <== NOT EXECUTED
				rtems_task_wake_after (1);                                        
 8004fd0:	34 01 00 01 	mvi r1,1                                       <== NOT EXECUTED
 8004fd4:	f8 00 07 e3 	calli 8006f60 <rtems_task_wake_after>          <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
	int n;                                                               
                                                                      
	if (tty->termios.c_lflag & ICANON) {                                 
 8004fd8:	29 62 00 a0 	lw r2,(r11+160)                                <== NOT EXECUTED
 8004fdc:	e3 ff ff f7 	bi 8004fb8 <rtems_termios_read+0x2e0>          <== NOT EXECUTED
					}                                                                
				}                                                                 
				rtems_task_wake_after (1);                                        
			}                                                                  
			else {                                                             
				siproc (n, tty);                                                  
 8004fe0:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 8004fe4:	20 21 00 ff 	andi r1,r1,0xff                                <== NOT EXECUTED
 8004fe8:	fb ff fe ae 	calli 8004aa0 <siproc>                         <== NOT EXECUTED
				if (tty->ccount >= tty->termios.c_cc[VMIN])                       
 8004fec:	41 62 00 47 	lbu r2,(r11+71)                                <== NOT EXECUTED
 8004ff0:	29 61 00 20 	lw r1,(r11+32)                                 <== NOT EXECUTED
 8004ff4:	4c 22 ff 78 	bge r1,r2,8004dd4 <rtems_termios_read+0xfc>    <== NOT EXECUTED
					break;                                                           
				if (tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])          
 8004ff8:	44 40 00 05 	be r2,r0,800500c <rtems_termios_read+0x334>    <== NOT EXECUTED
 8004ffc:	41 61 00 46 	lbu r1,(r11+70)                                <== NOT EXECUTED
 8005000:	44 20 00 03 	be r1,r0,800500c <rtems_termios_read+0x334>    <== NOT EXECUTED
			}                                                                  
		}                                                                   
	}                                                                    
	else {                                                               
		rtems_interval then, now;                                           
		then = rtems_clock_get_ticks_since_boot();                          
 8005004:	f8 00 04 3b 	calli 80060f0 <rtems_clock_get_ticks_since_boot><== NOT EXECUTED
 8005008:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
 800500c:	29 62 00 a0 	lw r2,(r11+160)                                <== NOT EXECUTED
 8005010:	29 61 00 10 	lw r1,(r11+16)                                 <== NOT EXECUTED
 8005014:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
			if (n < 0) {                                                       
 8005018:	4c 20 ff f2 	bge r1,r0,8004fe0 <rtems_termios_read+0x308>   <== NOT EXECUTED
				if (tty->termios.c_cc[VMIN]) {                                    
 800501c:	41 62 00 47 	lbu r2,(r11+71)                                <== NOT EXECUTED
 8005020:	44 40 00 10 	be r2,r0,8005060 <rtems_termios_read+0x388>    <== NOT EXECUTED
					if (tty->termios.c_cc[VTIME] && tty->ccount) {                   
 8005024:	41 61 00 46 	lbu r1,(r11+70)                                <== NOT EXECUTED
 8005028:	44 20 00 03 	be r1,r0,8005034 <rtems_termios_read+0x35c>    <== NOT EXECUTED
 800502c:	29 61 00 20 	lw r1,(r11+32)                                 <== NOT EXECUTED
 8005030:	5c 20 00 0e 	bne r1,r0,8005068 <rtems_termios_read+0x390>   <== NOT EXECUTED
					now = rtems_clock_get_ticks_since_boot();                        
					if ((now - then) > tty->vtimeTicks) {                            
						break;                                                          
					}                                                                
				}                                                                 
				rtems_task_wake_after (1);                                        
 8005034:	34 01 00 01 	mvi r1,1                                       <== NOT EXECUTED
 8005038:	f8 00 07 ca 	calli 8006f60 <rtems_task_wake_after>          <== NOT EXECUTED
	}                                                                    
	else {                                                               
		rtems_interval then, now;                                           
		then = rtems_clock_get_ticks_since_boot();                          
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
 800503c:	29 62 00 a0 	lw r2,(r11+160)                                <== NOT EXECUTED
 8005040:	29 61 00 10 	lw r1,(r11+16)                                 <== NOT EXECUTED
 8005044:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
			if (n < 0) {                                                       
 8005048:	4c 20 ff e6 	bge r1,r0,8004fe0 <rtems_termios_read+0x308>   <== NOT EXECUTED
 800504c:	e3 ff ff f4 	bi 800501c <rtems_termios_read+0x344>          <== NOT EXECUTED
			n = (*tty->device.pollRead)(tty->minor);                           
			if (n < 0) {                                                       
				rtems_task_wake_after (1);                                        
			}                                                                  
			else {                                                             
				if  (siproc (n, tty))                                             
 8005050:	fb ff fe 94 	calli 8004aa0 <siproc>                         <== NOT EXECUTED
 8005054:	5c 20 ff 60 	bne r1,r0,8004dd4 <rtems_termios_read+0xfc>    <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
	int n;                                                               
                                                                      
	if (tty->termios.c_lflag & ICANON) {                                 
 8005058:	29 62 00 a0 	lw r2,(r11+160)                                <== NOT EXECUTED
 800505c:	e3 ff ff d7 	bi 8004fb8 <rtems_termios_read+0x2e0>          <== NOT EXECUTED
							break;                                                         
						}                                                               
					}                                                                
				}                                                                 
				else {                                                            
					if (!tty->termios.c_cc[VTIME])                                   
 8005060:	41 61 00 46 	lbu r1,(r11+70)                                <== NOT EXECUTED
 8005064:	44 22 ff 5c 	be r1,r2,8004dd4 <rtems_termios_read+0xfc>     <== NOT EXECUTED
						break;                                                          
					now = rtems_clock_get_ticks_since_boot();                        
 8005068:	f8 00 04 22 	calli 80060f0 <rtems_clock_get_ticks_since_boot><== NOT EXECUTED
					if ((now - then) > tty->vtimeTicks) {                            
 800506c:	29 62 00 54 	lw r2,(r11+84)                                 <== NOT EXECUTED
 8005070:	c8 2c 08 00 	sub r1,r1,r12                                  <== NOT EXECUTED
 8005074:	54 22 ff 58 	bgu r1,r2,8004dd4 <rtems_termios_read+0xfc>    <== NOT EXECUTED
 8005078:	e3 ff ff ef 	bi 8005034 <rtems_termios_read+0x35c>          <== NOT EXECUTED
                                                                      
08003c94 <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)      
{                                                                     
 8003c94:	37 9c ff f0 	addi sp,sp,-16                                 <== NOT EXECUTED
 8003c98:	5b 8b 00 10 	sw (sp+16),r11                                 <== NOT EXECUTED
 8003c9c:	5b 8c 00 0c 	sw (sp+12),r12                                 <== NOT EXECUTED
 8003ca0:	5b 8d 00 08 	sw (sp+8),r13                                  <== NOT EXECUTED
 8003ca4:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
	int nToSend;                                                         
	rtems_interrupt_level level;                                         
	int len;                                                             
                                                                      
	/* check for XOF/XON to send */                                      
	if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))          
 8003ca8:	28 22 00 b8 	lw r2,(r1+184)                                 <== NOT EXECUTED
 * 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)      
{                                                                     
 8003cac:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
	int nToSend;                                                         
	rtems_interrupt_level level;                                         
	int len;                                                             
                                                                      
	/* check for XOF/XON to send */                                      
	if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))          
 8003cb0:	34 01 04 01 	mvi r1,1025                                    <== NOT EXECUTED
 8003cb4:	20 42 04 03 	andi r2,r2,0x403                               <== NOT EXECUTED
 8003cb8:	44 41 00 52 	be r2,r1,8003e00 <rtems_termios_refill_transmitter+0x16c><== NOT EXECUTED
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
	  rtems_interrupt_enable(level);                                     
                                                                      
	  nToSend = 1;                                                       
	}                                                                    
	else if ((tty->flow_ctrl & (FL_IREQXOF | FL_ISNTXOF))                
 8003cbc:	29 62 00 b8 	lw r2,(r11+184)                                <== NOT EXECUTED
 8003cc0:	34 01 00 02 	mvi r1,2                                       <== NOT EXECUTED
 8003cc4:	20 42 00 03 	andi r2,r2,0x3                                 <== NOT EXECUTED
 8003cc8:	44 41 00 66 	be r2,r1,8003e60 <rtems_termios_refill_transmitter+0x1cc><== NOT EXECUTED
	  rtems_interrupt_enable(level);                                     
                                                                      
	  nToSend = 1;                                                       
	}                                                                    
	else {                                                               
	  if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {                
 8003ccc:	29 63 00 80 	lw r3,(r11+128)                                <== NOT EXECUTED
 8003cd0:	29 62 00 84 	lw r2,(r11+132)                                <== NOT EXECUTED
 8003cd4:	44 62 00 1d 	be r3,r2,8003d48 <rtems_termios_refill_transmitter+0xb4><== NOT EXECUTED
	      rtems_semaphore_release (tty->rawOutBuf.Semaphore);            
	    }                                                                
	    return 0;                                                        
	  }                                                                  
                                                                      
	  rtems_interrupt_disable(level);                                    
 8003cd8:	90 00 10 00 	rcsr r2,IE                                     <== NOT EXECUTED
 8003cdc:	34 01 ff fe 	mvi r1,-2                                      <== NOT EXECUTED
 8003ce0:	a0 41 08 00 	and r1,r2,r1                                   <== NOT EXECUTED
 8003ce4:	d0 01 00 00 	wcsr IE,r1                                     <== NOT EXECUTED
	  len = tty->t_dqlen;                                                
	  tty->t_dqlen = 0;                                                  
 8003ce8:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
	    }                                                                
	    return 0;                                                        
	  }                                                                  
                                                                      
	  rtems_interrupt_disable(level);                                    
	  len = tty->t_dqlen;                                                
 8003cec:	29 63 00 90 	lw r3,(r11+144)                                <== NOT EXECUTED
	  tty->t_dqlen = 0;                                                  
 8003cf0:	59 61 00 90 	sw (r11+144),r1                                <== NOT EXECUTED
	  rtems_interrupt_enable(level);                                     
 8003cf4:	d0 02 00 00 	wcsr IE,r2                                     <== NOT EXECUTED
                                                                      
	  newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;       
 8003cf8:	29 61 00 84 	lw r1,(r11+132)                                <== NOT EXECUTED
 8003cfc:	29 62 00 88 	lw r2,(r11+136)                                <== NOT EXECUTED
 8003d00:	b4 61 08 00 	add r1,r3,r1                                   <== NOT EXECUTED
 8003d04:	f8 00 72 e9 	calli 80208a8 <__umodsi3>                      <== NOT EXECUTED
	  tty->rawOutBuf.Tail = newTail;                                     
	  if (tty->rawOutBufState == rob_wait) {                             
 8003d08:	29 62 00 94 	lw r2,(r11+148)                                <== NOT EXECUTED
	  rtems_interrupt_disable(level);                                    
	  len = tty->t_dqlen;                                                
	  tty->t_dqlen = 0;                                                  
	  rtems_interrupt_enable(level);                                     
                                                                      
	  newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;       
 8003d0c:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
	  tty->rawOutBuf.Tail = newTail;                                     
 8003d10:	59 61 00 84 	sw (r11+132),r1                                <== NOT EXECUTED
	  if (tty->rawOutBufState == rob_wait) {                             
 8003d14:	34 01 00 02 	mvi r1,2                                       <== NOT EXECUTED
 8003d18:	44 41 00 37 	be r2,r1,8003df4 <rtems_termios_refill_transmitter+0x160><== NOT EXECUTED
	    /*                                                               
	     * wake up any pending writer task                               
	     */                                                              
	    rtems_semaphore_release (tty->rawOutBuf.Semaphore);              
	  }                                                                  
	  if (newTail == tty->rawOutBuf.Head) {                              
 8003d1c:	29 61 00 80 	lw r1,(r11+128)                                <== NOT EXECUTED
 8003d20:	44 2c 00 14 	be r1,r12,8003d70 <rtems_termios_refill_transmitter+0xdc><== NOT EXECUTED
	    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))                
 8003d24:	29 62 00 b8 	lw r2,(r11+184)                                <== NOT EXECUTED
 8003d28:	34 01 02 10 	mvi r1,528                                     <== NOT EXECUTED
 8003d2c:	20 42 02 10 	andi r2,r2,0x210                               <== NOT EXECUTED
 8003d30:	44 41 00 65 	be r2,r1,8003ec4 <rtems_termios_refill_transmitter+0x230><== NOT EXECUTED
	  }                                                                  
	  else {                                                             
	    /*                                                               
	     * Buffer not empty, start tranmitter                            
	     */                                                              
	    if (newTail > tty->rawOutBuf.Head)                               
 8003d34:	29 61 00 80 	lw r1,(r11+128)                                <== NOT EXECUTED
 8003d38:	50 2c 00 1f 	bgeu r1,r12,8003db4 <rtems_termios_refill_transmitter+0x120><== NOT EXECUTED
		    nToSend = tty->rawOutBuf.Size - newTail;                        
 8003d3c:	29 6d 00 88 	lw r13,(r11+136)                               <== NOT EXECUTED
 8003d40:	c9 ac 68 00 	sub r13,r13,r12                                <== NOT EXECUTED
 8003d44:	e0 00 00 1e 	bi 8003dbc <rtems_termios_refill_transmitter+0x128><== NOT EXECUTED
	else {                                                               
	  if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {                
	    /*                                                               
	     * buffer was empty                                              
	     */                                                              
	    if (tty->rawOutBufState == rob_wait) {                           
 8003d48:	29 62 00 94 	lw r2,(r11+148)                                <== NOT EXECUTED
 8003d4c:	34 0d 00 00 	mvi r13,0                                      <== NOT EXECUTED
 8003d50:	44 41 00 6a 	be r2,r1,8003ef8 <rtems_termios_refill_transmitter+0x264><== NOT EXECUTED
				 nToSend);                                                        
	  }                                                                  
	  tty->rawOutBuf.Tail = newTail; /*apm*/                             
	}                                                                    
	return nToSend;                                                      
}                                                                     
 8003d54:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 8003d58:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8003d5c:	2b 8b 00 10 	lw r11,(sp+16)                                 <== NOT EXECUTED
 8003d60:	2b 8c 00 0c 	lw r12,(sp+12)                                 <== NOT EXECUTED
 8003d64:	2b 8d 00 08 	lw r13,(sp+8)                                  <== NOT EXECUTED
 8003d68:	37 9c 00 10 	addi sp,sp,16                                  <== NOT EXECUTED
 8003d6c:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
	    nToSend = 0;                                                     
                                                                      
	    /*                                                               
	     * check to see if snd wakeup callback was set                   
	     */                                                              
	    if ( tty->tty_snd.sw_pfn != NULL) {                              
 8003d70:	29 63 00 d4 	lw r3,(r11+212)                                <== NOT EXECUTED
	  }                                                                  
	  if (newTail == tty->rawOutBuf.Head) {                              
	    /*                                                               
	     * Buffer has become empty                                       
	     */                                                              
	    tty->rawOutBufState = rob_idle;                                  
 8003d74:	34 04 00 00 	mvi r4,0                                       <== NOT EXECUTED
 8003d78:	59 64 00 94 	sw (r11+148),r4                                <== NOT EXECUTED
	    nToSend = 0;                                                     
                                                                      
	    /*                                                               
	     * check to see if snd wakeup callback was set                   
	     */                                                              
	    if ( tty->tty_snd.sw_pfn != NULL) {                              
 8003d7c:	b8 60 68 00 	mv r13,r3                                      <== NOT EXECUTED
 8003d80:	44 64 00 05 	be r3,r4,8003d94 <rtems_termios_refill_transmitter+0x100><== NOT EXECUTED
	      (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);    
 8003d84:	29 62 00 d8 	lw r2,(r11+216)                                <== NOT EXECUTED
 8003d88:	35 61 00 30 	addi r1,r11,48                                 <== NOT EXECUTED
 8003d8c:	b8 80 68 00 	mv r13,r4                                      <== NOT EXECUTED
 8003d90:	d8 60 00 00 	call r3                                        <== NOT EXECUTED
	    tty->rawOutBufState = rob_busy; /*apm*/                          
	    (*tty->device.write)(tty->minor,                                 
				 &tty->rawOutBuf.theBuf[newTail],                                 
				 nToSend);                                                        
	  }                                                                  
	  tty->rawOutBuf.Tail = newTail; /*apm*/                             
 8003d94:	59 6c 00 84 	sw (r11+132),r12                               <== NOT EXECUTED
	}                                                                    
	return nToSend;                                                      
}                                                                     
 8003d98:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 8003d9c:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8003da0:	2b 8b 00 10 	lw r11,(sp+16)                                 <== NOT EXECUTED
 8003da4:	2b 8c 00 0c 	lw r12,(sp+12)                                 <== NOT EXECUTED
 8003da8:	2b 8d 00 08 	lw r13,(sp+8)                                  <== NOT EXECUTED
 8003dac:	37 9c 00 10 	addi sp,sp,16                                  <== NOT EXECUTED
 8003db0:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
	     * Buffer not empty, start tranmitter                            
	     */                                                              
	    if (newTail > tty->rawOutBuf.Head)                               
		    nToSend = tty->rawOutBuf.Size - newTail;                        
	    else                                                             
		    nToSend = tty->rawOutBuf.Head - newTail;                        
 8003db4:	29 6d 00 80 	lw r13,(r11+128)                               <== NOT EXECUTED
 8003db8:	c9 ac 68 00 	sub r13,r13,r12                                <== NOT EXECUTED
	    /* 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)) {                    
 8003dbc:	29 61 00 b8 	lw r1,(r11+184)                                <== NOT EXECUTED
 8003dc0:	20 21 06 00 	andi r1,r1,0x600                               <== NOT EXECUTED
 8003dc4:	44 20 00 02 	be r1,r0,8003dcc <rtems_termios_refill_transmitter+0x138><== NOT EXECUTED
 8003dc8:	34 0d 00 01 	mvi r13,1                                      <== NOT EXECUTED
		    nToSend = 1;                                                    
	    }                                                                
	    tty->rawOutBufState = rob_busy; /*apm*/                          
	    (*tty->device.write)(tty->minor,                                 
 8003dcc:	29 62 00 7c 	lw r2,(r11+124)                                <== NOT EXECUTED
 8003dd0:	29 64 00 a4 	lw r4,(r11+164)                                <== NOT EXECUTED
 8003dd4:	29 61 00 10 	lw r1,(r11+16)                                 <== NOT EXECUTED
	    /* 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*/                          
 8003dd8:	34 03 00 01 	mvi r3,1                                       <== NOT EXECUTED
 8003ddc:	59 63 00 94 	sw (r11+148),r3                                <== NOT EXECUTED
	    (*tty->device.write)(tty->minor,                                 
 8003de0:	b4 4c 10 00 	add r2,r2,r12                                  <== NOT EXECUTED
 8003de4:	b9 a0 18 00 	mv r3,r13                                      <== NOT EXECUTED
 8003de8:	d8 80 00 00 	call r4                                        <== NOT EXECUTED
				 &tty->rawOutBuf.theBuf[newTail],                                 
				 nToSend);                                                        
	  }                                                                  
	  tty->rawOutBuf.Tail = newTail; /*apm*/                             
 8003dec:	59 6c 00 84 	sw (r11+132),r12                               <== NOT EXECUTED
 8003df0:	e3 ff ff ea 	bi 8003d98 <rtems_termios_refill_transmitter+0x104><== NOT EXECUTED
	  tty->rawOutBuf.Tail = newTail;                                     
	  if (tty->rawOutBufState == rob_wait) {                             
	    /*                                                               
	     * wake up any pending writer task                               
	     */                                                              
	    rtems_semaphore_release (tty->rawOutBuf.Semaphore);              
 8003df4:	29 61 00 8c 	lw r1,(r11+140)                                <== NOT EXECUTED
 8003df8:	f8 00 0b 25 	calli 8006a8c <rtems_semaphore_release>        <== NOT EXECUTED
 8003dfc:	e3 ff ff c8 	bi 8003d1c <rtems_termios_refill_transmitter+0x88><== NOT EXECUTED
                                                                      
	/* 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,                                   
 8003e00:	29 64 00 a4 	lw r4,(r11+164)                                <== NOT EXECUTED
 8003e04:	29 61 00 10 	lw r1,(r11+16)                                 <== NOT EXECUTED
 8003e08:	35 62 00 4a 	addi r2,r11,74                                 <== NOT EXECUTED
 8003e0c:	34 03 00 01 	mvi r3,1                                       <== NOT EXECUTED
 8003e10:	d8 80 00 00 	call r4                                        <== NOT EXECUTED
			       (void *)&(tty->termios.c_cc[VSTOP]), 1);                    
                                                                      
	  rtems_interrupt_disable(level);                                    
 8003e14:	90 00 08 00 	rcsr r1,IE                                     <== NOT EXECUTED
 8003e18:	34 02 ff fe 	mvi r2,-2                                      <== NOT EXECUTED
 8003e1c:	a0 22 10 00 	and r2,r1,r2                                   <== NOT EXECUTED
 8003e20:	d0 02 00 00 	wcsr IE,r2                                     <== NOT EXECUTED
	  tty->t_dqlen--;                                                    
 8003e24:	29 62 00 90 	lw r2,(r11+144)                                <== NOT EXECUTED
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
 8003e28:	29 63 00 b8 	lw r3,(r11+184)                                <== NOT EXECUTED
	  /* XOFF should be sent now... */                                   
	  (*tty->device.write)(tty->minor,                                   
			       (void *)&(tty->termios.c_cc[VSTOP]), 1);                    
                                                                      
	  rtems_interrupt_disable(level);                                    
	  tty->t_dqlen--;                                                    
 8003e2c:	34 42 ff ff 	addi r2,r2,-1                                  <== NOT EXECUTED
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
 8003e30:	38 63 00 02 	ori r3,r3,0x2                                  <== NOT EXECUTED
 8003e34:	59 63 00 b8 	sw (r11+184),r3                                <== NOT EXECUTED
	  /* XOFF should be sent now... */                                   
	  (*tty->device.write)(tty->minor,                                   
			       (void *)&(tty->termios.c_cc[VSTOP]), 1);                    
                                                                      
	  rtems_interrupt_disable(level);                                    
	  tty->t_dqlen--;                                                    
 8003e38:	59 62 00 90 	sw (r11+144),r2                                <== NOT EXECUTED
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
	  rtems_interrupt_enable(level);                                     
 8003e3c:	d0 01 00 00 	wcsr IE,r1                                     <== NOT EXECUTED
 8003e40:	34 0d 00 01 	mvi r13,1                                      <== NOT EXECUTED
				 nToSend);                                                        
	  }                                                                  
	  tty->rawOutBuf.Tail = newTail; /*apm*/                             
	}                                                                    
	return nToSend;                                                      
}                                                                     
 8003e44:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 8003e48:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8003e4c:	2b 8b 00 10 	lw r11,(sp+16)                                 <== NOT EXECUTED
 8003e50:	2b 8c 00 0c 	lw r12,(sp+12)                                 <== NOT EXECUTED
 8003e54:	2b 8d 00 08 	lw r13,(sp+8)                                  <== NOT EXECUTED
 8003e58:	37 9c 00 10 	addi sp,sp,16                                  <== NOT EXECUTED
 8003e5c:	c3 a0 00 00 	ret                                            <== 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,                                   
 8003e60:	29 64 00 a4 	lw r4,(r11+164)                                <== NOT EXECUTED
 8003e64:	29 61 00 10 	lw r1,(r11+16)                                 <== NOT EXECUTED
 8003e68:	35 62 00 49 	addi r2,r11,73                                 <== NOT EXECUTED
 8003e6c:	34 03 00 01 	mvi r3,1                                       <== NOT EXECUTED
 8003e70:	d8 80 00 00 	call r4                                        <== NOT EXECUTED
			       (void *)&(tty->termios.c_cc[VSTART]), 1);                   
                                                                      
	  rtems_interrupt_disable(level);                                    
 8003e74:	90 00 08 00 	rcsr r1,IE                                     <== NOT EXECUTED
 8003e78:	34 02 ff fe 	mvi r2,-2                                      <== NOT EXECUTED
 8003e7c:	a0 22 10 00 	and r2,r1,r2                                   <== NOT EXECUTED
 8003e80:	d0 02 00 00 	wcsr IE,r2                                     <== NOT EXECUTED
	  tty->t_dqlen--;                                                    
 8003e84:	29 62 00 90 	lw r2,(r11+144)                                <== NOT EXECUTED
	  tty->flow_ctrl &= ~FL_ISNTXOF;                                     
 8003e88:	29 64 00 b8 	lw r4,(r11+184)                                <== NOT EXECUTED
 8003e8c:	34 03 ff fd 	mvi r3,-3                                      <== NOT EXECUTED
		 */                                                                 
	  (*tty->device.write)(tty->minor,                                   
			       (void *)&(tty->termios.c_cc[VSTART]), 1);                   
                                                                      
	  rtems_interrupt_disable(level);                                    
	  tty->t_dqlen--;                                                    
 8003e90:	34 42 ff ff 	addi r2,r2,-1                                  <== NOT EXECUTED
	  tty->flow_ctrl &= ~FL_ISNTXOF;                                     
 8003e94:	a0 83 18 00 	and r3,r4,r3                                   <== NOT EXECUTED
 8003e98:	59 63 00 b8 	sw (r11+184),r3                                <== NOT EXECUTED
		 */                                                                 
	  (*tty->device.write)(tty->minor,                                   
			       (void *)&(tty->termios.c_cc[VSTART]), 1);                   
                                                                      
	  rtems_interrupt_disable(level);                                    
	  tty->t_dqlen--;                                                    
 8003e9c:	59 62 00 90 	sw (r11+144),r2                                <== NOT EXECUTED
	  tty->flow_ctrl &= ~FL_ISNTXOF;                                     
	  rtems_interrupt_enable(level);                                     
 8003ea0:	d0 01 00 00 	wcsr IE,r1                                     <== NOT EXECUTED
 8003ea4:	34 0d 00 01 	mvi r13,1                                      <== NOT EXECUTED
				 nToSend);                                                        
	  }                                                                  
	  tty->rawOutBuf.Tail = newTail; /*apm*/                             
	}                                                                    
	return nToSend;                                                      
}                                                                     
 8003ea8:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 8003eac:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8003eb0:	2b 8b 00 10 	lw r11,(sp+16)                                 <== NOT EXECUTED
 8003eb4:	2b 8c 00 0c 	lw r12,(sp+12)                                 <== NOT EXECUTED
 8003eb8:	2b 8d 00 08 	lw r13,(sp+8)                                  <== NOT EXECUTED
 8003ebc:	37 9c 00 10 	addi sp,sp,16                                  <== NOT EXECUTED
 8003ec0:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
	  /* check, whether output should stop due to received XOFF */       
	  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);                                   
 8003ec4:	90 00 08 00 	rcsr r1,IE                                     <== NOT EXECUTED
 8003ec8:	34 02 ff fe 	mvi r2,-2                                      <== NOT EXECUTED
 8003ecc:	a0 22 10 00 	and r2,r1,r2                                   <== NOT EXECUTED
 8003ed0:	d0 02 00 00 	wcsr IE,r2                                     <== NOT EXECUTED
		  tty->flow_ctrl |= FL_OSTOP;                                       
 8003ed4:	29 62 00 b8 	lw r2,(r11+184)                                <== NOT EXECUTED
		  tty->rawOutBufState = rob_busy; /*apm*/                           
 8003ed8:	34 03 00 01 	mvi r3,1                                       <== NOT EXECUTED
 8003edc:	59 63 00 94 	sw (r11+148),r3                                <== 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;                                       
 8003ee0:	38 42 00 20 	ori r2,r2,0x20                                 <== NOT EXECUTED
 8003ee4:	59 62 00 b8 	sw (r11+184),r2                                <== NOT EXECUTED
		  tty->rawOutBufState = rob_busy; /*apm*/                           
		  rtems_interrupt_enable(level);                                    
 8003ee8:	d0 01 00 00 	wcsr IE,r1                                     <== NOT EXECUTED
 8003eec:	34 0d 00 00 	mvi r13,0                                      <== NOT EXECUTED
	    tty->rawOutBufState = rob_busy; /*apm*/                          
	    (*tty->device.write)(tty->minor,                                 
				 &tty->rawOutBuf.theBuf[newTail],                                 
				 nToSend);                                                        
	  }                                                                  
	  tty->rawOutBuf.Tail = newTail; /*apm*/                             
 8003ef0:	59 6c 00 84 	sw (r11+132),r12                               <== NOT EXECUTED
 8003ef4:	e3 ff ff a9 	bi 8003d98 <rtems_termios_refill_transmitter+0x104><== NOT EXECUTED
	     */                                                              
	    if (tty->rawOutBufState == rob_wait) {                           
	      /*                                                             
	       * this should never happen...                                 
	       */                                                            
	      rtems_semaphore_release (tty->rawOutBuf.Semaphore);            
 8003ef8:	29 61 00 8c 	lw r1,(r11+140)                                <== NOT EXECUTED
 8003efc:	f8 00 0a e4 	calli 8006a8c <rtems_semaphore_release>        <== NOT EXECUTED
 8003f00:	e3 ff ff 95 	bi 8003d54 <rtems_termios_refill_transmitter+0xc0><== NOT EXECUTED
                                                                      
08005c08 <rtems_termios_rxdaemon>:                                    
                                                                      
/*                                                                    
 * this task actually processes any receive events                    
 */                                                                   
static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument)
{                                                                     
 8005c08:	37 9c ff e0 	addi sp,sp,-32                                 <== NOT EXECUTED
 8005c0c:	5b 8b 00 18 	sw (sp+24),r11                                 <== NOT EXECUTED
 8005c10:	5b 8c 00 14 	sw (sp+20),r12                                 <== NOT EXECUTED
 8005c14:	5b 8d 00 10 	sw (sp+16),r13                                 <== NOT EXECUTED
 8005c18:	5b 8e 00 0c 	sw (sp+12),r14                                 <== NOT EXECUTED
 8005c1c:	5b 8f 00 08 	sw (sp+8),r15                                  <== NOT EXECUTED
 8005c20:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
	char c_buf;                                                          
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_RX_PROC_EVENT |                        
 8005c24:	34 0f 00 00 	mvi r15,0                                      <== NOT EXECUTED
                                                                      
/*                                                                    
 * this task actually processes any receive events                    
 */                                                                   
static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument)
{                                                                     
 8005c28:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
 8005c2c:	37 8c 00 1c 	addi r12,sp,28                                 <== NOT EXECUTED
 8005c30:	37 8e 00 23 	addi r14,sp,35                                 <== NOT EXECUTED
		else {                                                              
			/*                                                                 
			 * do something                                                    
			 */                                                                
			c = tty->device.pollRead(tty->minor);                              
			if (c != EOF) {                                                    
 8005c34:	34 0d ff ff 	mvi r13,-1                                     <== NOT EXECUTED
	char c_buf;                                                          
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_RX_PROC_EVENT |                        
 8005c38:	34 03 00 00 	mvi r3,0                                       <== NOT EXECUTED
 8005c3c:	b9 80 20 00 	mv r4,r12                                      <== NOT EXECUTED
 8005c40:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 8005c44:	34 01 00 03 	mvi r1,3                                       <== NOT EXECUTED
 8005c48:	f8 00 01 46 	calli 8006160 <rtems_event_receive>            <== NOT EXECUTED
				     TERMIOS_RX_TERMINATE_EVENT),                                 
				    RTEMS_EVENT_ANY | RTEMS_WAIT,                                 
				    RTEMS_NO_TIMEOUT,                                             
				    &the_event);                                                  
		if ((the_event & TERMIOS_RX_TERMINATE_EVENT) != 0) {                
 8005c4c:	2b 83 00 1c 	lw r3,(sp+28)                                  <== NOT EXECUTED
 8005c50:	20 63 00 01 	andi r3,r3,0x1                                 <== NOT EXECUTED
 8005c54:	5c 60 00 13 	bne r3,r0,8005ca0 <rtems_termios_rxdaemon+0x98><== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * do something                                                    
			 */                                                                
			c = tty->device.pollRead(tty->minor);                              
 8005c58:	29 63 00 a0 	lw r3,(r11+160)                                <== NOT EXECUTED
 8005c5c:	29 61 00 10 	lw r1,(r11+16)                                 <== NOT EXECUTED
 8005c60:	d8 60 00 00 	call r3                                        <== NOT EXECUTED
 8005c64:	b8 20 28 00 	mv r5,r1                                       <== NOT EXECUTED
			if (c != EOF) {                                                    
				/*                                                                
				 * pollRead did call enqueue on its own                           
				 */                                                               
				c_buf = c;                                                        
				rtems_termios_enqueue_raw_characters (                            
 8005c68:	b9 c0 10 00 	mv r2,r14                                      <== NOT EXECUTED
 8005c6c:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8005c70:	34 03 00 01 	mvi r3,1                                       <== NOT EXECUTED
		else {                                                              
			/*                                                                 
			 * do something                                                    
			 */                                                                
			c = tty->device.pollRead(tty->minor);                              
			if (c != EOF) {                                                    
 8005c74:	44 ad ff f1 	be r5,r13,8005c38 <rtems_termios_rxdaemon+0x30><== NOT EXECUTED
				/*                                                                
				 * pollRead did call enqueue on its own                           
				 */                                                               
				c_buf = c;                                                        
 8005c78:	33 85 00 23 	sb (sp+35),r5                                  <== NOT EXECUTED
				rtems_termios_enqueue_raw_characters (                            
 8005c7c:	fb ff f8 c3 	calli 8003f88 <rtems_termios_enqueue_raw_characters><== NOT EXECUTED
	char c_buf;                                                          
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_RX_PROC_EVENT |                        
 8005c80:	34 03 00 00 	mvi r3,0                                       <== NOT EXECUTED
 8005c84:	b9 80 20 00 	mv r4,r12                                      <== NOT EXECUTED
 8005c88:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 8005c8c:	34 01 00 03 	mvi r1,3                                       <== NOT EXECUTED
 8005c90:	f8 00 01 34 	calli 8006160 <rtems_event_receive>            <== NOT EXECUTED
				     TERMIOS_RX_TERMINATE_EVENT),                                 
				    RTEMS_EVENT_ANY | RTEMS_WAIT,                                 
				    RTEMS_NO_TIMEOUT,                                             
				    &the_event);                                                  
		if ((the_event & TERMIOS_RX_TERMINATE_EVENT) != 0) {                
 8005c94:	2b 83 00 1c 	lw r3,(sp+28)                                  <== NOT EXECUTED
 8005c98:	20 63 00 01 	andi r3,r3,0x1                                 <== NOT EXECUTED
 8005c9c:	44 60 ff ef 	be r3,r0,8005c58 <rtems_termios_rxdaemon+0x50> <== NOT EXECUTED
			tty->rxTaskId = 0;                                                 
 8005ca0:	59 6f 00 c4 	sw (r11+196),r15                               <== NOT EXECUTED
			rtems_task_delete(RTEMS_SELF);                                     
 8005ca4:	b9 e0 08 00 	mv r1,r15                                      <== NOT EXECUTED
 8005ca8:	f8 00 04 29 	calli 8006d4c <rtems_task_delete>              <== NOT EXECUTED
 8005cac:	e3 ff ff e3 	bi 8005c38 <rtems_termios_rxdaemon+0x30>       <== NOT EXECUTED
                                                                      
08003c74 <rtems_termios_rxirq_occured>:                               
 * signal receive interrupt to rx daemon                              
 * NOTE: This routine runs in the context of the                      
 *       device receive interrupt handler.                            
 */                                                                   
void rtems_termios_rxirq_occured(struct rtems_termios_tty *tty)       
{                                                                     
 8003c74:	37 9c ff fc 	addi sp,sp,-4                                  <== NOT EXECUTED
 8003c78:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
	/*                                                                   
	 * send event to rx daemon task                                      
	 */                                                                  
	rtems_event_send(tty->rxTaskId,TERMIOS_RX_PROC_EVENT);               
 8003c7c:	28 21 00 c4 	lw r1,(r1+196)                                 <== NOT EXECUTED
 8003c80:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 8003c84:	f8 00 09 b0 	calli 8006344 <rtems_event_send>               <== NOT EXECUTED
}                                                                     
 8003c88:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8003c8c:	37 9c 00 04 	addi sp,sp,4                                   <== NOT EXECUTED
 8003c90:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08005b7c <rtems_termios_txdaemon>:                                    
                                                                      
/*                                                                    
 * this task actually processes any transmit events                   
 */                                                                   
static rtems_task rtems_termios_txdaemon(rtems_task_argument argument)
{                                                                     
 8005b7c:	37 9c ff e8 	addi sp,sp,-24                                 <== NOT EXECUTED
 8005b80:	5b 8b 00 14 	sw (sp+20),r11                                 <== NOT EXECUTED
 8005b84:	5b 8c 00 10 	sw (sp+16),r12                                 <== NOT EXECUTED
 8005b88:	5b 8d 00 0c 	sw (sp+12),r13                                 <== NOT EXECUTED
 8005b8c:	5b 8e 00 08 	sw (sp+8),r14                                  <== NOT EXECUTED
 8005b90:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 8005b94:	78 0d 08 02 	mvhi r13,0x802                                 <== NOT EXECUTED
 8005b98:	b8 20 58 00 	mv r11,r1                                      <== NOT EXECUTED
 8005b9c:	39 ad 47 7c 	ori r13,r13,0x477c                             <== NOT EXECUTED
                                                                      
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_TX_START_EVENT |                       
 8005ba0:	34 0e 00 00 	mvi r14,0                                      <== NOT EXECUTED
 8005ba4:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 8005ba8:	34 03 00 00 	mvi r3,0                                       <== NOT EXECUTED
 8005bac:	37 84 00 18 	addi r4,sp,24                                  <== NOT EXECUTED
 8005bb0:	34 01 00 03 	mvi r1,3                                       <== NOT EXECUTED
 8005bb4:	f8 00 01 6b 	calli 8006160 <rtems_event_receive>            <== NOT EXECUTED
				     TERMIOS_TX_TERMINATE_EVENT),                                 
				    RTEMS_EVENT_ANY | RTEMS_WAIT,                                 
				    RTEMS_NO_TIMEOUT,                                             
				    &the_event);                                                  
		if ((the_event & TERMIOS_TX_TERMINATE_EVENT) != 0) {                
 8005bb8:	2b 8c 00 18 	lw r12,(sp+24)                                 <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * call any line discipline start function                         
			 */                                                                
			if (rtems_termios_linesw[tty->t_line].l_start != NULL) {           
 8005bbc:	34 02 00 04 	mvi r2,4                                       <== NOT EXECUTED
		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) {                
 8005bc0:	21 8c 00 01 	andi r12,r12,0x1                               <== NOT EXECUTED
 8005bc4:	5d 80 00 0d 	bne r12,r0,8005bf8 <rtems_termios_txdaemon+0x7c><== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * call any line discipline start function                         
			 */                                                                
			if (rtems_termios_linesw[tty->t_line].l_start != NULL) {           
 8005bc8:	29 63 00 cc 	lw r3,(r11+204)                                <== NOT EXECUTED
 8005bcc:	b4 63 18 00 	add r3,r3,r3                                   <== NOT EXECUTED
 8005bd0:	34 61 00 01 	addi r1,r3,1                                   <== NOT EXECUTED
 8005bd4:	fb ff ee 3d 	calli 80014c8 <__ashlsi3>                      <== NOT EXECUTED
 8005bd8:	b5 a1 10 00 	add r2,r13,r1                                  <== NOT EXECUTED
 8005bdc:	28 42 00 04 	lw r2,(r2+4)                                   <== NOT EXECUTED
				rtems_termios_linesw[tty->t_line].l_start(tty);                   
 8005be0:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * call any line discipline start function                         
			 */                                                                
			if (rtems_termios_linesw[tty->t_line].l_start != NULL) {           
 8005be4:	44 4c 00 02 	be r2,r12,8005bec <rtems_termios_txdaemon+0x70><== NOT EXECUTED
				rtems_termios_linesw[tty->t_line].l_start(tty);                   
 8005be8:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
			}                                                                  
			/*                                                                 
			 * try to push further characters to device                        
			 */                                                                
			rtems_termios_refill_transmitter(tty);                             
 8005bec:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8005bf0:	fb ff f8 29 	calli 8003c94 <rtems_termios_refill_transmitter><== NOT EXECUTED
 8005bf4:	e3 ff ff ec 	bi 8005ba4 <rtems_termios_txdaemon+0x28>       <== NOT EXECUTED
				     TERMIOS_TX_TERMINATE_EVENT),                                 
				    RTEMS_EVENT_ANY | RTEMS_WAIT,                                 
				    RTEMS_NO_TIMEOUT,                                             
				    &the_event);                                                  
		if ((the_event & TERMIOS_TX_TERMINATE_EVENT) != 0) {                
			tty->txTaskId = 0;                                                 
 8005bf8:	59 6e 00 c8 	sw (r11+200),r14                               <== NOT EXECUTED
			rtems_task_delete(RTEMS_SELF);                                     
 8005bfc:	b9 c0 08 00 	mv r1,r14                                      <== NOT EXECUTED
 8005c00:	f8 00 04 53 	calli 8006d4c <rtems_task_delete>              <== NOT EXECUTED
 8005c04:	e3 ff ff e8 	bi 8005ba4 <rtems_termios_txdaemon+0x28>       <== NOT EXECUTED
                                                                      
08004b28 <rtems_termios_write>:                                       
	rtems_termios_puts (&c, 1, tty);                                     
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
 8004b28:	37 9c ff e4 	addi sp,sp,-28                                 <== NOT EXECUTED
 8004b2c:	5b 8b 00 1c 	sw (sp+28),r11                                 <== NOT EXECUTED
 8004b30:	5b 8c 00 18 	sw (sp+24),r12                                 <== NOT EXECUTED
 8004b34:	5b 8d 00 14 	sw (sp+20),r13                                 <== NOT EXECUTED
 8004b38:	5b 8e 00 10 	sw (sp+16),r14                                 <== NOT EXECUTED
 8004b3c:	5b 8f 00 0c 	sw (sp+12),r15                                 <== NOT EXECUTED
 8004b40:	5b 90 00 08 	sw (sp+8),r16                                  <== NOT EXECUTED
 8004b44:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 8004b48:	b8 20 68 00 	mv r13,r1                                      <== NOT EXECUTED
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
 8004b4c:	28 21 00 00 	lw r1,(r1+0)                                   <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
 8004b50:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 8004b54:	b8 40 18 00 	mv r3,r2                                       <== NOT EXECUTED
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
 8004b58:	28 2b 00 38 	lw r11,(r1+56)                                 <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
 8004b5c:	29 61 00 18 	lw r1,(r11+24)                                 <== NOT EXECUTED
 8004b60:	f8 00 07 6a 	calli 8006908 <rtems_semaphore_obtain>         <== NOT EXECUTED
 8004b64:	b8 20 70 00 	mv r14,r1                                      <== NOT EXECUTED
	if (sc != RTEMS_SUCCESSFUL)                                          
 8004b68:	5c 20 00 12 	bne r1,r0,8004bb0 <rtems_termios_write+0x88>   <== NOT EXECUTED
		return sc;                                                          
	if (rtems_termios_linesw[tty->t_line].l_write != NULL) {             
 8004b6c:	29 61 00 cc 	lw r1,(r11+204)                                <== NOT EXECUTED
 8004b70:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 8004b74:	78 0c 08 02 	mvhi r12,0x802                                 <== NOT EXECUTED
 8004b78:	fb ff f2 54 	calli 80014c8 <__ashlsi3>                      <== NOT EXECUTED
 8004b7c:	34 21 00 01 	addi r1,r1,1                                   <== NOT EXECUTED
 8004b80:	34 02 00 03 	mvi r2,3                                       <== NOT EXECUTED
 8004b84:	fb ff f2 51 	calli 80014c8 <__ashlsi3>                      <== NOT EXECUTED
 8004b88:	39 8c 47 7c 	ori r12,r12,0x477c                             <== NOT EXECUTED
 8004b8c:	b5 81 08 00 	add r1,r12,r1                                  <== NOT EXECUTED
 8004b90:	28 23 00 04 	lw r3,(r1+4)                                   <== NOT EXECUTED
 8004b94:	44 6e 00 11 	be r3,r14,8004bd8 <rtems_termios_write+0xb0>   <== NOT EXECUTED
		sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);           
 8004b98:	b9 a0 10 00 	mv r2,r13                                      <== NOT EXECUTED
 8004b9c:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 8004ba0:	d8 60 00 00 	call r3                                        <== NOT EXECUTED
 8004ba4:	b8 20 70 00 	mv r14,r1                                      <== NOT EXECUTED
		rtems_semaphore_release (tty->osem);                                
 8004ba8:	29 61 00 18 	lw r1,(r11+24)                                 <== NOT EXECUTED
 8004bac:	f8 00 07 b8 	calli 8006a8c <rtems_semaphore_release>        <== NOT EXECUTED
		rtems_termios_puts (args->buffer, args->count, tty);                
		args->bytes_moved = args->count;                                    
	}                                                                    
	rtems_semaphore_release (tty->osem);                                 
	return sc;                                                           
}                                                                     
 8004bb0:	b9 c0 08 00 	mv r1,r14                                      <== NOT EXECUTED
 8004bb4:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8004bb8:	2b 8b 00 1c 	lw r11,(sp+28)                                 <== NOT EXECUTED
 8004bbc:	2b 8c 00 18 	lw r12,(sp+24)                                 <== NOT EXECUTED
 8004bc0:	2b 8d 00 14 	lw r13,(sp+20)                                 <== NOT EXECUTED
 8004bc4:	2b 8e 00 10 	lw r14,(sp+16)                                 <== NOT EXECUTED
 8004bc8:	2b 8f 00 0c 	lw r15,(sp+12)                                 <== NOT EXECUTED
 8004bcc:	2b 90 00 08 	lw r16,(sp+8)                                  <== NOT EXECUTED
 8004bd0:	37 9c 00 1c 	addi sp,sp,28                                  <== NOT EXECUTED
 8004bd4:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
	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) {                                  
 8004bd8:	29 61 00 34 	lw r1,(r11+52)                                 <== NOT EXECUTED
 8004bdc:	20 21 00 01 	andi r1,r1,0x1                                 <== NOT EXECUTED
 8004be0:	44 20 00 11 	be r1,r0,8004c24 <rtems_termios_write+0xfc>    <== NOT EXECUTED
		uint32_t   count = args->count;                                     
 8004be4:	29 af 00 14 	lw r15,(r13+20)                                <== NOT EXECUTED
		char      *buffer = args->buffer;                                   
 8004be8:	29 b0 00 10 	lw r16,(r13+16)                                <== NOT EXECUTED
		while (count--)                                                     
 8004bec:	b9 c0 60 00 	mv r12,r14                                     <== NOT EXECUTED
 8004bf0:	b9 c0 08 00 	mv r1,r14                                      <== NOT EXECUTED
 8004bf4:	45 e0 00 08 	be r15,r0,8004c14 <rtems_termios_write+0xec>   <== NOT EXECUTED
			oproc (*buffer++, tty);                                            
 8004bf8:	b6 0c 08 00 	add r1,r16,r12                                 <== NOT EXECUTED
 8004bfc:	40 21 00 00 	lbu r1,(r1+0)                                  <== NOT EXECUTED
 8004c00:	35 8c 00 01 	addi r12,r12,1                                 <== NOT EXECUTED
 8004c04:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 8004c08:	fb ff fe 10 	calli 8004448 <oproc>                          <== NOT EXECUTED
		return sc;                                                          
	}                                                                    
	if (tty->termios.c_oflag & OPOST) {                                  
		uint32_t   count = args->count;                                     
		char      *buffer = args->buffer;                                   
		while (count--)                                                     
 8004c0c:	5d ec ff fb 	bne r15,r12,8004bf8 <rtems_termios_write+0xd0> <== NOT EXECUTED
			oproc (*buffer++, tty);                                            
		args->bytes_moved = args->count;                                    
	}                                                                    
	else {                                                               
		rtems_termios_puts (args->buffer, args->count, tty);                
		args->bytes_moved = args->count;                                    
 8004c10:	29 a1 00 14 	lw r1,(r13+20)                                 <== NOT EXECUTED
 8004c14:	59 a1 00 1c 	sw (r13+28),r1                                 <== NOT EXECUTED
	}                                                                    
	rtems_semaphore_release (tty->osem);                                 
 8004c18:	29 61 00 18 	lw r1,(r11+24)                                 <== NOT EXECUTED
 8004c1c:	f8 00 07 9c 	calli 8006a8c <rtems_semaphore_release>        <== NOT EXECUTED
	return sc;                                                           
 8004c20:	e3 ff ff e4 	bi 8004bb0 <rtems_termios_write+0x88>          <== NOT EXECUTED
		while (count--)                                                     
			oproc (*buffer++, tty);                                            
		args->bytes_moved = args->count;                                    
	}                                                                    
	else {                                                               
		rtems_termios_puts (args->buffer, args->count, tty);                
 8004c24:	29 a1 00 10 	lw r1,(r13+16)                                 <== NOT EXECUTED
 8004c28:	29 a2 00 14 	lw r2,(r13+20)                                 <== NOT EXECUTED
 8004c2c:	b9 60 18 00 	mv r3,r11                                      <== NOT EXECUTED
 8004c30:	fb ff fd ab 	calli 80042dc <rtems_termios_puts>             <== NOT EXECUTED
 8004c34:	e3 ff ff f7 	bi 8004c10 <rtems_termios_write+0xe8>          <== NOT EXECUTED
                                                                      
08013f04 <rtems_timer_cancel>:                                        
 */                                                                   
                                                                      
rtems_status_code rtems_timer_cancel(                                 
  rtems_id id                                                         
)                                                                     
{                                                                     
 8013f04:	37 9c ff f8 	addi sp,sp,-8                                  
 8013f08:	5b 9d 00 04 	sw (sp+4),ra                                   
 8013f0c:	b8 20 10 00 	mv r2,r1                                       
RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Get (                      
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
 8013f10:	78 01 08 03 	mvhi r1,0x803                                  
 8013f14:	37 83 00 08 	addi r3,sp,8                                   
 8013f18:	38 21 ee 78 	ori r1,r1,0xee78                               
 8013f1c:	f8 00 0e 61 	calli 80178a0 <_Objects_Get>                   
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
 8013f20:	2b 83 00 08 	lw r3,(sp+8)                                   
 8013f24:	34 02 00 04 	mvi r2,4                                       
 8013f28:	44 60 00 05 	be r3,r0,8013f3c <rtems_timer_cancel+0x38>     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 8013f2c:	b8 40 08 00 	mv r1,r2                                       
 8013f30:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8013f34:	37 9c 00 08 	addi sp,sp,8                                   
 8013f38:	c3 a0 00 00 	ret                                            
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
 8013f3c:	28 23 00 38 	lw r3,(r1+56)                                  
 8013f40:	44 62 00 03 	be r3,r2,8013f4c <rtems_timer_cancel+0x48>     <== NEVER TAKEN
        (void) _Watchdog_Remove( &the_timer->Ticker );                
 8013f44:	34 21 00 10 	addi r1,r1,16                                  
 8013f48:	f8 00 18 b4 	calli 801a218 <_Watchdog_Remove>               
      _Thread_Enable_dispatch();                                      
 8013f4c:	f8 00 11 67 	calli 80184e8 <_Thread_Enable_dispatch>        
 8013f50:	34 02 00 00 	mvi r2,0                                       
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 8013f54:	b8 40 08 00 	mv r1,r2                                       
 8013f58:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8013f5c:	37 9c 00 08 	addi sp,sp,8                                   
 8013f60:	c3 a0 00 00 	ret                                            
                                                                      
08013f64 <rtems_timer_create>:                                        
                                                                      
rtems_status_code rtems_timer_create(                                 
  rtems_name  name,                                                   
  rtems_id   *id                                                      
)                                                                     
{                                                                     
 8013f64:	37 9c ff e4 	addi sp,sp,-28                                 
 8013f68:	5b 8b 00 1c 	sw (sp+28),r11                                 
 8013f6c:	5b 8c 00 18 	sw (sp+24),r12                                 
 8013f70:	5b 8d 00 14 	sw (sp+20),r13                                 
 8013f74:	5b 8e 00 10 	sw (sp+16),r14                                 
 8013f78:	5b 8f 00 0c 	sw (sp+12),r15                                 
 8013f7c:	5b 90 00 08 	sw (sp+8),r16                                  
 8013f80:	5b 9d 00 04 	sw (sp+4),ra                                   
  Timer_Control *the_timer;                                           
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
 8013f84:	34 0c 00 00 	mvi r12,0                                      
                                                                      
rtems_status_code rtems_timer_create(                                 
  rtems_name  name,                                                   
  rtems_id   *id                                                      
)                                                                     
{                                                                     
 8013f88:	b8 20 68 00 	mv r13,r1                                      
 8013f8c:	b8 40 70 00 	mv r14,r2                                      
  Timer_Control *the_timer;                                           
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
 8013f90:	34 01 00 03 	mvi r1,3                                       
 8013f94:	45 ac 00 20 	be r13,r12,8014014 <rtems_timer_create+0xb0>   <== NEVER TAKEN
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
 8013f98:	34 01 00 09 	mvi r1,9                                       
 8013f9c:	44 4c 00 1e 	be r2,r12,8014014 <rtems_timer_create+0xb0>    <== NEVER TAKEN
 8013fa0:	78 03 08 03 	mvhi r3,0x803                                  
 8013fa4:	38 63 ec 2c 	ori r3,r3,0xec2c                               
 8013fa8:	28 61 00 00 	lw r1,(r3+0)                                   
 8013fac:	34 21 00 01 	addi r1,r1,1                                   
 8013fb0:	58 61 00 00 	sw (r3+0),r1                                   
 *  This function allocates a timer control block from                
 *  the inactive chain of free timer control blocks.                  
 */                                                                   
RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Allocate( void )           
{                                                                     
  return (Timer_Control *) _Objects_Allocate( &_Timer_Information );  
 8013fb4:	78 01 08 03 	mvhi r1,0x803                                  
 8013fb8:	38 21 ee 78 	ori r1,r1,0xee78                               
 8013fbc:	f8 00 0c 64 	calli 801714c <_Objects_Allocate>              
 8013fc0:	b8 20 58 00 	mv r11,r1                                      
                                                                      
  _Thread_Disable_dispatch();         /* to prevent deletion */       
                                                                      
  the_timer = _Timer_Allocate();                                      
                                                                      
  if ( !the_timer ) {                                                 
 8013fc4:	44 2c 00 1d 	be r1,r12,8014038 <rtems_timer_create+0xd4>    <== NEVER TAKEN
 8013fc8:	28 2f 00 08 	lw r15,(r1+8)                                  
 8013fcc:	78 01 08 03 	mvhi r1,0x803                                  
 8013fd0:	38 21 ee 78 	ori r1,r1,0xee78                               
 8013fd4:	28 30 00 1c 	lw r16,(r1+28)                                 
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
                                                                      
  the_timer->the_class = TIMER_DORMANT;                               
 8013fd8:	34 01 00 04 	mvi r1,4                                       
 8013fdc:	59 61 00 38 	sw (r11+56),r1                                 
 8013fe0:	34 02 00 02 	mvi r2,2                                       
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 8013fe4:	59 6c 00 18 	sw (r11+24),r12                                
  the_watchdog->routine   = routine;                                  
 8013fe8:	59 6c 00 2c 	sw (r11+44),r12                                
  the_watchdog->id        = id;                                       
 8013fec:	59 6c 00 30 	sw (r11+48),r12                                
  the_watchdog->user_data = user_data;                                
 8013ff0:	59 6c 00 34 	sw (r11+52),r12                                
 8013ff4:	21 e1 ff ff 	andi r1,r15,0xffff                             
 8013ff8:	fb ff e7 c0 	calli 800def8 <__ashlsi3>                      
 8013ffc:	b6 01 08 00 	add r1,r16,r1                                  
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
 8014000:	59 6d 00 0c 	sw (r11+12),r13                                
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 8014004:	58 2b 00 00 	sw (r1+0),r11                                  
    &_Timer_Information,                                              
    &the_timer->Object,                                               
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_timer->Object.id;                                         
 8014008:	59 cf 00 00 	sw (r14+0),r15                                 
  _Thread_Enable_dispatch();                                          
 801400c:	f8 00 11 37 	calli 80184e8 <_Thread_Enable_dispatch>        
 8014010:	b9 80 08 00 	mv r1,r12                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 8014014:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8014018:	2b 8b 00 1c 	lw r11,(sp+28)                                 
 801401c:	2b 8c 00 18 	lw r12,(sp+24)                                 
 8014020:	2b 8d 00 14 	lw r13,(sp+20)                                 
 8014024:	2b 8e 00 10 	lw r14,(sp+16)                                 
 8014028:	2b 8f 00 0c 	lw r15,(sp+12)                                 
 801402c:	2b 90 00 08 	lw r16,(sp+8)                                  
 8014030:	37 9c 00 1c 	addi sp,sp,28                                  
 8014034:	c3 a0 00 00 	ret                                            
  _Thread_Disable_dispatch();         /* to prevent deletion */       
                                                                      
  the_timer = _Timer_Allocate();                                      
                                                                      
  if ( !the_timer ) {                                                 
    _Thread_Enable_dispatch();                                        
 8014038:	f8 00 11 2c 	calli 80184e8 <_Thread_Enable_dispatch>        
 801403c:	34 01 00 05 	mvi r1,5                                       
    return RTEMS_TOO_MANY;                                            
 8014040:	e3 ff ff f5 	bi 8014014 <rtems_timer_create+0xb0>           
                                                                      
080145a4 <rtems_timer_server_fire_when>:                              
  rtems_id                           id,                              
  rtems_time_of_day                  *wall_time,                      
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
 80145a4:	37 9c ff d8 	addi sp,sp,-40                                 
 80145a8:	5b 8b 00 24 	sw (sp+36),r11                                 
 80145ac:	5b 8c 00 20 	sw (sp+32),r12                                 
 80145b0:	5b 8d 00 1c 	sw (sp+28),r13                                 
 80145b4:	5b 8e 00 18 	sw (sp+24),r14                                 
 80145b8:	5b 8f 00 14 	sw (sp+20),r15                                 
 80145bc:	5b 90 00 10 	sw (sp+16),r16                                 
 80145c0:	5b 91 00 0c 	sw (sp+12),r17                                 
 80145c4:	5b 92 00 08 	sw (sp+8),r18                                  
 80145c8:	5b 9d 00 04 	sw (sp+4),ra                                   
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
 80145cc:	78 05 08 03 	mvhi r5,0x803                                  
 80145d0:	38 a5 ee b8 	ori r5,r5,0xeeb8                               
 80145d4:	28 ab 00 00 	lw r11,(r5+0)                                  
  rtems_id                           id,                              
  rtems_time_of_day                  *wall_time,                      
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
 80145d8:	b8 20 78 00 	mv r15,r1                                      
 80145dc:	b8 40 68 00 	mv r13,r2                                      
 80145e0:	b8 60 70 00 	mv r14,r3                                      
 80145e4:	b8 80 80 00 	mv r16,r4                                      
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
 80145e8:	34 05 00 0e 	mvi r5,14                                      
 80145ec:	45 60 00 0c 	be r11,r0,801461c <rtems_timer_server_fire_when+0x78>
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
 80145f0:	78 05 08 03 	mvhi r5,0x803                                  
 80145f4:	38 a5 ec 40 	ori r5,r5,0xec40                               
 80145f8:	40 a6 00 00 	lbu r6,(r5+0)                                  
 80145fc:	34 05 00 0b 	mvi r5,11                                      
 8014600:	44 c0 00 07 	be r6,r0,801461c <rtems_timer_server_fire_when+0x78><== NEVER TAKEN
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
 8014604:	34 05 00 09 	mvi r5,9                                       
 8014608:	44 60 00 05 	be r3,r0,801461c <rtems_timer_server_fire_when+0x78>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
 801460c:	b8 40 08 00 	mv r1,r2                                       
 8014610:	fb ff f0 06 	calli 8010628 <_TOD_Validate>                  
 8014614:	5c 20 00 0e 	bne r1,r0,801464c <rtems_timer_server_fire_when+0xa8>
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
                                                                      
      _Thread_Enable_dispatch();                                      
      return RTEMS_SUCCESSFUL;                                        
 8014618:	34 05 00 14 	mvi r5,20                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 801461c:	b8 a0 08 00 	mv r1,r5                                       
 8014620:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8014624:	2b 8b 00 24 	lw r11,(sp+36)                                 
 8014628:	2b 8c 00 20 	lw r12,(sp+32)                                 
 801462c:	2b 8d 00 1c 	lw r13,(sp+28)                                 
 8014630:	2b 8e 00 18 	lw r14,(sp+24)                                 
 8014634:	2b 8f 00 14 	lw r15,(sp+20)                                 
 8014638:	2b 90 00 10 	lw r16,(sp+16)                                 
 801463c:	2b 91 00 0c 	lw r17,(sp+12)                                 
 8014640:	2b 92 00 08 	lw r18,(sp+8)                                  
 8014644:	37 9c 00 28 	addi sp,sp,40                                  
 8014648:	c3 a0 00 00 	ret                                            
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
 801464c:	78 0c 08 03 	mvhi r12,0x803                                 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
 8014650:	b9 a0 08 00 	mv r1,r13                                      
 8014654:	fb ff ef ad 	calli 8010508 <_TOD_To_seconds>                
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
 8014658:	39 8c ec bc 	ori r12,r12,0xecbc                             
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
 801465c:	b8 20 88 00 	mv r17,r1                                      
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
 8014660:	29 81 00 00 	lw r1,(r12+0)                                  
 8014664:	50 31 ff ed 	bgeu r1,r17,8014618 <rtems_timer_server_fire_when+0x74>
 8014668:	78 01 08 03 	mvhi r1,0x803                                  
 801466c:	38 21 ee 78 	ori r1,r1,0xee78                               
 8014670:	b9 e0 10 00 	mv r2,r15                                      
 8014674:	37 83 00 28 	addi r3,sp,40                                  
 8014678:	f8 00 0c 8a 	calli 80178a0 <_Objects_Get>                   
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
 801467c:	2b 92 00 28 	lw r18,(sp+40)                                 
 8014680:	b8 20 68 00 	mv r13,r1                                      
 8014684:	34 05 00 04 	mvi r5,4                                       
 8014688:	5e 40 ff e5 	bne r18,r0,801461c <rtems_timer_server_fire_when+0x78>
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
 801468c:	34 21 00 10 	addi r1,r1,16                                  
 8014690:	f8 00 16 e2 	calli 801a218 <_Watchdog_Remove>               
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
 8014694:	59 af 00 30 	sw (r13+48),r15                                
      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();
 8014698:	29 81 00 00 	lw r1,(r12+0)                                  
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
 801469c:	29 63 00 04 	lw r3,(r11+4)                                  
 80146a0:	b9 a0 10 00 	mv r2,r13                                      
                                                                      
    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();
 80146a4:	ca 21 88 00 	sub r17,r17,r1                                 
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
 80146a8:	34 01 00 03 	mvi r1,3                                       
 80146ac:	59 a1 00 38 	sw (r13+56),r1                                 
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 80146b0:	59 ae 00 2c 	sw (r13+44),r14                                
      _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 ); 
 80146b4:	b9 60 08 00 	mv r1,r11                                      
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 80146b8:	59 b0 00 34 	sw (r13+52),r16                                
                                                                      
    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();
 80146bc:	59 b1 00 1c 	sw (r13+28),r17                                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 80146c0:	59 b2 00 18 	sw (r13+24),r18                                
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
 80146c4:	d8 60 00 00 	call r3                                        
                                                                      
      _Thread_Enable_dispatch();                                      
 80146c8:	f8 00 0f 88 	calli 80184e8 <_Thread_Enable_dispatch>        
 80146cc:	ba 40 28 00 	mv r5,r18                                      
      return RTEMS_SUCCESSFUL;                                        
 80146d0:	e3 ff ff d3 	bi 801461c <rtems_timer_server_fire_when+0x78> 
                                                                      
08006fc0 <rtems_verror>:                                              
static int rtems_verror(                                              
    rtems_error_code_t error_flag,                                    
    const char   *printf_format,                                      
    va_list      arglist                                              
)                                                                     
{                                                                     
 8006fc0:	37 9c ff e0 	addi sp,sp,-32                                 <== NOT EXECUTED
 8006fc4:	5b 8b 00 20 	sw (sp+32),r11                                 <== NOT EXECUTED
 8006fc8:	5b 8c 00 1c 	sw (sp+28),r12                                 <== NOT EXECUTED
 8006fcc:	5b 8d 00 18 	sw (sp+24),r13                                 <== NOT EXECUTED
 8006fd0:	5b 8e 00 14 	sw (sp+20),r14                                 <== NOT EXECUTED
 8006fd4:	5b 8f 00 10 	sw (sp+16),r15                                 <== NOT EXECUTED
 8006fd8:	5b 90 00 0c 	sw (sp+12),r16                                 <== NOT EXECUTED
 8006fdc:	5b 91 00 08 	sw (sp+8),r17                                  <== NOT EXECUTED
 8006fe0:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
    int               local_errno = 0;                                
    int               chars_written = 0;                              
    rtems_status_code status;                                         
                                                                      
    if (error_flag & RTEMS_ERROR_PANIC)                               
 8006fe4:	78 04 20 00 	mvhi r4,0x2000                                 <== NOT EXECUTED
 8006fe8:	38 84 00 00 	ori r4,r4,0x0                                  <== NOT EXECUTED
 8006fec:	a0 24 78 00 	and r15,r1,r4                                  <== NOT EXECUTED
static int rtems_verror(                                              
    rtems_error_code_t error_flag,                                    
    const char   *printf_format,                                      
    va_list      arglist                                              
)                                                                     
{                                                                     
 8006ff0:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
 8006ff4:	b8 40 80 00 	mv r16,r2                                      <== NOT EXECUTED
 8006ff8:	b8 60 70 00 	mv r14,r3                                      <== NOT EXECUTED
    int               local_errno = 0;                                
    int               chars_written = 0;                              
    rtems_status_code status;                                         
                                                                      
    if (error_flag & RTEMS_ERROR_PANIC)                               
 8006ffc:	45 e0 00 0f 	be r15,r0,8007038 <rtems_verror+0x78>          <== NOT EXECUTED
    {                                                                 
        if (rtems_panic_in_progress++)                                
 8007000:	78 05 08 02 	mvhi r5,0x802                                  <== NOT EXECUTED
 8007004:	38 a5 a8 1c 	ori r5,r5,0xa81c                               <== NOT EXECUTED
 8007008:	28 a4 00 00 	lw r4,(r5+0)                                   <== NOT EXECUTED
 800700c:	34 81 00 01 	addi r1,r4,1                                   <== NOT EXECUTED
 8007010:	58 a1 00 00 	sw (r5+0),r1                                   <== NOT EXECUTED
 8007014:	44 80 00 07 	be r4,r0,8007030 <rtems_verror+0x70>           <== NOT EXECUTED
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 8007018:	78 01 08 02 	mvhi r1,0x802                                  <== NOT EXECUTED
 800701c:	38 21 a9 b4 	ori r1,r1,0xa9b4                               <== NOT EXECUTED
 8007020:	28 22 00 00 	lw r2,(r1+0)                                   <== NOT EXECUTED
 8007024:	34 42 00 01 	addi r2,r2,1                                   <== NOT EXECUTED
 8007028:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
 800702c:	28 a1 00 00 	lw r1,(r5+0)                                   <== NOT EXECUTED
            _Thread_Disable_dispatch();       /* disable task switches */
                                                                      
        /* don't aggravate things */                                  
        if (rtems_panic_in_progress > 2)                              
 8007030:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 8007034:	48 22 00 37 	bg r1,r2,8007110 <rtems_verror+0x150>          <== NOT EXECUTED
            return 0;                                                 
    }                                                                 
                                                                      
    (void) fflush(stdout);  	    /* in case stdout/stderr same */     
 8007038:	78 0b 08 02 	mvhi r11,0x802                                 <== NOT EXECUTED
 800703c:	39 6b a1 e8 	ori r11,r11,0xa1e8                             <== NOT EXECUTED
 8007040:	29 61 00 00 	lw r1,(r11+0)                                  <== NOT EXECUTED
 8007044:	28 21 00 08 	lw r1,(r1+8)                                   <== NOT EXECUTED
 8007048:	f8 00 35 db 	calli 80147b4 <fflush>                         <== NOT EXECUTED
                                                                      
    status = error_flag & ~RTEMS_ERROR_MASK;                          
    if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */      
 800704c:	78 06 40 00 	mvhi r6,0x4000                                 <== NOT EXECUTED
 8007050:	38 c6 00 00 	ori r6,r6,0x0                                  <== NOT EXECUTED
            return 0;                                                 
    }                                                                 
                                                                      
    (void) fflush(stdout);  	    /* in case stdout/stderr same */     
                                                                      
    status = error_flag & ~RTEMS_ERROR_MASK;                          
 8007054:	78 05 8f ff 	mvhi r5,0x8fff                                 <== NOT EXECUTED
 8007058:	38 a5 ff ff 	ori r5,r5,0xffff                               <== NOT EXECUTED
    if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */      
 800705c:	a1 86 30 00 	and r6,r12,r6                                  <== NOT EXECUTED
            return 0;                                                 
    }                                                                 
                                                                      
    (void) fflush(stdout);  	    /* in case stdout/stderr same */     
                                                                      
    status = error_flag & ~RTEMS_ERROR_MASK;                          
 8007060:	a1 85 88 00 	and r17,r12,r5                                 <== NOT EXECUTED
    if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */      
 8007064:	b8 c0 68 00 	mv r13,r6                                      <== NOT EXECUTED
 8007068:	5c c0 00 46 	bne r6,r0,8007180 <rtems_verror+0x1c0>         <== NOT EXECUTED
    #if defined(RTEMS_MULTIPROCESSING)                                
      if (_System_state_Is_multiprocessing)                           
        fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
    #endif                                                            
                                                                      
    chars_written += vfprintf(stderr, printf_format, arglist);        
 800706c:	29 61 00 00 	lw r1,(r11+0)                                  <== NOT EXECUTED
 8007070:	b9 c0 18 00 	mv r3,r14                                      <== NOT EXECUTED
 8007074:	ba 00 10 00 	mv r2,r16                                      <== NOT EXECUTED
 8007078:	28 21 00 0c 	lw r1,(r1+12)                                  <== NOT EXECUTED
 800707c:	f8 00 4c 35 	calli 801a150 <vfprintf>                       <== NOT EXECUTED
 8007080:	b8 20 70 00 	mv r14,r1                                      <== NOT EXECUTED
                                                                      
    if (status)                                                       
 8007084:	5e 20 00 2e 	bne r17,r0,800713c <rtems_verror+0x17c>        <== NOT EXECUTED
        chars_written += fprintf(stderr, " (status: %s)", rtems_status_text(status));
                                                                      
    if (local_errno)                                                  
 8007088:	45 a0 00 0d 	be r13,r0,80070bc <rtems_verror+0xfc>          <== NOT EXECUTED
    {                                                                 
      if ((local_errno > 0) && *strerror(local_errno))                
 800708c:	4c 0d 00 05 	bge r0,r13,80070a0 <rtems_verror+0xe0>         <== NOT EXECUTED
 8007090:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 8007094:	f8 00 3a a8 	calli 8015b34 <strerror>                       <== NOT EXECUTED
 8007098:	40 21 00 00 	lbu r1,(r1+0)                                  <== NOT EXECUTED
 800709c:	5c 20 00 3c 	bne r1,r0,800718c <rtems_verror+0x1cc>         <== NOT EXECUTED
        chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
      else                                                            
        chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
 80070a0:	29 61 00 00 	lw r1,(r11+0)                                  <== NOT EXECUTED
 80070a4:	78 02 08 02 	mvhi r2,0x802                                  <== NOT EXECUTED
 80070a8:	38 42 74 64 	ori r2,r2,0x7464                               <== NOT EXECUTED
 80070ac:	28 21 00 0c 	lw r1,(r1+12)                                  <== NOT EXECUTED
 80070b0:	b9 a0 18 00 	mv r3,r13                                      <== NOT EXECUTED
 80070b4:	f8 00 36 cd 	calli 8014be8 <fprintf>                        <== NOT EXECUTED
 80070b8:	b5 c1 70 00 	add r14,r14,r1                                 <== NOT EXECUTED
    }                                                                 
                                                                      
    chars_written += fprintf(stderr, "\n");                           
 80070bc:	29 61 00 00 	lw r1,(r11+0)                                  <== NOT EXECUTED
 80070c0:	78 02 08 02 	mvhi r2,0x802                                  <== NOT EXECUTED
 80070c4:	38 42 6c 9c 	ori r2,r2,0x6c9c                               <== NOT EXECUTED
 80070c8:	28 21 00 0c 	lw r1,(r1+12)                                  <== NOT EXECUTED
 80070cc:	f8 00 36 c7 	calli 8014be8 <fprintf>                        <== NOT EXECUTED
 80070d0:	b8 20 80 00 	mv r16,r1                                      <== NOT EXECUTED
                                                                      
    (void) fflush(stderr);                                            
 80070d4:	29 61 00 00 	lw r1,(r11+0)                                  <== NOT EXECUTED
 80070d8:	28 21 00 0c 	lw r1,(r1+12)                                  <== NOT EXECUTED
 80070dc:	f8 00 35 b6 	calli 80147b4 <fflush>                         <== NOT EXECUTED
                                                                      
    if (error_flag & (RTEMS_ERROR_PANIC | RTEMS_ERROR_ABORT))         
 80070e0:	78 02 30 00 	mvhi r2,0x3000                                 <== NOT EXECUTED
 80070e4:	38 42 00 00 	ori r2,r2,0x0                                  <== NOT EXECUTED
 80070e8:	a1 82 60 00 	and r12,r12,r2                                 <== NOT EXECUTED
        chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
      else                                                            
        chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
    }                                                                 
                                                                      
    chars_written += fprintf(stderr, "\n");                           
 80070ec:	b6 0e 08 00 	add r1,r16,r14                                 <== NOT EXECUTED
                                                                      
    (void) fflush(stderr);                                            
                                                                      
    if (error_flag & (RTEMS_ERROR_PANIC | RTEMS_ERROR_ABORT))         
 80070f0:	45 80 00 09 	be r12,r0,8007114 <rtems_verror+0x154>         <== NOT EXECUTED
    {                                                                 
        if (error_flag & RTEMS_ERROR_PANIC)                           
 80070f4:	45 e0 00 1e 	be r15,r0,800716c <rtems_verror+0x1ac>         <== NOT EXECUTED
        {                                                             
            rtems_error(0, "fatal error, exiting");                   
 80070f8:	78 02 08 02 	mvhi r2,0x802                                  <== NOT EXECUTED
 80070fc:	38 42 74 78 	ori r2,r2,0x7478                               <== NOT EXECUTED
 8007100:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 8007104:	f8 00 00 40 	calli 8007204 <rtems_error>                    <== NOT EXECUTED
            _exit(local_errno);                                       
 8007108:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 800710c:	f8 00 03 88 	calli 8007f2c <_exit>                          <== NOT EXECUTED
        }                                                             
        else                                                          
        {                                                             
            rtems_error(0, "fatal error, aborting");                  
            abort();                                                  
 8007110:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
        }                                                             
    }                                                                 
    return chars_written;                                             
}                                                                     
 8007114:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8007118:	2b 8b 00 20 	lw r11,(sp+32)                                 <== NOT EXECUTED
 800711c:	2b 8c 00 1c 	lw r12,(sp+28)                                 <== NOT EXECUTED
 8007120:	2b 8d 00 18 	lw r13,(sp+24)                                 <== NOT EXECUTED
 8007124:	2b 8e 00 14 	lw r14,(sp+20)                                 <== NOT EXECUTED
 8007128:	2b 8f 00 10 	lw r15,(sp+16)                                 <== NOT EXECUTED
 800712c:	2b 90 00 0c 	lw r16,(sp+12)                                 <== NOT EXECUTED
 8007130:	2b 91 00 08 	lw r17,(sp+8)                                  <== NOT EXECUTED
 8007134:	37 9c 00 20 	addi sp,sp,32                                  <== NOT EXECUTED
 8007138:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
    #endif                                                            
                                                                      
    chars_written += vfprintf(stderr, printf_format, arglist);        
                                                                      
    if (status)                                                       
        chars_written += fprintf(stderr, " (status: %s)", rtems_status_text(status));
 800713c:	29 62 00 00 	lw r2,(r11+0)                                  <== NOT EXECUTED
 8007140:	ba 20 08 00 	mv r1,r17                                      <== NOT EXECUTED
 8007144:	28 50 00 0c 	lw r16,(r2+12)                                 <== NOT EXECUTED
 8007148:	fb ff ff 95 	calli 8006f9c <rtems_status_text>              <== NOT EXECUTED
 800714c:	78 02 08 02 	mvhi r2,0x802                                  <== NOT EXECUTED
 8007150:	b8 20 18 00 	mv r3,r1                                       <== NOT EXECUTED
 8007154:	38 42 74 44 	ori r2,r2,0x7444                               <== NOT EXECUTED
 8007158:	ba 00 08 00 	mv r1,r16                                      <== NOT EXECUTED
 800715c:	f8 00 36 a3 	calli 8014be8 <fprintf>                        <== NOT EXECUTED
 8007160:	b5 c1 70 00 	add r14,r14,r1                                 <== NOT EXECUTED
                                                                      
    if (local_errno)                                                  
 8007164:	45 a0 ff d6 	be r13,r0,80070bc <rtems_verror+0xfc>          <== NOT EXECUTED
 8007168:	e3 ff ff c9 	bi 800708c <rtems_verror+0xcc>                 <== NOT EXECUTED
            rtems_error(0, "fatal error, exiting");                   
            _exit(local_errno);                                       
        }                                                             
        else                                                          
        {                                                             
            rtems_error(0, "fatal error, aborting");                  
 800716c:	78 02 08 02 	mvhi r2,0x802                                  <== NOT EXECUTED
 8007170:	38 42 74 90 	ori r2,r2,0x7490                               <== NOT EXECUTED
 8007174:	b9 e0 08 00 	mv r1,r15                                      <== NOT EXECUTED
 8007178:	f8 00 00 23 	calli 8007204 <rtems_error>                    <== NOT EXECUTED
            abort();                                                  
 800717c:	f8 00 34 6e 	calli 8014334 <abort>                          <== NOT EXECUTED
                                                                      
    (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;                                          
 8007180:	f8 00 34 7d 	calli 8014374 <__errno>                        <== NOT EXECUTED
 8007184:	28 2d 00 00 	lw r13,(r1+0)                                  <== NOT EXECUTED
 8007188:	e3 ff ff b9 	bi 800706c <rtems_verror+0xac>                 <== NOT EXECUTED
        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));
 800718c:	29 62 00 00 	lw r2,(r11+0)                                  <== NOT EXECUTED
 8007190:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 8007194:	28 50 00 0c 	lw r16,(r2+12)                                 <== NOT EXECUTED
 8007198:	f8 00 3a 67 	calli 8015b34 <strerror>                       <== NOT EXECUTED
 800719c:	78 02 08 02 	mvhi r2,0x802                                  <== NOT EXECUTED
 80071a0:	b8 20 18 00 	mv r3,r1                                       <== NOT EXECUTED
 80071a4:	38 42 74 54 	ori r2,r2,0x7454                               <== NOT EXECUTED
 80071a8:	ba 00 08 00 	mv r1,r16                                      <== NOT EXECUTED
 80071ac:	f8 00 36 8f 	calli 8014be8 <fprintf>                        <== NOT EXECUTED
 80071b0:	b5 c1 70 00 	add r14,r14,r1                                 <== NOT EXECUTED
    if (status)                                                       
        chars_written += fprintf(stderr, " (status: %s)", rtems_status_text(status));
                                                                      
    if (local_errno)                                                  
    {                                                                 
      if ((local_errno > 0) && *strerror(local_errno))                
 80071b4:	e3 ff ff c2 	bi 80070bc <rtems_verror+0xfc>                 <== NOT EXECUTED
                                                                      
080296dc <scanInt>:                                                   
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
 80296dc:	37 9c ff d4 	addi sp,sp,-44                                 
 80296e0:	5b 8b 00 2c 	sw (sp+44),r11                                 
 80296e4:	5b 8c 00 28 	sw (sp+40),r12                                 
 80296e8:	5b 8d 00 24 	sw (sp+36),r13                                 
 80296ec:	5b 8e 00 20 	sw (sp+32),r14                                 
 80296f0:	5b 8f 00 1c 	sw (sp+28),r15                                 
 80296f4:	5b 90 00 18 	sw (sp+24),r16                                 
 80296f8:	5b 91 00 14 	sw (sp+20),r17                                 
 80296fc:	5b 92 00 10 	sw (sp+16),r18                                 
 8029700:	5b 93 00 0c 	sw (sp+12),r19                                 
 8029704:	5b 94 00 08 	sw (sp+8),r20                                  
 8029708:	5b 9d 00 04 	sw (sp+4),ra                                   
 802970c:	34 0f 00 00 	mvi r15,0                                      
 8029710:	78 10 7f ff 	mvhi r16,0x7fff                                
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
 8029714:	78 13 08 07 	mvhi r19,0x807                                 
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
 8029718:	78 0e 08 07 	mvhi r14,0x807                                 
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
 802971c:	b8 20 58 00 	mv r11,r1                                      
 8029720:	b8 40 a0 00 	mv r20,r2                                      
 8029724:	3a 10 ff ff 	ori r16,r16,0xffff                             
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
 8029728:	3a 73 1a c8 	ori r19,r19,0x1ac8                             
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
 802972c:	39 ce 1a b8 	ori r14,r14,0x1ab8                             
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
 8029730:	b9 e0 68 00 	mv r13,r15                                     
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':')                                                     
 8029734:	34 11 00 3a 	mvi r17,58                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
 8029738:	34 12 00 2d 	mvi r18,45                                     
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
 802973c:	29 63 00 04 	lw r3,(r11+4)                                  
 8029740:	34 63 ff ff 	addi r3,r3,-1                                  
 8029744:	59 63 00 04 	sw (r11+4),r3                                  
 8029748:	4c 60 00 1b 	bge r3,r0,80297b4 <scanInt+0xd8>               <== ALWAYS TAKEN
 802974c:	2a 61 00 00 	lw r1,(r19+0)                                  <== NOT EXECUTED
 8029750:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 8029754:	f8 00 8f 56 	calli 804d4ac <__srget_r>                      <== NOT EXECUTED
 8029758:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
    if (c == ':')                                                     
 802975c:	45 91 00 1b 	be r12,r17,80297c8 <scanInt+0xec>              <== NOT EXECUTED
      break;                                                          
    if (sign == 0) {                                                  
 8029760:	5d e0 00 03 	bne r15,r0,802976c <scanInt+0x90>              <== NEVER TAKEN
      if (c == '-') {                                                 
        sign = -1;                                                    
        limit++;                                                      
        continue;                                                     
 8029764:	34 0f 00 01 	mvi r15,1                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
 8029768:	45 92 00 32 	be r12,r18,8029830 <scanInt+0x154>             <== NEVER TAKEN
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
 802976c:	29 c1 00 00 	lw r1,(r14+0)                                  
 8029770:	b4 2c 08 00 	add r1,r1,r12                                  
 8029774:	40 21 00 01 	lbu r1,(r1+1)                                  
 8029778:	20 21 00 04 	andi r1,r1,0x4                                 
 802977c:	44 20 00 1f 	be r1,r0,80297f8 <scanInt+0x11c>               <== NEVER TAKEN
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
 8029780:	ba 00 08 00 	mv r1,r16                                      
 8029784:	34 02 00 0a 	mvi r2,10                                      
 8029788:	fb ff 67 af 	calli 8003644 <__udivsi3>                      
 802978c:	55 a1 00 1b 	bgu r13,r1,80297f8 <scanInt+0x11c>             <== NEVER TAKEN
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
 8029790:	35 8c ff d0 	addi r12,r12,-48                               
    if ((i > (limit / 10))                                            
 8029794:	45 a1 00 14 	be r13,r1,80297e4 <scanInt+0x108>              <== NEVER TAKEN
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
 8029798:	b5 ad 68 00 	add r13,r13,r13                                
 802979c:	b9 a0 08 00 	mv r1,r13                                      
 80297a0:	34 02 00 02 	mvi r2,2                                       
 80297a4:	fb ff 5e 6f 	calli 8001160 <__ashlsi3>                      
 80297a8:	b5 a1 68 00 	add r13,r13,r1                                 
 80297ac:	b5 8d 68 00 	add r13,r12,r13                                
 80297b0:	e3 ff ff e3 	bi 802973c <scanInt+0x60>                      
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
 80297b4:	29 63 00 00 	lw r3,(r11+0)                                  
 80297b8:	40 6c 00 00 	lbu r12,(r3+0)                                 
 80297bc:	34 61 00 01 	addi r1,r3,1                                   
 80297c0:	59 61 00 00 	sw (r11+0),r1                                  
    if (c == ':')                                                     
 80297c4:	5d 91 ff e7 	bne r12,r17,8029760 <scanInt+0x84>             
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
 80297c8:	45 e0 00 0c 	be r15,r0,80297f8 <scanInt+0x11c>              <== NEVER TAKEN
    return 0;                                                         
  *val = i * sign;                                                    
 80297cc:	b9 e0 08 00 	mv r1,r15                                      
 80297d0:	b9 a0 10 00 	mv r2,r13                                      
 80297d4:	fb ff 67 7c 	calli 80035c4 <__mulsi3>                       
 80297d8:	5a 81 00 00 	sw (r20+0),r1                                  
 80297dc:	34 01 00 01 	mvi r1,1                                       
  return 1;                                                           
 80297e0:	e0 00 00 07 	bi 80297fc <scanInt+0x120>                     
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
 80297e4:	ba 00 08 00 	mv r1,r16                                      <== NOT EXECUTED
 80297e8:	34 02 00 0a 	mvi r2,10                                      <== NOT EXECUTED
 80297ec:	fb ff 67 a6 	calli 8003684 <__umodsi3>                      <== NOT EXECUTED
 80297f0:	55 81 00 02 	bgu r12,r1,80297f8 <scanInt+0x11c>             <== NOT EXECUTED
 80297f4:	e3 ff ff e9 	bi 8029798 <scanInt+0xbc>                      <== NOT EXECUTED
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
  return 1;                                                           
 80297f8:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
}                                                                     
 80297fc:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8029800:	2b 8b 00 2c 	lw r11,(sp+44)                                 
 8029804:	2b 8c 00 28 	lw r12,(sp+40)                                 
 8029808:	2b 8d 00 24 	lw r13,(sp+36)                                 
 802980c:	2b 8e 00 20 	lw r14,(sp+32)                                 
 8029810:	2b 8f 00 1c 	lw r15,(sp+28)                                 
 8029814:	2b 90 00 18 	lw r16,(sp+24)                                 
 8029818:	2b 91 00 14 	lw r17,(sp+20)                                 
 802981c:	2b 92 00 10 	lw r18,(sp+16)                                 
 8029820:	2b 93 00 0c 	lw r19,(sp+12)                                 
 8029824:	2b 94 00 08 	lw r20,(sp+8)                                  
 8029828:	37 9c 00 2c 	addi sp,sp,44                                  
 802982c:	c3 a0 00 00 	ret                                            
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
        sign = -1;                                                    
        limit++;                                                      
 8029830:	b6 0f 80 00 	add r16,r16,r15                                <== NOT EXECUTED
 8029834:	34 0f ff ff 	mvi r15,-1                                     <== NOT EXECUTED
        continue;                                                     
 8029838:	e3 ff ff c1 	bi 802973c <scanInt+0x60>                      <== NOT EXECUTED
                                                                      
0802983c <scanString>:                                                
/*                                                                    
 * Extract a string value from the database                           
 */                                                                   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
 802983c:	37 9c ff d8 	addi sp,sp,-40                                 
 8029840:	5b 8b 00 28 	sw (sp+40),r11                                 
 8029844:	5b 8c 00 24 	sw (sp+36),r12                                 
 8029848:	5b 8d 00 20 	sw (sp+32),r13                                 
 802984c:	5b 8e 00 1c 	sw (sp+28),r14                                 
 8029850:	5b 8f 00 18 	sw (sp+24),r15                                 
 8029854:	5b 90 00 14 	sw (sp+20),r16                                 
 8029858:	5b 91 00 10 	sw (sp+16),r17                                 
 802985c:	5b 92 00 0c 	sw (sp+12),r18                                 
 8029860:	5b 93 00 08 	sw (sp+8),r19                                  
 8029864:	5b 9d 00 04 	sw (sp+4),ra                                   
 8029868:	b8 60 58 00 	mv r11,r3                                      
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
 802986c:	28 63 00 00 	lw r3,(r3+0)                                   
  for (;;) {                                                          
    c = getc(fp);                                                     
 8029870:	78 12 08 07 	mvhi r18,0x807                                 
/*                                                                    
 * Extract a string value from the database                           
 */                                                                   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
 8029874:	b8 20 60 00 	mv r12,r1                                      
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
 8029878:	58 43 00 00 	sw (r2+0),r3                                   
/*                                                                    
 * Extract a string value from the database                           
 */                                                                   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
 802987c:	b8 80 68 00 	mv r13,r4                                      
 8029880:	b8 a0 98 00 	mv r19,r5                                      
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
 8029884:	3a 52 1a c8 	ori r18,r18,0x1ac8                             
    if (c == ':') {                                                   
 8029888:	34 0e 00 3a 	mvi r14,58                                     
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
 802988c:	34 0f 00 0a 	mvi r15,10                                     
        if (!nlFlag)                                                  
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
 8029890:	34 10 ff ff 	mvi r16,-1                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
 8029894:	34 11 00 01 	mvi r17,1                                      
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
 8029898:	29 81 00 04 	lw r1,(r12+4)                                  
 802989c:	34 21 ff ff 	addi r1,r1,-1                                  
 80298a0:	59 81 00 04 	sw (r12+4),r1                                  
 80298a4:	4c 20 00 12 	bge r1,r0,80298ec <scanString+0xb0>            
 80298a8:	2a 41 00 00 	lw r1,(r18+0)                                  
 80298ac:	b9 80 10 00 	mv r2,r12                                      
 80298b0:	f8 00 8e ff 	calli 804d4ac <__srget_r>                      
    if (c == ':') {                                                   
 80298b4:	44 2e 00 13 	be r1,r14,8029900 <scanString+0xc4>            <== NEVER TAKEN
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
 80298b8:	44 2f 00 1e 	be r1,r15,8029930 <scanString+0xf4>            
        if (!nlFlag)                                                  
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
 80298bc:	44 30 00 1e 	be r1,r16,8029934 <scanString+0xf8>            <== NEVER TAKEN
      return 0;                                                       
    if (*nleft < 2)                                                   
 80298c0:	29 a2 00 00 	lw r2,(r13+0)                                  
 80298c4:	52 22 00 1c 	bgeu r17,r2,8029934 <scanString+0xf8>          <== NEVER TAKEN
      return 0;                                                       
    **bufp = c;                                                       
 80298c8:	29 62 00 00 	lw r2,(r11+0)                                  
 80298cc:	30 41 00 00 	sb (r2+0),r1                                   
    ++(*bufp);                                                        
 80298d0:	29 62 00 00 	lw r2,(r11+0)                                  
    --(*nleft);                                                       
 80298d4:	29 a1 00 00 	lw r1,(r13+0)                                  
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
 80298d8:	34 42 00 01 	addi r2,r2,1                                   
    --(*nleft);                                                       
 80298dc:	34 21 ff ff 	addi r1,r1,-1                                  
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
 80298e0:	59 62 00 00 	sw (r11+0),r2                                  
    --(*nleft);                                                       
 80298e4:	59 a1 00 00 	sw (r13+0),r1                                  
  }                                                                   
 80298e8:	e3 ff ff ec 	bi 8029898 <scanString+0x5c>                   
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
 80298ec:	29 81 00 00 	lw r1,(r12+0)                                  
 80298f0:	34 22 00 01 	addi r2,r1,1                                   
 80298f4:	40 21 00 00 	lbu r1,(r1+0)                                  
 80298f8:	59 82 00 00 	sw (r12+0),r2                                  
    if (c == ':') {                                                   
 80298fc:	5c 2e ff ef 	bne r1,r14,80298b8 <scanString+0x7c>           
        if (nlFlag)                                                   
 8029900:	5e 60 00 0d 	bne r19,r0,8029934 <scanString+0xf8>           <== NEVER TAKEN
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
 8029904:	29 63 00 00 	lw r3,(r11+0)                                  
 8029908:	34 02 00 00 	mvi r2,0                                       
  ++(*bufp);                                                          
  --(*nleft);                                                         
 802990c:	34 01 00 01 	mvi r1,1                                       
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
 8029910:	30 62 00 00 	sb (r3+0),r2                                   
  ++(*bufp);                                                          
 8029914:	29 63 00 00 	lw r3,(r11+0)                                  
  --(*nleft);                                                         
 8029918:	29 a2 00 00 	lw r2,(r13+0)                                  
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
 802991c:	b4 61 18 00 	add r3,r3,r1                                   
  --(*nleft);                                                         
 8029920:	34 42 ff ff 	addi r2,r2,-1                                  
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
 8029924:	59 63 00 00 	sw (r11+0),r3                                  
  --(*nleft);                                                         
 8029928:	59 a2 00 00 	sw (r13+0),r2                                  
  return 1;                                                           
 802992c:	e0 00 00 03 	bi 8029938 <scanString+0xfc>                   
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
        if (!nlFlag)                                                  
 8029930:	5e 60 ff f5 	bne r19,r0,8029904 <scanString+0xc8>           <== ALWAYS TAKEN
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
  --(*nleft);                                                         
  return 1;                                                           
 8029934:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
}                                                                     
 8029938:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802993c:	2b 8b 00 28 	lw r11,(sp+40)                                 
 8029940:	2b 8c 00 24 	lw r12,(sp+36)                                 
 8029944:	2b 8d 00 20 	lw r13,(sp+32)                                 
 8029948:	2b 8e 00 1c 	lw r14,(sp+28)                                 
 802994c:	2b 8f 00 18 	lw r15,(sp+24)                                 
 8029950:	2b 90 00 14 	lw r16,(sp+20)                                 
 8029954:	2b 91 00 10 	lw r17,(sp+16)                                 
 8029958:	2b 92 00 0c 	lw r18,(sp+12)                                 
 802995c:	2b 93 00 08 	lw r19,(sp+8)                                  
 8029960:	37 9c 00 28 	addi sp,sp,40                                  
 8029964:	c3 a0 00 00 	ret                                            
                                                                      
08029968 <scangr>:                                                    
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
 8029968:	37 9c ff d8 	addi sp,sp,-40                                 
 802996c:	5b 8b 00 18 	sw (sp+24),r11                                 
 8029970:	5b 8c 00 14 	sw (sp+20),r12                                 
 8029974:	5b 8d 00 10 	sw (sp+16),r13                                 
 8029978:	5b 8e 00 0c 	sw (sp+12),r14                                 
 802997c:	5b 8f 00 08 	sw (sp+8),r15                                  
 8029980:	5b 9d 00 04 	sw (sp+4),ra                                   
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
 8029984:	37 8c 00 20 	addi r12,sp,32                                 
 8029988:	37 8b 00 1c 	addi r11,sp,28                                 
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
 802998c:	5b 83 00 20 	sw (sp+32),r3                                  
 8029990:	5b 84 00 1c 	sw (sp+28),r4                                  
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
 8029994:	b9 80 18 00 	mv r3,r12                                      
 8029998:	b9 60 20 00 	mv r4,r11                                      
 802999c:	34 05 00 00 	mvi r5,0                                       
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
 80299a0:	b8 20 68 00 	mv r13,r1                                      
 80299a4:	b8 40 70 00 	mv r14,r2                                      
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
 80299a8:	fb ff ff a5 	calli 802983c <scanString>                     
 80299ac:	5c 20 00 0a 	bne r1,r0,80299d4 <scangr+0x6c>                <== ALWAYS TAKEN
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
  return 1;                                                           
 80299b0:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
}                                                                     
 80299b4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80299b8:	2b 8b 00 18 	lw r11,(sp+24)                                 
 80299bc:	2b 8c 00 14 	lw r12,(sp+20)                                 
 80299c0:	2b 8d 00 10 	lw r13,(sp+16)                                 
 80299c4:	2b 8e 00 0c 	lw r14,(sp+12)                                 
 80299c8:	2b 8f 00 08 	lw r15,(sp+8)                                  
 80299cc:	37 9c 00 28 	addi sp,sp,40                                  
 80299d0:	c3 a0 00 00 	ret                                            
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
 80299d4:	b9 a0 08 00 	mv r1,r13                                      
 80299d8:	35 c2 00 04 	addi r2,r14,4                                  
 80299dc:	b9 80 18 00 	mv r3,r12                                      
 80299e0:	b9 60 20 00 	mv r4,r11                                      
 80299e4:	34 05 00 00 	mvi r5,0                                       
 80299e8:	fb ff ff 95 	calli 802983c <scanString>                     
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
 80299ec:	44 20 ff f1 	be r1,r0,80299b0 <scangr+0x48>                 <== NEVER TAKEN
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
 80299f0:	b9 a0 08 00 	mv r1,r13                                      
 80299f4:	37 82 00 28 	addi r2,sp,40                                  
 80299f8:	fb ff ff 39 	calli 80296dc <scanInt>                        
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
 80299fc:	44 20 ff ed 	be r1,r0,80299b0 <scangr+0x48>                 <== NEVER TAKEN
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
 8029a00:	b9 a0 08 00 	mv r1,r13                                      
 8029a04:	b9 80 18 00 	mv r3,r12                                      
 8029a08:	b9 60 20 00 	mv r4,r11                                      
 8029a0c:	37 82 00 24 	addi r2,sp,36                                  
 8029a10:	34 05 00 01 	mvi r5,1                                       
 8029a14:	fb ff ff 8a 	calli 802983c <scanString>                     
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
 8029a18:	44 20 ff e6 	be r1,r0,80299b0 <scangr+0x48>                 <== NEVER TAKEN
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
    return 0;                                                         
  grp->gr_gid = grgid;                                                
 8029a1c:	2f 82 00 2a 	lhu r2,(sp+42)                                 
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
 8029a20:	2b 8b 00 24 	lw r11,(sp+36)                                 
 8029a24:	34 01 00 01 	mvi r1,1                                       
  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;                                                
 8029a28:	0d c2 00 08 	sh (r14+8),r2                                  
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
 8029a2c:	41 62 00 00 	lbu r2,(r11+0)                                 
 8029a30:	b9 60 18 00 	mv r3,r11                                      
 8029a34:	34 04 00 17 	mvi r4,23                                      
 8029a38:	44 40 00 0a 	be r2,r0,8029a60 <scangr+0xf8>                 <== NEVER TAKEN
 8029a3c:	34 63 00 01 	addi r3,r3,1                                   
    if(*cp == ',')                                                    
      memcount++;                                                     
 8029a40:	64 44 00 2c 	cmpei r4,r2,44                                 
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
 8029a44:	40 62 00 00 	lbu r2,(r3+0)                                  
    if(*cp == ',')                                                    
      memcount++;                                                     
 8029a48:	b4 24 08 00 	add r1,r1,r4                                   
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
 8029a4c:	5c 40 ff fc 	bne r2,r0,8029a3c <scangr+0xd4>                
 8029a50:	34 21 00 01 	addi r1,r1,1                                   
 8029a54:	34 02 00 02 	mvi r2,2                                       
 8029a58:	fb ff 5d c2 	calli 8001160 <__ashlsi3>                      
 8029a5c:	34 24 00 0f 	addi r4,r1,15                                  
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
 8029a60:	2b 81 00 1c 	lw r1,(sp+28)                                  
 8029a64:	54 81 ff d3 	bgu r4,r1,80299b0 <scangr+0x48>                <== NEVER TAKEN
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
 8029a68:	2b 82 00 20 	lw r2,(sp+32)                                  
 8029a6c:	34 01 ff f0 	mvi r1,-16                                     
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
 8029a70:	34 0c 00 01 	mvi r12,1                                      
  /*                                                                  
   * 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);            
 8029a74:	34 42 00 0f 	addi r2,r2,15                                  
 8029a78:	a0 41 08 00 	and r1,r2,r1                                   
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
 8029a7c:	58 2b 00 00 	sw (r1+0),r11                                  
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
 8029a80:	2b 8b 00 24 	lw r11,(sp+36)                                 
  /*                                                                  
   * 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);            
 8029a84:	59 c1 00 0c 	sw (r14+12),r1                                 
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
 8029a88:	34 03 00 04 	mvi r3,4                                       
 8029a8c:	41 62 00 00 	lbu r2,(r11+0)                                 
 8029a90:	b5 6c 58 00 	add r11,r11,r12                                
 8029a94:	44 40 00 0a 	be r2,r0,8029abc <scangr+0x154>                <== NEVER TAKEN
    if(*cp == ',') {                                                  
 8029a98:	34 0d 00 2c 	mvi r13,44                                     
 8029a9c:	44 4d 00 0e 	be r2,r13,8029ad4 <scangr+0x16c>               <== NEVER TAKEN
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
 8029aa0:	41 62 00 00 	lbu r2,(r11+0)                                 
 8029aa4:	35 6b 00 01 	addi r11,r11,1                                 
 8029aa8:	5c 40 ff fd 	bne r2,r0,8029a9c <scangr+0x134>               
 8029aac:	b9 80 08 00 	mv r1,r12                                      
 8029ab0:	34 02 00 02 	mvi r2,2                                       
 8029ab4:	fb ff 5d ab 	calli 8001160 <__ashlsi3>                      
 8029ab8:	b8 20 18 00 	mv r3,r1                                       
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
 8029abc:	29 c2 00 0c 	lw r2,(r14+12)                                 
 8029ac0:	34 01 00 01 	mvi r1,1                                       
 8029ac4:	b4 43 18 00 	add r3,r2,r3                                   
 8029ac8:	34 02 00 00 	mvi r2,0                                       
 8029acc:	58 62 00 00 	sw (r3+0),r2                                   
  return 1;                                                           
 8029ad0:	e3 ff ff b9 	bi 80299b4 <scangr+0x4c>                       
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
 8029ad4:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 8029ad8:	31 61 ff ff 	sb (r11+-1),r1                                 <== NOT EXECUTED
      grp->gr_mem[memcount++] = cp + 1;                               
 8029adc:	29 cf 00 0c 	lw r15,(r14+12)                                <== NOT EXECUTED
 8029ae0:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8029ae4:	34 02 00 02 	mvi r2,2                                       <== NOT EXECUTED
 8029ae8:	fb ff 5d 9e 	calli 8001160 <__ashlsi3>                      <== NOT EXECUTED
 8029aec:	b5 e1 08 00 	add r1,r15,r1                                  <== NOT EXECUTED
 8029af0:	58 2b 00 00 	sw (r1+0),r11                                  <== NOT EXECUTED
 8029af4:	35 8c 00 01 	addi r12,r12,1                                 <== NOT EXECUTED
 8029af8:	e3 ff ff ea 	bi 8029aa0 <scangr+0x138>                      <== NOT EXECUTED
                                                                      
08029b54 <scanpw>:                                                    
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
 8029b54:	37 9c ff dc 	addi sp,sp,-36                                 
 8029b58:	5b 8b 00 14 	sw (sp+20),r11                                 
 8029b5c:	5b 8c 00 10 	sw (sp+16),r12                                 
 8029b60:	5b 8d 00 0c 	sw (sp+12),r13                                 
 8029b64:	5b 8e 00 08 	sw (sp+8),r14                                  
 8029b68:	5b 9d 00 04 	sw (sp+4),ra                                   
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
 8029b6c:	37 8c 00 1c 	addi r12,sp,28                                 
 8029b70:	37 8b 00 18 	addi r11,sp,24                                 
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
 8029b74:	5b 83 00 1c 	sw (sp+28),r3                                  
 8029b78:	5b 84 00 18 	sw (sp+24),r4                                  
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
 8029b7c:	b9 80 18 00 	mv r3,r12                                      
 8029b80:	b9 60 20 00 	mv r4,r11                                      
 8029b84:	34 05 00 00 	mvi r5,0                                       
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
 8029b88:	b8 20 68 00 	mv r13,r1                                      
 8029b8c:	b8 40 70 00 	mv r14,r2                                      
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
 8029b90:	fb ff ff 2b 	calli 802983c <scanString>                     
 8029b94:	5c 20 00 09 	bne r1,r0,8029bb8 <scanpw+0x64>                <== ALWAYS TAKEN
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
 8029b98:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
}                                                                     
 8029b9c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8029ba0:	2b 8b 00 14 	lw r11,(sp+20)                                 
 8029ba4:	2b 8c 00 10 	lw r12,(sp+16)                                 
 8029ba8:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 8029bac:	2b 8e 00 08 	lw r14,(sp+8)                                  
 8029bb0:	37 9c 00 24 	addi sp,sp,36                                  
 8029bb4:	c3 a0 00 00 	ret                                            
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
 8029bb8:	b9 a0 08 00 	mv r1,r13                                      
 8029bbc:	35 c2 00 04 	addi r2,r14,4                                  
 8029bc0:	b9 80 18 00 	mv r3,r12                                      
 8029bc4:	b9 60 20 00 	mv r4,r11                                      
 8029bc8:	34 05 00 00 	mvi r5,0                                       
 8029bcc:	fb ff ff 1c 	calli 802983c <scanString>                     
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
 8029bd0:	44 20 ff f2 	be r1,r0,8029b98 <scanpw+0x44>                 <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
 8029bd4:	b9 a0 08 00 	mv r1,r13                                      
 8029bd8:	37 82 00 24 	addi r2,sp,36                                  
 8029bdc:	fb ff fe c0 	calli 80296dc <scanInt>                        
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
 8029be0:	44 20 ff ee 	be r1,r0,8029b98 <scanpw+0x44>                 <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   || !scanInt(fp, &pwgid)                                            
 8029be4:	b9 a0 08 00 	mv r1,r13                                      
 8029be8:	37 82 00 20 	addi r2,sp,32                                  
 8029bec:	fb ff fe bc 	calli 80296dc <scanInt>                        
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
 8029bf0:	44 20 ff ea 	be r1,r0,8029b98 <scanpw+0x44>                 <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   || !scanInt(fp, &pwgid)                                            
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
 8029bf4:	b9 a0 08 00 	mv r1,r13                                      
 8029bf8:	35 c2 00 0c 	addi r2,r14,12                                 
 8029bfc:	b9 80 18 00 	mv r3,r12                                      
 8029c00:	b9 60 20 00 	mv r4,r11                                      
 8029c04:	34 05 00 00 	mvi r5,0                                       
 8029c08:	fb ff ff 0d 	calli 802983c <scanString>                     
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
 8029c0c:	44 20 ff e3 	be r1,r0,8029b98 <scanpw+0x44>                 <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   || !scanInt(fp, &pwgid)                                            
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
 8029c10:	b9 a0 08 00 	mv r1,r13                                      
 8029c14:	35 c2 00 10 	addi r2,r14,16                                 
 8029c18:	b9 80 18 00 	mv r3,r12                                      
 8029c1c:	b9 60 20 00 	mv r4,r11                                      
 8029c20:	34 05 00 00 	mvi r5,0                                       
 8029c24:	fb ff ff 06 	calli 802983c <scanString>                     
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
 8029c28:	44 20 ff dc 	be r1,r0,8029b98 <scanpw+0x44>                 <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   || !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)             
 8029c2c:	b9 a0 08 00 	mv r1,r13                                      
 8029c30:	35 c2 00 14 	addi r2,r14,20                                 
 8029c34:	b9 80 18 00 	mv r3,r12                                      
 8029c38:	b9 60 20 00 	mv r4,r11                                      
 8029c3c:	34 05 00 00 	mvi r5,0                                       
 8029c40:	fb ff fe ff 	calli 802983c <scanString>                     
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
 8029c44:	44 20 ff d5 	be r1,r0,8029b98 <scanpw+0x44>                 <== NEVER TAKEN
   || !scanInt(fp, &pwuid)                                            
   || !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))          
 8029c48:	b9 a0 08 00 	mv r1,r13                                      
 8029c4c:	b9 80 18 00 	mv r3,r12                                      
 8029c50:	b9 60 20 00 	mv r4,r11                                      
 8029c54:	35 c2 00 18 	addi r2,r14,24                                 
 8029c58:	34 05 00 01 	mvi r5,1                                       
 8029c5c:	fb ff fe f8 	calli 802983c <scanString>                     
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
 8029c60:	44 20 ff ce 	be r1,r0,8029b98 <scanpw+0x44>                 <== NEVER TAKEN
   || !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;                                                
 8029c64:	2f 82 00 26 	lhu r2,(sp+38)                                 
  pwd->pw_gid = pwgid;                                                
 8029c68:	34 01 00 01 	mvi r1,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;                                                
 8029c6c:	0d c2 00 08 	sh (r14+8),r2                                  
  pwd->pw_gid = pwgid;                                                
 8029c70:	2b 82 00 20 	lw r2,(sp+32)                                  
 8029c74:	0d c2 00 0a 	sh (r14+10),r2                                 
  return 1;                                                           
 8029c78:	e3 ff ff c9 	bi 8029b9c <scanpw+0x48>                       
                                                                      
08029674 <setgid>:                                                    
                                                                      
int setgid(                                                           
  gid_t  gid                                                          
)                                                                     
{                                                                     
  _POSIX_types_Gid = gid;                                             
 8029674:	78 02 08 07 	mvhi r2,0x807                                  <== NOT EXECUTED
 8029678:	38 42 12 f0 	ori r2,r2,0x12f0                               <== NOT EXECUTED
 802967c:	28 42 00 00 	lw r2,(r2+0)                                   <== NOT EXECUTED
 8029680:	0c 41 00 34 	sh (r2+52),r1                                  <== NOT EXECUTED
  return 0;                                                           
}                                                                     
 8029684:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 8029688:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08029df0 <setgrent>:                                                  
    return NULL;                                                      
  return &grent;                                                      
}                                                                     
                                                                      
void setgrent(void)                                                   
{                                                                     
 8029df0:	37 9c ff f8 	addi sp,sp,-8                                  <== NOT EXECUTED
 8029df4:	5b 8b 00 08 	sw (sp+8),r11                                  <== NOT EXECUTED
 8029df8:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  init_etc_passwd_group();                                            
                                                                      
  if (group_fp != NULL)                                               
 8029dfc:	78 0b 08 07 	mvhi r11,0x807                                 <== NOT EXECUTED
 8029e00:	39 6b 4c a0 	ori r11,r11,0x4ca0                             <== NOT EXECUTED
  return &grent;                                                      
}                                                                     
                                                                      
void setgrent(void)                                                   
{                                                                     
  init_etc_passwd_group();                                            
 8029e04:	fb ff ff b4 	calli 8029cd4 <init_etc_passwd_group>          <== NOT EXECUTED
                                                                      
  if (group_fp != NULL)                                               
 8029e08:	29 61 00 00 	lw r1,(r11+0)                                  <== NOT EXECUTED
 8029e0c:	44 20 00 02 	be r1,r0,8029e14 <setgrent+0x24>               <== NOT EXECUTED
    fclose(group_fp);                                                 
 8029e10:	f8 00 75 c8 	calli 8047530 <fclose>                         <== NOT EXECUTED
  group_fp = fopen("/etc/group", "r");                                
 8029e14:	78 01 08 06 	mvhi r1,0x806                                  <== NOT EXECUTED
 8029e18:	78 02 08 06 	mvhi r2,0x806                                  <== NOT EXECUTED
 8029e1c:	38 42 cf 7c 	ori r2,r2,0xcf7c                               <== NOT EXECUTED
 8029e20:	38 21 49 54 	ori r1,r1,0x4954                               <== NOT EXECUTED
 8029e24:	f8 00 78 68 	calli 8047fc4 <fopen>                          <== NOT EXECUTED
 8029e28:	59 61 00 00 	sw (r11+0),r1                                  <== NOT EXECUTED
}                                                                     
 8029e2c:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8029e30:	2b 8b 00 08 	lw r11,(sp+8)                                  <== NOT EXECUTED
 8029e34:	37 9c 00 08 	addi sp,sp,8                                   <== NOT EXECUTED
 8029e38:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
0802a034 <setpwent>:                                                  
    return NULL;                                                      
  return &pwent;                                                      
}                                                                     
                                                                      
void setpwent(void)                                                   
{                                                                     
 802a034:	37 9c ff f8 	addi sp,sp,-8                                  <== NOT EXECUTED
 802a038:	5b 8b 00 08 	sw (sp+8),r11                                  <== NOT EXECUTED
 802a03c:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
  init_etc_passwd_group();                                            
                                                                      
  if (passwd_fp != NULL)                                              
 802a040:	78 0b 08 07 	mvhi r11,0x807                                 <== NOT EXECUTED
 802a044:	39 6b 4b b8 	ori r11,r11,0x4bb8                             <== NOT EXECUTED
  return &pwent;                                                      
}                                                                     
                                                                      
void setpwent(void)                                                   
{                                                                     
  init_etc_passwd_group();                                            
 802a048:	fb ff ff 23 	calli 8029cd4 <init_etc_passwd_group>          <== NOT EXECUTED
                                                                      
  if (passwd_fp != NULL)                                              
 802a04c:	29 61 00 00 	lw r1,(r11+0)                                  <== NOT EXECUTED
 802a050:	44 20 00 02 	be r1,r0,802a058 <setpwent+0x24>               <== NOT EXECUTED
    fclose(passwd_fp);                                                
 802a054:	f8 00 75 37 	calli 8047530 <fclose>                         <== NOT EXECUTED
  passwd_fp = fopen("/etc/passwd", "r");                              
 802a058:	78 01 08 06 	mvhi r1,0x806                                  <== NOT EXECUTED
 802a05c:	78 02 08 06 	mvhi r2,0x806                                  <== NOT EXECUTED
 802a060:	38 42 cf 7c 	ori r2,r2,0xcf7c                               <== NOT EXECUTED
 802a064:	38 21 48 a4 	ori r1,r1,0x48a4                               <== NOT EXECUTED
 802a068:	f8 00 77 d7 	calli 8047fc4 <fopen>                          <== NOT EXECUTED
 802a06c:	59 61 00 00 	sw (r11+0),r1                                  <== NOT EXECUTED
}                                                                     
 802a070:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 802a074:	2b 8b 00 08 	lw r11,(sp+8)                                  <== NOT EXECUTED
 802a078:	37 9c 00 08 	addi sp,sp,8                                   <== NOT EXECUTED
 802a07c:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08006770 <setuid>:                                                    
                                                                      
int setuid(                                                           
  uid_t  uid                                                          
)                                                                     
{                                                                     
  _POSIX_types_Uid = uid;                                             
 8006770:	78 02 08 07 	mvhi r2,0x807                                  <== NOT EXECUTED
 8006774:	38 42 12 f0 	ori r2,r2,0x12f0                               <== NOT EXECUTED
 8006778:	28 42 00 00 	lw r2,(r2+0)                                   <== NOT EXECUTED
 800677c:	0c 41 00 32 	sh (r2+50),r1                                  <== NOT EXECUTED
  return 0;                                                           
}                                                                     
 8006780:	34 01 00 00 	mvi r1,0                                       <== NOT EXECUTED
 8006784:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08004aa0 <siproc>:                                                    
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
 8004aa0:	37 9c ff f4 	addi sp,sp,-12                                 <== NOT EXECUTED
 8004aa4:	5b 8b 00 0c 	sw (sp+12),r11                                 <== NOT EXECUTED
 8004aa8:	5b 8c 00 08 	sw (sp+8),r12                                  <== NOT EXECUTED
 8004aac:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
	int i;                                                               
                                                                      
	/*                                                                   
	 * Obtain output semaphore if character will be echoed               
	 */                                                                  
	if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
 8004ab0:	28 43 00 3c 	lw r3,(r2+60)                                  <== NOT EXECUTED
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
 8004ab4:	20 2c 00 ff 	andi r12,r1,0xff                               <== NOT EXECUTED
 8004ab8:	b8 40 58 00 	mv r11,r2                                      <== NOT EXECUTED
	int i;                                                               
                                                                      
	/*                                                                   
	 * Obtain output semaphore if character will be echoed               
	 */                                                                  
	if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
 8004abc:	20 61 0e 78 	andi r1,r3,0xe78                               <== NOT EXECUTED
 8004ac0:	5c 20 00 0a 	bne r1,r0,8004ae8 <siproc+0x48>                <== 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);                                                 
 8004ac4:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8004ac8:	fb ff ff 7b 	calli 80048b4 <iproc>                          <== NOT EXECUTED
 8004acc:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
	}                                                                    
	return i;                                                            
}                                                                     
 8004ad0:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8004ad4:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8004ad8:	2b 8b 00 0c 	lw r11,(sp+12)                                 <== NOT EXECUTED
 8004adc:	2b 8c 00 08 	lw r12,(sp+8)                                  <== NOT EXECUTED
 8004ae0:	37 9c 00 0c 	addi sp,sp,12                                  <== NOT EXECUTED
 8004ae4:	c3 a0 00 00 	ret                                            <== 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);   
 8004ae8:	28 41 00 18 	lw r1,(r2+24)                                  <== NOT EXECUTED
 8004aec:	34 02 00 00 	mvi r2,0                                       <== NOT EXECUTED
 8004af0:	b8 40 18 00 	mv r3,r2                                       <== NOT EXECUTED
 8004af4:	f8 00 07 85 	calli 8006908 <rtems_semaphore_obtain>         <== NOT EXECUTED
		i = iproc (c, tty);                                                 
 8004af8:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 8004afc:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8004b00:	fb ff ff 6d 	calli 80048b4 <iproc>                          <== NOT EXECUTED
 8004b04:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
		rtems_semaphore_release (tty->osem);                                
 8004b08:	29 61 00 18 	lw r1,(r11+24)                                 <== NOT EXECUTED
 8004b0c:	f8 00 07 e0 	calli 8006a8c <rtems_semaphore_release>        <== NOT EXECUTED
	}                                                                    
	else {                                                               
		i = iproc (c, tty);                                                 
	}                                                                    
	return i;                                                            
}                                                                     
 8004b10:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 8004b14:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8004b18:	2b 8b 00 0c 	lw r11,(sp+12)                                 <== NOT EXECUTED
 8004b1c:	2b 8c 00 08 	lw r12,(sp+8)                                  <== NOT EXECUTED
 8004b20:	37 9c 00 0c 	addi sp,sp,12                                  <== NOT EXECUTED
 8004b24:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
08007e50 <stat>:                                                      
                                                                      
int _STAT_NAME(                                                       
  const char  *path,                                                  
  struct stat *buf                                                    
)                                                                     
{                                                                     
 8007e50:	37 9c ff dc 	addi sp,sp,-36                                 
 8007e54:	5b 8b 00 10 	sw (sp+16),r11                                 
 8007e58:	5b 8c 00 0c 	sw (sp+12),r12                                 
 8007e5c:	5b 8d 00 08 	sw (sp+8),r13                                  
 8007e60:	5b 9d 00 04 	sw (sp+4),ra                                   
 8007e64:	b8 40 60 00 	mv r12,r2                                      
 8007e68:	b8 20 58 00 	mv r11,r1                                      
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
 8007e6c:	44 40 00 26 	be r2,r0,8007f04 <stat+0xb4>                   
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ),      
 8007e70:	f8 01 1b 38 	calli 804eb50 <strlen>                         
 8007e74:	37 8d 00 14 	addi r13,sp,20                                 
 8007e78:	b8 20 10 00 	mv r2,r1                                       
 8007e7c:	34 03 00 00 	mvi r3,0                                       
 8007e80:	b9 60 08 00 	mv r1,r11                                      
 8007e84:	b9 a0 20 00 	mv r4,r13                                      
 8007e88:	34 05 00 01 	mvi r5,1                                       
 8007e8c:	fb ff f9 a2 	calli 8006514 <rtems_filesystem_evaluate_path> 
 8007e90:	b8 20 18 00 	mv r3,r1                                       
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
 8007e94:	34 0b ff ff 	mvi r11,-1                                     
 8007e98:	5c 20 00 14 	bne r1,r0,8007ee8 <stat+0x98>                  
    return -1;                                                        
                                                                      
  if ( !loc.handlers->fstat_h ){                                      
 8007e9c:	2b 81 00 1c 	lw r1,(sp+28)                                  
 8007ea0:	28 22 00 18 	lw r2,(r1+24)                                  
 8007ea4:	44 43 00 23 	be r2,r3,8007f30 <stat+0xe0>                   <== NEVER TAKEN
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
 8007ea8:	b8 60 10 00 	mv r2,r3                                       
 8007eac:	b9 80 08 00 	mv r1,r12                                      
 8007eb0:	34 03 00 48 	mvi r3,72                                      
 8007eb4:	f8 01 0c a9 	calli 804b158 <memset>                         
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
 8007eb8:	2b 83 00 1c 	lw r3,(sp+28)                                  
 8007ebc:	b9 80 10 00 	mv r2,r12                                      
 8007ec0:	b9 a0 08 00 	mv r1,r13                                      
 8007ec4:	28 63 00 18 	lw r3,(r3+24)                                  
 8007ec8:	d8 60 00 00 	call r3                                        
 8007ecc:	b8 20 58 00 	mv r11,r1                                      
                                                                      
  rtems_filesystem_freenode( &loc );                                  
 8007ed0:	2b 81 00 20 	lw r1,(sp+32)                                  
 8007ed4:	44 20 00 05 	be r1,r0,8007ee8 <stat+0x98>                   <== NEVER TAKEN
 8007ed8:	28 22 00 1c 	lw r2,(r1+28)                                  
 8007edc:	44 40 00 03 	be r2,r0,8007ee8 <stat+0x98>                   <== NEVER TAKEN
 8007ee0:	b9 a0 08 00 	mv r1,r13                                      
 8007ee4:	d8 40 00 00 	call r2                                        
                                                                      
  return status;                                                      
}                                                                     
 8007ee8:	b9 60 08 00 	mv r1,r11                                      
 8007eec:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8007ef0:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8007ef4:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8007ef8:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8007efc:	37 9c 00 24 	addi sp,sp,36                                  
 8007f00:	c3 a0 00 00 	ret                                            
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
    rtems_set_errno_and_return_minus_one( EFAULT );                   
 8007f04:	f8 00 fd 29 	calli 80473a8 <__errno>                        
 8007f08:	34 02 00 0e 	mvi r2,14                                      
 8007f0c:	34 0b ff ff 	mvi r11,-1                                     
 8007f10:	58 22 00 00 	sw (r1+0),r2                                   
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return status;                                                      
}                                                                     
 8007f14:	b9 60 08 00 	mv r1,r11                                      
 8007f18:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8007f1c:	2b 8b 00 10 	lw r11,(sp+16)                                 
 8007f20:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 8007f24:	2b 8d 00 08 	lw r13,(sp+8)                                  
 8007f28:	37 9c 00 24 	addi sp,sp,36                                  
 8007f2c:	c3 a0 00 00 	ret                                            
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
    return -1;                                                        
                                                                      
  if ( !loc.handlers->fstat_h ){                                      
    rtems_filesystem_freenode( &loc );                                
 8007f30:	2b 81 00 20 	lw r1,(sp+32)                                  <== NOT EXECUTED
 8007f34:	44 22 00 05 	be r1,r2,8007f48 <stat+0xf8>                   <== NOT EXECUTED
 8007f38:	28 23 00 1c 	lw r3,(r1+28)                                  <== NOT EXECUTED
 8007f3c:	44 62 00 03 	be r3,r2,8007f48 <stat+0xf8>                   <== NOT EXECUTED
 8007f40:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 8007f44:	d8 60 00 00 	call r3                                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 8007f48:	f8 00 fd 18 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 8007f4c:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 8007f50:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8007f54:	34 0b ff ff 	mvi r11,-1                                     <== NOT EXECUTED
 8007f58:	e3 ff ff e4 	bi 8007ee8 <stat+0x98>                         <== NOT EXECUTED
                                                                      
0802b3f4 <statvfs>:                                                   
 */                                                                   
extern rtems_chain_control rtems_filesystem_mount_table_control;      
                                                                      
int                                                                   
statvfs (const char *path, struct statvfs *sb)                        
{                                                                     
 802b3f4:	37 9c ff dc 	addi sp,sp,-36                                 <== NOT EXECUTED
 802b3f8:	5b 8b 00 10 	sw (sp+16),r11                                 <== NOT EXECUTED
 802b3fc:	5b 8c 00 0c 	sw (sp+12),r12                                 <== NOT EXECUTED
 802b400:	5b 8d 00 08 	sw (sp+8),r13                                  <== NOT EXECUTED
 802b404:	5b 9d 00 04 	sw (sp+4),ra                                   <== NOT EXECUTED
 802b408:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
 802b40c:	b8 40 58 00 	mv r11,r2                                      <== NOT EXECUTED
   *    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 ) )
 802b410:	37 8d 00 14 	addi r13,sp,20                                 <== NOT EXECUTED
 802b414:	f8 00 8d cf 	calli 804eb50 <strlen>                         <== NOT EXECUTED
 802b418:	b8 20 10 00 	mv r2,r1                                       <== NOT EXECUTED
 802b41c:	34 03 00 00 	mvi r3,0                                       <== NOT EXECUTED
 802b420:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 802b424:	b9 a0 20 00 	mv r4,r13                                      <== NOT EXECUTED
 802b428:	34 05 00 01 	mvi r5,1                                       <== NOT EXECUTED
 802b42c:	fb ff 6c 3a 	calli 8006514 <rtems_filesystem_evaluate_path> <== NOT EXECUTED
 802b430:	b8 20 18 00 	mv r3,r1                                       <== NOT EXECUTED
 802b434:	34 0c ff ff 	mvi r12,-1                                     <== NOT EXECUTED
 802b438:	5c 20 00 1f 	bne r1,r0,802b4b4 <statvfs+0xc0>               <== NOT EXECUTED
    return -1;                                                        
                                                                      
  mt_entry      = loc.mt_entry;                                       
 802b43c:	2b 82 00 24 	lw r2,(sp+36)                                  <== NOT EXECUTED
  fs_mount_root = &mt_entry->mt_fs_root;                              
 802b440:	28 41 00 28 	lw r1,(r2+40)                                  <== NOT EXECUTED
 802b444:	28 21 00 44 	lw r1,(r1+68)                                  <== NOT EXECUTED
 802b448:	44 23 00 22 	be r1,r3,802b4d0 <statvfs+0xdc>                <== NOT EXECUTED
                                                                      
  if ( !fs_mount_root->ops->statvfs_h )                               
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  memset (sb, 0, sizeof (struct statvfs));                            
 802b44c:	59 63 00 34 	sw (r11+52),r3                                 <== NOT EXECUTED
 802b450:	59 63 00 00 	sw (r11+0),r3                                  <== NOT EXECUTED
 802b454:	59 63 00 04 	sw (r11+4),r3                                  <== NOT EXECUTED
 802b458:	59 63 00 08 	sw (r11+8),r3                                  <== NOT EXECUTED
 802b45c:	59 63 00 0c 	sw (r11+12),r3                                 <== NOT EXECUTED
 802b460:	59 63 00 10 	sw (r11+16),r3                                 <== NOT EXECUTED
 802b464:	59 63 00 14 	sw (r11+20),r3                                 <== NOT EXECUTED
 802b468:	59 63 00 18 	sw (r11+24),r3                                 <== NOT EXECUTED
 802b46c:	59 63 00 1c 	sw (r11+28),r3                                 <== NOT EXECUTED
 802b470:	59 63 00 20 	sw (r11+32),r3                                 <== NOT EXECUTED
 802b474:	59 63 00 24 	sw (r11+36),r3                                 <== NOT EXECUTED
 802b478:	59 63 00 28 	sw (r11+40),r3                                 <== NOT EXECUTED
 802b47c:	59 63 00 2c 	sw (r11+44),r3                                 <== NOT EXECUTED
 802b480:	59 63 00 30 	sw (r11+48),r3                                 <== NOT EXECUTED
                                                                      
  result = ( fs_mount_root->ops->statvfs_h )( fs_mount_root, sb );    
 802b484:	28 43 00 28 	lw r3,(r2+40)                                  <== NOT EXECUTED
 802b488:	34 41 00 1c 	addi r1,r2,28                                  <== NOT EXECUTED
 802b48c:	b9 60 10 00 	mv r2,r11                                      <== NOT EXECUTED
 802b490:	28 63 00 44 	lw r3,(r3+68)                                  <== NOT EXECUTED
 802b494:	d8 60 00 00 	call r3                                        <== NOT EXECUTED
 802b498:	b8 20 60 00 	mv r12,r1                                      <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
 802b49c:	2b 81 00 20 	lw r1,(sp+32)                                  <== NOT EXECUTED
 802b4a0:	44 20 00 05 	be r1,r0,802b4b4 <statvfs+0xc0>                <== NOT EXECUTED
 802b4a4:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 802b4a8:	44 40 00 03 	be r2,r0,802b4b4 <statvfs+0xc0>                <== NOT EXECUTED
 802b4ac:	b9 a0 08 00 	mv r1,r13                                      <== NOT EXECUTED
 802b4b0:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
 802b4b4:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 802b4b8:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 802b4bc:	2b 8b 00 10 	lw r11,(sp+16)                                 <== NOT EXECUTED
 802b4c0:	2b 8c 00 0c 	lw r12,(sp+12)                                 <== NOT EXECUTED
 802b4c4:	2b 8d 00 08 	lw r13,(sp+8)                                  <== NOT EXECUTED
 802b4c8:	37 9c 00 24 	addi sp,sp,36                                  <== NOT EXECUTED
 802b4cc:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
                                                                      
  mt_entry      = loc.mt_entry;                                       
  fs_mount_root = &mt_entry->mt_fs_root;                              
                                                                      
  if ( !fs_mount_root->ops->statvfs_h )                               
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 802b4d0:	f8 00 6f b6 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 802b4d4:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 802b4d8:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 802b4dc:	e3 ff ff f6 	bi 802b4b4 <statvfs+0xc0>                      <== NOT EXECUTED
                                                                      
0802b4e0 <symlink>:                                                   
                                                                      
int symlink(                                                          
  const char *actualpath,                                             
  const char *sympath                                                 
)                                                                     
{                                                                     
 802b4e0:	37 9c ff d8 	addi sp,sp,-40                                 
 802b4e4:	5b 8b 00 10 	sw (sp+16),r11                                 
 802b4e8:	5b 8c 00 0c 	sw (sp+12),r12                                 
 802b4ec:	5b 8d 00 08 	sw (sp+8),r13                                  
 802b4f0:	5b 9d 00 04 	sw (sp+4),ra                                   
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
 802b4f4:	40 43 00 00 	lbu r3,(r2+0)                                  
                                                                      
int symlink(                                                          
  const char *actualpath,                                             
  const char *sympath                                                 
)                                                                     
{                                                                     
 802b4f8:	b8 20 68 00 	mv r13,r1                                      
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
 802b4fc:	64 65 00 5c 	cmpei r5,r3,92                                 
 802b500:	64 64 00 2f 	cmpei r4,r3,47                                 
 802b504:	b8 a4 20 00 	or r4,r5,r4                                    
 802b508:	5c 80 00 02 	bne r4,r0,802b510 <symlink+0x30>               
 802b50c:	5c 64 00 2f 	bne r3,r4,802b5c8 <symlink+0xe8>               <== ALWAYS TAKEN
 802b510:	78 03 08 07 	mvhi r3,0x807                                  
 802b514:	38 63 12 f0 	ori r3,r3,0x12f0                               
 802b518:	28 63 00 00 	lw r3,(r3+0)                                   
 802b51c:	34 04 00 01 	mvi r4,1                                       
 802b520:	28 61 00 18 	lw r1,(r3+24)                                  
 802b524:	5b 81 00 14 	sw (sp+20),r1                                  
 802b528:	28 61 00 1c 	lw r1,(r3+28)                                  
 802b52c:	5b 81 00 18 	sw (sp+24),r1                                  
 802b530:	28 61 00 20 	lw r1,(r3+32)                                  
 802b534:	5b 81 00 1c 	sw (sp+28),r1                                  
 802b538:	28 61 00 24 	lw r1,(r3+36)                                  
 802b53c:	5b 81 00 20 	sw (sp+32),r1                                  
                                                                      
  if ( !loc.ops->evalformake_h ) {                                    
 802b540:	2b 81 00 20 	lw r1,(sp+32)                                  
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
 802b544:	28 63 00 28 	lw r3,(r3+40)                                  
                                                                      
  if ( !loc.ops->evalformake_h ) {                                    
 802b548:	28 25 00 04 	lw r5,(r1+4)                                   
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
 802b54c:	5b 83 00 24 	sw (sp+36),r3                                  
                                                                      
  if ( !loc.ops->evalformake_h ) {                                    
 802b550:	44 a0 00 2e 	be r5,r0,802b608 <symlink+0x128>               <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->evalformake_h)( &sympath[i], &loc, &name_start );
 802b554:	37 8c 00 14 	addi r12,sp,20                                 
 802b558:	b4 44 08 00 	add r1,r2,r4                                   
 802b55c:	37 83 00 28 	addi r3,sp,40                                  
 802b560:	b9 80 10 00 	mv r2,r12                                      
 802b564:	d8 a0 00 00 	call r5                                        
 802b568:	b8 20 18 00 	mv r3,r1                                       
  if ( result != 0 )                                                  
 802b56c:	34 0b ff ff 	mvi r11,-1                                     
 802b570:	5c 20 00 0f 	bne r1,r0,802b5ac <symlink+0xcc>               
    return -1;                                                        
                                                                      
  if ( !loc.ops->symlink_h ) {                                        
 802b574:	2b 81 00 20 	lw r1,(sp+32)                                  
 802b578:	28 24 00 38 	lw r4,(r1+56)                                  
 802b57c:	44 83 00 2e 	be r4,r3,802b634 <symlink+0x154>               <== NEVER TAKEN
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->symlink_h)( &loc, actualpath, name_start);      
 802b580:	2b 83 00 28 	lw r3,(sp+40)                                  
 802b584:	b9 a0 10 00 	mv r2,r13                                      
 802b588:	b9 80 08 00 	mv r1,r12                                      
 802b58c:	d8 80 00 00 	call r4                                        
 802b590:	b8 20 58 00 	mv r11,r1                                      
                                                                      
  rtems_filesystem_freenode( &loc );                                  
 802b594:	2b 81 00 20 	lw r1,(sp+32)                                  
 802b598:	44 20 00 05 	be r1,r0,802b5ac <symlink+0xcc>                <== NEVER TAKEN
 802b59c:	28 22 00 1c 	lw r2,(r1+28)                                  
 802b5a0:	44 40 00 03 	be r2,r0,802b5ac <symlink+0xcc>                <== NEVER TAKEN
 802b5a4:	b9 80 08 00 	mv r1,r12                                      
 802b5a8:	d8 40 00 00 	call r2                                        
                                                                      
  return result;                                                      
}                                                                     
 802b5ac:	b9 60 08 00 	mv r1,r11                                      
 802b5b0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802b5b4:	2b 8b 00 10 	lw r11,(sp+16)                                 
 802b5b8:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 802b5bc:	2b 8d 00 08 	lw r13,(sp+8)                                  
 802b5c0:	37 9c 00 28 	addi sp,sp,40                                  
 802b5c4:	c3 a0 00 00 	ret                                            
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
 802b5c8:	78 01 08 07 	mvhi r1,0x807                                  
 802b5cc:	38 21 12 f0 	ori r1,r1,0x12f0                               
 802b5d0:	28 23 00 00 	lw r3,(r1+0)                                   
 802b5d4:	28 61 00 04 	lw r1,(r3+4)                                   
 802b5d8:	5b 81 00 14 	sw (sp+20),r1                                  
 802b5dc:	28 61 00 08 	lw r1,(r3+8)                                   
 802b5e0:	5b 81 00 18 	sw (sp+24),r1                                  
 802b5e4:	28 61 00 0c 	lw r1,(r3+12)                                  
 802b5e8:	5b 81 00 1c 	sw (sp+28),r1                                  
 802b5ec:	28 61 00 10 	lw r1,(r3+16)                                  
 802b5f0:	5b 81 00 20 	sw (sp+32),r1                                  
                                                                      
  if ( !loc.ops->evalformake_h ) {                                    
 802b5f4:	2b 81 00 20 	lw r1,(sp+32)                                  
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
 802b5f8:	28 63 00 14 	lw r3,(r3+20)                                  
                                                                      
  if ( !loc.ops->evalformake_h ) {                                    
 802b5fc:	28 25 00 04 	lw r5,(r1+4)                                   
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
 802b600:	5b 83 00 24 	sw (sp+36),r3                                  
                                                                      
  if ( !loc.ops->evalformake_h ) {                                    
 802b604:	5c a0 ff d4 	bne r5,r0,802b554 <symlink+0x74>               <== ALWAYS TAKEN
  if ( result != 0 )                                                  
    return -1;                                                        
                                                                      
  if ( !loc.ops->symlink_h ) {                                        
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 802b608:	f8 00 6f 68 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 802b60c:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 802b610:	34 0b ff ff 	mvi r11,-1                                     <== NOT EXECUTED
 802b614:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
  result = (*loc.ops->symlink_h)( &loc, actualpath, name_start);      
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return result;                                                      
}                                                                     
 802b618:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 802b61c:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 802b620:	2b 8b 00 10 	lw r11,(sp+16)                                 <== NOT EXECUTED
 802b624:	2b 8c 00 0c 	lw r12,(sp+12)                                 <== NOT EXECUTED
 802b628:	2b 8d 00 08 	lw r13,(sp+8)                                  <== NOT EXECUTED
 802b62c:	37 9c 00 28 	addi sp,sp,40                                  <== NOT EXECUTED
 802b630:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
  result = (*loc.ops->evalformake_h)( &sympath[i], &loc, &name_start );
  if ( result != 0 )                                                  
    return -1;                                                        
                                                                      
  if ( !loc.ops->symlink_h ) {                                        
    rtems_filesystem_freenode( &loc );                                
 802b634:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 802b638:	44 44 ff f4 	be r2,r4,802b608 <symlink+0x128>               <== NOT EXECUTED
 802b63c:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 802b640:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
 802b644:	e3 ff ff f1 	bi 802b608 <symlink+0x128>                     <== NOT EXECUTED
                                                                      
08004070 <sync_per_thread>:                                           
  fdatasync(fn);                                                      
}                                                                     
                                                                      
/* iterate over all FILE *'s for this thread */                       
static void sync_per_thread(Thread_Control *t)                        
{                                                                     
 8004070:	37 9c ff f4 	addi sp,sp,-12                                 
 8004074:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8004078:	5b 8c 00 08 	sw (sp+8),r12                                  
 800407c:	5b 9d 00 04 	sw (sp+4),ra                                   
                                                                      
   /*                                                                 
    *  The sync_wrapper() function will operate on the current thread's
    *  reent structure so we will temporarily use that.               
    */                                                                
   this_reent = t->libc_reent;                                        
 8004080:	28 23 01 20 	lw r3,(r1+288)                                 
   if ( this_reent ) {                                                
 8004084:	44 60 00 0c 	be r3,r0,80040b4 <sync_per_thread+0x44>        <== NEVER TAKEN
     current_reent = _Thread_Executing->libc_reent;                   
 8004088:	78 0b 08 02 	mvhi r11,0x802                                 
 800408c:	39 6b 18 b8 	ori r11,r11,0x18b8                             
 8004090:	29 64 00 00 	lw r4,(r11+0)                                  
     _Thread_Executing->libc_reent = this_reent;                      
     _fwalk (t->libc_reent, sync_wrapper);                            
 8004094:	78 02 08 00 	mvhi r2,0x800                                  
 8004098:	38 42 41 00 	ori r2,r2,0x4100                               
    *  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;                   
 800409c:	28 8c 01 20 	lw r12,(r4+288)                                
     _Thread_Executing->libc_reent = this_reent;                      
 80040a0:	58 83 01 20 	sw (r4+288),r3                                 
     _fwalk (t->libc_reent, sync_wrapper);                            
 80040a4:	28 21 01 20 	lw r1,(r1+288)                                 
 80040a8:	f8 00 2e 8f 	calli 800fae4 <_fwalk>                         
     _Thread_Executing->libc_reent = current_reent;                   
 80040ac:	29 61 00 00 	lw r1,(r11+0)                                  
 80040b0:	58 2c 01 20 	sw (r1+288),r12                                
   }                                                                  
}                                                                     
 80040b4:	2b 9d 00 04 	lw ra,(sp+4)                                   
 80040b8:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 80040bc:	2b 8c 00 08 	lw r12,(sp+8)                                  
 80040c0:	37 9c 00 0c 	addi sp,sp,12                                  
 80040c4:	c3 a0 00 00 	ret                                            
                                                                      
08012ca4 <tcsetattr>:                                                 
int tcsetattr(                                                        
  int             fd,                                                 
  int             opt,                                                
  struct termios *tp                                                  
)                                                                     
{                                                                     
 8012ca4:	37 9c ff f4 	addi sp,sp,-12                                 
 8012ca8:	5b 8b 00 0c 	sw (sp+12),r11                                 
 8012cac:	5b 8c 00 08 	sw (sp+8),r12                                  
 8012cb0:	5b 9d 00 04 	sw (sp+4),ra                                   
 8012cb4:	b8 60 58 00 	mv r11,r3                                      
 8012cb8:	b8 20 60 00 	mv r12,r1                                      
  switch (opt) {                                                      
 8012cbc:	44 40 00 0c 	be r2,r0,8012cec <tcsetattr+0x48>              <== ALWAYS TAKEN
 8012cc0:	34 03 00 01 	mvi r3,1                                       <== NOT EXECUTED
 8012cc4:	44 43 00 13 	be r2,r3,8012d10 <tcsetattr+0x6c>              <== NOT EXECUTED
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 8012cc8:	f8 00 13 9a 	calli 8017b30 <__errno>                        <== NOT EXECUTED
 8012ccc:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 8012cd0:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8012cd4:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
  }                                                                   
}                                                                     
 8012cd8:	2b 9d 00 04 	lw ra,(sp+4)                                   <== NOT EXECUTED
 8012cdc:	2b 8b 00 0c 	lw r11,(sp+12)                                 <== NOT EXECUTED
 8012ce0:	2b 8c 00 08 	lw r12,(sp+8)                                  <== NOT EXECUTED
 8012ce4:	37 9c 00 0c 	addi sp,sp,12                                  <== NOT EXECUTED
 8012ce8:	c3 a0 00 00 	ret                                            <== NOT EXECUTED
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
 8012cec:	b9 80 08 00 	mv r1,r12                                      
 8012cf0:	b9 60 18 00 	mv r3,r11                                      
 8012cf4:	34 02 00 02 	mvi r2,2                                       
 8012cf8:	f8 00 0f 19 	calli 801695c <ioctl>                          
  }                                                                   
}                                                                     
 8012cfc:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8012d00:	2b 8b 00 0c 	lw r11,(sp+12)                                 
 8012d04:	2b 8c 00 08 	lw r12,(sp+8)                                  
 8012d08:	37 9c 00 0c 	addi sp,sp,12                                  
 8012d0c:	c3 a0 00 00 	ret                                            
  switch (opt) {                                                      
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  case TCSADRAIN:                                                     
    if (ioctl( fd, RTEMS_IO_TCDRAIN, NULL ) < 0)                      
 8012d10:	34 02 00 03 	mvi r2,3                                       <== NOT EXECUTED
 8012d14:	34 03 00 00 	mvi r3,0                                       <== NOT EXECUTED
 8012d18:	f8 00 0f 11 	calli 801695c <ioctl>                          <== NOT EXECUTED
 8012d1c:	4c 20 ff f4 	bge r1,r0,8012cec <tcsetattr+0x48>             <== NOT EXECUTED
 8012d20:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 8012d24:	e3 ff ff ed 	bi 8012cd8 <tcsetattr+0x34>                    <== NOT EXECUTED
                                                                      
0800b83c <unlink>:                                                    
#include <rtems/seterr.h>                                             
                                                                      
int unlink(                                                           
  const char *path                                                    
)                                                                     
{                                                                     
 800b83c:	37 9c ff c4 	addi sp,sp,-60                                 
 800b840:	5b 8b 00 14 	sw (sp+20),r11                                 
 800b844:	5b 8c 00 10 	sw (sp+16),r12                                 
 800b848:	5b 8d 00 0c 	sw (sp+12),r13                                 
 800b84c:	5b 8e 00 08 	sw (sp+8),r14                                  
 800b850:	5b 9d 00 04 	sw (sp+4),ra                                   
 800b854:	b8 20 60 00 	mv r12,r1                                      
                                                                      
  /*                                                                  
   * Get the node to be unlinked. Find the parent path first.         
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
 800b858:	fb ff d5 4e 	calli 8000d90 <rtems_filesystem_dirname>       
 800b85c:	b8 20 58 00 	mv r11,r1                                      
                                                                      
  if ( parentpathlen == 0 )                                           
 800b860:	5c 20 00 6e 	bne r1,r0,800ba18 <unlink+0x1dc>               
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
 800b864:	41 82 00 00 	lbu r2,(r12+0)                                 
 800b868:	64 43 00 5c 	cmpei r3,r2,92                                 
 800b86c:	64 41 00 2f 	cmpei r1,r2,47                                 
 800b870:	b8 61 08 00 	or r1,r3,r1                                    
 800b874:	44 2b 00 4e 	be r1,r11,800b9ac <unlink+0x170>               
 800b878:	78 01 08 01 	mvhi r1,0x801                                  
 800b87c:	38 21 c1 10 	ori r1,r1,0xc110                               
 800b880:	28 22 00 00 	lw r2,(r1+0)                                   
 800b884:	34 0d 00 00 	mvi r13,0                                      
 800b888:	28 41 00 18 	lw r1,(r2+24)                                  
 800b88c:	5b 81 00 2c 	sw (sp+44),r1                                  
 800b890:	28 41 00 1c 	lw r1,(r2+28)                                  
 800b894:	5b 81 00 30 	sw (sp+48),r1                                  
 800b898:	28 41 00 20 	lw r1,(r2+32)                                  
 800b89c:	5b 81 00 34 	sw (sp+52),r1                                  
 800b8a0:	28 41 00 24 	lw r1,(r2+36)                                  
 800b8a4:	5b 81 00 38 	sw (sp+56),r1                                  
 800b8a8:	28 42 00 28 	lw r2,(r2+40)                                  
 800b8ac:	5b 82 00 3c 	sw (sp+60),r2                                  
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
 800b8b0:	2b 82 00 2c 	lw r2,(sp+44)                                  
  name = path + parentpathlen;                                        
 800b8b4:	b5 8b 58 00 	add r11,r12,r11                                
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
 800b8b8:	b9 60 08 00 	mv r1,r11                                      
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
 800b8bc:	5b 82 00 18 	sw (sp+24),r2                                  
 800b8c0:	2b 82 00 30 	lw r2,(sp+48)                                  
 800b8c4:	5b 82 00 1c 	sw (sp+28),r2                                  
 800b8c8:	2b 82 00 34 	lw r2,(sp+52)                                  
 800b8cc:	5b 82 00 20 	sw (sp+32),r2                                  
 800b8d0:	2b 82 00 38 	lw r2,(sp+56)                                  
 800b8d4:	5b 82 00 24 	sw (sp+36),r2                                  
 800b8d8:	2b 82 00 3c 	lw r2,(sp+60)                                  
 800b8dc:	5b 82 00 28 	sw (sp+40),r2                                  
  name = path + parentpathlen;                                        
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
 800b8e0:	f8 00 05 99 	calli 800cf44 <strlen>                         
 800b8e4:	b8 20 10 00 	mv r2,r1                                       
 800b8e8:	b9 60 08 00 	mv r1,r11                                      
 800b8ec:	fb ff d5 10 	calli 8000d2c <rtems_filesystem_prefix_separators>
 800b8f0:	b5 61 60 00 	add r12,r11,r1                                 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
 800b8f4:	b9 80 08 00 	mv r1,r12                                      
 800b8f8:	f8 00 05 93 	calli 800cf44 <strlen>                         
 800b8fc:	34 03 00 00 	mvi r3,0                                       
 800b900:	37 8b 00 18 	addi r11,sp,24                                 
 800b904:	b8 20 10 00 	mv r2,r1                                       
 800b908:	b9 60 20 00 	mv r4,r11                                      
 800b90c:	b9 80 08 00 	mv r1,r12                                      
 800b910:	b8 60 28 00 	mv r5,r3                                       
 800b914:	fb ff d5 3c 	calli 8000e04 <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
 800b918:	5c 20 00 35 	bne r1,r0,800b9ec <unlink+0x1b0>               
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
  }                                                                   
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
 800b91c:	2b 83 00 24 	lw r3,(sp+36)                                  
 800b920:	28 62 00 10 	lw r2,(r3+16)                                  
 800b924:	44 41 00 58 	be r2,r1,800ba84 <unlink+0x248>                <== NEVER TAKEN
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
 800b928:	b9 60 08 00 	mv r1,r11                                      
 800b92c:	d8 40 00 00 	call r2                                        
 800b930:	34 02 00 01 	mvi r2,1                                       
 800b934:	44 22 00 42 	be r1,r2,800ba3c <unlink+0x200>                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( EISDIR );                   
  }                                                                   
                                                                      
  if ( !loc.ops->unlink_h ) {                                         
 800b938:	2b 81 00 24 	lw r1,(sp+36)                                  
 800b93c:	28 23 00 0c 	lw r3,(r1+12)                                  
 800b940:	44 60 00 61 	be r3,r0,800bac4 <unlink+0x288>                <== NEVER TAKEN
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
 800b944:	37 8e 00 2c 	addi r14,sp,44                                 
 800b948:	b9 60 10 00 	mv r2,r11                                      
 800b94c:	b9 c0 08 00 	mv r1,r14                                      
 800b950:	d8 60 00 00 	call r3                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
 800b954:	2b 82 00 24 	lw r2,(sp+36)                                  
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
 800b958:	b8 20 60 00 	mv r12,r1                                      
                                                                      
  rtems_filesystem_freenode( &loc );                                  
 800b95c:	44 40 00 05 	be r2,r0,800b970 <unlink+0x134>                <== NEVER TAKEN
 800b960:	28 42 00 1c 	lw r2,(r2+28)                                  
 800b964:	44 40 00 03 	be r2,r0,800b970 <unlink+0x134>                <== NEVER TAKEN
 800b968:	b9 60 08 00 	mv r1,r11                                      
 800b96c:	d8 40 00 00 	call r2                                        
  if ( free_parentloc )                                               
 800b970:	45 a0 00 07 	be r13,r0,800b98c <unlink+0x150>               
    rtems_filesystem_freenode( &parentloc );                          
 800b974:	2b 81 00 38 	lw r1,(sp+56)                                  
 800b978:	44 20 00 05 	be r1,r0,800b98c <unlink+0x150>                <== NEVER TAKEN
 800b97c:	28 22 00 1c 	lw r2,(r1+28)                                  
 800b980:	44 40 00 03 	be r2,r0,800b98c <unlink+0x150>                <== NEVER TAKEN
 800b984:	b9 c0 08 00 	mv r1,r14                                      
 800b988:	d8 40 00 00 	call r2                                        
                                                                      
  return result;                                                      
}                                                                     
 800b98c:	b9 80 08 00 	mv r1,r12                                      
 800b990:	2b 9d 00 04 	lw ra,(sp+4)                                   
 800b994:	2b 8b 00 14 	lw r11,(sp+20)                                 
 800b998:	2b 8c 00 10 	lw r12,(sp+16)                                 
 800b99c:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 800b9a0:	2b 8e 00 08 	lw r14,(sp+8)                                  
 800b9a4:	37 9c 00 3c 	addi sp,sp,60                                  
 800b9a8:	c3 a0 00 00 	ret                                            
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
 800b9ac:	44 40 ff b3 	be r2,r0,800b878 <unlink+0x3c>                 <== NEVER TAKEN
 800b9b0:	78 01 08 01 	mvhi r1,0x801                                  
 800b9b4:	38 21 c1 10 	ori r1,r1,0xc110                               
 800b9b8:	28 21 00 00 	lw r1,(r1+0)                                   
 800b9bc:	b9 60 68 00 	mv r13,r11                                     
 800b9c0:	28 22 00 04 	lw r2,(r1+4)                                   
 800b9c4:	5b 82 00 2c 	sw (sp+44),r2                                  
 800b9c8:	28 22 00 08 	lw r2,(r1+8)                                   
 800b9cc:	5b 82 00 30 	sw (sp+48),r2                                  
 800b9d0:	28 22 00 0c 	lw r2,(r1+12)                                  
 800b9d4:	5b 82 00 34 	sw (sp+52),r2                                  
 800b9d8:	28 22 00 10 	lw r2,(r1+16)                                  
 800b9dc:	5b 82 00 38 	sw (sp+56),r2                                  
 800b9e0:	28 21 00 14 	lw r1,(r1+20)                                  
 800b9e4:	5b 81 00 3c 	sw (sp+60),r1                                  
 800b9e8:	e3 ff ff b2 	bi 800b8b0 <unlink+0x74>                       
  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 )                                             
 800b9ec:	5d a0 00 03 	bne r13,r0,800b9f8 <unlink+0x1bc>              <== ALWAYS TAKEN
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
 800b9f0:	34 0c ff ff 	mvi r12,-1                                     <== NOT EXECUTED
 800b9f4:	e3 ff ff e6 	bi 800b98c <unlink+0x150>                      <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
 800b9f8:	2b 81 00 38 	lw r1,(sp+56)                                  
 800b9fc:	44 20 ff fd 	be r1,r0,800b9f0 <unlink+0x1b4>                <== NEVER TAKEN
 800ba00:	28 22 00 1c 	lw r2,(r1+28)                                  
 800ba04:	44 40 ff fb 	be r2,r0,800b9f0 <unlink+0x1b4>                <== NEVER TAKEN
 800ba08:	37 81 00 2c 	addi r1,sp,44                                  
 800ba0c:	d8 40 00 00 	call r2                                        
 800ba10:	34 0c ff ff 	mvi r12,-1                                     
 800ba14:	e3 ff ff de 	bi 800b98c <unlink+0x150>                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
  else {                                                              
    result = rtems_filesystem_evaluate_path( path, parentpathlen,     
 800ba18:	b9 80 08 00 	mv r1,r12                                      
 800ba1c:	b9 60 10 00 	mv r2,r11                                      
 800ba20:	34 03 00 02 	mvi r3,2                                       
 800ba24:	37 84 00 2c 	addi r4,sp,44                                  
 800ba28:	34 05 00 00 	mvi r5,0                                       
 800ba2c:	fb ff d5 39 	calli 8000f10 <rtems_filesystem_evaluate_path> 
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &parentloc,              
                                             false );                 
    if ( result != 0 )                                                
 800ba30:	5c 20 ff f0 	bne r1,r0,800b9f0 <unlink+0x1b4>               <== NEVER TAKEN
 800ba34:	34 0d 00 01 	mvi r13,1                                      
 800ba38:	e3 ff ff 9e 	bi 800b8b0 <unlink+0x74>                       
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_filesystem_freenode( &loc );                                
 800ba3c:	2b 81 00 24 	lw r1,(sp+36)                                  
 800ba40:	44 20 00 05 	be r1,r0,800ba54 <unlink+0x218>                <== NEVER TAKEN
 800ba44:	28 22 00 1c 	lw r2,(r1+28)                                  
 800ba48:	44 40 00 03 	be r2,r0,800ba54 <unlink+0x218>                <== NEVER TAKEN
 800ba4c:	b9 60 08 00 	mv r1,r11                                      
 800ba50:	d8 40 00 00 	call r2                                        
    if ( free_parentloc )                                             
 800ba54:	45 a0 00 07 	be r13,r0,800ba70 <unlink+0x234>               <== ALWAYS TAKEN
      rtems_filesystem_freenode( &parentloc );                        
 800ba58:	2b 81 00 38 	lw r1,(sp+56)                                  <== NOT EXECUTED
 800ba5c:	44 20 00 05 	be r1,r0,800ba70 <unlink+0x234>                <== NOT EXECUTED
 800ba60:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 800ba64:	44 40 00 03 	be r2,r0,800ba70 <unlink+0x234>                <== NOT EXECUTED
 800ba68:	37 81 00 2c 	addi r1,sp,44                                  <== NOT EXECUTED
 800ba6c:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EISDIR );                   
 800ba70:	f8 00 00 65 	calli 800bc04 <__errno>                        
 800ba74:	34 02 00 15 	mvi r2,21                                      
 800ba78:	58 22 00 00 	sw (r1+0),r2                                   
 800ba7c:	34 0c ff ff 	mvi r12,-1                                     
 800ba80:	e3 ff ff c3 	bi 800b98c <unlink+0x150>                      
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
  }                                                                   
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
    rtems_filesystem_freenode( &loc );                                
 800ba84:	28 63 00 1c 	lw r3,(r3+28)                                  <== NOT EXECUTED
 800ba88:	44 62 00 03 	be r3,r2,800ba94 <unlink+0x258>                <== NOT EXECUTED
 800ba8c:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 800ba90:	d8 60 00 00 	call r3                                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EISDIR );                   
  }                                                                   
                                                                      
  if ( !loc.ops->unlink_h ) {                                         
    rtems_filesystem_freenode( &loc );                                
    if ( free_parentloc )                                             
 800ba94:	45 a0 00 07 	be r13,r0,800bab0 <unlink+0x274>               <== NOT EXECUTED
      rtems_filesystem_freenode( &parentloc );                        
 800ba98:	2b 81 00 38 	lw r1,(sp+56)                                  <== NOT EXECUTED
 800ba9c:	44 20 00 05 	be r1,r0,800bab0 <unlink+0x274>                <== NOT EXECUTED
 800baa0:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 800baa4:	44 40 00 03 	be r2,r0,800bab0 <unlink+0x274>                <== NOT EXECUTED
 800baa8:	37 81 00 2c 	addi r1,sp,44                                  <== NOT EXECUTED
 800baac:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 800bab0:	f8 00 00 55 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 800bab4:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 800bab8:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 800babc:	34 0c ff ff 	mvi r12,-1                                     <== NOT EXECUTED
 800bac0:	e3 ff ff b3 	bi 800b98c <unlink+0x150>                      <== NOT EXECUTED
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( EISDIR );                   
  }                                                                   
                                                                      
  if ( !loc.ops->unlink_h ) {                                         
    rtems_filesystem_freenode( &loc );                                
 800bac4:	28 22 00 1c 	lw r2,(r1+28)                                  <== NOT EXECUTED
 800bac8:	44 43 ff f3 	be r2,r3,800ba94 <unlink+0x258>                <== NOT EXECUTED
 800bacc:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 800bad0:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
 800bad4:	e3 ff ff f0 	bi 800ba94 <unlink+0x258>                      <== NOT EXECUTED
                                                                      
0802b77c <unmount>:                                                   
 */                                                                   
                                                                      
int unmount(                                                          
  const char *path                                                    
)                                                                     
{                                                                     
 802b77c:	37 9c ff dc 	addi sp,sp,-36                                 
 802b780:	5b 8b 00 10 	sw (sp+16),r11                                 
 802b784:	5b 8c 00 0c 	sw (sp+12),r12                                 
 802b788:	5b 8d 00 08 	sw (sp+8),r13                                  
 802b78c:	5b 9d 00 04 	sw (sp+4),ra                                   
 802b790:	b8 20 58 00 	mv r11,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 ) )
 802b794:	37 8c 00 14 	addi r12,sp,20                                 
 802b798:	f8 00 8c ee 	calli 804eb50 <strlen>                         
 802b79c:	b8 20 10 00 	mv r2,r1                                       
 802b7a0:	34 03 00 00 	mvi r3,0                                       
 802b7a4:	b9 60 08 00 	mv r1,r11                                      
 802b7a8:	b9 80 20 00 	mv r4,r12                                      
 802b7ac:	34 05 00 01 	mvi r5,1                                       
 802b7b0:	fb ff 6b 59 	calli 8006514 <rtems_filesystem_evaluate_path> 
 802b7b4:	5c 20 00 2d 	bne r1,r0,802b868 <unmount+0xec>               
    return -1;                                                        
                                                                      
  mt_entry     = loc.mt_entry;                                        
 802b7b8:	2b 8b 00 24 	lw r11,(sp+36)                                 
  fs_mount_loc = &mt_entry->mt_point_node;                            
  fs_root_loc  = &mt_entry->mt_fs_root;                               
 802b7bc:	2b 81 00 14 	lw r1,(sp+20)                                  
 802b7c0:	29 62 00 1c 	lw r2,(r11+28)                                 
 802b7c4:	5c 41 00 51 	bne r2,r1,802b908 <unmount+0x18c>              
                                                                      
  /*                                                                  
   * Free the loc node and just use the nodes from the mt_entry .     
   */                                                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
 802b7c8:	2b 81 00 20 	lw r1,(sp+32)                                  
 802b7cc:	44 20 00 05 	be r1,r0,802b7e0 <unmount+0x64>                <== NEVER TAKEN
 802b7d0:	28 22 00 1c 	lw r2,(r1+28)                                  
 802b7d4:	44 40 00 03 	be r2,r0,802b7e0 <unmount+0x64>                <== NEVER TAKEN
 802b7d8:	b9 80 08 00 	mv r1,r12                                      
 802b7dc:	d8 40 00 00 	call r2                                        
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x0, &loc, true ) )
    return -1;                                                        
                                                                      
  mt_entry     = loc.mt_entry;                                        
  fs_mount_loc = &mt_entry->mt_point_node;                            
 802b7e0:	29 61 00 14 	lw r1,(r11+20)                                 
 802b7e4:	28 21 00 28 	lw r1,(r1+40)                                  
 802b7e8:	44 20 00 5f 	be r1,r0,802b964 <unmount+0x1e8>               <== NEVER TAKEN
  fs_root_loc  = &mt_entry->mt_fs_root;                               
 802b7ec:	29 61 00 28 	lw r1,(r11+40)                                 
 802b7f0:	28 21 00 2c 	lw r1,(r1+44)                                  
 802b7f4:	44 20 00 5c 	be r1,r0,802b964 <unmount+0x1e8>               <== NEVER TAKEN
   *        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 )                
 802b7f8:	78 01 08 07 	mvhi r1,0x807                                  
 802b7fc:	38 21 12 f0 	ori r1,r1,0x12f0                               
 802b800:	28 21 00 00 	lw r1,(r1+0)                                   
 802b804:	28 21 00 14 	lw r1,(r1+20)                                  
 802b808:	44 2b 00 1f 	be r1,r11,802b884 <unmount+0x108>              
  /*                                                                  
   * Search the mount table for any mount entries referencing this    
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
 802b80c:	78 01 08 07 	mvhi r1,0x807                                  
 802b810:	38 21 4e d8 	ori r1,r1,0x4ed8                               
 802b814:	28 22 00 00 	lw r2,(r1+0)                                   
 802b818:	34 21 00 04 	addi r1,r1,4                                   
 802b81c:	44 41 00 09 	be r2,r1,802b840 <unmount+0xc4>                <== NEVER TAKEN
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
     the_mount_entry = ( rtems_filesystem_mount_table_entry_t * )the_node;
     if (the_mount_entry->mt_point_node.mt_entry  == fs_root_loc->mt_entry ) {
 802b820:	29 63 00 2c 	lw r3,(r11+44)                                 
 802b824:	28 44 00 18 	lw r4,(r2+24)                                  
 802b828:	5c 83 00 04 	bne r4,r3,802b838 <unmount+0xbc>               <== ALWAYS TAKEN
 802b82c:	e0 00 00 16 	bi 802b884 <unmount+0x108>                     <== NOT EXECUTED
 802b830:	28 44 00 18 	lw r4,(r2+24)                                  
 802b834:	44 64 00 14 	be r3,r4,802b884 <unmount+0x108>               
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
        !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
        the_node = the_node->next ) {                                 
 802b838:	28 42 00 00 	lw r2,(r2+0)                                   
  /*                                                                  
   * Search the mount table for any mount entries referencing this    
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
 802b83c:	5c 41 ff fd 	bne r2,r1,802b830 <unmount+0xb4>               
   *  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 )             
 802b840:	b9 60 08 00 	mv r1,r11                                      
 802b844:	fb ff 6c 78 	calli 8006a24 <rtems_libio_is_open_files_in_fs>
 802b848:	34 02 00 01 	mvi r2,1                                       
 802b84c:	44 22 00 0e 	be r1,r2,802b884 <unmount+0x108>               
   * 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 )             
 802b850:	29 62 00 14 	lw r2,(r11+20)                                 
 802b854:	b9 60 08 00 	mv r1,r11                                      
 802b858:	28 42 00 28 	lw r2,(r2+40)                                  
 802b85c:	d8 40 00 00 	call r2                                        
 802b860:	b8 20 60 00 	mv r12,r1                                      
 802b864:	44 20 00 12 	be r1,r0,802b8ac <unmount+0x130>               <== ALWAYS TAKEN
   */                                                                 
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
 802b868:	34 01 ff ff 	mvi r1,-1                                      
}                                                                     
 802b86c:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802b870:	2b 8b 00 10 	lw r11,(sp+16)                                 
 802b874:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 802b878:	2b 8d 00 08 	lw r13,(sp+8)                                  
 802b87c:	37 9c 00 24 	addi sp,sp,36                                  
 802b880:	c3 a0 00 00 	ret                                            
   *  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 );                    
 802b884:	f8 00 6e c9 	calli 80473a8 <__errno>                        
 802b888:	34 02 00 10 	mvi r2,16                                      
 802b88c:	58 22 00 00 	sw (r1+0),r2                                   
 802b890:	34 01 ff ff 	mvi r1,-1                                      
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
}                                                                     
 802b894:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802b898:	2b 8b 00 10 	lw r11,(sp+16)                                 
 802b89c:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 802b8a0:	2b 8d 00 08 	lw r13,(sp+8)                                  
 802b8a4:	37 9c 00 24 	addi sp,sp,36                                  
 802b8a8:	c3 a0 00 00 	ret                                            
   *  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){          
 802b8ac:	29 62 00 28 	lw r2,(r11+40)                                 
 802b8b0:	b9 60 08 00 	mv r1,r11                                      
 802b8b4:	28 42 00 2c 	lw r2,(r2+44)                                  
 802b8b8:	d8 40 00 00 	call r2                                        
 802b8bc:	b8 20 68 00 	mv r13,r1                                      
 802b8c0:	5c 2c 00 22 	bne r1,r12,802b948 <unmount+0x1cc>             <== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
 802b8c4:	b9 60 08 00 	mv r1,r11                                      
 802b8c8:	fb ff 78 23 	calli 8009954 <_Chain_Extract>                 
  /*                                                                  
   *  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 );                          
 802b8cc:	29 61 00 14 	lw r1,(r11+20)                                 
 802b8d0:	44 2d 00 05 	be r1,r13,802b8e4 <unmount+0x168>              <== NEVER TAKEN
 802b8d4:	28 22 00 1c 	lw r2,(r1+28)                                  
 802b8d8:	44 4d 00 03 	be r2,r13,802b8e4 <unmount+0x168>              <== NEVER TAKEN
 802b8dc:	35 61 00 08 	addi r1,r11,8                                  
 802b8e0:	d8 40 00 00 	call r2                                        
  free( mt_entry );                                                   
 802b8e4:	b9 60 08 00 	mv r1,r11                                      
 802b8e8:	fb ff 6b 43 	calli 80065f4 <free>                           
 802b8ec:	34 01 00 00 	mvi r1,0                                       
                                                                      
  return 0;                                                           
}                                                                     
 802b8f0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802b8f4:	2b 8b 00 10 	lw r11,(sp+16)                                 
 802b8f8:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 802b8fc:	2b 8d 00 08 	lw r13,(sp+8)                                  
 802b900:	37 9c 00 24 	addi sp,sp,36                                  
 802b904:	c3 a0 00 00 	ret                                            
  /*                                                                  
   * Verify this is the root node for the file system to be unmounted.
   */                                                                 
                                                                      
  if ( !rtems_filesystem_nodes_equal( fs_root_loc, &loc) ){           
    rtems_filesystem_freenode( &loc );                                
 802b908:	2b 81 00 20 	lw r1,(sp+32)                                  
 802b90c:	44 20 00 05 	be r1,r0,802b920 <unmount+0x1a4>               <== NEVER TAKEN
 802b910:	28 22 00 1c 	lw r2,(r1+28)                                  
 802b914:	44 40 00 03 	be r2,r0,802b920 <unmount+0x1a4>               <== NEVER TAKEN
 802b918:	b9 80 08 00 	mv r1,r12                                      
 802b91c:	d8 40 00 00 	call r2                                        
    rtems_set_errno_and_return_minus_one( EACCES );                   
 802b920:	f8 00 6e a2 	calli 80473a8 <__errno>                        
 802b924:	34 02 00 0d 	mvi r2,13                                      
 802b928:	58 22 00 00 	sw (r1+0),r2                                   
 802b92c:	34 01 ff ff 	mvi r1,-1                                      
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
}                                                                     
 802b930:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802b934:	2b 8b 00 10 	lw r11,(sp+16)                                 
 802b938:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 802b93c:	2b 8d 00 08 	lw r13,(sp+8)                                  
 802b940:	37 9c 00 24 	addi sp,sp,36                                  
 802b944:	c3 a0 00 00 	ret                                            
   *         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 )             
 802b948:	29 62 00 14 	lw r2,(r11+20)                                 <== NOT EXECUTED
 802b94c:	b9 60 08 00 	mv r1,r11                                      <== NOT EXECUTED
 802b950:	28 42 00 20 	lw r2,(r2+32)                                  <== NOT EXECUTED
 802b954:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
 802b958:	44 20 ff c4 	be r1,r0,802b868 <unmount+0xec>                <== NOT EXECUTED
      rtems_fatal_error_occurred( 0 );                                
 802b95c:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 802b960:	fb ff 76 eb 	calli 800950c <rtems_fatal_error_occurred>     <== NOT EXECUTED
                                                                      
  if ( !fs_mount_loc->ops->unmount_h )                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( !fs_root_loc->ops->fsunmount_me_h )                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 802b964:	f8 00 6e 91 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 802b968:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 802b96c:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 802b970:	34 01 ff ff 	mvi r1,-1                                      <== NOT EXECUTED
 802b974:	e3 ff ff be 	bi 802b86c <unmount+0xf0>                      <== NOT EXECUTED
                                                                      
0802b978 <utime>:                                                     
                                                                      
int utime(                                                            
  const char           *path,                                         
  const struct utimbuf *times                                         
)                                                                     
{                                                                     
 802b978:	37 9c ff dc 	addi sp,sp,-36                                 
 802b97c:	5b 8b 00 10 	sw (sp+16),r11                                 
 802b980:	5b 8c 00 0c 	sw (sp+12),r12                                 
 802b984:	5b 8d 00 08 	sw (sp+8),r13                                  
 802b988:	5b 9d 00 04 	sw (sp+4),ra                                   
 802b98c:	b8 20 58 00 	mv r11,r1                                      
 802b990:	b8 40 68 00 	mv r13,r2                                      
  rtems_filesystem_location_info_t   temp_loc;                        
  int                                result;                          
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &temp_loc, true ) )
 802b994:	37 8c 00 14 	addi r12,sp,20                                 
 802b998:	f8 00 8c 6e 	calli 804eb50 <strlen>                         
 802b99c:	b8 20 10 00 	mv r2,r1                                       
 802b9a0:	34 03 00 00 	mvi r3,0                                       
 802b9a4:	b9 60 08 00 	mv r1,r11                                      
 802b9a8:	b9 80 20 00 	mv r4,r12                                      
 802b9ac:	34 05 00 01 	mvi r5,1                                       
 802b9b0:	fb ff 6a d9 	calli 8006514 <rtems_filesystem_evaluate_path> 
 802b9b4:	34 0b ff ff 	mvi r11,-1                                     
 802b9b8:	5c 20 00 0f 	bne r1,r0,802b9f4 <utime+0x7c>                 
    return -1;                                                        
                                                                      
  if ( !temp_loc.ops->utime_h ){                                      
 802b9bc:	2b 82 00 20 	lw r2,(sp+32)                                  
 802b9c0:	28 44 00 30 	lw r4,(r2+48)                                  
 802b9c4:	44 81 00 13 	be r4,r1,802ba10 <utime+0x98>                  <== NEVER TAKEN
    rtems_filesystem_freenode( &temp_loc );                           
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*temp_loc.ops->utime_h)( &temp_loc, times->actime, times->modtime );
 802b9c8:	29 a3 00 04 	lw r3,(r13+4)                                  
 802b9cc:	29 a2 00 00 	lw r2,(r13+0)                                  
 802b9d0:	b9 80 08 00 	mv r1,r12                                      
 802b9d4:	d8 80 00 00 	call r4                                        
 802b9d8:	b8 20 58 00 	mv r11,r1                                      
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
 802b9dc:	2b 81 00 20 	lw r1,(sp+32)                                  
 802b9e0:	44 20 00 05 	be r1,r0,802b9f4 <utime+0x7c>                  <== NEVER TAKEN
 802b9e4:	28 22 00 1c 	lw r2,(r1+28)                                  
 802b9e8:	44 40 00 03 	be r2,r0,802b9f4 <utime+0x7c>                  <== NEVER TAKEN
 802b9ec:	b9 80 08 00 	mv r1,r12                                      
 802b9f0:	d8 40 00 00 	call r2                                        
                                                                      
  return result;                                                      
}                                                                     
 802b9f4:	b9 60 08 00 	mv r1,r11                                      
 802b9f8:	2b 9d 00 04 	lw ra,(sp+4)                                   
 802b9fc:	2b 8b 00 10 	lw r11,(sp+16)                                 
 802ba00:	2b 8c 00 0c 	lw r12,(sp+12)                                 
 802ba04:	2b 8d 00 08 	lw r13,(sp+8)                                  
 802ba08:	37 9c 00 24 	addi sp,sp,36                                  
 802ba0c:	c3 a0 00 00 	ret                                            
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &temp_loc, true ) )
    return -1;                                                        
                                                                      
  if ( !temp_loc.ops->utime_h ){                                      
    rtems_filesystem_freenode( &temp_loc );                           
 802ba10:	28 42 00 1c 	lw r2,(r2+28)                                  <== NOT EXECUTED
 802ba14:	44 44 00 03 	be r2,r4,802ba20 <utime+0xa8>                  <== NOT EXECUTED
 802ba18:	b9 80 08 00 	mv r1,r12                                      <== NOT EXECUTED
 802ba1c:	d8 40 00 00 	call r2                                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 802ba20:	f8 00 6e 62 	calli 80473a8 <__errno>                        <== NOT EXECUTED
 802ba24:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 802ba28:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 802ba2c:	34 0b ff ff 	mvi r11,-1                                     <== NOT EXECUTED
 802ba30:	e3 ff ff f1 	bi 802b9f4 <utime+0x7c>                        <== NOT EXECUTED
                                                                      
08001d40 <vprintk>:                                                   
 */                                                                   
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
 8001d40:	37 9c ff a4 	addi sp,sp,-92                                 
 8001d44:	5b 8b 00 44 	sw (sp+68),r11                                 
 8001d48:	5b 8c 00 40 	sw (sp+64),r12                                 
 8001d4c:	5b 8d 00 3c 	sw (sp+60),r13                                 
 8001d50:	5b 8e 00 38 	sw (sp+56),r14                                 
 8001d54:	5b 8f 00 34 	sw (sp+52),r15                                 
 8001d58:	5b 90 00 30 	sw (sp+48),r16                                 
 8001d5c:	5b 91 00 2c 	sw (sp+44),r17                                 
 8001d60:	5b 92 00 28 	sw (sp+40),r18                                 
 8001d64:	5b 93 00 24 	sw (sp+36),r19                                 
 8001d68:	5b 94 00 20 	sw (sp+32),r20                                 
 8001d6c:	5b 95 00 1c 	sw (sp+28),r21                                 
 8001d70:	5b 96 00 18 	sw (sp+24),r22                                 
 8001d74:	5b 97 00 14 	sw (sp+20),r23                                 
 8001d78:	5b 98 00 10 	sw (sp+16),r24                                 
 8001d7c:	5b 99 00 0c 	sw (sp+12),r25                                 
 8001d80:	5b 9b 00 08 	sw (sp+8),fp                                   
 8001d84:	5b 9d 00 04 	sw (sp+4),ra                                   
 8001d88:	b8 20 60 00 	mv r12,r1                                      
  for (; *fmt != '\0'; fmt++) {                                       
 8001d8c:	40 21 00 00 	lbu r1,(r1+0)                                  
 */                                                                   
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
 8001d90:	b8 40 88 00 	mv r17,r2                                      
  for (; *fmt != '\0'; fmt++) {                                       
 8001d94:	44 20 00 70 	be r1,r0,8001f54 <vprintk+0x214>               <== NEVER TAKEN
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
                                                                      
      if ( str == NULL ) {                                            
 8001d98:	78 02 08 01 	mvhi r2,0x801                                  
 8001d9c:	38 42 b0 48 	ori r2,r2,0xb048                               
    bool sign = false;                                                
    char lead = ' ';                                                  
    char c;                                                           
                                                                      
    if (*fmt != '%') {                                                
      BSP_output_char(*fmt);                                          
 8001da0:	78 0e 08 01 	mvhi r14,0x801                                 
 8001da4:	78 14 08 01 	mvhi r20,0x801                                 
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
                                                                      
      if ( str == NULL ) {                                            
 8001da8:	5b 82 00 48 	sw (sp+72),r2                                  
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
    char c;                                                           
                                                                      
    if (*fmt != '%') {                                                
 8001dac:	34 18 00 25 	mvi r24,37                                     
      BSP_output_char(*fmt);                                          
 8001db0:	39 ce c1 08 	ori r14,r14,0xc108                             
 8001db4:	3a 94 b0 80 	ori r20,r20,0xb080                             
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
 8001db8:	34 15 00 09 	mvi r21,9                                      
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
 8001dbc:	34 1b 00 6c 	mvi fp,108                                     
      lflag = true;                                                   
      c = *++fmt;                                                     
    }                                                                 
    if ( c == 'c' ) {                                                 
 8001dc0:	34 19 00 63 	mvi r25,99                                     
 8001dc4:	37 93 00 4c 	addi r19,sp,76                                 
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
    char c;                                                           
                                                                      
    if (*fmt != '%') {                                                
 8001dc8:	44 38 00 09 	be r1,r24,8001dec <vprintk+0xac>               
      BSP_output_char(*fmt);                                          
 8001dcc:	29 c2 00 00 	lw r2,(r14+0)                                  
 8001dd0:	ba 20 b8 00 	mv r23,r17                                     
 8001dd4:	d8 40 00 00 	call r2                                        
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
 8001dd8:	35 8c 00 01 	addi r12,r12,1                                 
 8001ddc:	41 81 00 00 	lbu r1,(r12+0)                                 
 8001de0:	44 20 00 5d 	be r1,r0,8001f54 <vprintk+0x214>               
 8001de4:	ba e0 88 00 	mv r17,r23                                     
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
    char c;                                                           
                                                                      
    if (*fmt != '%') {                                                
 8001de8:	5c 38 ff f9 	bne r1,r24,8001dcc <vprintk+0x8c>              
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
 8001dec:	35 8c 00 01 	addi r12,r12,1                                 
    if (*fmt == '0' ) {                                               
 8001df0:	41 8d 00 00 	lbu r13,(r12+0)                                
 8001df4:	34 01 00 30 	mvi r1,48                                      
 8001df8:	34 16 00 20 	mvi r22,32                                     
 8001dfc:	45 a1 00 83 	be r13,r1,8002008 <vprintk+0x2c8>              
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
 8001e00:	34 02 00 2d 	mvi r2,45                                      
 8001e04:	34 12 00 00 	mvi r18,0                                      
 8001e08:	45 a2 00 7c 	be r13,r2,8001ff8 <vprintk+0x2b8>              
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
 8001e0c:	35 a1 ff d0 	addi r1,r13,-48                                
 8001e10:	20 21 00 ff 	andi r1,r1,0xff                                
 8001e14:	34 0b 00 00 	mvi r11,0                                      
 8001e18:	52 a1 00 62 	bgeu r21,r1,8001fa0 <vprintk+0x260>            
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
 8001e1c:	45 bb 00 6e 	be r13,fp,8001fd4 <vprintk+0x294>              
      lflag = true;                                                   
      c = *++fmt;                                                     
    }                                                                 
    if ( c == 'c' ) {                                                 
 8001e20:	45 b9 00 70 	be r13,r25,8001fe0 <vprintk+0x2a0>             
      /* 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' ) {                                                 
 8001e24:	34 01 00 73 	mvi r1,115                                     
 8001e28:	45 a1 00 7c 	be r13,r1,8002018 <vprintk+0x2d8>              
                                                                      
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
 8001e2c:	65 a4 00 4f 	cmpei r4,r13,79                                
 8001e30:	65 a3 00 6f 	cmpei r3,r13,111                               
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
      base = 16; sign = false; lflag = true;                          
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
 8001e34:	34 01 00 00 	mvi r1,0                                       
                                                                      
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
 8001e38:	b8 83 18 00 	or r3,r4,r3                                    
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
      base = 16; sign = false; lflag = true;                          
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
 8001e3c:	34 12 00 08 	mvi r18,8                                      
                                                                      
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
 8001e40:	5c 61 00 0b 	bne r3,r1,8001e6c <vprintk+0x12c>              
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
 8001e44:	65 a4 00 49 	cmpei r4,r13,73                                
 8001e48:	65 a3 00 69 	cmpei r3,r13,105                               
 8001e4c:	b8 83 18 00 	or r3,r4,r3                                    
 8001e50:	5c 61 00 05 	bne r3,r1,8001e64 <vprintk+0x124>              
 8001e54:	65 a4 00 44 	cmpei r4,r13,68                                
 8001e58:	65 a3 00 64 	cmpei r3,r13,100                               
 8001e5c:	b8 83 18 00 	or r3,r4,r3                                    
 8001e60:	44 61 00 97 	be r3,r1,80020bc <vprintk+0x37c>               
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
      base = 16; sign = false; lflag = true;                          
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
 8001e64:	34 01 00 01 	mvi r1,1                                       
 8001e68:	34 12 00 0a 	mvi r18,10                                     
    }                                                                 
                                                                      
    printNum(                                                         
 8001e6c:	2a 30 00 00 	lw r16,(r17+0)                                 
      lflag ? va_arg(ap, long) : (long) va_arg(ap, int),              
 8001e70:	36 37 00 04 	addi r23,r17,4                                 
  unsigned long unsigned_num;                                         
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
 8001e74:	44 20 00 08 	be r1,r0,8001e94 <vprintk+0x154>               
 8001e78:	4e 00 00 07 	bge r16,r0,8001e94 <vprintk+0x154>             
    BSP_output_char('-');                                             
 8001e7c:	29 c2 00 00 	lw r2,(r14+0)                                  
 8001e80:	34 01 00 2d 	mvi r1,45                                      
    unsigned_num = (unsigned long) -num;                              
 8001e84:	c8 10 80 00 	sub r16,r0,r16                                 
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
    BSP_output_char('-');                                             
 8001e88:	d8 40 00 00 	call r2                                        
    unsigned_num = (unsigned long) -num;                              
    if (maxwidth) maxwidth--;                                         
 8001e8c:	7d 61 00 00 	cmpnei r1,r11,0                                
 8001e90:	c9 61 58 00 	sub r11,r11,r1                                 
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
 8001e94:	ba 00 08 00 	mv r1,r16                                      
 8001e98:	ba 40 10 00 	mv r2,r18                                      
 8001e9c:	f8 00 5f be 	calli 8019d94 <__udivsi3>                      
 8001ea0:	b8 20 68 00 	mv r13,r1                                      
 8001ea4:	34 11 00 01 	mvi r17,1                                      
 8001ea8:	b8 20 78 00 	mv r15,r1                                      
 8001eac:	44 20 00 13 	be r1,r0,8001ef8 <vprintk+0x1b8>               
 8001eb0:	22 51 00 ff 	andi r17,r18,0xff                              
 8001eb4:	34 0f 00 00 	mvi r15,0                                      
 8001eb8:	e0 00 00 03 	bi 8001ec4 <vprintk+0x184>                     
 8001ebc:	b9 a0 80 00 	mv r16,r13                                     
 8001ec0:	b8 20 68 00 	mv r13,r1                                      
    toPrint[count++] = (char) (unsigned_num - (n * base));            
 8001ec4:	b9 a0 10 00 	mv r2,r13                                      
 8001ec8:	ba 20 08 00 	mv r1,r17                                      
 8001ecc:	f8 00 5f 33 	calli 8019b98 <__mulsi3>                       
 8001ed0:	b6 6f 18 00 	add r3,r19,r15                                 
 8001ed4:	ca 01 80 00 	sub r16,r16,r1                                 
 8001ed8:	30 70 00 00 	sb (r3+0),r16                                  
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
 8001edc:	b9 a0 08 00 	mv r1,r13                                      
 8001ee0:	ba 40 10 00 	mv r2,r18                                      
 8001ee4:	f8 00 5f ac 	calli 8019d94 <__udivsi3>                      
    toPrint[count++] = (char) (unsigned_num - (n * base));            
 8001ee8:	35 ef 00 01 	addi r15,r15,1                                 
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
 8001eec:	5c 20 ff f4 	bne r1,r0,8001ebc <vprintk+0x17c>              
 8001ef0:	b9 a0 80 00 	mv r16,r13                                     
 8001ef4:	35 f1 00 01 	addi r17,r15,1                                 
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
 8001ef8:	b6 6f 78 00 	add r15,r19,r15                                
 8001efc:	31 f0 00 00 	sb (r15+0),r16                                 
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
 8001f00:	52 2b 00 06 	bgeu r17,r11,8001f18 <vprintk+0x1d8>           
    BSP_output_char(lead);                                            
 8001f04:	29 c2 00 00 	lw r2,(r14+0)                                  
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
 8001f08:	35 6b ff ff 	addi r11,r11,-1                                
    BSP_output_char(lead);                                            
 8001f0c:	ba c0 08 00 	mv r1,r22                                      
 8001f10:	d8 40 00 00 	call r2                                        
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
 8001f14:	55 71 ff fc 	bgu r11,r17,8001f04 <vprintk+0x1c4>            
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
 8001f18:	46 20 ff b0 	be r17,r0,8001dd8 <vprintk+0x98>               <== NEVER TAKEN
 8001f1c:	36 2d ff ff 	addi r13,r17,-1                                
 8001f20:	b6 6d 68 00 	add r13,r19,r13                                
 8001f24:	34 0b 00 00 	mvi r11,0                                      
    BSP_output_char("0123456789ABCDEF"[(int)(toPrint[count-(n+1)])]); 
 8001f28:	41 a1 00 00 	lbu r1,(r13+0)                                 
 8001f2c:	29 c3 00 00 	lw r3,(r14+0)                                  
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
 8001f30:	35 6b 00 01 	addi r11,r11,1                                 
    BSP_output_char("0123456789ABCDEF"[(int)(toPrint[count-(n+1)])]); 
 8001f34:	b6 81 08 00 	add r1,r20,r1                                  
 8001f38:	40 21 00 00 	lbu r1,(r1+0)                                  
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
 8001f3c:	35 ad ff ff 	addi r13,r13,-1                                
    BSP_output_char("0123456789ABCDEF"[(int)(toPrint[count-(n+1)])]); 
 8001f40:	d8 60 00 00 	call r3                                        
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
 8001f44:	56 2b ff f9 	bgu r17,r11,8001f28 <vprintk+0x1e8>            
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
 8001f48:	35 8c 00 01 	addi r12,r12,1                                 
 8001f4c:	41 81 00 00 	lbu r1,(r12+0)                                 
 8001f50:	5c 20 ff a5 	bne r1,r0,8001de4 <vprintk+0xa4>               <== ALWAYS TAKEN
      sign,                                                           
      width,                                                          
      lead                                                            
    );                                                                
  }                                                                   
}                                                                     
 8001f54:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8001f58:	2b 8b 00 44 	lw r11,(sp+68)                                 
 8001f5c:	2b 8c 00 40 	lw r12,(sp+64)                                 
 8001f60:	2b 8d 00 3c 	lw r13,(sp+60)                                 
 8001f64:	2b 8e 00 38 	lw r14,(sp+56)                                 
 8001f68:	2b 8f 00 34 	lw r15,(sp+52)                                 
 8001f6c:	2b 90 00 30 	lw r16,(sp+48)                                 
 8001f70:	2b 91 00 2c 	lw r17,(sp+44)                                 
 8001f74:	2b 92 00 28 	lw r18,(sp+40)                                 
 8001f78:	2b 93 00 24 	lw r19,(sp+36)                                 
 8001f7c:	2b 94 00 20 	lw r20,(sp+32)                                 
 8001f80:	2b 95 00 1c 	lw r21,(sp+28)                                 
 8001f84:	2b 96 00 18 	lw r22,(sp+24)                                 
 8001f88:	2b 97 00 14 	lw r23,(sp+20)                                 
 8001f8c:	2b 98 00 10 	lw r24,(sp+16)                                 
 8001f90:	2b 99 00 0c 	lw r25,(sp+12)                                 
 8001f94:	2b 9b 00 08 	lw fp,(sp+8)                                   
 8001f98:	37 9c 00 5c 	addi sp,sp,92                                  
 8001f9c:	c3 a0 00 00 	ret                                            
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
 8001fa0:	b5 6b 58 00 	add r11,r11,r11                                
 8001fa4:	b9 60 08 00 	mv r1,r11                                      
 8001fa8:	34 02 00 02 	mvi r2,2                                       
 8001fac:	fb ff f8 91 	calli 80001f0 <__ashlsi3>                      
 8001fb0:	b5 61 58 00 	add r11,r11,r1                                 
      fmt++;                                                          
 8001fb4:	35 8c 00 01 	addi r12,r12,1                                 
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
 8001fb8:	b5 6d 58 00 	add r11,r11,r13                                
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
 8001fbc:	41 8d 00 00 	lbu r13,(r12+0)                                
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
 8001fc0:	35 6b ff d0 	addi r11,r11,-48                               
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
 8001fc4:	35 a3 ff d0 	addi r3,r13,-48                                
 8001fc8:	20 63 00 ff 	andi r3,r3,0xff                                
 8001fcc:	52 a3 ff f5 	bgeu r21,r3,8001fa0 <vprintk+0x260>            
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
 8001fd0:	5d bb ff 94 	bne r13,fp,8001e20 <vprintk+0xe0>              
      lflag = true;                                                   
      c = *++fmt;                                                     
 8001fd4:	35 8c 00 01 	addi r12,r12,1                                 
 8001fd8:	41 8d 00 00 	lbu r13,(r12+0)                                
    }                                                                 
    if ( c == 'c' ) {                                                 
 8001fdc:	5d b9 ff 92 	bne r13,r25,8001e24 <vprintk+0xe4>             <== ALWAYS TAKEN
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
      BSP_output_char(chr);                                           
 8001fe0:	2a 21 00 00 	lw r1,(r17+0)                                  
 8001fe4:	29 c2 00 00 	lw r2,(r14+0)                                  
      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);                              
 8001fe8:	36 37 00 04 	addi r23,r17,4                                 
      BSP_output_char(chr);                                           
 8001fec:	20 21 00 ff 	andi r1,r1,0xff                                
 8001ff0:	d8 40 00 00 	call r2                                        
      continue;                                                       
 8001ff4:	e3 ff ff 79 	bi 8001dd8 <vprintk+0x98>                      
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
 8001ff8:	35 8c 00 01 	addi r12,r12,1                                 
 8001ffc:	41 8d 00 00 	lbu r13,(r12+0)                                
 8002000:	34 12 00 01 	mvi r18,1                                      
 8002004:	e3 ff ff 82 	bi 8001e0c <vprintk+0xcc>                      
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
 8002008:	35 8c 00 01 	addi r12,r12,1                                 
 800200c:	41 8d 00 00 	lbu r13,(r12+0)                                
 8002010:	b8 20 b0 00 	mv r22,r1                                      
 8002014:	e3 ff ff 7b 	bi 8001e00 <vprintk+0xc0>                      
    }                                                                 
    if ( c == 's' ) {                                                 
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
 8002018:	2a 2f 00 00 	lw r15,(r17+0)                                 
 800201c:	36 37 00 04 	addi r23,r17,4                                 
                                                                      
      if ( str == NULL ) {                                            
 8002020:	45 e0 00 38 	be r15,r0,8002100 <vprintk+0x3c0>              
        str = "";                                                     
      }                                                               
                                                                      
      /* calculate length of string */                                
      for ( len=0, s=str ; *s ; len++, s++ )                          
 8002024:	41 e1 00 00 	lbu r1,(r15+0)                                 
 8002028:	34 0d 00 00 	mvi r13,0                                      
 800202c:	44 2d 00 05 	be r1,r13,8002040 <vprintk+0x300>              
 8002030:	35 ad 00 01 	addi r13,r13,1                                 
 8002034:	b5 ed 08 00 	add r1,r15,r13                                 
 8002038:	40 21 00 00 	lbu r1,(r1+0)                                  
 800203c:	5c 20 ff fd 	bne r1,r0,8002030 <vprintk+0x2f0>              
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
 8002040:	5e 40 00 08 	bne r18,r0,8002060 <vprintk+0x320>             
        for ( i=len ; i<width ; i++ )                                 
 8002044:	51 ab 00 07 	bgeu r13,r11,8002060 <vprintk+0x320>           
 8002048:	b9 a0 80 00 	mv r16,r13                                     
          BSP_output_char(' ');                                       
 800204c:	29 c2 00 00 	lw r2,(r14+0)                                  
      for ( len=0, s=str ; *s ; len++, s++ )                          
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
        for ( i=len ; i<width ; i++ )                                 
 8002050:	36 10 00 01 	addi r16,r16,1                                 
          BSP_output_char(' ');                                       
 8002054:	34 01 00 20 	mvi r1,32                                      
 8002058:	d8 40 00 00 	call r2                                        
      for ( len=0, s=str ; *s ; len++, s++ )                          
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
        for ( i=len ; i<width ; i++ )                                 
 800205c:	55 70 ff fc 	bgu r11,r16,800204c <vprintk+0x30c>            
          BSP_output_char(' ');                                       
                                                                      
      /* no width option */                                           
      if (width == 0) {                                               
 8002060:	5d 60 00 03 	bne r11,r0,800206c <vprintk+0x32c>             
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
 8002064:	45 ab 00 0e 	be r13,r11,800209c <vprintk+0x35c>             
 8002068:	b9 a0 58 00 	mv r11,r13                                     
 800206c:	41 e1 00 00 	lbu r1,(r15+0)                                 
 8002070:	44 20 00 0b 	be r1,r0,800209c <vprintk+0x35c>               <== NEVER TAKEN
        BSP_output_char(*str);                                        
 8002074:	29 c2 00 00 	lw r2,(r14+0)                                  
      if (width == 0) {                                               
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
 8002078:	35 ef 00 01 	addi r15,r15,1                                 
        BSP_output_char(*str);                                        
 800207c:	d8 40 00 00 	call r2                                        
 8002080:	e0 00 00 03 	bi 800208c <vprintk+0x34c>                     
 8002084:	29 c2 00 00 	lw r2,(r14+0)                                  
 8002088:	d8 40 00 00 	call r2                                        
      if (width == 0) {                                               
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
 800208c:	41 e2 00 00 	lbu r2,(r15+0)                                 
 8002090:	35 ef 00 01 	addi r15,r15,1                                 
        BSP_output_char(*str);                                        
 8002094:	b8 40 08 00 	mv r1,r2                                       
      if (width == 0) {                                               
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
 8002098:	5c 40 ff fb 	bne r2,r0,8002084 <vprintk+0x344>              
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
 800209c:	46 40 ff 4f 	be r18,r0,8001dd8 <vprintk+0x98>               
        for ( i=len ; i<width ; i++ )                                 
 80020a0:	51 ab ff 4e 	bgeu r13,r11,8001dd8 <vprintk+0x98>            
          BSP_output_char(' ');                                       
 80020a4:	29 c2 00 00 	lw r2,(r14+0)                                  
      for ( i=0 ; i<width && *str ; str++ )                           
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
        for ( i=len ; i<width ; i++ )                                 
 80020a8:	35 ad 00 01 	addi r13,r13,1                                 
          BSP_output_char(' ');                                       
 80020ac:	34 01 00 20 	mvi r1,32                                      
 80020b0:	d8 40 00 00 	call r2                                        
      for ( i=0 ; i<width && *str ; str++ )                           
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
        for ( i=len ; i<width ; i++ )                                 
 80020b4:	55 6d ff fc 	bgu r11,r13,80020a4 <vprintk+0x364>            
 80020b8:	e3 ff ff 48 	bi 8001dd8 <vprintk+0x98>                      
    if ( c == 'o' || c == 'O' ) {                                     
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
                c == 'd' || c == 'D' ) {                              
      base = 10; sign = true;                                         
    } else if ( c == 'u' || c == 'U' ) {                              
 80020bc:	65 a4 00 55 	cmpei r4,r13,85                                
 80020c0:	65 a3 00 75 	cmpei r3,r13,117                               
 80020c4:	34 12 00 0a 	mvi r18,10                                     
 80020c8:	b8 83 18 00 	or r3,r4,r3                                    
 80020cc:	5c 61 ff 68 	bne r3,r1,8001e6c <vprintk+0x12c>              
      base = 10; sign = false;                                        
    } else if ( c == 'x' || c == 'X' ) {                              
 80020d0:	65 a4 00 58 	cmpei r4,r13,88                                
 80020d4:	65 a3 00 78 	cmpei r3,r13,120                               
 80020d8:	34 12 00 10 	mvi r18,16                                     
 80020dc:	b8 83 18 00 	or r3,r4,r3                                    
 80020e0:	5c 61 ff 63 	bne r3,r1,8001e6c <vprintk+0x12c>              
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
 80020e4:	34 02 00 70 	mvi r2,112                                     
 80020e8:	45 a2 ff 61 	be r13,r2,8001e6c <vprintk+0x12c>              
      base = 16; sign = false; lflag = true;                          
    } else {                                                          
      BSP_output_char(c);                                             
 80020ec:	29 c2 00 00 	lw r2,(r14+0)                                  
 80020f0:	b9 a0 08 00 	mv r1,r13                                      
 80020f4:	ba 20 b8 00 	mv r23,r17                                     
 80020f8:	d8 40 00 00 	call r2                                        
      continue;                                                       
 80020fc:	e3 ff ff 37 	bi 8001dd8 <vprintk+0x98>                      
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
                                                                      
      if ( str == NULL ) {                                            
 8002100:	2b 8f 00 48 	lw r15,(sp+72)                                 
 8002104:	e3 ff ff c8 	bi 8002024 <vprintk+0x2e4>                     
                                                                      
0801a674 <write>:                                                     
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
 801a674:	37 9c ff e8 	addi sp,sp,-24                                 
 801a678:	5b 8b 00 14 	sw (sp+20),r11                                 
 801a67c:	5b 8c 00 10 	sw (sp+16),r12                                 
 801a680:	5b 8d 00 0c 	sw (sp+12),r13                                 
 801a684:	5b 8e 00 08 	sw (sp+8),r14                                  
 801a688:	5b 9d 00 04 	sw (sp+4),ra                                   
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
 801a68c:	78 04 08 01 	mvhi r4,0x801                                  
 801a690:	38 84 c0 10 	ori r4,r4,0xc010                               
 801a694:	28 84 00 00 	lw r4,(r4+0)                                   
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
 801a698:	b8 40 68 00 	mv r13,r2                                      
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
 801a69c:	54 81 00 06 	bgu r4,r1,801a6b4 <write+0x40>                 <== ALWAYS TAKEN
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
 801a6a0:	fb ff c5 59 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 801a6a4:	34 02 00 09 	mvi r2,9                                       <== NOT EXECUTED
 801a6a8:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 801a6ac:	34 0c ff ff 	mvi r12,-1                                     <== NOT EXECUTED
 801a6b0:	e0 00 00 27 	bi 801a74c <write+0xd8>                        <== NOT EXECUTED
{                                                                     
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
 801a6b4:	34 02 00 03 	mvi r2,3                                       
 801a6b8:	5b 83 00 18 	sw (sp+24),r3                                  
 801a6bc:	78 0c 08 01 	mvhi r12,0x801                                 
 801a6c0:	fb ff 96 cc 	calli 80001f0 <__ashlsi3>                      
 801a6c4:	34 02 00 03 	mvi r2,3                                       
 801a6c8:	39 8c c6 9c 	ori r12,r12,0xc69c                             
 801a6cc:	b8 20 70 00 	mv r14,r1                                      
 801a6d0:	fb ff 96 c8 	calli 80001f0 <__ashlsi3>                      
 801a6d4:	29 8b 00 00 	lw r11,(r12+0)                                 
 801a6d8:	b5 c1 08 00 	add r1,r14,r1                                  
  rtems_libio_check_is_open( iop );                                   
 801a6dc:	2b 83 00 18 	lw r3,(sp+24)                                  
{                                                                     
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
 801a6e0:	b5 61 58 00 	add r11,r11,r1                                 
  rtems_libio_check_is_open( iop );                                   
 801a6e4:	29 61 00 18 	lw r1,(r11+24)                                 
 801a6e8:	20 22 01 00 	andi r2,r1,0x100                               
 801a6ec:	44 40 ff ed 	be r2,r0,801a6a0 <write+0x2c>                  <== NEVER TAKEN
  rtems_libio_check_buffer( buffer );                                 
 801a6f0:	45 a0 00 1f 	be r13,r0,801a76c <write+0xf8>                 <== NEVER TAKEN
  rtems_libio_check_count( count );                                   
 801a6f4:	b8 60 60 00 	mv r12,r3                                      
 801a6f8:	44 60 00 15 	be r3,r0,801a74c <write+0xd8>                  
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
 801a6fc:	20 21 00 04 	andi r1,r1,0x4                                 
 801a700:	44 20 00 1b 	be r1,r0,801a76c <write+0xf8>                  <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
                                                                      
  if ( !iop->handlers->write_h )                                      
 801a704:	29 61 00 40 	lw r1,(r11+64)                                 
 801a708:	28 24 00 0c 	lw r4,(r1+12)                                  
 801a70c:	44 80 00 1d 	be r4,r0,801a780 <write+0x10c>                 <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  rc = (*iop->handlers->write_h)( iop, buffer, count );               
 801a710:	b9 a0 10 00 	mv r2,r13                                      
 801a714:	b9 60 08 00 	mv r1,r11                                      
 801a718:	d8 80 00 00 	call r4                                        
 801a71c:	b8 20 60 00 	mv r12,r1                                      
                                                                      
  if ( rc > 0 )                                                       
 801a720:	4c 01 00 0b 	bge r0,r1,801a74c <write+0xd8>                 <== NEVER TAKEN
    iop->offset += rc;                                                
 801a724:	34 02 00 1f 	mvi r2,31                                      
 801a728:	fb ff 97 02 	calli 8000330 <__ashrsi3>                      
 801a72c:	29 62 00 14 	lw r2,(r11+20)                                 
 801a730:	29 64 00 10 	lw r4,(r11+16)                                 
 801a734:	b5 82 10 00 	add r2,r12,r2                                  
 801a738:	f5 82 18 00 	cmpgu r3,r12,r2                                
 801a73c:	b4 24 08 00 	add r1,r1,r4                                   
 801a740:	b4 61 08 00 	add r1,r3,r1                                   
 801a744:	59 62 00 14 	sw (r11+20),r2                                 
 801a748:	59 61 00 10 	sw (r11+16),r1                                 
                                                                      
  return rc;                                                          
}                                                                     
 801a74c:	b9 80 08 00 	mv r1,r12                                      
 801a750:	2b 9d 00 04 	lw ra,(sp+4)                                   
 801a754:	2b 8b 00 14 	lw r11,(sp+20)                                 
 801a758:	2b 8c 00 10 	lw r12,(sp+16)                                 
 801a75c:	2b 8d 00 0c 	lw r13,(sp+12)                                 
 801a760:	2b 8e 00 08 	lw r14,(sp+8)                                  
 801a764:	37 9c 00 18 	addi sp,sp,24                                  
 801a768:	c3 a0 00 00 	ret                                            
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
 801a76c:	fb ff c5 26 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 801a770:	34 02 00 16 	mvi r2,22                                      <== NOT EXECUTED
 801a774:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 801a778:	34 0c ff ff 	mvi r12,-1                                     <== NOT EXECUTED
 801a77c:	e3 ff ff f4 	bi 801a74c <write+0xd8>                        <== NOT EXECUTED
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
                                                                      
  if ( !iop->handlers->write_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 801a780:	fb ff c5 21 	calli 800bc04 <__errno>                        <== NOT EXECUTED
 801a784:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 801a788:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 801a78c:	34 0c ff ff 	mvi r12,-1                                     <== NOT EXECUTED
 801a790:	e3 ff ff ef 	bi 801a74c <write+0xd8>                        <== NOT EXECUTED
                                                                      
08003dfc <writev>:                                                    
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
 8003dfc:	37 9c ff e4 	addi sp,sp,-28                                 
 8003e00:	5b 8b 00 1c 	sw (sp+28),r11                                 
 8003e04:	5b 8c 00 18 	sw (sp+24),r12                                 
 8003e08:	5b 8d 00 14 	sw (sp+20),r13                                 
 8003e0c:	5b 8e 00 10 	sw (sp+16),r14                                 
 8003e10:	5b 8f 00 0c 	sw (sp+12),r15                                 
 8003e14:	5b 90 00 08 	sw (sp+8),r16                                  
 8003e18:	5b 9d 00 04 	sw (sp+4),ra                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
 8003e1c:	78 04 08 02 	mvhi r4,0x802                                  
 8003e20:	38 84 10 10 	ori r4,r4,0x1010                               
 8003e24:	28 84 00 00 	lw r4,(r4+0)                                   
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
 8003e28:	b8 40 58 00 	mv r11,r2                                      
 8003e2c:	b8 60 68 00 	mv r13,r3                                      
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
 8003e30:	54 81 00 06 	bgu r4,r1,8003e48 <writev+0x4c>                <== ALWAYS TAKEN
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
 8003e34:	f8 00 29 bb 	calli 800e520 <__errno>                        
 8003e38:	34 02 00 09 	mvi r2,9                                       
 8003e3c:	58 22 00 00 	sw (r1+0),r2                                   
 8003e40:	34 0e ff ff 	mvi r14,-1                                     
 8003e44:	e0 00 00 16 	bi 8003e9c <writev+0xa0>                       
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
 8003e48:	34 02 00 03 	mvi r2,3                                       
 8003e4c:	fb ff f4 1a 	calli 8000eb4 <__ashlsi3>                      
 8003e50:	78 0c 08 02 	mvhi r12,0x802                                 
 8003e54:	34 02 00 03 	mvi r2,3                                       
 8003e58:	39 8c 1e 70 	ori r12,r12,0x1e70                             
 8003e5c:	b8 20 70 00 	mv r14,r1                                      
 8003e60:	fb ff f4 15 	calli 8000eb4 <__ashlsi3>                      
 8003e64:	29 8f 00 00 	lw r15,(r12+0)                                 
 8003e68:	b5 c1 08 00 	add r1,r14,r1                                  
 8003e6c:	b5 e1 78 00 	add r15,r15,r1                                 
  rtems_libio_check_is_open( iop );                                   
 8003e70:	29 e1 00 18 	lw r1,(r15+24)                                 
 8003e74:	20 22 01 00 	andi r2,r1,0x100                               
 8003e78:	44 40 ff ef 	be r2,r0,8003e34 <writev+0x38>                 
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
 8003e7c:	20 21 00 04 	andi r1,r1,0x4                                 
 8003e80:	44 20 00 03 	be r1,r0,8003e8c <writev+0x90>                 <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
 8003e84:	45 60 00 02 	be r11,r0,8003e8c <writev+0x90>                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
 8003e88:	49 a0 00 0f 	bg r13,r0,8003ec4 <writev+0xc8>                
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 8003e8c:	f8 00 29 a5 	calli 800e520 <__errno>                        
 8003e90:	34 02 00 16 	mvi r2,22                                      
 8003e94:	58 22 00 00 	sw (r1+0),r2                                   
 8003e98:	34 0e ff ff 	mvi r14,-1                                     
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
 8003e9c:	b9 c0 08 00 	mv r1,r14                                      
 8003ea0:	2b 9d 00 04 	lw ra,(sp+4)                                   
 8003ea4:	2b 8b 00 1c 	lw r11,(sp+28)                                 
 8003ea8:	2b 8c 00 18 	lw r12,(sp+24)                                 
 8003eac:	2b 8d 00 14 	lw r13,(sp+20)                                 
 8003eb0:	2b 8e 00 10 	lw r14,(sp+16)                                 
 8003eb4:	2b 8f 00 0c 	lw r15,(sp+12)                                 
 8003eb8:	2b 90 00 08 	lw r16,(sp+8)                                  
 8003ebc:	37 9c 00 1c 	addi sp,sp,28                                  
 8003ec0:	c3 a0 00 00 	ret                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
 8003ec4:	34 01 04 00 	mvi r1,1024                                    
 8003ec8:	4c 2d 00 02 	bge r1,r13,8003ed0 <writev+0xd4>               <== ALWAYS TAKEN
 8003ecc:	e3 ff ff f0 	bi 8003e8c <writev+0x90>                       <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !iop->handlers->write_h )                                      
 8003ed0:	29 e1 00 40 	lw r1,(r15+64)                                 
 8003ed4:	28 21 00 0c 	lw r1,(r1+12)                                  
 8003ed8:	44 20 00 39 	be r1,r0,8003fbc <writev+0x1c0>                <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 8003edc:	34 06 00 00 	mvi r6,0                                       
 8003ee0:	b9 60 20 00 	mv r4,r11                                      
 8003ee4:	34 08 00 01 	mvi r8,1                                       
 8003ee8:	b8 c0 38 00 	mv r7,r6                                       
 8003eec:	e0 00 00 0d 	bi 8003f20 <writev+0x124>                      
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
 8003ef0:	28 82 00 04 	lw r2,(r4+4)                                   
   *  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++ ) {                    
 8003ef4:	34 84 00 08 	addi r4,r4,8                                   
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
 8003ef8:	b4 e2 28 00 	add r5,r7,r2                                   
    if ( total < old || total > SSIZE_MAX )                           
 8003efc:	e8 e5 38 00 	cmpg r7,r7,r5                                  
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
 8003f00:	64 42 00 00 	cmpei r2,r2,0                                  
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
 8003f04:	68 a3 7f ff 	cmpgi r3,r5,32767                              
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
 8003f08:	c8 02 10 00 	sub r2,r0,r2                                   
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
 8003f0c:	b8 67 38 00 	or r7,r3,r7                                    
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
 8003f10:	a1 02 40 00 	and r8,r8,r2                                   
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
 8003f14:	5c e0 ff de 	bne r7,r0,8003e8c <writev+0x90>                
   *  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++ ) {                    
 8003f18:	4c cd 00 06 	bge r6,r13,8003f30 <writev+0x134>              
 8003f1c:	b8 a0 38 00 	mv r7,r5                                       
                                                                      
    if ( !iov[v].iov_base )                                           
 8003f20:	28 82 00 00 	lw r2,(r4+0)                                   
   *  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++ ) {                    
 8003f24:	34 c6 00 01 	addi r6,r6,1                                   
                                                                      
    if ( !iov[v].iov_base )                                           
 8003f28:	5c 40 ff f2 	bne r2,r0,8003ef0 <writev+0xf4>                
 8003f2c:	e3 ff ff d8 	bi 8003e8c <writev+0x90>                       
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
 8003f30:	b9 00 60 00 	mv r12,r8                                      
 8003f34:	b9 00 70 00 	mv r14,r8                                      
 8003f38:	5d 00 00 07 	bne r8,r0,8003f54 <writev+0x158>               
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
 8003f3c:	29 63 00 04 	lw r3,(r11+4)                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
 8003f40:	35 8c 00 01 	addi r12,r12,1                                 
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
 8003f44:	5c 60 00 06 	bne r3,r0,8003f5c <writev+0x160>               <== ALWAYS TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
 8003f48:	35 6b 00 08 	addi r11,r11,8                                 
 8003f4c:	49 ac ff fc 	bg r13,r12,8003f3c <writev+0x140>              
 8003f50:	e3 ff ff d3 	bi 8003e9c <writev+0xa0>                       
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
 8003f54:	b8 e0 70 00 	mv r14,r7                                      
 8003f58:	e3 ff ff d1 	bi 8003e9c <writev+0xa0>                       
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
      continue;                                                       
                                                                      
    bytes = (*iop->handlers->write_h)( iop, iov[v].iov_base, iov[v].iov_len );
 8003f5c:	29 e1 00 40 	lw r1,(r15+64)                                 
 8003f60:	29 62 00 00 	lw r2,(r11+0)                                  
 8003f64:	28 24 00 0c 	lw r4,(r1+12)                                  
 8003f68:	b9 e0 08 00 	mv r1,r15                                      
 8003f6c:	d8 80 00 00 	call r4                                        
 8003f70:	b8 20 80 00 	mv r16,r1                                      
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
 8003f74:	34 02 00 1f 	mvi r2,31                                      
    if ( iov[v].iov_len == 0 )                                        
      continue;                                                       
                                                                      
    bytes = (*iop->handlers->write_h)( iop, iov[v].iov_base, iov[v].iov_len );
                                                                      
    if ( bytes < 0 )                                                  
 8003f78:	4c 20 00 03 	bge r1,r0,8003f84 <writev+0x188>               <== ALWAYS TAKEN
 8003f7c:	34 0e ff ff 	mvi r14,-1                                     <== NOT EXECUTED
 8003f80:	e3 ff ff c7 	bi 8003e9c <writev+0xa0>                       <== NOT EXECUTED
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
 8003f84:	44 20 00 0b 	be r1,r0,8003fb0 <writev+0x1b4>                <== NEVER TAKEN
      iop->offset += bytes;                                           
 8003f88:	fb ff f4 1b 	calli 8000ff4 <__ashrsi3>                      
 8003f8c:	29 e2 00 14 	lw r2,(r15+20)                                 
 8003f90:	29 e4 00 10 	lw r4,(r15+16)                                 
      total       += bytes;                                           
 8003f94:	b5 d0 70 00 	add r14,r14,r16                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
 8003f98:	b6 02 10 00 	add r2,r16,r2                                  
 8003f9c:	f6 02 18 00 	cmpgu r3,r16,r2                                
 8003fa0:	b4 24 08 00 	add r1,r1,r4                                   
 8003fa4:	b4 61 08 00 	add r1,r3,r1                                   
 8003fa8:	59 e1 00 10 	sw (r15+16),r1                                 
 8003fac:	59 e2 00 14 	sw (r15+20),r2                                 
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
 8003fb0:	29 61 00 04 	lw r1,(r11+4)                                  
 8003fb4:	46 01 ff e5 	be r16,r1,8003f48 <writev+0x14c>               <== ALWAYS TAKEN
 8003fb8:	e3 ff ff b9 	bi 8003e9c <writev+0xa0>                       <== NOT EXECUTED
                                                                      
  if ( iovcnt > IOV_MAX )                                             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !iop->handlers->write_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 8003fbc:	f8 00 29 59 	calli 800e520 <__errno>                        <== NOT EXECUTED
 8003fc0:	34 02 00 86 	mvi r2,134                                     <== NOT EXECUTED
 8003fc4:	58 22 00 00 	sw (r1+0),r2                                   <== NOT EXECUTED
 8003fc8:	34 0e ff ff 	mvi r14,-1                                     <== NOT EXECUTED
 8003fcc:	e3 ff ff b4 	bi 8003e9c <writev+0xa0>                       <== NOT EXECUTED