300088f4 <IMFS_Set_handlers>:                                         
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
  switch( node->type ) {                                              
300088f4:	e5903000 	ldr	r3, [r0]                                      
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
300088f8:	e5902010 	ldr	r2, [r0, #16]                                 
  switch( node->type ) {                                              
300088fc:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
30008900:	e5922034 	ldr	r2, [r2, #52]	; 0x34                          
  switch( node->type ) {                                              
30008904:	e2433001 	sub	r3, r3, #1                                    
30008908:	e3530006 	cmp	r3, #6                                        
3000890c:	979ff103 	ldrls	pc, [pc, r3, lsl #2]                        
30008910:	ea000008 	b	30008938 <IMFS_Set_handlers+0x44>               <== NOT EXECUTED
30008914:	30008960 	.word	0x30008960                                  <== NOT EXECUTED
30008918:	30008970 	.word	0x30008970                                  <== NOT EXECUTED
3000891c:	30008950 	.word	0x30008950                                  <== NOT EXECUTED
30008920:	30008950 	.word	0x30008950                                  <== NOT EXECUTED
30008924:	30008940 	.word	0x30008940                                  <== NOT EXECUTED
30008928:	30008940 	.word	0x30008940                                  <== NOT EXECUTED
3000892c:	30008930 	.word	0x30008930                                  <== NOT EXECUTED
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_FIFO:                                                   
      loc->handlers = &IMFS_fifo_handlers;                            
30008930:	e59f3048 	ldr	r3, [pc, #72]	; 30008980 <IMFS_Set_handlers+0x8c>
30008934:	e5803008 	str	r3, [r0, #8]                                  
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
30008938:	e3a00000 	mov	r0, #0                                        
3000893c:	e12fff1e 	bx	lr                                             
      break;                                                          
    case IMFS_LINEAR_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
30008940:	e5923004 	ldr	r3, [r2, #4]                                  
30008944:	e5803008 	str	r3, [r0, #8]                                  
      loc->handlers = &IMFS_fifo_handlers;                            
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
30008948:	e3a00000 	mov	r0, #0                                        
3000894c:	e12fff1e 	bx	lr                                             
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
      break;                                                          
    case IMFS_SYM_LINK:                                               
    case IMFS_HARD_LINK:                                              
      loc->handlers = &IMFS_link_handlers;                            
30008950:	e59f302c 	ldr	r3, [pc, #44]	; 30008984 <IMFS_Set_handlers+0x90>
30008954:	e5803008 	str	r3, [r0, #8]                                  
      loc->handlers = &IMFS_fifo_handlers;                            
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
30008958:	e3a00000 	mov	r0, #0                                        
3000895c:	e12fff1e 	bx	lr                                             
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
  switch( node->type ) {                                              
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
30008960:	e5923008 	ldr	r3, [r2, #8]                                  
30008964:	e5803008 	str	r3, [r0, #8]                                  
      loc->handlers = &IMFS_fifo_handlers;                            
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
30008968:	e3a00000 	mov	r0, #0                                        
3000896c:	e12fff1e 	bx	lr                                             
  switch( node->type ) {                                              
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
      break;                                                          
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
30008970:	e59f3010 	ldr	r3, [pc, #16]	; 30008988 <IMFS_Set_handlers+0x94>
30008974:	e5803008 	str	r3, [r0, #8]                                  
      loc->handlers = &IMFS_fifo_handlers;                            
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
30008978:	e3a00000 	mov	r0, #0                                        
3000897c:	e12fff1e 	bx	lr                                             
30008980:	3001828c 	.word	0x3001828c                                  
30008984:	3001831c 	.word	0x3001831c                                  
30008988:	300182e4 	.word	0x300182e4                                  
                                                                      
3000ba38 <IMFS_create_node>:                                          
  IMFS_jnode_types_t                type,                             
  const char                       *name,                             
  mode_t                            mode,                             
  const IMFS_types_union           *info                              
)                                                                     
{                                                                     
3000ba38:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  IMFS_fs_info_t      *fs_info;                                       
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
3000ba3c:	e2504000 	subs	r4, r0, #0                                   
  IMFS_jnode_types_t                type,                             
  const char                       *name,                             
  mode_t                            mode,                             
  const IMFS_types_union           *info                              
)                                                                     
{                                                                     
3000ba40:	e1a05001 	mov	r5, r1                                        
3000ba44:	e59d6014 	ldr	r6, [sp, #20]                                 
  IMFS_fs_info_t      *fs_info;                                       
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
3000ba48:	01a07004 	moveq	r7, r4                                      
3000ba4c:	1a000001 	bne	3000ba58 <IMFS_create_node+0x20>              
  node->st_ino = ++fs_info->ino_count;                                
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
}                                                                     
3000ba50:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
3000ba54:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Allocate filesystem node and fill in basic information          
   */                                                                 
  node  = IMFS_allocate_node( type, name, mode & ~rtems_filesystem_umask );
3000ba58:	e1a01002 	mov	r1, r2                                        
3000ba5c:	e59f210c 	ldr	r2, [pc, #268]	; 3000bb70 <IMFS_create_node+0x138>
3000ba60:	e1a00005 	mov	r0, r5                                        
3000ba64:	e5922000 	ldr	r2, [r2]                                      
3000ba68:	e592202c 	ldr	r2, [r2, #44]	; 0x2c                          
3000ba6c:	e1c32002 	bic	r2, r3, r2                                    
3000ba70:	ebffffc1 	bl	3000b97c <IMFS_allocate_node>                  
  if ( !node )                                                        
3000ba74:	e2507000 	subs	r7, r0, #0                                   
3000ba78:	0afffff4 	beq	3000ba50 <IMFS_create_node+0x18>              
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Set the type specific information                               
   */                                                                 
  switch (type) {                                                     
3000ba7c:	e2455001 	sub	r5, r5, #1                                    
3000ba80:	e3550006 	cmp	r5, #6                                        
3000ba84:	979ff105 	ldrls	pc, [pc, r5, lsl #2]                        
3000ba88:	ea000033 	b	3000bb5c <IMFS_create_node+0x124>               <== NOT EXECUTED
3000ba8c:	3000bb40 	.word	0x3000bb40                                  <== NOT EXECUTED
3000ba90:	3000bb2c 	.word	0x3000bb2c                                  <== NOT EXECUTED
3000ba94:	3000baa8 	.word	0x3000baa8                                  <== NOT EXECUTED
3000ba98:	3000baa8 	.word	0x3000baa8                                  <== NOT EXECUTED
3000ba9c:	3000bafc 	.word	0x3000bafc                                  <== NOT EXECUTED
3000baa0:	3000bae4 	.word	0x3000bae4                                  <== NOT EXECUTED
3000baa4:	3000bb20 	.word	0x3000bb20                                  <== NOT EXECUTED
    case IMFS_HARD_LINK:                                              
      node->info.hard_link.link_node = info->hard_link.link_node;     
      break;                                                          
                                                                      
    case IMFS_SYM_LINK:                                               
      node->info.sym_link.name = info->sym_link.name;                 
3000baa8:	e5963000 	ldr	r3, [r6]                                      
3000baac:	e5873050 	str	r3, [r7, #80]	; 0x50                          
                                                                      
  /*                                                                  
   *  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;                       
3000bab0:	e5943010 	ldr	r3, [r4, #16]                                 
  }                                                                   
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  parent       = parent_loc->node_access;                             
3000bab4:	e5940000 	ldr	r0, [r4]                                      
  fs_info      = parent_loc->mt_entry->fs_info;                       
3000bab8:	e5932034 	ldr	r2, [r3, #52]	; 0x34                          
                                                                      
  node->Parent = parent;                                              
3000babc:	e5870008 	str	r0, [r7, #8]                                  
  node->st_ino = ++fs_info->ino_count;                                
3000bac0:	e5923000 	ldr	r3, [r2]                                      
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
3000bac4:	e2800050 	add	r0, r0, #80	; 0x50                            
3000bac8:	e2833001 	add	r3, r3, #1                                    
3000bacc:	e5823000 	str	r3, [r2]                                      
3000bad0:	e1a01007 	mov	r1, r7                                        
3000bad4:	e5873038 	str	r3, [r7, #56]	; 0x38                          
3000bad8:	ebffe7b0 	bl	300059a0 <_Chain_Append>                       
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
}                                                                     
3000badc:	e1a00007 	mov	r0, r7                                        
3000bae0:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
      node->info.device.major = info->device.major;                   
      node->info.device.minor = info->device.minor;                   
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      node->info.linearfile.size      = 0;                            
3000bae4:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
3000bae8:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
3000baec:	e5872050 	str	r2, [r7, #80]	; 0x50                          <== NOT EXECUTED
3000baf0:	e5873054 	str	r3, [r7, #84]	; 0x54                          <== NOT EXECUTED
      node->info.linearfile.direct    = 0;                            
3000baf4:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
3000baf8:	e5873058 	str	r3, [r7, #88]	; 0x58                          <== NOT EXECUTED
                                                                      
    case IMFS_MEMORY_FILE:                                            
      node->info.file.size            = 0;                            
      node->info.file.indirect        = 0;                            
3000bafc:	e3a03000 	mov	r3, #0                                        
    case IMFS_LINEAR_FILE:                                            
      node->info.linearfile.size      = 0;                            
      node->info.linearfile.direct    = 0;                            
                                                                      
    case IMFS_MEMORY_FILE:                                            
      node->info.file.size            = 0;                            
3000bb00:	e3a01000 	mov	r1, #0                                        
3000bb04:	e3a02000 	mov	r2, #0                                        
3000bb08:	e5871050 	str	r1, [r7, #80]	; 0x50                          
3000bb0c:	e5872054 	str	r2, [r7, #84]	; 0x54                          
      node->info.file.indirect        = 0;                            
      node->info.file.doubly_indirect = 0;                            
      node->info.file.triply_indirect = 0;                            
3000bb10:	e5873060 	str	r3, [r7, #96]	; 0x60                          
      node->info.linearfile.size      = 0;                            
      node->info.linearfile.direct    = 0;                            
                                                                      
    case IMFS_MEMORY_FILE:                                            
      node->info.file.size            = 0;                            
      node->info.file.indirect        = 0;                            
3000bb14:	e5873058 	str	r3, [r7, #88]	; 0x58                          
      node->info.file.doubly_indirect = 0;                            
3000bb18:	e587305c 	str	r3, [r7, #92]	; 0x5c                          
      node->info.file.triply_indirect = 0;                            
      break;                                                          
3000bb1c:	eaffffe3 	b	3000bab0 <IMFS_create_node+0x78>                
                                                                      
    case IMFS_FIFO:                                                   
      node->info.fifo.pipe = NULL;                                    
3000bb20:	e3a03000 	mov	r3, #0                                        
3000bb24:	e5873050 	str	r3, [r7, #80]	; 0x50                          
      break;                                                          
3000bb28:	eaffffe0 	b	3000bab0 <IMFS_create_node+0x78>                
      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;                   
3000bb2c:	e5962004 	ldr	r2, [r6, #4]                                  
    case IMFS_SYM_LINK:                                               
      node->info.sym_link.name = info->sym_link.name;                 
      break;                                                          
                                                                      
    case IMFS_DEVICE:                                                 
      node->info.device.major = info->device.major;                   
3000bb30:	e5963000 	ldr	r3, [r6]                                      
      node->info.device.minor = info->device.minor;                   
3000bb34:	e5872054 	str	r2, [r7, #84]	; 0x54                          
    case IMFS_SYM_LINK:                                               
      node->info.sym_link.name = info->sym_link.name;                 
      break;                                                          
                                                                      
    case IMFS_DEVICE:                                                 
      node->info.device.major = info->device.major;                   
3000bb38:	e5873050 	str	r3, [r7, #80]	; 0x50                          
      node->info.device.minor = info->device.minor;                   
      break;                                                          
3000bb3c:	eaffffdb 	b	3000bab0 <IMFS_create_node+0x78>                
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
3000bb40:	e2872054 	add	r2, r7, #84	; 0x54                            
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
3000bb44:	e2873050 	add	r3, r7, #80	; 0x50                            
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
3000bb48:	e5872050 	str	r2, [r7, #80]	; 0x50                          
  the_chain->permanent_null = NULL;                                   
3000bb4c:	e3a02000 	mov	r2, #0                                        
3000bb50:	e5872054 	str	r2, [r7, #84]	; 0x54                          
  the_chain->last           = _Chain_Head(the_chain);                 
3000bb54:	e5873058 	str	r3, [r7, #88]	; 0x58                          
3000bb58:	eaffffd4 	b	3000bab0 <IMFS_create_node+0x78>                
    case IMFS_FIFO:                                                   
      node->info.fifo.pipe = NULL;                                    
      break;                                                          
                                                                      
    default:                                                          
      assert(0);                                                      
3000bb5c:	e59f0010 	ldr	r0, [pc, #16]	; 3000bb74 <IMFS_create_node+0x13c><== NOT EXECUTED
3000bb60:	e3a0105c 	mov	r1, #92	; 0x5c                                <== NOT EXECUTED
3000bb64:	e59f200c 	ldr	r2, [pc, #12]	; 3000bb78 <IMFS_create_node+0x140><== NOT EXECUTED
3000bb68:	e59f300c 	ldr	r3, [pc, #12]	; 3000bb7c <IMFS_create_node+0x144><== NOT EXECUTED
3000bb6c:	ebfff739 	bl	30009858 <__assert_func>                       <== NOT EXECUTED
3000bb70:	3001901c 	.word	0x3001901c                                  
3000bb74:	30018b68 	.word	0x30018b68                                  
3000bb78:	3001842c 	.word	0x3001842c                                  
3000bb7c:	300188d4 	.word	0x300188d4                                  
                                                                      
30003700 <IMFS_dump_directory>:                                       
  rtems_chain_node     *the_node;                                     
  rtems_chain_control  *the_chain;                                    
  IMFS_jnode_t         *the_jnode;                                    
  int                   i;                                            
                                                                      
  assert( the_directory );                                            
30003700:	e3500000 	cmp	r0, #0                                        
                                                                      
void IMFS_dump_directory(                                             
  IMFS_jnode_t  *the_directory,                                       
  int            level                                                
)                                                                     
{                                                                     
30003704:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
30003708:	e1a05001 	mov	r5, r1                                        
  rtems_chain_node     *the_node;                                     
  rtems_chain_control  *the_chain;                                    
  IMFS_jnode_t         *the_jnode;                                    
  int                   i;                                            
                                                                      
  assert( the_directory );                                            
3000370c:	0a000021 	beq	30003798 <IMFS_dump_directory+0x98>           
                                                                      
  assert( level >= 0 );                                               
30003710:	e3510000 	cmp	r1, #0                                        
30003714:	ba000029 	blt	300037c0 <IMFS_dump_directory+0xc0>           
                                                                      
  assert( the_directory->type == IMFS_DIRECTORY );                    
30003718:	e590304c 	ldr	r3, [r0, #76]	; 0x4c                          
3000371c:	e3530001 	cmp	r3, #1                                        
30003720:	1a000021 	bne	300037ac <IMFS_dump_directory+0xac>           
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = the_chain->first;                                  
30003724:	e5907050 	ldr	r7, [r0, #80]	; 0x50                          
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
30003728:	e2808054 	add	r8, r0, #84	; 0x54                            
3000372c:	e1570008 	cmp	r7, r8                                        
30003730:	08bd85f0 	popeq	{r4, r5, r6, r7, r8, sl, pc}                
30003734:	e59f6098 	ldr	r6, [pc, #152]	; 300037d4 <IMFS_dump_directory+0xd4>
                                                                      
    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 );                    
30003738:	e281a001 	add	sl, r1, #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;                            
3000373c:	e3a04000 	mov	r4, #0                                        
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
30003740:	e5963000 	ldr	r3, [r6]                                      
        !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++ )                                      
30003744:	e2844001 	add	r4, r4, #1                                    
      fprintf(stdout, "...." );                                       
30003748:	e5933008 	ldr	r3, [r3, #8]                                  
3000374c:	e59f0084 	ldr	r0, [pc, #132]	; 300037d8 <IMFS_dump_directory+0xd8>
30003750:	e3a01001 	mov	r1, #1                                        
30003754:	e3a02004 	mov	r2, #4                                        
30003758:	eb003b72 	bl	30012528 <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++ )                                      
3000375c:	e1550004 	cmp	r5, r4                                        
30003760:	aafffff6 	bge	30003740 <IMFS_dump_directory+0x40>           
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
30003764:	e1a00007 	mov	r0, r7                                        
30003768:	ebffff7a 	bl	30003558 <IMFS_print_jnode>                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
3000376c:	e597304c 	ldr	r3, [r7, #76]	; 0x4c                          
30003770:	e3530001 	cmp	r3, #1                                        
30003774:	0a000003 	beq	30003788 <IMFS_dump_directory+0x88>           
                                                                      
  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 ) {                                 
30003778:	e5977000 	ldr	r7, [r7]                                      
                                                                      
  assert( the_directory->type == IMFS_DIRECTORY );                    
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = the_chain->first;                                  
3000377c:	e1570008 	cmp	r7, r8                                        
30003780:	1affffed 	bne	3000373c <IMFS_dump_directory+0x3c>           
30003784:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      
    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 );                    
30003788:	e1a00007 	mov	r0, r7                                        
3000378c:	e1a0100a 	mov	r1, sl                                        
30003790:	ebffffda 	bl	30003700 <IMFS_dump_directory>                 
30003794:	eafffff7 	b	30003778 <IMFS_dump_directory+0x78>             
  rtems_chain_node     *the_node;                                     
  rtems_chain_control  *the_chain;                                    
  IMFS_jnode_t         *the_jnode;                                    
  int                   i;                                            
                                                                      
  assert( the_directory );                                            
30003798:	e59f003c 	ldr	r0, [pc, #60]	; 300037dc <IMFS_dump_directory+0xdc><== NOT EXECUTED
3000379c:	e3a01084 	mov	r1, #132	; 0x84                               <== NOT EXECUTED
300037a0:	e59f2038 	ldr	r2, [pc, #56]	; 300037e0 <IMFS_dump_directory+0xe0><== NOT EXECUTED
300037a4:	e59f3038 	ldr	r3, [pc, #56]	; 300037e4 <IMFS_dump_directory+0xe4><== NOT EXECUTED
300037a8:	eb0001e4 	bl	30003f40 <__assert_func>                       <== NOT EXECUTED
                                                                      
  assert( level >= 0 );                                               
                                                                      
  assert( the_directory->type == IMFS_DIRECTORY );                    
300037ac:	e59f0028 	ldr	r0, [pc, #40]	; 300037dc <IMFS_dump_directory+0xdc><== NOT EXECUTED
300037b0:	e3a01088 	mov	r1, #136	; 0x88                               <== NOT EXECUTED
300037b4:	e59f2024 	ldr	r2, [pc, #36]	; 300037e0 <IMFS_dump_directory+0xe0><== NOT EXECUTED
300037b8:	e59f3028 	ldr	r3, [pc, #40]	; 300037e8 <IMFS_dump_directory+0xe8><== NOT EXECUTED
300037bc:	eb0001df 	bl	30003f40 <__assert_func>                       <== NOT EXECUTED
  IMFS_jnode_t         *the_jnode;                                    
  int                   i;                                            
                                                                      
  assert( the_directory );                                            
                                                                      
  assert( level >= 0 );                                               
300037c0:	e59f0014 	ldr	r0, [pc, #20]	; 300037dc <IMFS_dump_directory+0xdc><== NOT EXECUTED
300037c4:	e3a01086 	mov	r1, #134	; 0x86                               <== NOT EXECUTED
300037c8:	e59f2010 	ldr	r2, [pc, #16]	; 300037e0 <IMFS_dump_directory+0xe0><== NOT EXECUTED
300037cc:	e59f3018 	ldr	r3, [pc, #24]	; 300037ec <IMFS_dump_directory+0xec><== NOT EXECUTED
300037d0:	eb0001da 	bl	30003f40 <__assert_func>                       <== NOT EXECUTED
300037d4:	300234e0 	.word	0x300234e0                                  
300037d8:	3002258c 	.word	0x3002258c                                  
300037dc:	30022488 	.word	0x30022488                                  
300037e0:	30021098 	.word	0x30021098                                  
300037e4:	30022548 	.word	0x30022548                                  
300037e8:	30022564 	.word	0x30022564                                  
300037ec:	30022558 	.word	0x30022558                                  
                                                                      
30008b08 <IMFS_eval_path>:                                            
  const char                        *pathname,     /* IN     */       
  int                                pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
)                                                                     
{                                                                     
30008b08:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  /*                                                                  
   *  This was filled in by the caller and is valid in the            
   *  mount table.                                                    
   */                                                                 
                                                                      
  node = pathloc->node_access;                                        
30008b0c:	e5936000 	ldr	r6, [r3]                                      
  const char                        *pathname,     /* IN     */       
  int                                pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
)                                                                     
{                                                                     
30008b10:	e24dd044 	sub	sp, sp, #68	; 0x44                            
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
30008b14:	e59fb29c 	ldr	fp, [pc, #668]	; 30008db8 <IMFS_eval_path+0x2b0>
  const char                        *pathname,     /* IN     */       
  int                                pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
)                                                                     
{                                                                     
30008b18:	e1a07003 	mov	r7, r3                                        
30008b1c:	e1a0a000 	mov	sl, r0                                        
30008b20:	e1a04001 	mov	r4, r1                                        
30008b24:	e58d2004 	str	r2, [sp, #4]                                  
  /*                                                                  
   *  This was filled in by the caller and is valid in the            
   *  mount table.                                                    
   */                                                                 
                                                                      
  node = pathloc->node_access;                                        
30008b28:	e3a05000 	mov	r5, #0                                        
30008b2c:	e28d8008 	add	r8, sp, #8                                    
30008b30:	e28d9040 	add	r9, sp, #64	; 0x40                            
   *  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 );  
30008b34:	e1a02008 	mov	r2, r8                                        
30008b38:	e1a03009 	mov	r3, r9                                        
30008b3c:	e08a0005 	add	r0, sl, r5                                    
30008b40:	e1a01004 	mov	r1, r4                                        
30008b44:	eb000239 	bl	30009430 <IMFS_get_token>                      
    pathnamelen -= len;                                               
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
30008b48:	e5972000 	ldr	r2, [r7]                                      
   *  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 );  
30008b4c:	e1a03000 	mov	r3, r0                                        
    pathnamelen -= len;                                               
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
30008b50:	e3520000 	cmp	r2, #0                                        
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    pathnamelen -= len;                                               
30008b54:	e59dc040 	ldr	ip, [sp, #64]	; 0x40                          
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
30008b58:	0a00004e 	beq	30008c98 <IMFS_eval_path+0x190>               
      rtems_set_errno_and_return_minus_one( ENOENT );                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
30008b5c:	e3500000 	cmp	r0, #0                                        
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    pathnamelen -= len;                                               
30008b60:	e06c4004 	rsb	r4, ip, r4                                    
    i += len;                                                         
30008b64:	e085500c 	add	r5, r5, ip                                    
      rtems_set_errno_and_return_minus_one( ENOENT );                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
30008b68:	1a00000c 	bne	30008ba0 <IMFS_eval_path+0x98>                
   *  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 ) {                               
30008b6c:	e592304c 	ldr	r3, [r2, #76]	; 0x4c                          
30008b70:	e3530001 	cmp	r3, #1                                        
30008b74:	0a000054 	beq	30008ccc <IMFS_eval_path+0x1c4>               
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
30008b78:	e1a00007 	mov	r0, r7                                        
30008b7c:	ebffff5c 	bl	300088f4 <IMFS_Set_handlers>                   
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    assert( 0 );                                                      
    rtems_set_errno_and_return_minus_one( EIO );                      
  }                                                                   
                                                                      
  jnode = node->node_access;                                          
30008b80:	e5972000 	ldr	r2, [r7]                                      
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
30008b84:	e59d1004 	ldr	r1, [sp, #4]                                  
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    assert( 0 );                                                      
    rtems_set_errno_and_return_minus_one( EIO );                      
  }                                                                   
                                                                      
  jnode = node->node_access;                                          
30008b88:	e5922030 	ldr	r2, [r2, #48]	; 0x30                          
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
30008b8c:	e1a03301 	lsl	r3, r1, #6                                    
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    assert( 0 );                                                      
    rtems_set_errno_and_return_minus_one( EIO );                      
  }                                                                   
                                                                      
  jnode = node->node_access;                                          
30008b90:	e0032002 	and	r2, r3, r2                                    
30008b94:	e1530002 	cmp	r3, r2                                        
30008b98:	1a000039 	bne	30008c84 <IMFS_eval_path+0x17c>               
30008b9c:	ea000032 	b	30008c6c <IMFS_eval_path+0x164>                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
30008ba0:	e596104c 	ldr	r1, [r6, #76]	; 0x4c                          
30008ba4:	e3510001 	cmp	r1, #1                                        
30008ba8:	11a06002 	movne	r6, r2                                      
30008bac:	0a000030 	beq	30008c74 <IMFS_eval_path+0x16c>               
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
30008bb0:	e3530003 	cmp	r3, #3                                        
30008bb4:	0a000006 	beq	30008bd4 <IMFS_eval_path+0xcc>                
30008bb8:	e3530004 	cmp	r3, #4                                        
30008bbc:	0a000026 	beq	30008c5c <IMFS_eval_path+0x154>               
30008bc0:	e3530002 	cmp	r3, #2                                        
30008bc4:	0a000013 	beq	30008c18 <IMFS_eval_path+0x110>               
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
30008bc8:	e3530004 	cmp	r3, #4                                        
30008bcc:	1affffd8 	bne	30008b34 <IMFS_eval_path+0x2c>                
30008bd0:	eaffffe5 	b	30008b6c <IMFS_eval_path+0x64>                  <== NOT EXECUTED
      case IMFS_NAME:                                                 
	/*                                                                   
	 *  If we are at a link follow it.                                   
	 */                                                                  
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
30008bd4:	e592304c 	ldr	r3, [r2, #76]	; 0x4c                          
30008bd8:	e3530003 	cmp	r3, #3                                        
30008bdc:	0a000032 	beq	30008cac <IMFS_eval_path+0x1a4>               
                                                                      
          node = pathloc->node_access;                                
          if ( !node )                                                
            rtems_set_errno_and_return_minus_one( ENOTDIR );          
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
30008be0:	e3530004 	cmp	r3, #4                                        
30008be4:	0a000069 	beq	30008d90 <IMFS_eval_path+0x288>               
                                                                      
       /*                                                             
        *  Only a directory can be decended into.                     
        */                                                            
                                                                      
       if ( node->type != IMFS_DIRECTORY )                            
30008be8:	e3530001 	cmp	r3, #1                                        
30008bec:	1a00004d 	bne	30008d28 <IMFS_eval_path+0x220>               
	/*                                                                   
	 *  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 ) {                   
30008bf0:	e596e05c 	ldr	lr, [r6, #92]	; 0x5c                          
30008bf4:	e35e0000 	cmp	lr, #0                                        
30008bf8:	1a00004f 	bne	30008d3c <IMFS_eval_path+0x234>               
                                                                      
	/*                                                                   
	 *  Otherwise find the token name in the present location.           
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
30008bfc:	e1a00006 	mov	r0, r6                                        
30008c00:	e1a01008 	mov	r1, r8                                        
30008c04:	eb0001da 	bl	30009374 <IMFS_find_match_in_dir>              
        if ( !node )                                                  
30008c08:	e2506000 	subs	r6, r0, #0                                   
30008c0c:	0a000021 	beq	30008c98 <IMFS_eval_path+0x190>               
                                                                      
	/*                                                                   
	 *  Set the node access to the point we have found.                  
	 */                                                                  
                                                                      
        pathloc->node_access = node;                                  
30008c10:	e5876000 	str	r6, [r7]                                      
        break;                                                        
30008c14:	eaffffc6 	b	30008b34 <IMFS_eval_path+0x2c>                  
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
30008c18:	e59b1000 	ldr	r1, [fp]                                      
30008c1c:	e5911018 	ldr	r1, [r1, #24]                                 
30008c20:	e1520001 	cmp	r2, r1                                        
30008c24:	0affffc2 	beq	30008b34 <IMFS_eval_path+0x2c>                
	/*                                                                   
	 *  Am I at the root of this mounted filesystem?                     
	 */                                                                  
                                                                      
        if (pathloc->node_access ==                                   
            pathloc->mt_entry->mt_fs_root.node_access) {              
30008c28:	e5976010 	ldr	r6, [r7, #16]                                 
                                                                      
	/*                                                                   
	 *  Am I at the root of this mounted filesystem?                     
	 */                                                                  
                                                                      
        if (pathloc->node_access ==                                   
30008c2c:	e596101c 	ldr	r1, [r6, #28]                                 
30008c30:	e1520001 	cmp	r2, r1                                        
30008c34:	0a00005d 	beq	30008db0 <IMFS_eval_path+0x2a8>               
                                               pathnamelen+len,       
                                               flags,pathloc);        
	  }                                                                  
	} else {                                                             
                                                                      
          if ( !node->Parent )                                        
30008c38:	e5926008 	ldr	r6, [r2, #8]                                  
30008c3c:	e3560000 	cmp	r6, #0                                        
30008c40:	1afffff2 	bne	30008c10 <IMFS_eval_path+0x108>               
            rtems_set_errno_and_return_minus_one( ENOENT );           
30008c44:	e58d3000 	str	r3, [sp]                                      
30008c48:	eb000f34 	bl	3000c920 <__errno>                             
30008c4c:	e59d3000 	ldr	r3, [sp]                                      
30008c50:	e5803000 	str	r3, [r0]                                      
30008c54:	e3e00000 	mvn	r0, #0                                        
30008c58:	ea000003 	b	30008c6c <IMFS_eval_path+0x164>                 
      case IMFS_NO_MORE_PATH:                                         
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
30008c5c:	eb000f2f 	bl	3000c920 <__errno>                             
30008c60:	e3a0305b 	mov	r3, #91	; 0x5b                                
30008c64:	e5803000 	str	r3, [r0]                                      
30008c68:	e3e00000 	mvn	r0, #0                                        
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
30008c6c:	e28dd044 	add	sp, sp, #68	; 0x44                            
30008c70:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
30008c74:	e5921030 	ldr	r1, [r2, #48]	; 0x30                          
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    assert( 0 );                                                      
    rtems_set_errno_and_return_minus_one( EIO );                      
  }                                                                   
                                                                      
  jnode = node->node_access;                                          
30008c78:	e1a06002 	mov	r6, r2                                        
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
30008c7c:	e3110040 	tst	r1, #64	; 0x40                                
30008c80:	1affffca 	bne	30008bb0 <IMFS_eval_path+0xa8>                
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
30008c84:	eb000f25 	bl	3000c920 <__errno>                             
30008c88:	e3a0300d 	mov	r3, #13                                       
30008c8c:	e5803000 	str	r3, [r0]                                      
30008c90:	e3e00000 	mvn	r0, #0                                        
30008c94:	eafffff4 	b	30008c6c <IMFS_eval_path+0x164>                 
	 *  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 );             
30008c98:	eb000f20 	bl	3000c920 <__errno>                             
30008c9c:	e3a03002 	mov	r3, #2                                        
30008ca0:	e5803000 	str	r3, [r0]                                      
30008ca4:	e3e00000 	mvn	r0, #0                                        
30008ca8:	eaffffef 	b	30008c6c <IMFS_eval_path+0x164>                 
	 *  If we are at a link follow it.                                   
	 */                                                                  
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
                                                                      
          IMFS_evaluate_hard_link( pathloc, 0 );                      
30008cac:	e1a00007 	mov	r0, r7                                        
30008cb0:	e3a01000 	mov	r1, #0                                        
30008cb4:	ebffff3c 	bl	300089ac <IMFS_evaluate_hard_link>             
                                                                      
          node = pathloc->node_access;                                
30008cb8:	e5976000 	ldr	r6, [r7]                                      
          if ( !node )                                                
30008cbc:	e3560000 	cmp	r6, #0                                        
30008cc0:	0a000018 	beq	30008d28 <IMFS_eval_path+0x220>               
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
                                                                      
          node = pathloc->node_access;                                
30008cc4:	e596304c 	ldr	r3, [r6, #76]	; 0x4c                          
30008cc8:	eaffffc6 	b	30008be8 <IMFS_eval_path+0xe0>                  
   *                                                                  
   *  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 ) {                       
30008ccc:	e592605c 	ldr	r6, [r2, #92]	; 0x5c                          
30008cd0:	e3560000 	cmp	r6, #0                                        
30008cd4:	0affffa7 	beq	30008b78 <IMFS_eval_path+0x70>                
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
30008cd8:	e286601c 	add	r6, r6, #28                                   
30008cdc:	e28de02c 	add	lr, sp, #44	; 0x2c                            
30008ce0:	e8b6000f 	ldm	r6!, {r0, r1, r2, r3}                         
30008ce4:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
      *pathloc = newloc;                                              
30008ce8:	e28d802c 	add	r8, sp, #44	; 0x2c                            
30008cec:	e8b8000f 	ldm	r8!, {r0, r1, r2, r3}                         
30008cf0:	e1a08007 	mov	r8, r7                                        
   *  NOTE: The behavior of stat() on a mount point appears to be questionable.
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
30008cf4:	e5966000 	ldr	r6, [r6]                                      
      *pathloc = newloc;                                              
30008cf8:	e8a8000f 	stmia	r8!, {r0, r1, r2, r3}                       
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
30008cfc:	e06c0005 	rsb	r0, ip, r5                                    
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
      *pathloc = newloc;                                              
30008d00:	e5886000 	str	r6, [r8]                                      
   *  NOTE: The behavior of stat() on a mount point appears to be questionable.
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
30008d04:	e58e6000 	str	r6, [lr]                                      
      *pathloc = newloc;                                              
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
30008d08:	e084100c 	add	r1, r4, ip                                    
30008d0c:	e08a0000 	add	r0, sl, r0                                    
30008d10:	e59d2004 	ldr	r2, [sp, #4]                                  
30008d14:	e1a03007 	mov	r3, r7                                        
30008d18:	e597c00c 	ldr	ip, [r7, #12]                                 
30008d1c:	e1a0e00f 	mov	lr, pc                                        
30008d20:	e59cf000 	ldr	pc, [ip]                                      
30008d24:	eaffffd0 	b	30008c6c <IMFS_eval_path+0x164>                 
       /*                                                             
        *  Only a directory can be decended into.                     
        */                                                            
                                                                      
       if ( node->type != IMFS_DIRECTORY )                            
          rtems_set_errno_and_return_minus_one( ENOTDIR );            
30008d28:	eb000efc 	bl	3000c920 <__errno>                             
30008d2c:	e3a03014 	mov	r3, #20                                       
30008d30:	e5803000 	str	r3, [r0]                                      
30008d34:	e3e00000 	mvn	r0, #0                                        
30008d38:	eaffffcb 	b	30008c6c <IMFS_eval_path+0x164>                 
	 *  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;          
30008d3c:	e28dc02c 	add	ip, sp, #44	; 0x2c                            
30008d40:	e28ee01c 	add	lr, lr, #28                                   
30008d44:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
30008d48:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
          *pathloc = newloc;                                          
30008d4c:	e28d602c 	add	r6, sp, #44	; 0x2c                            
30008d50:	e8b6000f 	ldm	r6!, {r0, r1, r2, r3}                         
30008d54:	e1a06007 	mov	r6, r7                                        
	 *  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;          
30008d58:	e59ee000 	ldr	lr, [lr]                                      
          *pathloc = newloc;                                          
30008d5c:	e8a6000f 	stmia	r6!, {r0, r1, r2, r3}                       
          return (*pathloc->ops->evalpath_h)( &pathname[i-len],       
30008d60:	e59d1040 	ldr	r1, [sp, #64]	; 0x40                          
	 *  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;                                          
30008d64:	e586e000 	str	lr, [r6]                                      
          return (*pathloc->ops->evalpath_h)( &pathname[i-len],       
30008d68:	e0610005 	rsb	r0, r1, r5                                    
	 *  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;          
30008d6c:	e58ce000 	str	lr, [ip]                                      
          *pathloc = newloc;                                          
          return (*pathloc->ops->evalpath_h)( &pathname[i-len],       
30008d70:	e08a0000 	add	r0, sl, r0                                    
30008d74:	e0841001 	add	r1, r4, r1                                    
30008d78:	e59d2004 	ldr	r2, [sp, #4]                                  
30008d7c:	e1a03007 	mov	r3, r7                                        
30008d80:	e597c00c 	ldr	ip, [r7, #12]                                 
30008d84:	e1a0e00f 	mov	lr, pc                                        
30008d88:	e59cf000 	ldr	pc, [ip]                                      
30008d8c:	eaffffb6 	b	30008c6c <IMFS_eval_path+0x164>                 
          if ( !node )                                                
            rtems_set_errno_and_return_minus_one( ENOTDIR );          
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
30008d90:	e1a00007 	mov	r0, r7                                        
30008d94:	e3a01000 	mov	r1, #0                                        
30008d98:	ebffff1d 	bl	30008a14 <IMFS_evaluate_sym_link>              
                                                                      
          node = pathloc->node_access;                                
          if ( result == -1 )                                         
30008d9c:	e3700001 	cmn	r0, #1                                        
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
                                                                      
          node = pathloc->node_access;                                
30008da0:	e5976000 	ldr	r6, [r7]                                      
          if ( result == -1 )                                         
30008da4:	0affffb0 	beq	30008c6c <IMFS_eval_path+0x164>               
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
                                                                      
          node = pathloc->node_access;                                
30008da8:	e596304c 	ldr	r3, [r6, #76]	; 0x4c                          
30008dac:	eaffff8d 	b	30008be8 <IMFS_eval_path+0xe0>                  
	   */                                                                
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
30008db0:	e2866008 	add	r6, r6, #8                                    
30008db4:	eaffffc8 	b	30008cdc <IMFS_eval_path+0x1d4>                 
30008db8:	3001901c 	.word	0x3001901c                                  
                                                                      
30008e90 <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    */       
)                                                                     
{                                                                     
30008e90:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
30008e94:	e24dd040 	sub	sp, sp, #64	; 0x40                            
30008e98:	e1a07001 	mov	r7, r1                                        
                                                                      
  /*                                                                  
   * This was filled in by the caller and is valid in the             
   * mount table.                                                     
   */                                                                 
  node = pathloc->node_access;                                        
30008e9c:	e5915000 	ldr	r5, [r1]                                      
int IMFS_evaluate_for_make(                                           
   const char                         *path,       /* IN     */       
   rtems_filesystem_location_info_t   *pathloc,    /* IN/OUT */       
   const char                        **name        /* OUT    */       
)                                                                     
{                                                                     
30008ea0:	e58d2000 	str	r2, [sp]                                      
30008ea4:	e1a0a000 	mov	sl, r0                                        
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
30008ea8:	eb00128d 	bl	3000d8e4 <strlen>                              
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
30008eac:	e59fb290 	ldr	fp, [pc, #656]	; 30009144 <IMFS_evaluate_for_make+0x2b4>
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
30008eb0:	e3a06000 	mov	r6, #0                                        
30008eb4:	e28d8004 	add	r8, sp, #4                                    
30008eb8:	e28d903c 	add	r9, sp, #60	; 0x3c                            
30008ebc:	e1a04000 	mov	r4, r0                                        
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
30008ec0:	e1a01004 	mov	r1, r4                                        
30008ec4:	e1a03009 	mov	r3, r9                                        
30008ec8:	e08a0006 	add	r0, sl, r6                                    
30008ecc:	e1a02008 	mov	r2, r8                                        
30008ed0:	eb000156 	bl	30009430 <IMFS_get_token>                      
    pathlen -= len;                                                   
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
30008ed4:	e5973000 	ldr	r3, [r7]                                      
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
30008ed8:	e59dc03c 	ldr	ip, [sp, #60]	; 0x3c                          
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
30008edc:	e3530000 	cmp	r3, #0                                        
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
30008ee0:	e06c4004 	rsb	r4, ip, r4                                    
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
30008ee4:	0a000038 	beq	30008fcc <IMFS_evaluate_for_make+0x13c>       
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
30008ee8:	e3500000 	cmp	r0, #0                                        
30008eec:	1a000005 	bne	30008f08 <IMFS_evaluate_for_make+0x78>        
          pathloc->node_access = node;                                
                                                                      
        break;                                                        
                                                                      
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
30008ef0:	eb000e8a 	bl	3000c920 <__errno>                             
30008ef4:	e3a03011 	mov	r3, #17                                       
30008ef8:	e5803000 	str	r3, [r0]                                      
30008efc:	e3e00000 	mvn	r0, #0                                        
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
30008f00:	e28dd040 	add	sp, sp, #64	; 0x40                            
30008f04:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
30008f08:	e595204c 	ldr	r2, [r5, #76]	; 0x4c                          
30008f0c:	e3520001 	cmp	r2, #1                                        
30008f10:	11a05003 	movne	r5, r3                                      
30008f14:	0a000031 	beq	30008fe0 <IMFS_evaluate_for_make+0x150>       
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
    i +=  len;                                                        
30008f18:	e086600c 	add	r6, r6, ip                                    
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
30008f1c:	e3500004 	cmp	r0, #4                                        
30008f20:	979ff100 	ldrls	pc, [pc, r0, lsl #2]                        
30008f24:	eaffffe5 	b	30008ec0 <IMFS_evaluate_for_make+0x30>          <== NOT EXECUTED
30008f28:	30008ef0 	.word	0x30008ef0                                  <== NOT EXECUTED
30008f2c:	30008ec0 	.word	0x30008ec0                                  <== NOT EXECUTED
30008f30:	30008fa0 	.word	0x30008fa0                                  <== NOT EXECUTED
30008f34:	30008f50 	.word	0x30008f50                                  <== NOT EXECUTED
30008f38:	30008f3c 	.word	0x30008f3c                                  <== NOT EXECUTED
      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 );         
30008f3c:	eb000e77 	bl	3000c920 <__errno>                             
30008f40:	e3a0305b 	mov	r3, #91	; 0x5b                                
30008f44:	e5803000 	str	r3, [r0]                                      
30008f48:	e3e00000 	mvn	r0, #0                                        
30008f4c:	eaffffeb 	b	30008f00 <IMFS_evaluate_for_make+0x70>          
        pathloc->node_access = node;                                  
        break;                                                        
                                                                      
      case IMFS_NAME:                                                 
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
30008f50:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
30008f54:	e3530003 	cmp	r3, #3                                        
30008f58:	0a000065 	beq	300090f4 <IMFS_evaluate_for_make+0x264>       
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
30008f5c:	e3530004 	cmp	r3, #4                                        
30008f60:	0a000063 	beq	300090f4 <IMFS_evaluate_for_make+0x264>       
          if ( result == -1 )                                         
            return -1;                                                
	}                                                                    
                                                                      
        node = pathloc->node_access;                                  
        if ( !node )                                                  
30008f64:	e3550000 	cmp	r5, #0                                        
30008f68:	0a000048 	beq	30009090 <IMFS_evaluate_for_make+0x200>       
                                                                      
        /*                                                            
         * Only a directory can be decended into.                     
	 */                                                                  
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
30008f6c:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
30008f70:	e3530001 	cmp	r3, #1                                        
30008f74:	1a000045 	bne	30009090 <IMFS_evaluate_for_make+0x200>       
	/*                                                                   
	 * 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 ) {                   
30008f78:	e595e05c 	ldr	lr, [r5, #92]	; 0x5c                          
30008f7c:	e35e0000 	cmp	lr, #0                                        
30008f80:	1a000047 	bne	300090a4 <IMFS_evaluate_for_make+0x214>       
                                                                      
	/*                                                                   
	 * Otherwise find the token name in the present location.            
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
30008f84:	e1a00005 	mov	r0, r5                                        
30008f88:	e1a01008 	mov	r1, r8                                        
30008f8c:	eb0000f8 	bl	30009374 <IMFS_find_match_in_dir>              
	/*                                                                   
	 * If there is no node we have found the name of the node we         
         * wish to create.                                            
	 */                                                                  
                                                                      
        if ( ! node )                                                 
30008f90:	e2505000 	subs	r5, r0, #0                                   
30008f94:	0a00001a 	beq	30009004 <IMFS_evaluate_for_make+0x174>       
          done = true;                                                
        else                                                          
          pathloc->node_access = node;                                
30008f98:	e5875000 	str	r5, [r7]                                      
30008f9c:	eaffffc7 	b	30008ec0 <IMFS_evaluate_for_make+0x30>          
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
30008fa0:	e59b2000 	ldr	r2, [fp]                                      
30008fa4:	e5922018 	ldr	r2, [r2, #24]                                 
30008fa8:	e1530002 	cmp	r3, r2                                        
30008fac:	0affffc3 	beq	30008ec0 <IMFS_evaluate_for_make+0x30>        
                                                                      
	/*                                                                   
	 * Am I at the root of this mounted filesystem?                      
	 */                                                                  
                                                                      
        if (pathloc->node_access == pathloc->mt_entry->mt_fs_root.node_access){
30008fb0:	e5972010 	ldr	r2, [r7, #16]                                 
30008fb4:	e592101c 	ldr	r1, [r2, #28]                                 
30008fb8:	e1530001 	cmp	r3, r1                                        
30008fbc:	0a000053 	beq	30009110 <IMFS_evaluate_for_make+0x280>       
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
	  }                                                                  
	} else {                                                             
                                                                      
          if ( !node->Parent )                                        
30008fc0:	e5935008 	ldr	r5, [r3, #8]                                  
30008fc4:	e3550000 	cmp	r5, #0                                        
30008fc8:	1afffff2 	bne	30008f98 <IMFS_evaluate_for_make+0x108>       
   * Verify there is not any invalid stuff at the end of the name.    
   */                                                                 
                                                                      
  for( ; path[i] != '\0'; i++) {                                      
    if ( !IMFS_is_separator( path[ i ] ) )                            
      rtems_set_errno_and_return_minus_one( ENOENT );                 
30008fcc:	eb000e53 	bl	3000c920 <__errno>                             
30008fd0:	e3a03002 	mov	r3, #2                                        
30008fd4:	e5803000 	str	r3, [r0]                                      
30008fd8:	e3e00000 	mvn	r0, #0                                        
30008fdc:	eaffffc7 	b	30008f00 <IMFS_evaluate_for_make+0x70>          
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
30008fe0:	e5932030 	ldr	r2, [r3, #48]	; 0x30                          
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    assert( 0 );                                                      
    rtems_set_errno_and_return_minus_one( EIO );                      
  }                                                                   
                                                                      
  jnode = node->node_access;                                          
30008fe4:	e1a05003 	mov	r5, r3                                        
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
30008fe8:	e3120040 	tst	r2, #64	; 0x40                                
30008fec:	1affffc9 	bne	30008f18 <IMFS_evaluate_for_make+0x88>        
  /*                                                                  
   * 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 );                   
30008ff0:	eb000e4a 	bl	3000c920 <__errno>                             
30008ff4:	e3a0300d 	mov	r3, #13                                       
30008ff8:	e5803000 	str	r3, [r0]                                      
30008ffc:	e3e00000 	mvn	r0, #0                                        
30009000:	eaffffbe 	b	30008f00 <IMFS_evaluate_for_make+0x70>          
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
30009004:	e59d303c 	ldr	r3, [sp, #60]	; 0x3c                          
30009008:	e59d5000 	ldr	r5, [sp]                                      
3000900c:	e0633006 	rsb	r3, r3, r6                                    
30009010:	e08a3003 	add	r3, sl, r3                                    
30009014:	e5853000 	str	r3, [r5]                                      
  /*                                                                  
   * 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++) {                                      
30009018:	e7da3006 	ldrb	r3, [sl, r6]                                 
3000901c:	e3530000 	cmp	r3, #0                                        
30009020:	0a00000f 	beq	30009064 <IMFS_evaluate_for_make+0x1d4>       
    if ( !IMFS_is_separator( path[ i ] ) )                            
30009024:	e353002f 	cmp	r3, #47	; 0x2f                                
30009028:	1353005c 	cmpne	r3, #92	; 0x5c                              
3000902c:	1affffe6 	bne	30008fcc <IMFS_evaluate_for_make+0x13c>       
      rtems_set_errno_and_return_minus_one( ENOENT );                 
30009030:	e08a6006 	add	r6, sl, r6                                    
  /*                                                                  
   * 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++) {                                      
30009034:	e5d63001 	ldrb	r3, [r6, #1]                                 
    if ( !IMFS_is_separator( path[ i ] ) )                            
30009038:	e2866001 	add	r6, r6, #1                                    
  /*                                                                  
   * 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++) {                                      
3000903c:	e3530000 	cmp	r3, #0                                        
30009040:	0a000007 	beq	30009064 <IMFS_evaluate_for_make+0x1d4>       
    if ( !IMFS_is_separator( path[ i ] ) )                            
30009044:	e353005c 	cmp	r3, #92	; 0x5c                                
30009048:	1353002f 	cmpne	r3, #47	; 0x2f                              
3000904c:	0afffff8 	beq	30009034 <IMFS_evaluate_for_make+0x1a4>       
      rtems_set_errno_and_return_minus_one( ENOENT );                 
30009050:	eb000e32 	bl	3000c920 <__errno>                             
30009054:	e3a03002 	mov	r3, #2                                        
30009058:	e5803000 	str	r3, [r0]                                      
3000905c:	e3e00000 	mvn	r0, #0                                        
30009060:	eaffffa6 	b	30008f00 <IMFS_evaluate_for_make+0x70>          
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
30009064:	e1a00007 	mov	r0, r7                                        
30009068:	ebfffe21 	bl	300088f4 <IMFS_Set_handlers>                   
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
3000906c:	e5973000 	ldr	r3, [r7]                                      
  if ( node->type != IMFS_DIRECTORY )                                 
30009070:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
30009074:	e3520001 	cmp	r2, #1                                        
30009078:	1a000004 	bne	30009090 <IMFS_evaluate_for_make+0x200>       
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
3000907c:	e5933030 	ldr	r3, [r3, #48]	; 0x30                          
30009080:	e20330c0 	and	r3, r3, #192	; 0xc0                           
30009084:	e35300c0 	cmp	r3, #192	; 0xc0                               
30009088:	1affffd8 	bne	30008ff0 <IMFS_evaluate_for_make+0x160>       
3000908c:	eaffff9b 	b	30008f00 <IMFS_evaluate_for_make+0x70>          
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
30009090:	eb000e22 	bl	3000c920 <__errno>                             
30009094:	e3a03014 	mov	r3, #20                                       
30009098:	e5803000 	str	r3, [r0]                                      
3000909c:	e3e00000 	mvn	r0, #0                                        
300090a0:	eaffff96 	b	30008f00 <IMFS_evaluate_for_make+0x70>          
	 * 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;           
300090a4:	e28ee01c 	add	lr, lr, #28                                   
300090a8:	e28dc028 	add	ip, sp, #40	; 0x28                            
300090ac:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
300090b0:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
          *pathloc = newloc;                                          
300090b4:	e28d4028 	add	r4, sp, #40	; 0x28                            
300090b8:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
300090bc:	e1a04007 	mov	r4, r7                                        
	 * 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;           
300090c0:	e59ee000 	ldr	lr, [lr]                                      
          *pathloc = newloc;                                          
300090c4:	e8a4000f 	stmia	r4!, {r0, r1, r2, r3}                       
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
300090c8:	e59d003c 	ldr	r0, [sp, #60]	; 0x3c                          
	 * 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;                                          
300090cc:	e584e000 	str	lr, [r4]                                      
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
300090d0:	e0600006 	rsb	r0, r0, r6                                    
	 * 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;           
300090d4:	e58ce000 	str	lr, [ip]                                      
          *pathloc = newloc;                                          
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
300090d8:	e08a0000 	add	r0, sl, r0                                    
300090dc:	e1a01007 	mov	r1, r7                                        
300090e0:	e59d2000 	ldr	r2, [sp]                                      
300090e4:	e597300c 	ldr	r3, [r7, #12]                                 
300090e8:	e1a0e00f 	mov	lr, pc                                        
300090ec:	e593f004 	ldr	pc, [r3, #4]                                  
300090f0:	eaffff82 	b	30008f00 <IMFS_evaluate_for_make+0x70>          
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
300090f4:	e1a00007 	mov	r0, r7                                        
300090f8:	e3a01000 	mov	r1, #0                                        
300090fc:	ebffff2e 	bl	30008dbc <IMFS_evaluate_link>                  
                                                                      
          if ( result == -1 )                                         
30009100:	e3700001 	cmn	r0, #1                                        
30009104:	0affff7d 	beq	30008f00 <IMFS_evaluate_for_make+0x70>        
30009108:	e5975000 	ldr	r5, [r7]                                      
3000910c:	eaffff94 	b	30008f64 <IMFS_evaluate_for_make+0xd4>          
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
30009110:	e2824008 	add	r4, r2, #8                                    
30009114:	e28de028 	add	lr, sp, #40	; 0x28                            
30009118:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
3000911c:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
            *pathloc = newloc;                                        
30009120:	e28d5028 	add	r5, sp, #40	; 0x28                            
30009124:	e8b5000f 	ldm	r5!, {r0, r1, r2, r3}                         
30009128:	e1a05007 	mov	r5, r7                                        
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
3000912c:	e5944000 	ldr	r4, [r4]                                      
            *pathloc = newloc;                                        
30009130:	e8a5000f 	stmia	r5!, {r0, r1, r2, r3}                       
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
30009134:	e06c0006 	rsb	r0, ip, r6                                    
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
            *pathloc = newloc;                                        
30009138:	e5854000 	str	r4, [r5]                                      
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
3000913c:	e58e4000 	str	r4, [lr]                                      
30009140:	eaffffe4 	b	300090d8 <IMFS_evaluate_for_make+0x248>         
30009144:	3001901c 	.word	0x3001901c                                  
                                                                      
300089ac <IMFS_evaluate_hard_link>:                                   
int IMFS_evaluate_hard_link(                                          
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
  IMFS_jnode_t                     *jnode  = node->node_access;       
300089ac:	e5903000 	ldr	r3, [r0]                                      
                                                                      
int IMFS_evaluate_hard_link(                                          
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
300089b0:	e92d4030 	push	{r4, r5, lr}                                 
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
300089b4:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
                                                                      
int IMFS_evaluate_hard_link(                                          
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
300089b8:	e1a04000 	mov	r4, r0                                        
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
300089bc:	e3520003 	cmp	r2, #3                                        
                                                                      
int IMFS_evaluate_hard_link(                                          
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
300089c0:	e1a05001 	mov	r5, r1                                        
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
300089c4:	1a00000f 	bne	30008a08 <IMFS_evaluate_hard_link+0x5c>       
                                                                      
  /*                                                                  
   * Set the hard link value and the handlers.                        
   */                                                                 
                                                                      
  node->node_access = jnode->info.hard_link.link_node;                
300089c8:	e5933050 	ldr	r3, [r3, #80]	; 0x50                          
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
300089cc:	e1a05305 	lsl	r5, r5, #6                                    
                                                                      
  /*                                                                  
   * Set the hard link value and the handlers.                        
   */                                                                 
                                                                      
  node->node_access = jnode->info.hard_link.link_node;                
300089d0:	e5803000 	str	r3, [r0]                                      
                                                                      
  IMFS_Set_handlers( node );                                          
300089d4:	ebffffc6 	bl	300088f4 <IMFS_Set_handlers>                   
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    assert( 0 );                                                      
    rtems_set_errno_and_return_minus_one( EIO );                      
  }                                                                   
                                                                      
  jnode = node->node_access;                                          
300089d8:	e5943000 	ldr	r3, [r4]                                      
300089dc:	e5933030 	ldr	r3, [r3, #48]	; 0x30                          
300089e0:	e0053003 	and	r3, r5, r3                                    
300089e4:	e1550003 	cmp	r5, r3                                        
300089e8:	0a000004 	beq	30008a00 <IMFS_evaluate_hard_link+0x54>       
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
    rtems_set_errno_and_return_minus_one( EACCES );                   
300089ec:	eb000fcb 	bl	3000c920 <__errno>                             <== NOT EXECUTED
300089f0:	e3a0300d 	mov	r3, #13                                       <== NOT EXECUTED
300089f4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
300089f8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
300089fc:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    assert( 0 );                                                      
    rtems_set_errno_and_return_minus_one( EIO );                      
  }                                                                   
                                                                      
  jnode = node->node_access;                                          
30008a00:	e3a00000 	mov	r0, #0                                        
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
30008a04:	e8bd8030 	pop	{r4, r5, pc}                                  
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
    rtems_fatal_error_occurred (0xABCD0000);                          
30008a08:	e59f0000 	ldr	r0, [pc, #0]	; 30008a10 <IMFS_evaluate_hard_link+0x64><== NOT EXECUTED
30008a0c:	ebfff32d 	bl	300056c8 <rtems_fatal_error_occurred>          <== NOT EXECUTED
30008a10:	abcd0000 	.word	0xabcd0000                                  
                                                                      
3000898c <IMFS_evaluate_permission>:                                  
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
3000898c:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
30008990:	e1a01301 	lsl	r1, r1, #6                                    <== NOT EXECUTED
30008994:	e5930030 	ldr	r0, [r3, #48]	; 0x30                          <== NOT EXECUTED
30008998:	e0010000 	and	r0, r1, r0                                    <== NOT EXECUTED
    return 1;                                                         
                                                                      
  return 0;                                                           
}                                                                     
3000899c:	e1510000 	cmp	r1, r0                                        <== NOT EXECUTED
300089a0:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
300089a4:	03a00001 	moveq	r0, #1                                      <== NOT EXECUTED
300089a8:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
30008a14 <IMFS_evaluate_sym_link>:                                    
                                                                      
int IMFS_evaluate_sym_link(                                           
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
30008a14:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  IMFS_jnode_t                     *jnode  = node->node_access;       
30008a18:	e590e000 	ldr	lr, [r0]                                      
                                                                      
int IMFS_evaluate_sym_link(                                           
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
30008a1c:	e1a04000 	mov	r4, r0                                        
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
30008a20:	e59e304c 	ldr	r3, [lr, #76]	; 0x4c                          
                                                                      
int IMFS_evaluate_sym_link(                                           
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
30008a24:	e1a05001 	mov	r5, r1                                        
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
30008a28:	e3530004 	cmp	r3, #4                                        
30008a2c:	1a000030 	bne	30008af4 <IMFS_evaluate_sym_link+0xe0>        
    rtems_fatal_error_occurred (0xABCD0000);                          
                                                                      
  if ( !jnode->Parent )                                               
30008a30:	e59e3008 	ldr	r3, [lr, #8]                                  
30008a34:	e3530000 	cmp	r3, #0                                        
30008a38:	0a00002b 	beq	30008aec <IMFS_evaluate_sym_link+0xd8>        
  /*                                                                  
   * Move the node_access to either the symbolic links parent or      
   * root depending on the symbolic links path.                       
   */                                                                 
                                                                      
  node->node_access = jnode->Parent;                                  
30008a3c:	e5803000 	str	r3, [r0]                                      
                                                                      
  rtems_filesystem_get_sym_start_loc(                                 
30008a40:	e59e2050 	ldr	r2, [lr, #80]	; 0x50                          
30008a44:	e5d23000 	ldrb	r3, [r2]                                     
30008a48:	e353002f 	cmp	r3, #47	; 0x2f                                
30008a4c:	1353005c 	cmpne	r3, #92	; 0x5c                              
30008a50:	13a06000 	movne	r6, #0                                      
30008a54:	03a06001 	moveq	r6, #1                                      
30008a58:	1a000020 	bne	30008ae0 <IMFS_evaluate_sym_link+0xcc>        
30008a5c:	e59f3098 	ldr	r3, [pc, #152]	; 30008afc <IMFS_evaluate_sym_link+0xe8>
30008a60:	e1a07004 	mov	r7, r4                                        
30008a64:	e593c000 	ldr	ip, [r3]                                      
30008a68:	e3a06001 	mov	r6, #1                                        
30008a6c:	e28cc018 	add	ip, ip, #24                                   
30008a70:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
30008a74:	e8a7000f 	stmia	r7!, {r0, r1, r2, r3}                       
30008a78:	e59c2000 	ldr	r2, [ip]                                      
30008a7c:	e5872000 	str	r2, [r7]                                      
30008a80:	e59e2050 	ldr	r2, [lr, #80]	; 0x50                          
   * 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] ),                          
30008a84:	e0826006 	add	r6, r2, r6                                    
30008a88:	e1a00006 	mov	r0, r6                                        
30008a8c:	eb001394 	bl	3000d8e4 <strlen>                              
                                                                      
  /*                                                                  
   * Use eval path to evaluate the path of the symbolic link.         
   */                                                                 
                                                                      
  result = IMFS_eval_path(                                            
30008a90:	e1a02005 	mov	r2, r5                                        
    &jnode->info.sym_link.name[i],                                    
    strlen( &jnode->info.sym_link.name[i] ),                          
30008a94:	e1a01000 	mov	r1, r0                                        
                                                                      
  /*                                                                  
   * Use eval path to evaluate the path of the symbolic link.         
   */                                                                 
                                                                      
  result = IMFS_eval_path(                                            
30008a98:	e1a03004 	mov	r3, r4                                        
30008a9c:	e1a00006 	mov	r0, r6                                        
30008aa0:	eb000018 	bl	30008b08 <IMFS_eval_path>                      
30008aa4:	e1a06000 	mov	r6, r0                                        
    strlen( &jnode->info.sym_link.name[i] ),                          
    flags,                                                            
    node                                                              
  );                                                                  
                                                                      
  IMFS_Set_handlers( node );                                          
30008aa8:	e1a00004 	mov	r0, r4                                        
30008aac:	ebffff90 	bl	300088f4 <IMFS_Set_handlers>                   
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    assert( 0 );                                                      
    rtems_set_errno_and_return_minus_one( EIO );                      
  }                                                                   
                                                                      
  jnode = node->node_access;                                          
30008ab0:	e5943000 	ldr	r3, [r4]                                      
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
30008ab4:	e1a05305 	lsl	r5, r5, #6                                    
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    assert( 0 );                                                      
    rtems_set_errno_and_return_minus_one( EIO );                      
  }                                                                   
                                                                      
  jnode = node->node_access;                                          
30008ab8:	e5933030 	ldr	r3, [r3, #48]	; 0x30                          
30008abc:	e0053003 	and	r3, r5, r3                                    
30008ac0:	e1550003 	cmp	r5, r3                                        
30008ac4:	0a000003 	beq	30008ad8 <IMFS_evaluate_sym_link+0xc4>        
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
    rtems_set_errno_and_return_minus_one( EACCES );                   
30008ac8:	eb000f94 	bl	3000c920 <__errno>                             <== NOT EXECUTED
30008acc:	e3a0300d 	mov	r3, #13                                       <== NOT EXECUTED
30008ad0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30008ad4:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
30008ad8:	e1a00006 	mov	r0, r6                                        
30008adc:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
   * root depending on the symbolic links path.                       
   */                                                                 
                                                                      
  node->node_access = jnode->Parent;                                  
                                                                      
  rtems_filesystem_get_sym_start_loc(                                 
30008ae0:	e3530000 	cmp	r3, #0                                        
30008ae4:	1affffe6 	bne	30008a84 <IMFS_evaluate_sym_link+0x70>        
30008ae8:	eaffffdb 	b	30008a5c <IMFS_evaluate_sym_link+0x48>          <== NOT EXECUTED
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
    rtems_fatal_error_occurred (0xABCD0000);                          
                                                                      
  if ( !jnode->Parent )                                               
    rtems_fatal_error_occurred( 0xBAD00000 );                         
30008aec:	e59f000c 	ldr	r0, [pc, #12]	; 30008b00 <IMFS_evaluate_sym_link+0xec><== NOT EXECUTED
30008af0:	ebfff2f4 	bl	300056c8 <rtems_fatal_error_occurred>          <== NOT EXECUTED
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
    rtems_fatal_error_occurred (0xABCD0000);                          
30008af4:	e59f0008 	ldr	r0, [pc, #8]	; 30008b04 <IMFS_evaluate_sym_link+0xf0><== NOT EXECUTED
30008af8:	ebfff2f2 	bl	300056c8 <rtems_fatal_error_occurred>          <== NOT EXECUTED
30008afc:	3001901c 	.word	0x3001901c                                  
30008b00:	bad00000 	.word	0xbad00000                                  
30008b04:	abcd0000 	.word	0xabcd0000                                  
                                                                      
300092c8 <IMFS_fifo_close>:                                           
}                                                                     
                                                                      
int IMFS_fifo_close(                                                  
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
300092c8:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
300092cc:	e5905038 	ldr	r5, [r0, #56]	; 0x38                          <== NOT EXECUTED
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
300092d0:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
}                                                                     
                                                                      
int IMFS_fifo_close(                                                  
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
300092d4:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
300092d8:	e2850050 	add	r0, r5, #80	; 0x50                            <== NOT EXECUTED
300092dc:	eb00086a 	bl	3000b48c <pipe_release>                        <== NOT EXECUTED
                                                                      
  if (! err) {                                                        
300092e0:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
300092e4:	0a000002 	beq	300092f4 <IMFS_fifo_close+0x2c>               <== 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);                                              
300092e8:	ba00000e 	blt	30009328 <IMFS_fifo_close+0x60>               <== NOT EXECUTED
}                                                                     
300092ec:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
300092f0:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
                                                                      
  if (! err) {                                                        
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
300092f4:	e5943014 	ldr	r3, [r4, #20]                                 <== 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)     
300092f8:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
                                                                      
  if (! err) {                                                        
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
300092fc:	e3c33c01 	bic	r3, r3, #256	; 0x100                          <== NOT EXECUTED
30009300:	e5843014 	str	r3, [r4, #20]                                 <== 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)     
30009304:	eb000286 	bl	30009d24 <rtems_libio_is_file_open>            <== NOT EXECUTED
30009308:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
3000930c:	1afffff6 	bne	300092ec <IMFS_fifo_close+0x24>               <== NOT EXECUTED
30009310:	e1d533b4 	ldrh	r3, [r5, #52]	; 0x34                         <== NOT EXECUTED
30009314:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30009318:	1afffff3 	bne	300092ec <IMFS_fifo_close+0x24>               <== NOT EXECUTED
      free(jnode);                                                    
3000931c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
30009320:	ebffe213 	bl	30001b74 <free>                                <== NOT EXECUTED
30009324:	eafffff0 	b	300092ec <IMFS_fifo_close+0x24>                 <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
30009328:	eb000d7c 	bl	3000c920 <__errno>                             <== NOT EXECUTED
3000932c:	e2666000 	rsb	r6, r6, #0                                    <== NOT EXECUTED
30009330:	e5806000 	str	r6, [r0]                                      <== NOT EXECUTED
30009334:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
30009338:	eaffffeb 	b	300092ec <IMFS_fifo_close+0x24>                 <== NOT EXECUTED
                                                                      
300091a0 <IMFS_fifo_ioctl>:                                           
int IMFS_fifo_ioctl(                                                  
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
300091a0:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
300091a4:	e59f0064 	ldr	r0, [pc, #100]	; 30009210 <IMFS_fifo_ioctl+0x70><== NOT EXECUTED
int IMFS_fifo_ioctl(                                                  
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
300091a8:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
300091ac:	e1510000 	cmp	r1, r0                                        <== NOT EXECUTED
300091b0:	0a000009 	beq	300091dc <IMFS_fifo_ioctl+0x3c>               <== NOT EXECUTED
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
      return 0;                                                       
    }                                                                 
  }                                                                   
  else                                                                
    err = pipe_ioctl(LIBIO2PIPE(iop), command, buffer, iop);          
300091b4:	e5930038 	ldr	r0, [r3, #56]	; 0x38                          <== NOT EXECUTED
300091b8:	e5900050 	ldr	r0, [r0, #80]	; 0x50                          <== NOT EXECUTED
300091bc:	eb0007ac 	bl	3000b074 <pipe_ioctl>                          <== NOT EXECUTED
                                                                      
  IMFS_FIFO_RETURN(err);                                              
300091c0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
300091c4:	a8bd8010 	popge	{r4, pc}                                    <== NOT EXECUTED
300091c8:	e2604000 	rsb	r4, r0, #0                                    <== NOT EXECUTED
300091cc:	eb000dd3 	bl	3000c920 <__errno>                             <== NOT EXECUTED
300091d0:	e5804000 	str	r4, [r0]                                      <== NOT EXECUTED
300091d4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
}                                                                     
300091d8:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
)                                                                     
{                                                                     
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
    if (buffer == NULL)                                               
300091dc:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
300091e0:	03a0400e 	moveq	r4, #14                                     <== NOT EXECUTED
300091e4:	0afffff8 	beq	300091cc <IMFS_fifo_ioctl+0x2c>               <== NOT EXECUTED
      err = -EFAULT;                                                  
    else {                                                            
      if (*(int *)buffer)                                             
300091e8:	e5920000 	ldr	r0, [r2]                                      <== NOT EXECUTED
300091ec:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
        iop->flags |= LIBIO_FLAGS_NO_DELAY;                           
300091f0:	15932014 	ldrne	r2, [r3, #20]                               <== NOT EXECUTED
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
300091f4:	05932014 	ldreq	r2, [r3, #20]                               <== NOT EXECUTED
  if (command == FIONBIO) {                                           
    if (buffer == NULL)                                               
      err = -EFAULT;                                                  
    else {                                                            
      if (*(int *)buffer)                                             
        iop->flags |= LIBIO_FLAGS_NO_DELAY;                           
300091f8:	13822001 	orrne	r2, r2, #1                                  <== NOT EXECUTED
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
300091fc:	03c22001 	biceq	r2, r2, #1                                  <== NOT EXECUTED
  if (command == FIONBIO) {                                           
    if (buffer == NULL)                                               
      err = -EFAULT;                                                  
    else {                                                            
      if (*(int *)buffer)                                             
        iop->flags |= LIBIO_FLAGS_NO_DELAY;                           
30009200:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
30009204:	15832014 	strne	r2, [r3, #20]                               <== NOT EXECUTED
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
30009208:	05832014 	streq	r2, [r3, #20]                               <== NOT EXECUTED
3000920c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
30009210:	8004667e 	.word	0x8004667e                                  
                                                                      
30009148 <IMFS_fifo_lseek>:                                           
rtems_off64_t IMFS_fifo_lseek(                                        
  rtems_libio_t *iop,                                                 
  rtems_off64_t  offset,                                              
  int            whence                                               
)                                                                     
{                                                                     
30009148:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
3000914c:	e590c038 	ldr	ip, [r0, #56]	; 0x38                          <== NOT EXECUTED
rtems_off64_t IMFS_fifo_lseek(                                        
  rtems_libio_t *iop,                                                 
  rtems_off64_t  offset,                                              
  int            whence                                               
)                                                                     
{                                                                     
30009150:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
30009154:	e59cc050 	ldr	ip, [ip, #80]	; 0x50                          <== NOT EXECUTED
30009158:	e58d0000 	str	r0, [sp]                                      <== NOT EXECUTED
3000915c:	e1a0000c 	mov	r0, ip                                        <== NOT EXECUTED
30009160:	eb0007a5 	bl	3000affc <pipe_lseek>                          <== NOT EXECUTED
30009164:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
30009168:	e1a04fc3 	asr	r4, r3, #31                                   <== NOT EXECUTED
  IMFS_FIFO_RETURN(err);                                              
3000916c:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
  rtems_libio_t *iop,                                                 
  rtems_off64_t  offset,                                              
  int            whence                                               
)                                                                     
{                                                                     
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
30009170:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
  IMFS_FIFO_RETURN(err);                                              
30009174:	ba000003 	blt	30009188 <IMFS_fifo_lseek+0x40>               <== NOT EXECUTED
}                                                                     
30009178:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
3000917c:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
30009180:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
30009184:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  rtems_off64_t  offset,                                              
  int            whence                                               
)                                                                     
{                                                                     
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
  IMFS_FIFO_RETURN(err);                                              
30009188:	eb000de4 	bl	3000c920 <__errno>                             <== NOT EXECUTED
3000918c:	e2655000 	rsb	r5, r5, #0                                    <== NOT EXECUTED
30009190:	e5805000 	str	r5, [r0]                                      <== NOT EXECUTED
30009194:	e3e03000 	mvn	r3, #0                                        <== NOT EXECUTED
30009198:	e3e04000 	mvn	r4, #0                                        <== NOT EXECUTED
3000919c:	eafffff5 	b	30009178 <IMFS_fifo_lseek+0x30>                 <== NOT EXECUTED
                                                                      
30009270 <IMFS_fifo_read>:                                            
ssize_t IMFS_fifo_read(                                               
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
30009270:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
30009274:	e5904038 	ldr	r4, [r0, #56]	; 0x38                          <== NOT EXECUTED
ssize_t IMFS_fifo_read(                                               
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
30009278:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
3000927c:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_read(JNODE2PIPE(jnode), buffer, count, iop);         
30009280:	e5940050 	ldr	r0, [r4, #80]	; 0x50                          <== NOT EXECUTED
30009284:	eb000812 	bl	3000b2d4 <pipe_read>                           <== NOT EXECUTED
  if (err > 0)                                                        
30009288:	e2505000 	subs	r5, r0, #0                                   <== NOT EXECUTED
3000928c:	da000007 	ble	300092b0 <IMFS_fifo_read+0x40>                <== NOT EXECUTED
    IMFS_update_atime(jnode);                                         
30009290:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
30009294:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
30009298:	eb0001fd 	bl	30009a94 <gettimeofday>                        <== NOT EXECUTED
3000929c:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
300092a0:	e5843040 	str	r3, [r4, #64]	; 0x40                          <== NOT EXECUTED
                                                                      
  IMFS_FIFO_RETURN(err);                                              
}                                                                     
300092a4:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
300092a8:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
300092ac:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      
  int err = pipe_read(JNODE2PIPE(jnode), buffer, count, iop);         
  if (err > 0)                                                        
    IMFS_update_atime(jnode);                                         
                                                                      
  IMFS_FIFO_RETURN(err);                                              
300092b0:	0afffffb 	beq	300092a4 <IMFS_fifo_read+0x34>                <== NOT EXECUTED
300092b4:	eb000d99 	bl	3000c920 <__errno>                             <== NOT EXECUTED
300092b8:	e2655000 	rsb	r5, r5, #0                                    <== NOT EXECUTED
300092bc:	e5805000 	str	r5, [r0]                                      <== NOT EXECUTED
300092c0:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
300092c4:	eafffff6 	b	300092a4 <IMFS_fifo_read+0x34>                  <== NOT EXECUTED
                                                                      
30009214 <IMFS_fifo_write>:                                           
ssize_t IMFS_fifo_write(                                              
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
30009214:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
30009218:	e5904038 	ldr	r4, [r0, #56]	; 0x38                          <== NOT EXECUTED
ssize_t IMFS_fifo_write(                                              
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
3000921c:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
30009220:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
30009224:	e5940050 	ldr	r0, [r4, #80]	; 0x50                          <== NOT EXECUTED
30009228:	eb0007a9 	bl	3000b0d4 <pipe_write>                          <== NOT EXECUTED
  if (err > 0) {                                                      
3000922c:	e2505000 	subs	r5, r0, #0                                   <== NOT EXECUTED
30009230:	da000008 	ble	30009258 <IMFS_fifo_write+0x44>               <== NOT EXECUTED
    IMFS_mtime_ctime_update(jnode);                                   
30009234:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
30009238:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
3000923c:	eb000214 	bl	30009a94 <gettimeofday>                        <== NOT EXECUTED
30009240:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
30009244:	e5843048 	str	r3, [r4, #72]	; 0x48                          <== NOT EXECUTED
30009248:	e5843044 	str	r3, [r4, #68]	; 0x44                          <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
}                                                                     
3000924c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
30009250:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
30009254:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
  if (err > 0) {                                                      
    IMFS_mtime_ctime_update(jnode);                                   
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
30009258:	0afffffb 	beq	3000924c <IMFS_fifo_write+0x38>               <== NOT EXECUTED
3000925c:	eb000daf 	bl	3000c920 <__errno>                             <== NOT EXECUTED
30009260:	e2655000 	rsb	r5, r5, #0                                    <== NOT EXECUTED
30009264:	e5805000 	str	r5, [r0]                                      <== NOT EXECUTED
30009268:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
3000926c:	eafffff6 	b	3000924c <IMFS_fifo_write+0x38>                 <== NOT EXECUTED
                                                                      
30009374 <IMFS_find_match_in_dir>:                                    
                                                                      
IMFS_jnode_t *IMFS_find_match_in_dir(                                 
  IMFS_jnode_t *directory,                                            
  char         *name                                                  
)                                                                     
{                                                                     
30009374:	e92d4070 	push	{r4, r5, r6, lr}                             
  /*                                                                  
   *  Check for fatal errors.  A NULL directory show a problem in the 
   *  the IMFS code.                                                  
   */                                                                 
                                                                      
  assert( directory );                                                
30009378:	e2505000 	subs	r5, r0, #0                                   
                                                                      
IMFS_jnode_t *IMFS_find_match_in_dir(                                 
  IMFS_jnode_t *directory,                                            
  char         *name                                                  
)                                                                     
{                                                                     
3000937c:	e1a04001 	mov	r4, r1                                        
  /*                                                                  
   *  Check for fatal errors.  A NULL directory show a problem in the 
   *  the IMFS code.                                                  
   */                                                                 
                                                                      
  assert( directory );                                                
30009380:	0a000020 	beq	30009408 <IMFS_find_match_in_dir+0x94>        
  if ( !name )                                                        
30009384:	e3510000 	cmp	r1, #0                                        
30009388:	0a00000c 	beq	300093c0 <IMFS_find_match_in_dir+0x4c>        
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
3000938c:	e1a00001 	mov	r0, r1                                        
30009390:	e59f1084 	ldr	r1, [pc, #132]	; 3000941c <IMFS_find_match_in_dir+0xa8>
30009394:	eb00108a 	bl	3000d5c4 <strcmp>                              
30009398:	e3500000 	cmp	r0, #0                                        
3000939c:	0a000005 	beq	300093b8 <IMFS_find_match_in_dir+0x44>        
    return directory;                                                 
                                                                      
  if ( !strcmp( name, dotdotname ) )                                  
300093a0:	e1a00004 	mov	r0, r4                                        
300093a4:	e59f1074 	ldr	r1, [pc, #116]	; 30009420 <IMFS_find_match_in_dir+0xac>
300093a8:	eb001085 	bl	3000d5c4 <strcmp>                              
300093ac:	e3500000 	cmp	r0, #0                                        
    return directory->Parent;                                         
300093b0:	05955008 	ldreq	r5, [r5, #8]                                
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
    return directory;                                                 
                                                                      
  if ( !strcmp( name, dotdotname ) )                                  
300093b4:	1a000004 	bne	300093cc <IMFS_find_match_in_dir+0x58>        
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
300093b8:	e1a00005 	mov	r0, r5                                        
300093bc:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = the_chain->first;                                  
300093c0:	e3a05000 	mov	r5, #0                                        
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
300093c4:	e1a00005 	mov	r0, r5                                        
300093c8:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = the_chain->first;                                  
300093cc:	e5956050 	ldr	r6, [r5, #80]	; 0x50                          
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
300093d0:	e2855054 	add	r5, r5, #84	; 0x54                            
300093d4:	e1560005 	cmp	r6, r5                                        
300093d8:	1a000003 	bne	300093ec <IMFS_find_match_in_dir+0x78>        
300093dc:	eafffff7 	b	300093c0 <IMFS_find_match_in_dir+0x4c>          
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
300093e0:	e5966000 	ldr	r6, [r6]                                      
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = the_chain->first;                                  
300093e4:	e1560005 	cmp	r6, r5                                        
300093e8:	0afffff4 	beq	300093c0 <IMFS_find_match_in_dir+0x4c>        
        !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 ) )                           
300093ec:	e1a00004 	mov	r0, r4                                        
300093f0:	e286100c 	add	r1, r6, #12                                   
300093f4:	eb001072 	bl	3000d5c4 <strcmp>                              
300093f8:	e3500000 	cmp	r0, #0                                        
300093fc:	1afffff7 	bne	300093e0 <IMFS_find_match_in_dir+0x6c>        
30009400:	e1a05006 	mov	r5, r6                                        
30009404:	eaffffeb 	b	300093b8 <IMFS_find_match_in_dir+0x44>          
  /*                                                                  
   *  Check for fatal errors.  A NULL directory show a problem in the 
   *  the IMFS code.                                                  
   */                                                                 
                                                                      
  assert( directory );                                                
30009408:	e59f0014 	ldr	r0, [pc, #20]	; 30009424 <IMFS_find_match_in_dir+0xb0><== NOT EXECUTED
3000940c:	e3a0102a 	mov	r1, #42	; 0x2a                                <== NOT EXECUTED
30009410:	e59f2010 	ldr	r2, [pc, #16]	; 30009428 <IMFS_find_match_in_dir+0xb4><== NOT EXECUTED
30009414:	e59f3010 	ldr	r3, [pc, #16]	; 3000942c <IMFS_find_match_in_dir+0xb8><== NOT EXECUTED
30009418:	eb00010e 	bl	30009858 <__assert_func>                       <== NOT EXECUTED
3000941c:	300182dc 	.word	0x300182dc                                  
30009420:	300182e0 	.word	0x300182e0                                  
30009424:	30018a90 	.word	0x30018a90                                  
30009428:	300182c4 	.word	0x300182c4                                  
3000942c:	30018adc 	.word	0x30018adc                                  
                                                                      
3000e878 <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                 
)                                                                     
{                                                                     
3000e878:	e92d4070 	push	{r4, r5, r6, lr}                             
   /*                                                                 
    * 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;     
3000e87c:	e1a0c000 	mov	ip, r0                                        
3000e880:	e5bc401c 	ldr	r4, [ip, #28]!                                
    ((IMFS_jnode_t *)( rtems_chain_head( jnode_get_control( jnode ) )->next))
                                                                      
int IMFS_fsunmount(                                                   
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
3000e884:	e24dd014 	sub	sp, sp, #20                                   
    * 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;                                   
3000e888:	e1a0600d 	mov	r6, sp                                        
    ((IMFS_jnode_t *)( rtems_chain_head( jnode_get_control( jnode ) )->next))
                                                                      
int IMFS_fsunmount(                                                   
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
3000e88c:	e1a0e000 	mov	lr, r0                                        
    * Traverse tree that starts at the mt_fs_root and deallocate memory
    * associated memory space                                         
    */                                                                
                                                                      
   jnode = (IMFS_jnode_t *)temp_mt_entry->mt_fs_root.node_access;     
   loc = temp_mt_entry->mt_fs_root;                                   
3000e890:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
3000e894:	e8a6000f 	stmia	r6!, {r0, r1, r2, r3}                       
3000e898:	e59c2000 	ldr	r2, [ip]                                      
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
3000e89c:	e3a03000 	mov	r3, #0                                        
    * 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;                                   
3000e8a0:	e5862000 	str	r2, [r6]                                      
3000e8a4:	e1a0500d 	mov	r5, sp                                        
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
3000e8a8:	e58e301c 	str	r3, [lr, #28]                                 
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
3000e8ac:	e1a0000d 	mov	r0, sp                                        
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
3000e8b0:	e58d4000 	str	r4, [sp]                                      
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
3000e8b4:	e5946008 	ldr	r6, [r4, #8]                                  
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
3000e8b8:	ebfffd4c 	bl	3000ddf0 <IMFS_Set_handlers>                   
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
3000e8bc:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
3000e8c0:	e2842054 	add	r2, r4, #84	; 0x54                            
3000e8c4:	e3530001 	cmp	r3, #1                                        
3000e8c8:	1a000010 	bne	3000e910 <IMFS_fsunmount+0x98>                
3000e8cc:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
3000e8d0:	e1530002 	cmp	r3, r2                                        
3000e8d4:	0a00000d 	beq	3000e910 <IMFS_fsunmount+0x98>                
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     }                                                                
     if ( jnode != NULL ) {                                           
3000e8d8:	e3540000 	cmp	r4, #0                                        
3000e8dc:	0a000008 	beq	3000e904 <IMFS_fsunmount+0x8c>                
       if ( jnode->type == IMFS_DIRECTORY ) {                         
3000e8e0:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
3000e8e4:	e3530001 	cmp	r3, #1                                        
3000e8e8:	1affffef 	bne	3000e8ac <IMFS_fsunmount+0x34>                
3000e8ec:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
3000e8f0:	e2842054 	add	r2, r4, #84	; 0x54                            
3000e8f4:	e1530002 	cmp	r3, r2                                        
3000e8f8:	0affffeb 	beq	3000e8ac <IMFS_fsunmount+0x34>                
         if ( jnode_has_children( jnode ) )                           
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
3000e8fc:	e2534000 	subs	r4, r3, #0                                   
3000e900:	1affffe9 	bne	3000e8ac <IMFS_fsunmount+0x34>                
3000e904:	e3a00000 	mov	r0, #0                                        
                                                                      
   return 0;                                                          
}                                                                     
3000e908:	e28dd014 	add	sp, sp, #20                                   
3000e90c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
        result = IMFS_unlink( NULL, &loc );                           
3000e910:	e3a00000 	mov	r0, #0                                        
3000e914:	e1a0100d 	mov	r1, sp                                        
3000e918:	ebffd0f4 	bl	30002cf0 <IMFS_unlink>                         
        if (result != 0)                                              
3000e91c:	e3500000 	cmp	r0, #0                                        
3000e920:	01a04006 	moveq	r4, r6                                      
3000e924:	0affffeb 	beq	3000e8d8 <IMFS_fsunmount+0x60>                
       if ( jnode->type == IMFS_DIRECTORY ) {                         
         if ( jnode_has_children( jnode ) )                           
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
3000e928:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
3000e92c:	eafffff5 	b	3000e908 <IMFS_fsunmount+0x90>                  <== NOT EXECUTED
                                                                      
3000951c <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     
)                                                                     
{                                                                     
3000951c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
30009520:	e1a04000 	mov	r4, r0                                        
  IMFS_jnode_t                          *jnode;                       
                                                                      
  /*                                                                  
   * determine/check value for imfs_memfile_bytes_per_block           
   */                                                                 
  IMFS_determine_bytes_per_block(&imfs_memfile_bytes_per_block,       
30009524:	e59f00c8 	ldr	r0, [pc, #200]	; 300095f4 <IMFS_initialize_support+0xd8>
  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     
)                                                                     
{                                                                     
30009528:	e1a06001 	mov	r6, r1                                        
  IMFS_jnode_t                          *jnode;                       
                                                                      
  /*                                                                  
   * determine/check value for imfs_memfile_bytes_per_block           
   */                                                                 
  IMFS_determine_bytes_per_block(&imfs_memfile_bytes_per_block,       
3000952c:	e5900000 	ldr	r0, [r0]                                      
  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     
)                                                                     
{                                                                     
30009530:	e1a07002 	mov	r7, r2                                        
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
30009534:	e3500010 	cmp	r0, #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     
)                                                                     
{                                                                     
30009538:	e1a05003 	mov	r5, r3                                        
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
3000953c:	0a000008 	beq	30009564 <IMFS_initialize_support+0x48>       
30009540:	e3a03000 	mov	r3, #0                                        
30009544:	e3a02020 	mov	r2, #32                                       
30009548:	e1500002 	cmp	r0, r2                                        
3000954c:	e2833001 	add	r3, r3, #1                                    
30009550:	0a000003 	beq	30009564 <IMFS_initialize_support+0x48>       
30009554:	e3530005 	cmp	r3, #5                                        
30009558:	e1a02082 	lsl	r2, r2, #1                                    
3000955c:	1afffff9 	bne	30009548 <IMFS_initialize_support+0x2c>       
30009560:	e3a00080 	mov	r0, #128	; 0x80                               <== NOT EXECUTED
    if (bit_mask == requested_bytes_per_block) {                      
      is_valid = true;                                                
    }                                                                 
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
30009564:	e59f308c 	ldr	r3, [pc, #140]	; 300095f8 <IMFS_initialize_support+0xdc>
30009568:	e5830000 	str	r0, [r3]                                      
  /*                                                                  
   *  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();
3000956c:	eb000921 	bl	3000b9f8 <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;
30009570:	e59fe084 	ldr	lr, [pc, #132]	; 300095fc <IMFS_initialize_support+0xe0>
30009574:	e284c038 	add	ip, r4, #56	; 0x38                            
  /*                                                                  
   *  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();
30009578:	e584001c 	str	r0, [r4, #28]                                 
  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;
3000957c:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
30009580:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
30009584:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
30009588:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
3000958c:	e89e000f 	ldm	lr, {r0, r1, r2, r3}                          
   *                                                                  
   *  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;              
30009590:	e5846028 	str	r6, [r4, #40]	; 0x28                          
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
30009594:	e88c000f 	stm	ip, {r0, r1, r2, r3}                          
   *  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;    
30009598:	e5845024 	str	r5, [r4, #36]	; 0x24                          
  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 ) );                    
3000959c:	e3a00001 	mov	r0, #1                                        
300095a0:	e3a0100c 	mov	r1, #12                                       
300095a4:	eb0000be 	bl	300098a4 <calloc>                              
  if ( !fs_info ) {                                                   
300095a8:	e3500000 	cmp	r0, #0                                        
300095ac:	0a000009 	beq	300095d8 <IMFS_initialize_support+0xbc>       
  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;                                 
300095b0:	e594201c 	ldr	r2, [r4, #28]                                 
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->ino_count             = 1;                                 
300095b4:	e3a03001 	mov	r3, #1                                        
300095b8:	e5803000 	str	r3, [r0]                                      
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
300095bc:	e5805008 	str	r5, [r0, #8]                                  
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
300095c0:	e5807004 	str	r7, [r0, #4]                                  
  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;                                   
300095c4:	e5840034 	str	r0, [r4, #52]	; 0x34                          
  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;                                 
300095c8:	e5823038 	str	r3, [r2, #56]	; 0x38                          
                                                                      
  /* Initialize POSIX FIFO/pipe module */                             
  rtems_pipe_initialize();                                            
300095cc:	eb00068c 	bl	3000b004 <rtems_pipe_initialize>               
300095d0:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
}                                                                     
300095d4:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
  /*                                                                  
   * 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);                      
300095d8:	e594001c 	ldr	r0, [r4, #28]                                 <== NOT EXECUTED
300095dc:	ebffe164 	bl	30001b74 <free>                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
300095e0:	eb000cce 	bl	3000c920 <__errno>                             <== NOT EXECUTED
300095e4:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
300095e8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
300095ec:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
300095f0:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          <== NOT EXECUTED
300095f4:	30018e28 	.word	0x30018e28                                  
300095f8:	300196c8 	.word	0x300196c8                                  
300095fc:	300183fc 	.word	0x300183fc                                  
                                                                      
300029a8 <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 */            
)                                                                     
{                                                                     
300029a8:	e92d4070 	push	{r4, r5, r6, lr}                             
  int                i;                                               
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
300029ac:	e5903000 	ldr	r3, [r0]                                      
int IMFS_link(                                                        
  rtems_filesystem_location_info_t  *to_loc,      /* IN */            
  rtems_filesystem_location_info_t  *parent_loc,  /* IN */            
  const char                        *token        /* IN */            
)                                                                     
{                                                                     
300029b0:	e24dd048 	sub	sp, sp, #72	; 0x48                            
  int                i;                                               
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
300029b4:	e58d3028 	str	r3, [sp, #40]	; 0x28                          
  if ( info.hard_link.link_node->st_nlink >= LINK_MAX )               
300029b8:	e1d333b4 	ldrh	r3, [r3, #52]	; 0x34                         
int IMFS_link(                                                        
  rtems_filesystem_location_info_t  *to_loc,      /* IN */            
  rtems_filesystem_location_info_t  *parent_loc,  /* IN */            
  const char                        *token        /* IN */            
)                                                                     
{                                                                     
300029bc:	e1a05001 	mov	r5, r1                                        
                                                                      
  /*                                                                  
   *  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 )               
300029c0:	e3530007 	cmp	r3, #7                                        
int IMFS_link(                                                        
  rtems_filesystem_location_info_t  *to_loc,      /* IN */            
  rtems_filesystem_location_info_t  *parent_loc,  /* IN */            
  const char                        *token        /* IN */            
)                                                                     
{                                                                     
300029c4:	e1a06002 	mov	r6, 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 )               
300029c8:	8a00001d 	bhi	30002a44 <IMFS_link+0x9c>                     
    rtems_set_errno_and_return_minus_one( EMLINK );                   
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
  IMFS_get_token( token, strlen( token ), new_name, &i );             
300029cc:	e1a00002 	mov	r0, r2                                        
300029d0:	eb00424b 	bl	30013304 <strlen>                              
300029d4:	e28d4004 	add	r4, sp, #4                                    
300029d8:	e1a01000 	mov	r1, r0                                        
300029dc:	e1a02004 	mov	r2, r4                                        
300029e0:	e28d3044 	add	r3, sp, #68	; 0x44                            
300029e4:	e1a00006 	mov	r0, r6                                        
300029e8:	eb002fff 	bl	3000e9ec <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(                                        
300029ec:	e28dc028 	add	ip, sp, #40	; 0x28                            
300029f0:	e1a00005 	mov	r0, r5                                        
300029f4:	e1a02004 	mov	r2, r4                                        
300029f8:	e3a01003 	mov	r1, #3                                        
300029fc:	e59f3068 	ldr	r3, [pc, #104]	; 30002a6c <IMFS_link+0xc4>    
30002a00:	e58dc000 	str	ip, [sp]                                      
30002a04:	eb002ca7 	bl	3000dca8 <IMFS_create_node>                    
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
30002a08:	e3500000 	cmp	r0, #0                                        
30002a0c:	0a000011 	beq	30002a58 <IMFS_link+0xb0>                     
    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++;                               
30002a10:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
  IMFS_update_ctime( info.hard_link.link_node );                      
30002a14:	e28d003c 	add	r0, sp, #60	; 0x3c                            
    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++;                               
30002a18:	e1d323b4 	ldrh	r2, [r3, #52]	; 0x34                         
  IMFS_update_ctime( info.hard_link.link_node );                      
30002a1c:	e3a01000 	mov	r1, #0                                        
    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++;                               
30002a20:	e2822001 	add	r2, r2, #1                                    
30002a24:	e1c323b4 	strh	r2, [r3, #52]	; 0x34                         
  IMFS_update_ctime( info.hard_link.link_node );                      
30002a28:	eb000276 	bl	30003408 <gettimeofday>                        
30002a2c:	e59d203c 	ldr	r2, [sp, #60]	; 0x3c                          
30002a30:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
30002a34:	e3a00000 	mov	r0, #0                                        
30002a38:	e5832048 	str	r2, [r3, #72]	; 0x48                          
                                                                      
  return 0;                                                           
}                                                                     
30002a3c:	e28dd048 	add	sp, sp, #72	; 0x48                            
30002a40:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  /*                                                                  
   *  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 )               
    rtems_set_errno_and_return_minus_one( EMLINK );                   
30002a44:	eb003e55 	bl	300123a0 <__errno>                             
30002a48:	e3a0301f 	mov	r3, #31                                       
30002a4c:	e5803000 	str	r3, [r0]                                      
30002a50:	e3e00000 	mvn	r0, #0                                        
30002a54:	eafffff8 	b	30002a3c <IMFS_link+0x94>                       
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
30002a58:	eb003e50 	bl	300123a0 <__errno>                             <== NOT EXECUTED
30002a5c:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
30002a60:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30002a64:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30002a68:	eafffff3 	b	30002a3c <IMFS_link+0x94>                       <== NOT EXECUTED
30002a6c:	0000a1ff 	.word	0x0000a1ff                                  
                                                                      
30010e8c <IMFS_memfile_addblock>:                                     
)                                                                     
{                                                                     
  block_p  memory;                                                    
  block_p *block_entry_ptr;                                           
                                                                      
  assert( the_jnode );                                                
30010e8c:	e2503000 	subs	r3, r0, #0                                   
                                                                      
MEMFILE_STATIC int IMFS_memfile_addblock(                             
   IMFS_jnode_t  *the_jnode,                                          
   unsigned int   block                                               
)                                                                     
{                                                                     
30010e90:	e92d4030 	push	{r4, r5, lr}                                 
  block_p  memory;                                                    
  block_p *block_entry_ptr;                                           
                                                                      
  assert( the_jnode );                                                
30010e94:	0a00000f 	beq	30010ed8 <IMFS_memfile_addblock+0x4c>         
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
30010e98:	e593304c 	ldr	r3, [r3, #76]	; 0x4c                          
30010e9c:	e3530005 	cmp	r3, #5                                        
30010ea0:	1a000011 	bne	30010eec <IMFS_memfile_addblock+0x60>         
  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 );
30010ea4:	e3a02001 	mov	r2, #1                                        
30010ea8:	ebfffe94 	bl	30010900 <IMFS_memfile_get_block_pointer>      
  if ( *block_entry_ptr )                                             
30010eac:	e5904000 	ldr	r4, [r0]                                      
                                                                      
  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 );
30010eb0:	e1a05000 	mov	r5, r0                                        
  if ( *block_entry_ptr )                                             
30010eb4:	e3540000 	cmp	r4, #0                                        
30010eb8:	13a00000 	movne	r0, #0                                      
30010ebc:	18bd8030 	popne	{r4, r5, pc}                                
#if 0                                                                 
  fprintf(stdout, "%d %p", block, block_entry_ptr );                  
    fflush(stdout);                                                   
#endif                                                                
                                                                      
  memory = memfile_alloc_block();                                     
30010ec0:	ebfffe81 	bl	300108cc <memfile_alloc_block>                 
  if ( !memory )                                                      
30010ec4:	e3500000 	cmp	r0, #0                                        
    return 1;                                                         
  *block_entry_ptr = memory;                                          
30010ec8:	15850000 	strne	r0, [r5]                                    
  fprintf(stdout, "%d %p", block, block_entry_ptr );                  
    fflush(stdout);                                                   
#endif                                                                
                                                                      
  memory = memfile_alloc_block();                                     
  if ( !memory )                                                      
30010ecc:	03a00001 	moveq	r0, #1                                      
    return 1;                                                         
  *block_entry_ptr = memory;                                          
30010ed0:	11a00004 	movne	r0, r4                                      
                                                                      
  return 0;                                                           
}                                                                     
30010ed4:	e8bd8030 	pop	{r4, r5, pc}                                  
)                                                                     
{                                                                     
  block_p  memory;                                                    
  block_p *block_entry_ptr;                                           
                                                                      
  assert( the_jnode );                                                
30010ed8:	e59f0020 	ldr	r0, [pc, #32]	; 30010f00 <IMFS_memfile_addblock+0x74><== NOT EXECUTED
30010edc:	e59f1020 	ldr	r1, [pc, #32]	; 30010f04 <IMFS_memfile_addblock+0x78><== NOT EXECUTED
30010ee0:	e59f2020 	ldr	r2, [pc, #32]	; 30010f08 <IMFS_memfile_addblock+0x7c><== NOT EXECUTED
30010ee4:	e59f3020 	ldr	r3, [pc, #32]	; 30010f0c <IMFS_memfile_addblock+0x80><== NOT EXECUTED
30010ee8:	ebfff75a 	bl	3000ec58 <__assert_func>                       <== NOT EXECUTED
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
30010eec:	e59f000c 	ldr	r0, [pc, #12]	; 30010f00 <IMFS_memfile_addblock+0x74><== NOT EXECUTED
30010ef0:	e59f1018 	ldr	r1, [pc, #24]	; 30010f10 <IMFS_memfile_addblock+0x84><== NOT EXECUTED
30010ef4:	e59f200c 	ldr	r2, [pc, #12]	; 30010f08 <IMFS_memfile_addblock+0x7c><== NOT EXECUTED
30010ef8:	e59f3014 	ldr	r3, [pc, #20]	; 30010f14 <IMFS_memfile_addblock+0x88><== NOT EXECUTED
30010efc:	ebfff755 	bl	3000ec58 <__assert_func>                       <== NOT EXECUTED
30010f00:	3001ee28 	.word	0x3001ee28                                  
30010f04:	00000169 	.word	0x00000169                                  
30010f08:	3001e568 	.word	0x3001e568                                  
30010f0c:	3001ee70 	.word	0x3001ee70                                  
30010f10:	0000016d 	.word	0x0000016d                                  
30010f14:	3001ee7c 	.word	0x3001ee7c                                  
                                                                      
30010f18 <IMFS_memfile_extend>:                                       
                                                                      
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
30010f18:	e92d4df0 	push	{r4, r5, r6, r7, r8, sl, fp, lr}             
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
30010f1c:	e2504000 	subs	r4, r0, #0                                   
                                                                      
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
30010f20:	e24dd004 	sub	sp, sp, #4                                    
30010f24:	e1a08001 	mov	r8, r1                                        
30010f28:	e1a06002 	mov	r6, r2                                        
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
30010f2c:	0a00004e 	beq	3001106c <IMFS_memfile_extend+0x154>          
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
30010f30:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
30010f34:	e3530005 	cmp	r3, #5                                        
30010f38:	1a000046 	bne	30011058 <IMFS_memfile_extend+0x140>          
  if ( the_jnode->type != IMFS_MEMORY_FILE )                          
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
30010f3c:	e59f313c 	ldr	r3, [pc, #316]	; 30011080 <IMFS_memfile_extend+0x168>
30010f40:	e593b000 	ldr	fp, [r3]                                      
30010f44:	e3a03000 	mov	r3, #0                                        
30010f48:	e1530002 	cmp	r3, r2                                        
30010f4c:	e1a0312b 	lsr	r3, fp, #2                                    
30010f50:	e0213393 	mla	r1, r3, r3, r3                                
30010f54:	e0223391 	mla	r2, r1, r3, r3                                
30010f58:	e2423001 	sub	r3, r2, #1                                    
30010f5c:	e002039b 	mul	r2, fp, r3                                    
30010f60:	ca000007 	bgt	30010f84 <IMFS_memfile_extend+0x6c>           
30010f64:	0a000004 	beq	30010f7c <IMFS_memfile_extend+0x64>           
    rtems_set_errno_and_return_minus_one( EINVAL );                   
30010f68:	eb00050c 	bl	300123a0 <__errno>                             <== NOT EXECUTED
30010f6c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
30010f70:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30010f74:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30010f78:	ea00002e 	b	30011038 <IMFS_memfile_extend+0x120>            <== NOT EXECUTED
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
  if ( the_jnode->type != IMFS_MEMORY_FILE )                          
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
30010f7c:	e1520008 	cmp	r2, r8                                        
30010f80:	9afffff8 	bls	30010f68 <IMFS_memfile_extend+0x50>           
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( new_length <= the_jnode->info.file.size )                      
30010f84:	e5947054 	ldr	r7, [r4, #84]	; 0x54                          
30010f88:	e594a050 	ldr	sl, [r4, #80]	; 0x50                          
30010f8c:	e1560007 	cmp	r6, r7                                        
30010f90:	da000026 	ble	30011030 <IMFS_memfile_extend+0x118>          
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
30010f94:	e1a0cfcb 	asr	ip, fp, #31                                   
30010f98:	e1a0300c 	mov	r3, ip                                        
30010f9c:	e1a0200b 	mov	r2, fp                                        
30010fa0:	e1a00008 	mov	r0, r8                                        
30010fa4:	e1a01006 	mov	r1, r6                                        
30010fa8:	e58dc000 	str	ip, [sp]                                      
30010fac:	eb002d5c 	bl	3001c524 <__divdi3>                            
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
30010fb0:	e59dc000 	ldr	ip, [sp]                                      
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
30010fb4:	e1a05000 	mov	r5, r0                                        
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
30010fb8:	e1a01007 	mov	r1, r7                                        
30010fbc:	e1a0000a 	mov	r0, sl                                        
30010fc0:	e1a0200b 	mov	r2, fp                                        
30010fc4:	e1a0300c 	mov	r3, ip                                        
30010fc8:	eb002d55 	bl	3001c524 <__divdi3>                            
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
30010fcc:	e1550000 	cmp	r5, r0                                        
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
30010fd0:	e1a0a000 	mov	sl, r0                                        
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
30010fd4:	3a000019 	bcc	30011040 <IMFS_memfile_extend+0x128>          
30010fd8:	e1a07000 	mov	r7, r0                                        
30010fdc:	ea000002 	b	30010fec <IMFS_memfile_extend+0xd4>             
30010fe0:	e2877001 	add	r7, r7, #1                                    
30010fe4:	e1550007 	cmp	r5, r7                                        
30010fe8:	3a000014 	bcc	30011040 <IMFS_memfile_extend+0x128>          
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
30010fec:	e1a00004 	mov	r0, r4                                        
30010ff0:	e1a01007 	mov	r1, r7                                        
30010ff4:	ebffffa4 	bl	30010e8c <IMFS_memfile_addblock>               
30010ff8:	e3500000 	cmp	r0, #0                                        
30010ffc:	0afffff7 	beq	30010fe0 <IMFS_memfile_extend+0xc8>           
30011000:	ea000003 	b	30011014 <IMFS_memfile_extend+0xfc>             <== NOT EXECUTED
       for ( ; block>=old_blocks ; block-- ) {                        
          IMFS_memfile_remove_block( the_jnode, block );              
30011004:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
30011008:	e1a00004 	mov	r0, r4                                        <== 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-- ) {                        
3001100c:	e2477001 	sub	r7, r7, #1                                    <== NOT EXECUTED
          IMFS_memfile_remove_block( the_jnode, block );              
30011010:	ebfffeed 	bl	30010bcc <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-- ) {                        
30011014:	e15a0007 	cmp	sl, r7                                        <== NOT EXECUTED
30011018:	9afffff9 	bls	30011004 <IMFS_memfile_extend+0xec>           <== NOT EXECUTED
          IMFS_memfile_remove_block( the_jnode, block );              
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
3001101c:	eb0004df 	bl	300123a0 <__errno>                             <== NOT EXECUTED
30011020:	e3a0301c 	mov	r3, #28                                       <== NOT EXECUTED
30011024:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30011028:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
3001102c:	ea000001 	b	30011038 <IMFS_memfile_extend+0x120>            <== 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 )                      
30011030:	0a000005 	beq	3001104c <IMFS_memfile_extend+0x134>          
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
                                                                      
  the_jnode->info.file.size = new_length;                             
30011034:	e3a00000 	mov	r0, #0                                        
  return 0;                                                           
}                                                                     
30011038:	e28dd004 	add	sp, sp, #4                                    
3001103c:	e8bd8df0 	pop	{r4, r5, r6, r7, r8, sl, fp, pc}              
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
                                                                      
  the_jnode->info.file.size = new_length;                             
30011040:	e5846054 	str	r6, [r4, #84]	; 0x54                          
30011044:	e5848050 	str	r8, [r4, #80]	; 0x50                          
30011048:	eafffff9 	b	30011034 <IMFS_memfile_extend+0x11c>            
    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 )                      
3001104c:	e158000a 	cmp	r8, sl                                        
30011050:	8affffcf 	bhi	30010f94 <IMFS_memfile_extend+0x7c>           
30011054:	eafffff6 	b	30011034 <IMFS_memfile_extend+0x11c>            
                                                                      
  assert( the_jnode );                                                
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
30011058:	e59f0024 	ldr	r0, [pc, #36]	; 30011084 <IMFS_memfile_extend+0x16c><== NOT EXECUTED
3001105c:	e59f1024 	ldr	r1, [pc, #36]	; 30011088 <IMFS_memfile_extend+0x170><== NOT EXECUTED
30011060:	e59f2024 	ldr	r2, [pc, #36]	; 3001108c <IMFS_memfile_extend+0x174><== NOT EXECUTED
30011064:	e59f3024 	ldr	r3, [pc, #36]	; 30011090 <IMFS_memfile_extend+0x178><== NOT EXECUTED
30011068:	ebfff6fa 	bl	3000ec58 <__assert_func>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
3001106c:	e59f0010 	ldr	r0, [pc, #16]	; 30011084 <IMFS_memfile_extend+0x16c><== NOT EXECUTED
30011070:	e59f101c 	ldr	r1, [pc, #28]	; 30011094 <IMFS_memfile_extend+0x17c><== NOT EXECUTED
30011074:	e59f2010 	ldr	r2, [pc, #16]	; 3001108c <IMFS_memfile_extend+0x174><== NOT EXECUTED
30011078:	e59f3018 	ldr	r3, [pc, #24]	; 30011098 <IMFS_memfile_extend+0x180><== NOT EXECUTED
3001107c:	ebfff6f5 	bl	3000ec58 <__assert_func>                       <== NOT EXECUTED
30011080:	3001f94c 	.word	0x3001f94c                                  
30011084:	3001ee28 	.word	0x3001ee28                                  
30011088:	00000135 	.word	0x00000135                                  
3001108c:	3001e580 	.word	0x3001e580                                  
30011090:	3001ee7c 	.word	0x3001ee7c                                  
30011094:	00000131 	.word	0x00000131                                  
30011098:	3001ee70 	.word	0x3001ee70                                  
                                                                      
30010900 <IMFS_memfile_get_block_pointer>:                            
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
30010900:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
30010904:	e2504000 	subs	r4, r0, #0                                   
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
30010908:	e24dd004 	sub	sp, sp, #4                                    
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
3001090c:	0a000078 	beq	30010af4 <IMFS_memfile_get_block_pointer+0x1f4>
  if ( !the_jnode )                                                   
    return NULL;                                                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
30010910:	e594304c 	ldr	r3, [r4, #76]	; 0x4c                          
30010914:	e3530005 	cmp	r3, #5                                        
30010918:	1a000070 	bne	30010ae0 <IMFS_memfile_get_block_pointer+0x1e0>
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_INDIRECT ) {                                  
3001091c:	e59f320c 	ldr	r3, [pc, #524]	; 30010b30 <IMFS_memfile_get_block_pointer+0x230>
30010920:	e5935000 	ldr	r5, [r3]                                      
30010924:	e1a05125 	lsr	r5, r5, #2                                    
30010928:	e2453001 	sub	r3, r5, #1                                    
3001092c:	e1510003 	cmp	r1, r3                                        
30010930:	9a000019 	bls	3001099c <IMFS_memfile_get_block_pointer+0x9c>
                                                                      
  /*                                                                  
   *  Is the block number in the doubly indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
30010934:	e0265595 	mla	r6, r5, r5, r5                                <== NOT EXECUTED
30010938:	e2463001 	sub	r3, r6, #1                                    <== NOT EXECUTED
3001093c:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
30010940:	8a000025 	bhi	300109dc <IMFS_memfile_get_block_pointer+0xdc><== NOT EXECUTED
#if 0                                                                 
fprintf(stdout, "(d %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
30010944:	e0656001 	rsb	r6, r5, r1                                    <== NOT EXECUTED
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
30010948:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
3001094c:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
30010950:	e58d2000 	str	r2, [sp]                                      <== NOT EXECUTED
30010954:	eb002c30 	bl	3001ba1c <__umodsi3>                           <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
30010958:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
fflush(stdout);                                                       
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
3001095c:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
30010960:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
30010964:	eb002be8 	bl	3001b90c <__aeabi_uidiv>                       <== NOT EXECUTED
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
30010968:	e59d2000 	ldr	r2, [sp]                                      <== NOT EXECUTED
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
3001096c:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
30010970:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
                                                                      
    p = info->doubly_indirect;                                        
30010974:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
    if ( malloc_it ) {                                                
30010978:	0a000044 	beq	30010a90 <IMFS_memfile_get_block_pointer+0x190><== NOT EXECUTED
                                                                      
      if ( !p ) {                                                     
3001097c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30010980:	0a000049 	beq	30010aac <IMFS_memfile_get_block_pointer+0x1ac><== NOT EXECUTED
        if ( !p )                                                     
           return 0;                                                  
        info->doubly_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
30010984:	e7930105 	ldr	r0, [r3, r5, lsl #2]                          <== NOT EXECUTED
30010988:	e0835105 	add	r5, r3, r5, lsl #2                            <== NOT EXECUTED
      if ( !p1 ) {                                                    
3001098c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
30010990:	0a000034 	beq	30010a68 <IMFS_memfile_get_block_pointer+0x168><== NOT EXECUTED
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
30010994:	e0800107 	add	r0, r0, r7, lsl #2                            <== NOT EXECUTED
30010998:	ea000005 	b	300109b4 <IMFS_memfile_get_block_pointer+0xb4>  <== NOT EXECUTED
fprintf(stdout, "(s %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
3001099c:	e3520000 	cmp	r2, #0                                        
  if ( my_block <= LAST_INDIRECT ) {                                  
#if 0                                                                 
fprintf(stdout, "(s %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
    p = info->indirect;                                               
300109a0:	e5940058 	ldr	r0, [r4, #88]	; 0x58                          
                                                                      
    if ( malloc_it ) {                                                
300109a4:	0a000035 	beq	30010a80 <IMFS_memfile_get_block_pointer+0x180>
                                                                      
      if ( !p ) {                                                     
300109a8:	e3500000 	cmp	r0, #0                                        
300109ac:	0a000002 	beq	300109bc <IMFS_memfile_get_block_pointer+0xbc>
    }                                                                 
                                                                      
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return &info->indirect[ my_block ];                               
300109b0:	e0800101 	add	r0, r0, r1, lsl #2                            
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
300109b4:	e28dd004 	add	sp, sp, #4                                    
300109b8:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
300109bc:	e58d1000 	str	r1, [sp]                                      
300109c0:	ebffffc1 	bl	300108cc <memfile_alloc_block>                 
        if ( !p )                                                     
300109c4:	e3500000 	cmp	r0, #0                                        
300109c8:	e59d1000 	ldr	r1, [sp]                                      
           return 0;                                                  
        info->indirect = p;                                           
300109cc:	15840058 	strne	r0, [r4, #88]	; 0x58                        
                                                                      
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
        if ( !p )                                                     
300109d0:	1afffff6 	bne	300109b0 <IMFS_memfile_get_block_pointer+0xb0>
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
300109d4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
300109d8:	eafffff5 	b	300109b4 <IMFS_memfile_get_block_pointer+0xb4>  <== NOT EXECUTED
#endif                                                                
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
300109dc:	e0235596 	mla	r3, r6, r5, r5                                <== NOT EXECUTED
300109e0:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
300109e4:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
300109e8:	8afffff9 	bhi	300109d4 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
    my_block -= FIRST_TRIPLY_INDIRECT;                                
300109ec:	e0666001 	rsb	r6, r6, r1                                    <== NOT EXECUTED
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
300109f0:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
300109f4:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
300109f8:	e58d2000 	str	r2, [sp]                                      <== NOT EXECUTED
300109fc:	eb002c06 	bl	3001ba1c <__umodsi3>                           <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
30010a00:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
   */                                                                 
                                                                      
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
30010a04:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
30010a08:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
30010a0c:	eb002bbe 	bl	3001b90c <__aeabi_uidiv>                       <== NOT EXECUTED
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
30010a10:	e1a01005 	mov	r1, r5                                        <== 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;                     
30010a14:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
30010a18:	eb002bbb 	bl	3001b90c <__aeabi_uidiv>                       <== NOT EXECUTED
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
30010a1c:	e1a01005 	mov	r1, r5                                        <== 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;                       
30010a20:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
30010a24:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
30010a28:	eb002bfb 	bl	3001ba1c <__umodsi3>                           <== NOT EXECUTED
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
30010a2c:	e59d2000 	ldr	r2, [sp]                                      <== NOT EXECUTED
    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;                       
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
30010a30:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
30010a34:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
                                                                      
    p = info->triply_indirect;                                        
30010a38:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
                                                                      
    if ( malloc_it ) {                                                
30010a3c:	0a00001f 	beq	30010ac0 <IMFS_memfile_get_block_pointer+0x1c0><== NOT EXECUTED
      if ( !p ) {                                                     
30010a40:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30010a44:	0a000034 	beq	30010b1c <IMFS_memfile_get_block_pointer+0x21c><== NOT EXECUTED
        if ( !p )                                                     
           return 0;                                                  
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
30010a48:	e7932106 	ldr	r2, [r3, r6, lsl #2]                          <== NOT EXECUTED
30010a4c:	e0836106 	add	r6, r3, r6, lsl #2                            <== NOT EXECUTED
      if ( !p1 ) {                                                    
30010a50:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
30010a54:	0a00002b 	beq	30010b08 <IMFS_memfile_get_block_pointer+0x208><== NOT EXECUTED
        if ( !p1 )                                                    
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
30010a58:	e7920105 	ldr	r0, [r2, r5, lsl #2]                          <== NOT EXECUTED
30010a5c:	e0825105 	add	r5, r2, r5, lsl #2                            <== NOT EXECUTED
      if ( !p2 ) {                                                    
30010a60:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
30010a64:	1affffca 	bne	30010994 <IMFS_memfile_get_block_pointer+0x94><== NOT EXECUTED
        p2 = memfile_alloc_block();                                   
30010a68:	ebffff97 	bl	300108cc <memfile_alloc_block>                 <== NOT EXECUTED
        if ( !p2 )                                                    
30010a6c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
30010a70:	15850000 	strne	r0, [r5]                                    <== NOT EXECUTED
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
      if ( !p2 ) {                                                    
        p2 = memfile_alloc_block();                                   
        if ( !p2 )                                                    
30010a74:	0affffd6 	beq	300109d4 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
30010a78:	e0800107 	add	r0, r0, r7, lsl #2                            <== NOT EXECUTED
30010a7c:	eaffffcc 	b	300109b4 <IMFS_memfile_get_block_pointer+0xb4>  <== NOT EXECUTED
        info->indirect = p;                                           
      }                                                               
      return &info->indirect[ my_block ];                             
    }                                                                 
                                                                      
    if ( !p )                                                         
30010a80:	e3500000 	cmp	r0, #0                                        
30010a84:	1affffc9 	bne	300109b0 <IMFS_memfile_get_block_pointer+0xb0>
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
30010a88:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
30010a8c:	eaffffc8 	b	300109b4 <IMFS_memfile_get_block_pointer+0xb4>  <== NOT EXECUTED
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
30010a90:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30010a94:	0affffce 	beq	300109d4 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
      return 0;                                                       
                                                                      
    p = (block_p *)p[ doubly ];                                       
30010a98:	e7930100 	ldr	r0, [r3, r0, lsl #2]                          <== NOT EXECUTED
    if ( !p )                                                         
30010a9c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
30010aa0:	0affffcb 	beq	300109d4 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
30010aa4:	e0800107 	add	r0, r0, r7, lsl #2                            <== NOT EXECUTED
30010aa8:	eaffffc1 	b	300109b4 <IMFS_memfile_get_block_pointer+0xb4>  <== NOT EXECUTED
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
30010aac:	ebffff86 	bl	300108cc <memfile_alloc_block>                 <== NOT EXECUTED
        if ( !p )                                                     
30010ab0:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
30010ab4:	0affffc6 	beq	300109d4 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
           return 0;                                                  
        info->doubly_indirect = p;                                    
30010ab8:	e584305c 	str	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
30010abc:	eaffffb0 	b	30010984 <IMFS_memfile_get_block_pointer+0x84>  <== NOT EXECUTED
        p1[ doubly ] = (block_p) p2;                                  
      }                                                               
      return (block_p *)&p2[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
30010ac0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30010ac4:	0affffc2 	beq	300109d4 <IMFS_memfile_get_block_pointer+0xd4><== 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 ];                                     
30010ac8:	e7933106 	ldr	r3, [r3, r6, lsl #2]                          <== NOT EXECUTED
    if ( !p1 )                                                        
30010acc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30010ad0:	0affffbf 	beq	300109d4 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
30010ad4:	e7930100 	ldr	r0, [r3, r0, lsl #2]                          <== NOT EXECUTED
30010ad8:	e0800107 	add	r0, r0, r7, lsl #2                            <== NOT EXECUTED
30010adc:	eaffffb4 	b	300109b4 <IMFS_memfile_get_block_pointer+0xb4>  <== NOT EXECUTED
                                                                      
  assert( the_jnode );                                                
  if ( !the_jnode )                                                   
    return NULL;                                                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
30010ae0:	e59f004c 	ldr	r0, [pc, #76]	; 30010b34 <IMFS_memfile_get_block_pointer+0x234><== NOT EXECUTED
30010ae4:	e3a01fe3 	mov	r1, #908	; 0x38c                              <== NOT EXECUTED
30010ae8:	e59f2048 	ldr	r2, [pc, #72]	; 30010b38 <IMFS_memfile_get_block_pointer+0x238><== NOT EXECUTED
30010aec:	e59f3048 	ldr	r3, [pc, #72]	; 30010b3c <IMFS_memfile_get_block_pointer+0x23c><== NOT EXECUTED
30010af0:	ebfff858 	bl	3000ec58 <__assert_func>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
30010af4:	e59f0038 	ldr	r0, [pc, #56]	; 30010b34 <IMFS_memfile_get_block_pointer+0x234><== NOT EXECUTED
30010af8:	e3a01fe2 	mov	r1, #904	; 0x388                              <== NOT EXECUTED
30010afc:	e59f2034 	ldr	r2, [pc, #52]	; 30010b38 <IMFS_memfile_get_block_pointer+0x238><== NOT EXECUTED
30010b00:	e59f3038 	ldr	r3, [pc, #56]	; 30010b40 <IMFS_memfile_get_block_pointer+0x240><== NOT EXECUTED
30010b04:	ebfff853 	bl	3000ec58 <__assert_func>                       <== NOT EXECUTED
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
30010b08:	ebffff6f 	bl	300108cc <memfile_alloc_block>                 <== NOT EXECUTED
        if ( !p1 )                                                    
30010b0c:	e2502000 	subs	r2, r0, #0                                   <== NOT EXECUTED
30010b10:	0affffaf 	beq	300109d4 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
30010b14:	e5862000 	str	r2, [r6]                                      <== NOT EXECUTED
30010b18:	eaffffce 	b	30010a58 <IMFS_memfile_get_block_pointer+0x158> <== NOT EXECUTED
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
30010b1c:	ebffff6a 	bl	300108cc <memfile_alloc_block>                 <== NOT EXECUTED
        if ( !p )                                                     
30010b20:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
30010b24:	0affffaa 	beq	300109d4 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
           return 0;                                                  
        info->triply_indirect = p;                                    
30010b28:	e5843060 	str	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
30010b2c:	eaffffc5 	b	30010a48 <IMFS_memfile_get_block_pointer+0x148> <== NOT EXECUTED
30010b30:	3001f94c 	.word	0x3001f94c                                  
30010b34:	3001ee28 	.word	0x3001ee28                                  
30010b38:	3001e4f8 	.word	0x3001e4f8                                  
30010b3c:	3001ee7c 	.word	0x3001ee7c                                  
30010b40:	3001ee70 	.word	0x3001ee70                                  
                                                                      
3001152c <IMFS_memfile_read>:                                         
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
3001152c:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
30011530:	e2509000 	subs	r9, r0, #0                                   
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
30011534:	e24dd014 	sub	sp, sp, #20                                   
30011538:	e1a08003 	mov	r8, r3                                        
3001153c:	e1a0a001 	mov	sl, r1                                        
30011540:	e1a0b002 	mov	fp, r2                                        
30011544:	e59d5038 	ldr	r5, [sp, #56]	; 0x38                          
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
30011548:	0a000092 	beq	30011798 <IMFS_memfile_read+0x26c>            
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE ||                      
3001154c:	e599304c 	ldr	r3, [r9, #76]	; 0x4c                          
30011550:	e2432005 	sub	r2, r3, #5                                    
30011554:	e3520001 	cmp	r2, #1                                        
30011558:	8a000089 	bhi	30011784 <IMFS_memfile_read+0x258>            
                                                                      
  /*                                                                  
   *  Error checks on arguments                                       
   */                                                                 
                                                                      
  assert( dest );                                                     
3001155c:	e3580000 	cmp	r8, #0                                        
30011560:	0a000096 	beq	300117c0 <IMFS_memfile_read+0x294>            
  /*                                                                  
   *  If there is nothing to read, then quick exit.                   
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
30011564:	e3550000 	cmp	r5, #0                                        
30011568:	0a000076 	beq	30011748 <IMFS_memfile_read+0x21c>            
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
3001156c:	e3530006 	cmp	r3, #6                                        
30011570:	0a00005a 	beq	300116e0 <IMFS_memfile_read+0x1b4>            
   *  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 )                        
30011574:	e5993054 	ldr	r3, [r9, #84]	; 0x54                          
30011578:	e3a02000 	mov	r2, #0                                        
3001157c:	e1520003 	cmp	r2, r3                                        
  /*                                                                  
   *  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;                                         
30011580:	e1a03001 	mov	r3, r1                                        
  if ( last_byte > the_jnode->info.file.size )                        
30011584:	e5992050 	ldr	r2, [r9, #80]	; 0x50                          
30011588:	e0851001 	add	r1, r5, r1                                    
3001158c:	ca000051 	bgt	300116d8 <IMFS_memfile_read+0x1ac>            
30011590:	0a00004e 	beq	300116d0 <IMFS_memfile_read+0x1a4>            
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
30011594:	e59f6238 	ldr	r6, [pc, #568]	; 300117d4 <IMFS_memfile_read+0x2a8>
30011598:	e1a0000a 	mov	r0, sl                                        
3001159c:	e5964000 	ldr	r4, [r6]                                      
300115a0:	e1a0100b 	mov	r1, fp                                        
300115a4:	e1a02004 	mov	r2, r4                                        
300115a8:	e1a03fc2 	asr	r3, r2, #31                                   
300115ac:	e98d000c 	stmib	sp, {r2, r3}                                
300115b0:	eb002d05 	bl	3001c9cc <__moddi3>                            
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
300115b4:	e99d000c 	ldmib	sp, {r2, r3}                                
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
300115b8:	e1a0c000 	mov	ip, r0                                        
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
300115bc:	e1a0100b 	mov	r1, fp                                        
300115c0:	e1a0000a 	mov	r0, sl                                        
300115c4:	e58dc000 	str	ip, [sp]                                      
300115c8:	eb002bd5 	bl	3001c524 <__divdi3>                            
  if ( start_offset )  {                                              
300115cc:	e59dc000 	ldr	ip, [sp]                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
300115d0:	e1a07000 	mov	r7, r0                                        
  if ( start_offset )  {                                              
300115d4:	e35c0000 	cmp	ip, #0                                        
300115d8:	01a0a00c 	moveq	sl, ip                                      
300115dc:	0a000013 	beq	30011630 <IMFS_memfile_read+0x104>            
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
300115e0:	e1a00009 	mov	r0, r9                                        
300115e4:	e1a01007 	mov	r1, r7                                        
300115e8:	e3a02000 	mov	r2, #0                                        
300115ec:	e58dc000 	str	ip, [sp]                                      
300115f0:	ebfffcc2 	bl	30010900 <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
300115f4:	e3500000 	cmp	r0, #0                                        
300115f8:	e59dc000 	ldr	ip, [sp]                                      
300115fc:	0a00006a 	beq	300117ac <IMFS_memfile_read+0x280>            
   */                                                                 
                                                                      
  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;            
30011600:	e06ca004 	rsb	sl, ip, r4                                    
      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 );           
30011604:	e5901000 	ldr	r1, [r0]                                      
   */                                                                 
                                                                      
  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;            
30011608:	e155000a 	cmp	r5, sl                                        
3001160c:	31a0a005 	movcc	sl, r5                                      
      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 );           
30011610:	e1a00008 	mov	r0, r8                                        
30011614:	e081100c 	add	r1, r1, ip                                    
30011618:	e1a0200a 	mov	r2, sl                                        
3001161c:	eb00056d 	bl	30012bd8 <memcpy>                              
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
30011620:	e5964000 	ldr	r4, [r6]                                      
    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;                                                  
30011624:	e088800a 	add	r8, r8, sl                                    
    block++;                                                          
30011628:	e2877001 	add	r7, r7, #1                                    
    my_length -= to_copy;                                             
3001162c:	e06a5005 	rsb	r5, sl, r5                                    
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
30011630:	e1550004 	cmp	r5, r4                                        
30011634:	3a000010 	bcc	3001167c <IMFS_memfile_read+0x150>            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
30011638:	e1a00009 	mov	r0, r9                                        
3001163c:	e1a01007 	mov	r1, r7                                        
30011640:	e3a02000 	mov	r2, #0                                        
30011644:	ebfffcad 	bl	30010900 <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
30011648:	e3500000 	cmp	r0, #0                                        
3001164c:	0a000042 	beq	3001175c <IMFS_memfile_read+0x230>            
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
30011650:	e5901000 	ldr	r1, [r0]                                      
30011654:	e1a02004 	mov	r2, r4                                        
30011658:	e1a00008 	mov	r0, r8                                        
3001165c:	eb00055d 	bl	30012bd8 <memcpy>                              
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
30011660:	e5963000 	ldr	r3, [r6]                                      
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
30011664:	e0645005 	rsb	r5, r4, r5                                    
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
30011668:	e1530005 	cmp	r3, r5                                        
    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;                                                  
3001166c:	e0888004 	add	r8, r8, r4                                    
    block++;                                                          
30011670:	e2877001 	add	r7, r7, #1                                    
    my_length -= to_copy;                                             
    copied += to_copy;                                                
30011674:	e08aa004 	add	sl, sl, r4                                    
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
30011678:	9affffee 	bls	30011638 <IMFS_memfile_read+0x10c>            
   *  Phase 3: possibly the first part of one block                   
   */                                                                 
                                                                      
  assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );                 
                                                                      
  if ( my_length ) {                                                  
3001167c:	e3550000 	cmp	r5, #0                                        
30011680:	0a00000a 	beq	300116b0 <IMFS_memfile_read+0x184>            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
30011684:	e1a01007 	mov	r1, r7                                        
30011688:	e1a00009 	mov	r0, r9                                        
3001168c:	e3a02000 	mov	r2, #0                                        
30011690:	ebfffc9a 	bl	30010900 <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
30011694:	e2503000 	subs	r3, r0, #0                                   
30011698:	0a000034 	beq	30011770 <IMFS_memfile_read+0x244>            
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
3001169c:	e1a00008 	mov	r0, r8                                        
300116a0:	e5931000 	ldr	r1, [r3]                                      
300116a4:	e1a02005 	mov	r2, r5                                        
300116a8:	eb00054a 	bl	30012bd8 <memcpy>                              
    copied += my_length;                                              
300116ac:	e08aa005 	add	sl, sl, r5                                    
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
300116b0:	e28d000c 	add	r0, sp, #12                                   
300116b4:	e3a01000 	mov	r1, #0                                        
300116b8:	ebffc752 	bl	30003408 <gettimeofday>                        
300116bc:	e59d300c 	ldr	r3, [sp, #12]                                 
                                                                      
  return copied;                                                      
300116c0:	e1a0000a 	mov	r0, sl                                        
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
    copied += my_length;                                              
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
300116c4:	e5893040 	str	r3, [r9, #64]	; 0x40                          
                                                                      
  return copied;                                                      
}                                                                     
300116c8:	e28dd014 	add	sp, sp, #20                                   
300116cc:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
   *  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 )                        
300116d0:	e1510002 	cmp	r1, r2                                        
300116d4:	9affffae 	bls	30011594 <IMFS_memfile_read+0x68>             
    my_length = the_jnode->info.file.size - start;                    
300116d8:	e0635002 	rsb	r5, r3, r2                                    
300116dc:	eaffffac 	b	30011594 <IMFS_memfile_read+0x68>               
  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))        
300116e0:	e2894050 	add	r4, r9, #80	; 0x50                            <== NOT EXECUTED
300116e4:	e8940018 	ldm	r4, {r3, r4}                                  <== NOT EXECUTED
300116e8:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
300116ec:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
300116f0:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
300116f4:	e050000a 	subs	r0, r0, sl                                   <== NOT EXECUTED
300116f8:	e0c1100b 	sbc	r1, r1, fp                                    <== NOT EXECUTED
300116fc:	e1520001 	cmp	r2, r1                                        <== 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;    
30011700:	e5992058 	ldr	r2, [r9, #88]	; 0x58                          <== NOT EXECUTED
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
30011704:	da00000b 	ble	30011738 <IMFS_memfile_read+0x20c>            <== NOT EXECUTED
      my_length = the_jnode->info.linearfile.size - start;            
30011708:	e06a5003 	rsb	r5, sl, r3                                    <== NOT EXECUTED
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
3001170c:	e082100a 	add	r1, r2, sl                                    <== NOT EXECUTED
30011710:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
30011714:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
30011718:	eb00052e 	bl	30012bd8 <memcpy>                              <== NOT EXECUTED
                                                                      
    IMFS_update_atime( the_jnode );                                   
3001171c:	e28d000c 	add	r0, sp, #12                                   <== NOT EXECUTED
30011720:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
30011724:	ebffc737 	bl	30003408 <gettimeofday>                        <== NOT EXECUTED
30011728:	e59d300c 	ldr	r3, [sp, #12]                                 <== NOT EXECUTED
                                                                      
    return my_length;                                                 
3001172c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
    if (my_length > (the_jnode->info.linearfile.size - start))        
      my_length = the_jnode->info.linearfile.size - start;            
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
                                                                      
    IMFS_update_atime( the_jnode );                                   
30011730:	e5893040 	str	r3, [r9, #64]	; 0x40                          <== NOT EXECUTED
                                                                      
    return my_length;                                                 
30011734:	eaffffe3 	b	300116c8 <IMFS_memfile_read+0x19c>              <== NOT EXECUTED
  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))        
30011738:	1afffff3 	bne	3001170c <IMFS_memfile_read+0x1e0>            <== NOT EXECUTED
3001173c:	e1550000 	cmp	r5, r0                                        <== NOT EXECUTED
30011740:	9afffff1 	bls	3001170c <IMFS_memfile_read+0x1e0>            <== NOT EXECUTED
30011744:	eaffffef 	b	30011708 <IMFS_memfile_read+0x1dc>              <== 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 );                   
30011748:	eb000314 	bl	300123a0 <__errno>                             <== NOT EXECUTED
3001174c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
30011750:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30011754:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30011758:	eaffffda 	b	300116c8 <IMFS_memfile_read+0x19c>              <== 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 );                                              
3001175c:	e59f0074 	ldr	r0, [pc, #116]	; 300117d8 <IMFS_memfile_read+0x2ac><== NOT EXECUTED
30011760:	e59f1074 	ldr	r1, [pc, #116]	; 300117dc <IMFS_memfile_read+0x2b0><== NOT EXECUTED
30011764:	e59f2074 	ldr	r2, [pc, #116]	; 300117e0 <IMFS_memfile_read+0x2b4><== NOT EXECUTED
30011768:	e59f3074 	ldr	r3, [pc, #116]	; 300117e4 <IMFS_memfile_read+0x2b8><== NOT EXECUTED
3001176c:	ebfff539 	bl	3000ec58 <__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 );                                              
30011770:	e59f0060 	ldr	r0, [pc, #96]	; 300117d8 <IMFS_memfile_read+0x2ac><== NOT EXECUTED
30011774:	e59f106c 	ldr	r1, [pc, #108]	; 300117e8 <IMFS_memfile_read+0x2bc><== NOT EXECUTED
30011778:	e59f2060 	ldr	r2, [pc, #96]	; 300117e0 <IMFS_memfile_read+0x2b4><== NOT EXECUTED
3001177c:	e59f3060 	ldr	r3, [pc, #96]	; 300117e4 <IMFS_memfile_read+0x2b8><== NOT EXECUTED
30011780:	ebfff534 	bl	3000ec58 <__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 ||                      
30011784:	e59f004c 	ldr	r0, [pc, #76]	; 300117d8 <IMFS_memfile_read+0x2ac><== NOT EXECUTED
30011788:	e59f105c 	ldr	r1, [pc, #92]	; 300117ec <IMFS_memfile_read+0x2c0><== NOT EXECUTED
3001178c:	e59f204c 	ldr	r2, [pc, #76]	; 300117e0 <IMFS_memfile_read+0x2b4><== NOT EXECUTED
30011790:	e59f3058 	ldr	r3, [pc, #88]	; 300117f0 <IMFS_memfile_read+0x2c4><== NOT EXECUTED
30011794:	ebfff52f 	bl	3000ec58 <__assert_func>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
30011798:	e59f0038 	ldr	r0, [pc, #56]	; 300117d8 <IMFS_memfile_read+0x2ac><== NOT EXECUTED
3001179c:	e3a01f93 	mov	r1, #588	; 0x24c                              <== NOT EXECUTED
300117a0:	e59f2038 	ldr	r2, [pc, #56]	; 300117e0 <IMFS_memfile_read+0x2b4><== NOT EXECUTED
300117a4:	e59f3048 	ldr	r3, [pc, #72]	; 300117f4 <IMFS_memfile_read+0x2c8><== NOT EXECUTED
300117a8:	ebfff52a 	bl	3000ec58 <__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 );                                              
300117ac:	e59f0024 	ldr	r0, [pc, #36]	; 300117d8 <IMFS_memfile_read+0x2ac><== NOT EXECUTED
300117b0:	e59f1040 	ldr	r1, [pc, #64]	; 300117f8 <IMFS_memfile_read+0x2cc><== NOT EXECUTED
300117b4:	e59f2024 	ldr	r2, [pc, #36]	; 300117e0 <IMFS_memfile_read+0x2b4><== NOT EXECUTED
300117b8:	e59f3024 	ldr	r3, [pc, #36]	; 300117e4 <IMFS_memfile_read+0x2b8><== NOT EXECUTED
300117bc:	ebfff525 	bl	3000ec58 <__assert_func>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Error checks on arguments                                       
   */                                                                 
                                                                      
  assert( dest );                                                     
300117c0:	e59f0010 	ldr	r0, [pc, #16]	; 300117d8 <IMFS_memfile_read+0x2ac><== NOT EXECUTED
300117c4:	e59f1030 	ldr	r1, [pc, #48]	; 300117fc <IMFS_memfile_read+0x2d0><== NOT EXECUTED
300117c8:	e59f2010 	ldr	r2, [pc, #16]	; 300117e0 <IMFS_memfile_read+0x2b4><== NOT EXECUTED
300117cc:	e59f302c 	ldr	r3, [pc, #44]	; 30011800 <IMFS_memfile_read+0x2d4><== NOT EXECUTED
300117d0:	ebfff520 	bl	3000ec58 <__assert_func>                       <== NOT EXECUTED
300117d4:	3001f94c 	.word	0x3001f94c                                  
300117d8:	3001ee28 	.word	0x3001ee28                                  
300117dc:	000002a7 	.word	0x000002a7                                  
300117e0:	3001e5a8 	.word	0x3001e5a8                                  
300117e4:	3001eeac 	.word	0x3001eeac                                  
300117e8:	000002b9 	.word	0x000002b9                                  
300117ec:	00000251 	.word	0x00000251                                  
300117f0:	3001eec0 	.word	0x3001eec0                                  
300117f4:	3001ee70 	.word	0x3001ee70                                  
300117f8:	00000296 	.word	0x00000296                                  
300117fc:	0000025a 	.word	0x0000025a                                  
30011800:	3001ef0c 	.word	0x3001ef0c                                  
                                                                      
30010c1c <IMFS_memfile_remove>:                                       
 */                                                                   
                                                                      
int IMFS_memfile_remove(                                              
 IMFS_jnode_t  *the_jnode                                             
)                                                                     
{                                                                     
30010c1c:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
30010c20:	e250a000 	subs	sl, r0, #0                                   
30010c24:	0a00004f 	beq	30010d68 <IMFS_memfile_remove+0x14c>          
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
30010c28:	e59a304c 	ldr	r3, [sl, #76]	; 0x4c                          
30010c2c:	e3530005 	cmp	r3, #5                                        
30010c30:	1a000051 	bne	30010d7c <IMFS_memfile_remove+0x160>          
  /*                                                                  
   *  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;                                 
30010c34:	e59f6154 	ldr	r6, [pc, #340]	; 30010d90 <IMFS_memfile_remove+0x174>
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
30010c38:	e59a3058 	ldr	r3, [sl, #88]	; 0x58                          
  /*                                                                  
   *  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;                                 
30010c3c:	e5967000 	ldr	r7, [r6]                                      
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
30010c40:	e3530000 	cmp	r3, #0                                        
  /*                                                                  
   *  Eventually this could be set smarter at each call to            
   *  memfile_free_blocks_in_table to greatly speed this up.          
   */                                                                 
                                                                      
  to_free = IMFS_MEMFILE_BLOCK_SLOTS;                                 
30010c44:	e1a07127 	lsr	r7, r7, #2                                    
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
    memfile_free_blocks_in_table( &info->indirect, to_free );         
30010c48:	128a0058 	addne	r0, sl, #88	; 0x58                          
30010c4c:	11a01007 	movne	r1, r7                                      
30010c50:	1bffffbb 	blne	30010b44 <memfile_free_blocks_in_table>      
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
30010c54:	e59a305c 	ldr	r3, [sl, #92]	; 0x5c                          
30010c58:	e3530000 	cmp	r3, #0                                        
30010c5c:	0a000014 	beq	30010cb4 <IMFS_memfile_remove+0x98>           
                                                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
30010c60:	e5962000 	ldr	r2, [r6]                                      <== NOT EXECUTED
30010c64:	e1b02122 	lsrs	r2, r2, #2                                   <== NOT EXECUTED
30010c68:	0a00000e 	beq	30010ca8 <IMFS_memfile_remove+0x8c>           <== NOT EXECUTED
30010c6c:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
30010c70:	e1a04002 	mov	r4, r2                                        <== NOT EXECUTED
30010c74:	ea000000 	b	30010c7c <IMFS_memfile_remove+0x60>             <== NOT EXECUTED
30010c78:	e59a305c 	ldr	r3, [sl, #92]	; 0x5c                          <== NOT EXECUTED
      if ( info->doubly_indirect[i] ) {                               
30010c7c:	e7931102 	ldr	r1, [r3, r2, lsl #2]                          <== NOT EXECUTED
30010c80:	e1a02102 	lsl	r2, r2, #2                                    <== NOT EXECUTED
30010c84:	e3510000 	cmp	r1, #0                                        <== NOT EXECUTED
        memfile_free_blocks_in_table(                                 
30010c88:	10830002 	addne	r0, r3, r2                                  <== NOT EXECUTED
30010c8c:	11a01007 	movne	r1, r7                                      <== NOT EXECUTED
30010c90:	1bffffab 	blne	30010b44 <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++ ) {                  
30010c94:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
30010c98:	e2844001 	add	r4, r4, #1                                    <== NOT EXECUTED
30010c9c:	e1540123 	cmp	r4, r3, lsr #2                                <== NOT EXECUTED
30010ca0:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
30010ca4:	3afffff3 	bcc	30010c78 <IMFS_memfile_remove+0x5c>           <== 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 );  
30010ca8:	e28a005c 	add	r0, sl, #92	; 0x5c                            <== NOT EXECUTED
30010cac:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
30010cb0:	ebffffa3 	bl	30010b44 <memfile_free_blocks_in_table>        <== NOT EXECUTED
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
30010cb4:	e59a0060 	ldr	r0, [sl, #96]	; 0x60                          
30010cb8:	e3500000 	cmp	r0, #0                                        
30010cbc:	0a000027 	beq	30010d60 <IMFS_memfile_remove+0x144>          
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
30010cc0:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
30010cc4:	e1b03123 	lsrs	r3, r3, #2                                   <== NOT EXECUTED
30010cc8:	0a000021 	beq	30010d54 <IMFS_memfile_remove+0x138>          <== NOT EXECUTED
      p = (block_p *) info->triply_indirect[i];                       
30010ccc:	e5905000 	ldr	r5, [r0]                                      <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
30010cd0:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
30010cd4:	13a09000 	movne	r9, #0                                      <== NOT EXECUTED
30010cd8:	11a08009 	movne	r8, r9                                      <== NOT EXECUTED
30010cdc:	0a00001c 	beq	30010d54 <IMFS_memfile_remove+0x138>          <== NOT EXECUTED
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
30010ce0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30010ce4:	0a00000d 	beq	30010d20 <IMFS_memfile_remove+0x104>          <== NOT EXECUTED
30010ce8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
30010cec:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
        if ( p[j] ) {                                                 
30010cf0:	e7953100 	ldr	r3, [r5, r0, lsl #2]                          <== NOT EXECUTED
30010cf4:	e1a00100 	lsl	r0, r0, #2                                    <== NOT EXECUTED
30010cf8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
30010cfc:	10850000 	addne	r0, r5, r0                                  <== NOT EXECUTED
30010d00:	11a01007 	movne	r1, r7                                      <== NOT EXECUTED
30010d04:	1bffff8e 	blne	30010b44 <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++ ) {                
30010d08:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
30010d0c:	e2844001 	add	r4, r4, #1                                    <== NOT EXECUTED
30010d10:	e1540123 	cmp	r4, r3, lsr #2                                <== NOT EXECUTED
30010d14:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
30010d18:	3afffff4 	bcc	30010cf0 <IMFS_memfile_remove+0xd4>           <== NOT EXECUTED
30010d1c:	e59a0060 	ldr	r0, [sl, #96]	; 0x60                          <== NOT EXECUTED
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
30010d20:	e0800009 	add	r0, r0, r9                                    <== NOT EXECUTED
30010d24:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
30010d28:	ebffff85 	bl	30010b44 <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++ ) {                  
30010d2c:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
30010d30:	e2888001 	add	r8, r8, #1                                    <== NOT EXECUTED
30010d34:	e1a03123 	lsr	r3, r3, #2                                    <== NOT EXECUTED
30010d38:	e1530008 	cmp	r3, r8                                        <== NOT EXECUTED
30010d3c:	9a000004 	bls	30010d54 <IMFS_memfile_remove+0x138>          <== NOT EXECUTED
      p = (block_p *) info->triply_indirect[i];                       
30010d40:	e59a0060 	ldr	r0, [sl, #96]	; 0x60                          <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
30010d44:	e1a09108 	lsl	r9, r8, #2                                    <== NOT EXECUTED
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
30010d48:	e7905108 	ldr	r5, [r0, r8, lsl #2]                          <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
30010d4c:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
30010d50:	1affffe2 	bne	30010ce0 <IMFS_memfile_remove+0xc4>           <== NOT EXECUTED
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
        (block_p **)&info->triply_indirect[i], to_free );             
    }                                                                 
    memfile_free_blocks_in_table(                                     
30010d54:	e28a0060 	add	r0, sl, #96	; 0x60                            <== NOT EXECUTED
30010d58:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
30010d5c:	ebffff78 	bl	30010b44 <memfile_free_blocks_in_table>        <== NOT EXECUTED
        (block_p **)&info->triply_indirect, to_free );                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
30010d60:	e3a00000 	mov	r0, #0                                        
30010d64:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
30010d68:	e59f0024 	ldr	r0, [pc, #36]	; 30010d94 <IMFS_memfile_remove+0x178><== NOT EXECUTED
30010d6c:	e59f1024 	ldr	r1, [pc, #36]	; 30010d98 <IMFS_memfile_remove+0x17c><== NOT EXECUTED
30010d70:	e59f2024 	ldr	r2, [pc, #36]	; 30010d9c <IMFS_memfile_remove+0x180><== NOT EXECUTED
30010d74:	e59f3024 	ldr	r3, [pc, #36]	; 30010da0 <IMFS_memfile_remove+0x184><== NOT EXECUTED
30010d78:	ebfff7b6 	bl	3000ec58 <__assert_func>                       <== NOT EXECUTED
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
30010d7c:	e59f0010 	ldr	r0, [pc, #16]	; 30010d94 <IMFS_memfile_remove+0x178><== NOT EXECUTED
30010d80:	e59f101c 	ldr	r1, [pc, #28]	; 30010da4 <IMFS_memfile_remove+0x188><== NOT EXECUTED
30010d84:	e59f2010 	ldr	r2, [pc, #16]	; 30010d9c <IMFS_memfile_remove+0x180><== NOT EXECUTED
30010d88:	e59f3018 	ldr	r3, [pc, #24]	; 30010da8 <IMFS_memfile_remove+0x18c><== NOT EXECUTED
30010d8c:	ebfff7b1 	bl	3000ec58 <__assert_func>                       <== NOT EXECUTED
30010d90:	3001f94c 	.word	0x3001f94c                                  
30010d94:	3001ee28 	.word	0x3001ee28                                  
30010d98:	000001ee 	.word	0x000001ee                                  
30010d9c:	3001e554 	.word	0x3001e554                                  
30010da0:	3001ee70 	.word	0x3001ee70                                  
30010da4:	000001f2 	.word	0x000001f2                                  
30010da8:	3001ee7c 	.word	0x3001ee7c                                  
                                                                      
30010bcc <IMFS_memfile_remove_block>:                                 
                                                                      
MEMFILE_STATIC int IMFS_memfile_remove_block(                         
   IMFS_jnode_t  *the_jnode,                                          
   unsigned int   block                                               
)                                                                     
{                                                                     
30010bcc:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  block_p *block_ptr;                                                 
  block_p  ptr;                                                       
                                                                      
  block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );  
30010bd0:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
30010bd4:	ebffff49 	bl	30010900 <IMFS_memfile_get_block_pointer>      <== NOT EXECUTED
  assert( block_ptr );                                                
30010bd8:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
30010bdc:	0a000005 	beq	30010bf8 <IMFS_memfile_remove_block+0x2c>     <== NOT EXECUTED
  if ( block_ptr ) {                                                  
    ptr = *block_ptr;                                                 
    *block_ptr = 0;                                                   
30010be0:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
  block_p  ptr;                                                       
                                                                      
  block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );  
  assert( block_ptr );                                                
  if ( block_ptr ) {                                                  
    ptr = *block_ptr;                                                 
30010be4:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
    *block_ptr = 0;                                                   
30010be8:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
    memfile_free_block( ptr );                                        
30010bec:	ebffff2e 	bl	300108ac <memfile_free_block>                  <== NOT EXECUTED
  }                                                                   
                                                                      
  return 1;                                                           
}                                                                     
30010bf0:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
30010bf4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
{                                                                     
  block_p *block_ptr;                                                 
  block_p  ptr;                                                       
                                                                      
  block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );  
  assert( block_ptr );                                                
30010bf8:	e59f000c 	ldr	r0, [pc, #12]	; 30010c0c <IMFS_memfile_remove_block+0x40><== NOT EXECUTED
30010bfc:	e59f100c 	ldr	r1, [pc, #12]	; 30010c10 <IMFS_memfile_remove_block+0x44><== NOT EXECUTED
30010c00:	e59f200c 	ldr	r2, [pc, #12]	; 30010c14 <IMFS_memfile_remove_block+0x48><== NOT EXECUTED
30010c04:	e59f300c 	ldr	r3, [pc, #12]	; 30010c18 <IMFS_memfile_remove_block+0x4c><== NOT EXECUTED
30010c08:	ebfff812 	bl	3000ec58 <__assert_func>                       <== NOT EXECUTED
30010c0c:	3001ee28 	.word	0x3001ee28                                  
30010c10:	00000196 	.word	0x00000196                                  
30010c14:	3001e538 	.word	0x3001e538                                  
30010c18:	3001eeac 	.word	0x3001eeac                                  
                                                                      
300111b4 <IMFS_memfile_write>:                                        
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
300111b4:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
300111b8:	e2509000 	subs	r9, r0, #0                                   
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
300111bc:	e24dd014 	sub	sp, sp, #20                                   
300111c0:	e1a06001 	mov	r6, r1                                        
300111c4:	e1a07002 	mov	r7, r2                                        
300111c8:	e1a08003 	mov	r8, r3                                        
300111cc:	e59da038 	ldr	sl, [sp, #56]	; 0x38                          
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
300111d0:	0a000081 	beq	300113dc <IMFS_memfile_write+0x228>           
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
300111d4:	e599304c 	ldr	r3, [r9, #76]	; 0x4c                          
300111d8:	e3530005 	cmp	r3, #5                                        
300111dc:	1a000074 	bne	300113b4 <IMFS_memfile_write+0x200>           
                                                                      
  /*                                                                  
   *  Error check arguments                                           
   */                                                                 
                                                                      
  assert( source );                                                   
300111e0:	e3580000 	cmp	r8, #0                                        
300111e4:	0a00006d 	beq	300113a0 <IMFS_memfile_write+0x1ec>           
  /*                                                                  
   *  If there is nothing to write, then quick exit.                  
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
300111e8:	e35a0000 	cmp	sl, #0                                        
300111ec:	0a000061 	beq	30011378 <IMFS_memfile_write+0x1c4>           
   *  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 ) {                      
300111f0:	e5993054 	ldr	r3, [r9, #84]	; 0x54                          
300111f4:	e08a1001 	add	r1, sl, r1                                    
300111f8:	e3530000 	cmp	r3, #0                                        
300111fc:	ba000053 	blt	30011350 <IMFS_memfile_write+0x19c>           
30011200:	0a00004f 	beq	30011344 <IMFS_memfile_write+0x190>           
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
30011204:	e59f51f8 	ldr	r5, [pc, #504]	; 30011404 <IMFS_memfile_write+0x250>
30011208:	e1a00006 	mov	r0, r6                                        
3001120c:	e5954000 	ldr	r4, [r5]                                      
30011210:	e1a01007 	mov	r1, r7                                        
30011214:	e1a02004 	mov	r2, r4                                        
30011218:	e1a03fc2 	asr	r3, r2, #31                                   
3001121c:	e98d000c 	stmib	sp, {r2, r3}                                
30011220:	eb002de9 	bl	3001c9cc <__moddi3>                            
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
30011224:	e99d000c 	ldmib	sp, {r2, r3}                                
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
30011228:	e1a0b000 	mov	fp, r0                                        
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
3001122c:	e1a01007 	mov	r1, r7                                        
30011230:	e1a00006 	mov	r0, r6                                        
30011234:	eb002cba 	bl	3001c524 <__divdi3>                            
  if ( start_offset )  {                                              
30011238:	e35b0000 	cmp	fp, #0                                        
3001123c:	01a0700a 	moveq	r7, sl                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
30011240:	e1a06000 	mov	r6, r0                                        
  if ( start_offset )  {                                              
30011244:	01a0a00b 	moveq	sl, fp                                      
30011248:	0a000014 	beq	300112a0 <IMFS_memfile_write+0xec>            
    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 );
3001124c:	e1a00009 	mov	r0, r9                                        
30011250:	e1a01006 	mov	r1, r6                                        
30011254:	e3a02000 	mov	r2, #0                                        
30011258:	ebfffda8 	bl	30010900 <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
3001125c:	e3500000 	cmp	r0, #0                                        
30011260:	0a000062 	beq	300113f0 <IMFS_memfile_write+0x23c>           
   */                                                                 
                                                                      
  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;            
30011264:	e06b3004 	rsb	r3, fp, r4                                    
    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 );            
30011268:	e5900000 	ldr	r0, [r0]                                      
   */                                                                 
                                                                      
  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;            
3001126c:	e153000a 	cmp	r3, sl                                        
30011270:	21a0300a 	movcs	r3, sl                                      
    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 );            
30011274:	e1a01008 	mov	r1, r8                                        
30011278:	e1a02003 	mov	r2, r3                                        
3001127c:	e080000b 	add	r0, r0, fp                                    
30011280:	e58d3000 	str	r3, [sp]                                      
30011284:	eb000653 	bl	30012bd8 <memcpy>                              
    src += to_copy;                                                   
30011288:	e59d3000 	ldr	r3, [sp]                                      
    block++;                                                          
    my_length -= to_copy;                                             
    copied += to_copy;                                                
3001128c:	e5954000 	ldr	r4, [r5]                                      
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;                                                   
    block++;                                                          
    my_length -= to_copy;                                             
30011290:	e063700a 	rsb	r7, r3, sl                                    
      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;                                                   
30011294:	e0888003 	add	r8, r8, r3                                    
    block++;                                                          
30011298:	e2866001 	add	r6, r6, #1                                    
    my_length -= to_copy;                                             
    copied += to_copy;                                                
3001129c:	e1a0a003 	mov	sl, r3                                        
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
300112a0:	e1570004 	cmp	r7, r4                                        
300112a4:	3a000010 	bcc	300112ec <IMFS_memfile_write+0x138>           
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
300112a8:	e1a00009 	mov	r0, r9                                        
300112ac:	e1a01006 	mov	r1, r6                                        
300112b0:	e3a02000 	mov	r2, #0                                        
300112b4:	ebfffd91 	bl	30010900 <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
300112b8:	e3500000 	cmp	r0, #0                                        
300112bc:	0a000032 	beq	3001138c <IMFS_memfile_write+0x1d8>           
    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 );                       
300112c0:	e1a01008 	mov	r1, r8                                        
300112c4:	e5900000 	ldr	r0, [r0]                                      
300112c8:	e1a02004 	mov	r2, r4                                        
300112cc:	eb000641 	bl	30012bd8 <memcpy>                              
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
300112d0:	e5953000 	ldr	r3, [r5]                                      
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;                                             
300112d4:	e0647007 	rsb	r7, r4, r7                                    
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
300112d8:	e1530007 	cmp	r3, r7                                        
      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;                                                   
300112dc:	e0888004 	add	r8, r8, r4                                    
    block++;                                                          
300112e0:	e2866001 	add	r6, r6, #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(                            
300112e4:	e08aa004 	add	sl, sl, r4                                    
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
300112e8:	9affffee 	bls	300112a8 <IMFS_memfile_write+0xf4>            
   */                                                                 
                                                                      
  assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );                 
                                                                      
  to_copy = my_length;                                                
  if ( my_length ) {                                                  
300112ec:	e3570000 	cmp	r7, #0                                        
300112f0:	0a00000a 	beq	30011320 <IMFS_memfile_write+0x16c>           
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
300112f4:	e1a01006 	mov	r1, r6                                        
300112f8:	e1a00009 	mov	r0, r9                                        
300112fc:	e3a02000 	mov	r2, #0                                        
30011300:	ebfffd7e 	bl	30010900 <IMFS_memfile_get_block_pointer>      
    assert( block_ptr );                                              
30011304:	e3500000 	cmp	r0, #0                                        
30011308:	0a00002e 	beq	300113c8 <IMFS_memfile_write+0x214>           
    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 );                     
3001130c:	e5900000 	ldr	r0, [r0]                                      
30011310:	e1a01008 	mov	r1, r8                                        
30011314:	e1a02007 	mov	r2, r7                                        
30011318:	eb00062e 	bl	30012bd8 <memcpy>                              
    my_length = 0;                                                    
    copied += to_copy;                                                
3001131c:	e08aa007 	add	sl, sl, r7                                    
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
30011320:	e28d000c 	add	r0, sp, #12                                   
30011324:	e3a01000 	mov	r1, #0                                        
30011328:	ebffc836 	bl	30003408 <gettimeofday>                        
3001132c:	e59d300c 	ldr	r3, [sp, #12]                                 
30011330:	e5893048 	str	r3, [r9, #72]	; 0x48                          
30011334:	e5893044 	str	r3, [r9, #68]	; 0x44                          
                                                                      
  return copied;                                                      
}                                                                     
30011338:	e1a0000a 	mov	r0, sl                                        
3001133c:	e28dd014 	add	sp, sp, #20                                   
30011340:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
   *  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 ) {                      
30011344:	e5993050 	ldr	r3, [r9, #80]	; 0x50                          
30011348:	e1530001 	cmp	r3, r1                                        
3001134c:	2affffac 	bcs	30011204 <IMFS_memfile_write+0x50>            
    status = IMFS_memfile_extend( the_jnode, last_byte );             
30011350:	e1a00009 	mov	r0, r9                                        
30011354:	e3a02000 	mov	r2, #0                                        
30011358:	ebfffeee 	bl	30010f18 <IMFS_memfile_extend>                 
    if ( status )                                                     
3001135c:	e3500000 	cmp	r0, #0                                        
30011360:	0affffa7 	beq	30011204 <IMFS_memfile_write+0x50>            
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
30011364:	eb00040d 	bl	300123a0 <__errno>                             <== NOT EXECUTED
30011368:	e3a0301c 	mov	r3, #28                                       <== NOT EXECUTED
3001136c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30011370:	e3e0a000 	mvn	sl, #0                                        <== NOT EXECUTED
30011374:	eaffffef 	b	30011338 <IMFS_memfile_write+0x184>             <== 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 );                   
30011378:	eb000408 	bl	300123a0 <__errno>                             <== NOT EXECUTED
3001137c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
30011380:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30011384:	e3e0a000 	mvn	sl, #0                                        <== NOT EXECUTED
30011388:	eaffffea 	b	30011338 <IMFS_memfile_write+0x184>             <== 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 );                                              
3001138c:	e59f0074 	ldr	r0, [pc, #116]	; 30011408 <IMFS_memfile_write+0x254><== NOT EXECUTED
30011390:	e3a01e33 	mov	r1, #816	; 0x330                              <== NOT EXECUTED
30011394:	e59f2070 	ldr	r2, [pc, #112]	; 3001140c <IMFS_memfile_write+0x258><== NOT EXECUTED
30011398:	e59f3070 	ldr	r3, [pc, #112]	; 30011410 <IMFS_memfile_write+0x25c><== NOT EXECUTED
3001139c:	ebfff62d 	bl	3000ec58 <__assert_func>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Error check arguments                                           
   */                                                                 
                                                                      
  assert( source );                                                   
300113a0:	e59f0060 	ldr	r0, [pc, #96]	; 30011408 <IMFS_memfile_write+0x254><== NOT EXECUTED
300113a4:	e59f1068 	ldr	r1, [pc, #104]	; 30011414 <IMFS_memfile_write+0x260><== NOT EXECUTED
300113a8:	e59f205c 	ldr	r2, [pc, #92]	; 3001140c <IMFS_memfile_write+0x258><== NOT EXECUTED
300113ac:	e59f3064 	ldr	r3, [pc, #100]	; 30011418 <IMFS_memfile_write+0x264><== NOT EXECUTED
300113b0:	ebfff628 	bl	3000ec58 <__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 );                      
300113b4:	e59f004c 	ldr	r0, [pc, #76]	; 30011408 <IMFS_memfile_write+0x254><== NOT EXECUTED
300113b8:	e59f105c 	ldr	r1, [pc, #92]	; 3001141c <IMFS_memfile_write+0x268><== NOT EXECUTED
300113bc:	e59f2048 	ldr	r2, [pc, #72]	; 3001140c <IMFS_memfile_write+0x258><== NOT EXECUTED
300113c0:	e59f3058 	ldr	r3, [pc, #88]	; 30011420 <IMFS_memfile_write+0x26c><== NOT EXECUTED
300113c4:	ebfff623 	bl	3000ec58 <__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 );                                              
300113c8:	e59f0038 	ldr	r0, [pc, #56]	; 30011408 <IMFS_memfile_write+0x254><== NOT EXECUTED
300113cc:	e59f1050 	ldr	r1, [pc, #80]	; 30011424 <IMFS_memfile_write+0x270><== NOT EXECUTED
300113d0:	e59f2034 	ldr	r2, [pc, #52]	; 3001140c <IMFS_memfile_write+0x258><== NOT EXECUTED
300113d4:	e59f3034 	ldr	r3, [pc, #52]	; 30011410 <IMFS_memfile_write+0x25c><== NOT EXECUTED
300113d8:	ebfff61e 	bl	3000ec58 <__assert_func>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
300113dc:	e59f0024 	ldr	r0, [pc, #36]	; 30011408 <IMFS_memfile_write+0x254><== NOT EXECUTED
300113e0:	e59f1040 	ldr	r1, [pc, #64]	; 30011428 <IMFS_memfile_write+0x274><== NOT EXECUTED
300113e4:	e59f2020 	ldr	r2, [pc, #32]	; 3001140c <IMFS_memfile_write+0x258><== NOT EXECUTED
300113e8:	e59f303c 	ldr	r3, [pc, #60]	; 3001142c <IMFS_memfile_write+0x278><== NOT EXECUTED
300113ec:	ebfff619 	bl	3000ec58 <__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 );                                              
300113f0:	e59f0010 	ldr	r0, [pc, #16]	; 30011408 <IMFS_memfile_write+0x254><== NOT EXECUTED
300113f4:	e3a01fc7 	mov	r1, #796	; 0x31c                              <== NOT EXECUTED
300113f8:	e59f200c 	ldr	r2, [pc, #12]	; 3001140c <IMFS_memfile_write+0x258><== NOT EXECUTED
300113fc:	e59f300c 	ldr	r3, [pc, #12]	; 30011410 <IMFS_memfile_write+0x25c><== NOT EXECUTED
30011400:	ebfff614 	bl	3000ec58 <__assert_func>                       <== NOT EXECUTED
30011404:	3001f94c 	.word	0x3001f94c                                  
30011408:	3001ee28 	.word	0x3001ee28                                  
3001140c:	3001e594 	.word	0x3001e594                                  
30011410:	3001eeac 	.word	0x3001eeac                                  
30011414:	000002ef 	.word	0x000002ef                                  
30011418:	3001eeb8 	.word	0x3001eeb8                                  
3001141c:	000002e7 	.word	0x000002e7                                  
30011420:	3001ee7c 	.word	0x3001ee7c                                  
30011424:	00000346 	.word	0x00000346                                  
30011428:	000002e3 	.word	0x000002e3                                  
3001142c:	3001ee70 	.word	0x3001ee70                                  
                                                                      
30009600 <IMFS_mknod>:                                                
  const char                        *token,      /* IN */             
  mode_t                             mode,       /* IN */             
  dev_t                              dev,        /* IN */             
  rtems_filesystem_location_info_t  *pathloc     /* IN/OUT */         
)                                                                     
{                                                                     
30009600:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
30009604:	e24dd040 	sub	sp, sp, #64	; 0x40                            
30009608:	e1a04001 	mov	r4, r1                                        
3000960c:	e1a07002 	mov	r7, r2                                        
30009610:	e1a06003 	mov	r6, r3                                        
30009614:	e1a08000 	mov	r8, r0                                        
  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 );        
30009618:	eb0010b1 	bl	3000d8e4 <strlen>                              
3000961c:	e28d5004 	add	r5, sp, #4                                    
30009620:	e1a01000 	mov	r1, r0                                        
30009624:	e28d303c 	add	r3, sp, #60	; 0x3c                            
30009628:	e1a00008 	mov	r0, r8                                        
3000962c:	e1a02005 	mov	r2, r5                                        
30009630:	ebffff7e 	bl	30009430 <IMFS_get_token>                      
                                                                      
  /*                                                                  
   *  Figure out what type of IMFS node this is.                      
   */                                                                 
  if ( S_ISDIR(mode) )                                                
30009634:	e2043a0f 	and	r3, r4, #61440	; 0xf000                       
30009638:	e3530901 	cmp	r3, #16384	; 0x4000                           
3000963c:	0a00001b 	beq	300096b0 <IMFS_mknod+0xb0>                    
    type = IMFS_DIRECTORY;                                            
  else if ( S_ISREG(mode) )                                           
30009640:	e3530902 	cmp	r3, #32768	; 0x8000                           
30009644:	03a01005 	moveq	r1, #5                                      
30009648:	0a000005 	beq	30009664 <IMFS_mknod+0x64>                    
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
3000964c:	e3530a06 	cmp	r3, #24576	; 0x6000                           
30009650:	13530a02 	cmpne	r3, #8192	; 0x2000                          
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
30009654:	058d7028 	streq	r7, [sp, #40]	; 0x28                        
30009658:	058d602c 	streq	r6, [sp, #44]	; 0x2c                        
3000965c:	03a01002 	moveq	r1, #2                                      
   */                                                                 
  if ( S_ISDIR(mode) )                                                
    type = IMFS_DIRECTORY;                                            
  else if ( S_ISREG(mode) )                                           
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
30009660:	1a00000a 	bne	30009690 <IMFS_mknod+0x90>                    
   *        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(                                        
30009664:	e28dc028 	add	ip, sp, #40	; 0x28                            
30009668:	e59d0058 	ldr	r0, [sp, #88]	; 0x58                          
3000966c:	e1a02005 	mov	r2, r5                                        
30009670:	e1a03004 	mov	r3, r4                                        
30009674:	e58dc000 	str	ip, [sp]                                      
30009678:	eb0008ee 	bl	3000ba38 <IMFS_create_node>                    
    new_name,                                                         
    mode,                                                             
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
3000967c:	e3500000 	cmp	r0, #0                                        
30009680:	13a00000 	movne	r0, #0                                      
30009684:	0a00000b 	beq	300096b8 <IMFS_mknod+0xb8>                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  return 0;                                                           
}                                                                     
30009688:	e28dd040 	add	sp, sp, #64	; 0x40                            
3000968c:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
    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))                                            
30009690:	e3530a01 	cmp	r3, #4096	; 0x1000                            
30009694:	03a01007 	moveq	r1, #7                                      
30009698:	0afffff1 	beq	30009664 <IMFS_mknod+0x64>                    
    type = IMFS_FIFO;                                                 
  else  {                                                             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
3000969c:	eb000c9f 	bl	3000c920 <__errno>                             <== NOT EXECUTED
300096a0:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
300096a4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
300096a8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
300096ac:	eafffff5 	b	30009688 <IMFS_mknod+0x88>                      <== NOT EXECUTED
300096b0:	e3a01001 	mov	r1, #1                                        
300096b4:	eaffffea 	b	30009664 <IMFS_mknod+0x64>                      
    mode,                                                             
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
300096b8:	eb000c98 	bl	3000c920 <__errno>                             <== NOT EXECUTED
300096bc:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
300096c0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
300096c4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
300096c8:	eaffffee 	b	30009688 <IMFS_mknod+0x88>                      <== NOT EXECUTED
                                                                      
30002b3c <IMFS_mount>:                                                
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
30002b3c:	e5903008 	ldr	r3, [r0, #8]                                  
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_mount(                                                       
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
30002b40:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
                                                                      
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
30002b44:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
30002b48:	e3520001 	cmp	r2, #1                                        
30002b4c:	1a000002 	bne	30002b5c <IMFS_mount+0x20>                    
  /*                                                                  
   *  Set mt_fs pointer to point to the mount table entry for         
   *  the mounted file system.                                        
   */                                                                 
                                                                      
  node->info.directory.mt_fs = mt_entry;                              
30002b50:	e583005c 	str	r0, [r3, #92]	; 0x5c                          
30002b54:	e3a00000 	mov	r0, #0                                        
  return 0;                                                           
}                                                                     
30002b58:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
30002b5c:	eb003e0f 	bl	300123a0 <__errno>                             <== NOT EXECUTED
30002b60:	e3a03014 	mov	r3, #20                                       <== NOT EXECUTED
30002b64:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30002b68:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30002b6c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
30003558 <IMFS_print_jnode>:                                          
 */                                                                   
                                                                      
void IMFS_print_jnode(                                                
  IMFS_jnode_t *the_jnode                                             
)                                                                     
{                                                                     
30003558:	e92d4030 	push	{r4, r5, lr}                                 
  assert( the_jnode );                                                
3000355c:	e2504000 	subs	r4, r0, #0                                   
30003560:	0a000055 	beq	300036bc <IMFS_print_jnode+0x164>             
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
30003564:	e59f5164 	ldr	r5, [pc, #356]	; 300036d0 <IMFS_print_jnode+0x178>
30003568:	e284000c 	add	r0, r4, #12                                   
3000356c:	e5953000 	ldr	r3, [r5]                                      
30003570:	e5931008 	ldr	r1, [r3, #8]                                  
30003574:	eb0038d6 	bl	300118d4 <fputs>                               
  switch( the_jnode->type ) {                                         
30003578:	e594204c 	ldr	r2, [r4, #76]	; 0x4c                          
3000357c:	e2423001 	sub	r3, r2, #1                                    
30003580:	e3530006 	cmp	r3, #6                                        
30003584:	979ff103 	ldrls	pc, [pc, r3, lsl #2]                        
30003588:	ea000011 	b	300035d4 <IMFS_print_jnode+0x7c>                <== NOT EXECUTED
3000358c:	300035f8 	.word	0x300035f8                                  <== NOT EXECUTED
30003590:	30003614 	.word	0x30003614                                  <== NOT EXECUTED
30003594:	30003630 	.word	0x30003630                                  <== NOT EXECUTED
30003598:	3000365c 	.word	0x3000365c                                  <== NOT EXECUTED
3000359c:	30003688 	.word	0x30003688                                  <== NOT EXECUTED
300035a0:	300036a0 	.word	0x300036a0                                  <== NOT EXECUTED
300035a4:	300035a8 	.word	0x300035a8                                  <== NOT EXECUTED
      fprintf(stdout, " links not printed\n" );                       
      assert(0);                                                      
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
300035a8:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
300035ac:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
300035b0:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
300035b4:	e3a02012 	mov	r2, #18                                       <== NOT EXECUTED
300035b8:	e59f0114 	ldr	r0, [pc, #276]	; 300036d4 <IMFS_print_jnode+0x17c><== NOT EXECUTED
300035bc:	eb003bd9 	bl	30012528 <fwrite>                              <== NOT EXECUTED
      assert(0);                                                      
300035c0:	e59f0110 	ldr	r0, [pc, #272]	; 300036d8 <IMFS_print_jnode+0x180><== NOT EXECUTED
300035c4:	e3a01067 	mov	r1, #103	; 0x67                               <== NOT EXECUTED
300035c8:	e59f210c 	ldr	r2, [pc, #268]	; 300036dc <IMFS_print_jnode+0x184><== NOT EXECUTED
300035cc:	e59f310c 	ldr	r3, [pc, #268]	; 300036e0 <IMFS_print_jnode+0x188><== NOT EXECUTED
300035d0:	eb00025a 	bl	30003f40 <__assert_func>                       <== NOT EXECUTED
      break;                                                          
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
300035d4:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
300035d8:	e59f1104 	ldr	r1, [pc, #260]	; 300036e4 <IMFS_print_jnode+0x18c><== NOT EXECUTED
300035dc:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
300035e0:	eb00385a 	bl	30011750 <fprintf>                             <== NOT EXECUTED
      assert(0);                                                      
300035e4:	e59f00ec 	ldr	r0, [pc, #236]	; 300036d8 <IMFS_print_jnode+0x180><== NOT EXECUTED
300035e8:	e3a0106c 	mov	r1, #108	; 0x6c                               <== NOT EXECUTED
300035ec:	e59f20e8 	ldr	r2, [pc, #232]	; 300036dc <IMFS_print_jnode+0x184><== NOT EXECUTED
300035f0:	e59f30e8 	ldr	r3, [pc, #232]	; 300036e0 <IMFS_print_jnode+0x188><== NOT EXECUTED
300035f4:	eb000251 	bl	30003f40 <__assert_func>                       <== NOT EXECUTED
  assert( the_jnode );                                                
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  switch( the_jnode->type ) {                                         
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
300035f8:	e5953000 	ldr	r3, [r5]                                      
300035fc:	e3a0002f 	mov	r0, #47	; 0x2f                                
30003600:	e5931008 	ldr	r1, [r3, #8]                                  
30003604:	eb00386d 	bl	300117c0 <fputc>                               
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      assert(0);                                                      
      break;                                                          
  }                                                                   
  puts("");                                                           
30003608:	e59f00d8 	ldr	r0, [pc, #216]	; 300036e8 <IMFS_print_jnode+0x190>
}                                                                     
3000360c:	e8bd4030 	pop	{r4, r5, lr}                                  
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      assert(0);                                                      
      break;                                                          
  }                                                                   
  puts("");                                                           
30003610:	ea003fb4 	b	300134e8 <puts>                                 
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
      break;                                                          
                                                                      
    case IMFS_DEVICE:                                                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
30003614:	e5952000 	ldr	r2, [r5]                                      
30003618:	e5943054 	ldr	r3, [r4, #84]	; 0x54                          
3000361c:	e5920008 	ldr	r0, [r2, #8]                                  
30003620:	e59f10c4 	ldr	r1, [pc, #196]	; 300036ec <IMFS_print_jnode+0x194>
30003624:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          
30003628:	eb003848 	bl	30011750 <fprintf>                             
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
3000362c:	eafffff5 	b	30003608 <IMFS_print_jnode+0xb0>                
        (uint32_t)the_jnode->info.file.size );                        
#endif                                                                
      break;                                                          
                                                                      
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
30003630:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
30003634:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
30003638:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
3000363c:	e3a02013 	mov	r2, #19                                       <== NOT EXECUTED
30003640:	e59f00a8 	ldr	r0, [pc, #168]	; 300036f0 <IMFS_print_jnode+0x198><== NOT EXECUTED
30003644:	eb003bb7 	bl	30012528 <fwrite>                              <== NOT EXECUTED
      assert(0);                                                      
30003648:	e59f0088 	ldr	r0, [pc, #136]	; 300036d8 <IMFS_print_jnode+0x180><== NOT EXECUTED
3000364c:	e3a0105d 	mov	r1, #93	; 0x5d                                <== NOT EXECUTED
30003650:	e59f2084 	ldr	r2, [pc, #132]	; 300036dc <IMFS_print_jnode+0x184><== NOT EXECUTED
30003654:	e59f3084 	ldr	r3, [pc, #132]	; 300036e0 <IMFS_print_jnode+0x188><== NOT EXECUTED
30003658:	eb000238 	bl	30003f40 <__assert_func>                       <== NOT EXECUTED
      break;                                                          
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
3000365c:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
30003660:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
30003664:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
30003668:	e3a02013 	mov	r2, #19                                       <== NOT EXECUTED
3000366c:	e59f007c 	ldr	r0, [pc, #124]	; 300036f0 <IMFS_print_jnode+0x198><== NOT EXECUTED
30003670:	eb003bac 	bl	30012528 <fwrite>                              <== NOT EXECUTED
      assert(0);                                                      
30003674:	e59f005c 	ldr	r0, [pc, #92]	; 300036d8 <IMFS_print_jnode+0x180><== NOT EXECUTED
30003678:	e3a01062 	mov	r1, #98	; 0x62                                <== NOT EXECUTED
3000367c:	e59f2058 	ldr	r2, [pc, #88]	; 300036dc <IMFS_print_jnode+0x184><== NOT EXECUTED
30003680:	e59f3058 	ldr	r3, [pc, #88]	; 300036e0 <IMFS_print_jnode+0x188><== NOT EXECUTED
30003684:	eb00022d 	bl	30003f40 <__assert_func>                       <== NOT EXECUTED
        the_jnode->info.file.indirect,                                
        the_jnode->info.file.doubly_indirect,                         
        the_jnode->info.file.triply_indirect                          
      );                                                              
#else                                                                 
      fprintf(stdout, " (file %" PRId32 ")",                          
30003688:	e5953000 	ldr	r3, [r5]                                      
3000368c:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          
30003690:	e5930008 	ldr	r0, [r3, #8]                                  
30003694:	e59f1058 	ldr	r1, [pc, #88]	; 300036f4 <IMFS_print_jnode+0x19c>
30003698:	eb00382c 	bl	30011750 <fprintf>                             
        (uint32_t)the_jnode->info.file.size );                        
#endif                                                                
      break;                                                          
3000369c:	eaffffd9 	b	30003608 <IMFS_print_jnode+0xb0>                
      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)",                       
300036a0:	e5952000 	ldr	r2, [r5]                                      <== NOT EXECUTED
300036a4:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          <== NOT EXECUTED
300036a8:	e5920008 	ldr	r0, [r2, #8]                                  <== NOT EXECUTED
300036ac:	e59f1044 	ldr	r1, [pc, #68]	; 300036f8 <IMFS_print_jnode+0x1a0><== NOT EXECUTED
300036b0:	e5942050 	ldr	r2, [r4, #80]	; 0x50                          <== NOT EXECUTED
300036b4:	eb003825 	bl	30011750 <fprintf>                             <== NOT EXECUTED
        (uint32_t)the_jnode->info.linearfile.size,                    
        the_jnode->info.linearfile.direct                             
      );                                                              
      break;                                                          
300036b8:	eaffffd2 	b	30003608 <IMFS_print_jnode+0xb0>                <== NOT EXECUTED
                                                                      
void IMFS_print_jnode(                                                
  IMFS_jnode_t *the_jnode                                             
)                                                                     
{                                                                     
  assert( the_jnode );                                                
300036bc:	e59f0014 	ldr	r0, [pc, #20]	; 300036d8 <IMFS_print_jnode+0x180><== NOT EXECUTED
300036c0:	e3a01038 	mov	r1, #56	; 0x38                                <== NOT EXECUTED
300036c4:	e59f2010 	ldr	r2, [pc, #16]	; 300036dc <IMFS_print_jnode+0x184><== NOT EXECUTED
300036c8:	e59f302c 	ldr	r3, [pc, #44]	; 300036fc <IMFS_print_jnode+0x1a4><== NOT EXECUTED
300036cc:	eb00021b 	bl	30003f40 <__assert_func>                       <== NOT EXECUTED
300036d0:	300234e0 	.word	0x300234e0                                  
300036d4:	30022524 	.word	0x30022524                                  
300036d8:	30022488 	.word	0x30022488                                  
300036dc:	30021084 	.word	0x30021084                                  
300036e0:	30022458 	.word	0x30022458                                  
300036e4:	30022538 	.word	0x30022538                                  
300036e8:	3002202c 	.word	0x3002202c                                  
300036ec:	300224e0 	.word	0x300224e0                                  
300036f0:	30022510 	.word	0x30022510                                  
300036f4:	30022504 	.word	0x30022504                                  
300036f8:	300224f4 	.word	0x300224f4                                  
300036fc:	300224d4 	.word	0x300224d4                                  
                                                                      
30002b7c <IMFS_readlink>:                                             
)                                                                     
{                                                                     
  IMFS_jnode_t      *node;                                            
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
30002b7c:	e5903000 	ldr	r3, [r0]                                      
int IMFS_readlink(                                                    
  rtems_filesystem_location_info_t  *loc,                             
 char                               *buf,         /* OUT */           
 size_t                             bufsize                           
)                                                                     
{                                                                     
30002b80:	e92d4010 	push	{r4, lr}                                     
  IMFS_jnode_t      *node;                                            
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
30002b84:	e593004c 	ldr	r0, [r3, #76]	; 0x4c                          
30002b88:	e3500004 	cmp	r0, #4                                        
30002b8c:	1a000013 	bne	30002be0 <IMFS_readlink+0x64>                 
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
30002b90:	e3520000 	cmp	r2, #0                                        
30002b94:	0a00000f 	beq	30002bd8 <IMFS_readlink+0x5c>                 
30002b98:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          
30002b9c:	e5d0c000 	ldrb	ip, [r0]                                     
30002ba0:	e35c0000 	cmp	ip, #0                                        
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
30002ba4:	13a04000 	movne	r4, #0                                      
30002ba8:	11a00004 	movne	r0, r4                                      
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
30002bac:	0a000009 	beq	30002bd8 <IMFS_readlink+0x5c>                 
30002bb0:	e2800001 	add	r0, r0, #1                                    
30002bb4:	e1520000 	cmp	r2, r0                                        
    buf[i] = node->info.sym_link.name[i];                             
30002bb8:	e7c1c004 	strb	ip, [r1, 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++ )
30002bbc:	e1a04000 	mov	r4, r0                                        
30002bc0:	98bd8010 	popls	{r4, pc}                                    
30002bc4:	e593c050 	ldr	ip, [r3, #80]	; 0x50                          
30002bc8:	e7dcc000 	ldrb	ip, [ip, r0]                                 
30002bcc:	e35c0000 	cmp	ip, #0                                        
30002bd0:	1afffff6 	bne	30002bb0 <IMFS_readlink+0x34>                 
30002bd4:	e8bd8010 	pop	{r4, pc}                                      
30002bd8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
    buf[i] = node->info.sym_link.name[i];                             
                                                                      
  return i;                                                           
}                                                                     
30002bdc:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
30002be0:	eb003dee 	bl	300123a0 <__errno>                             <== NOT EXECUTED
30002be4:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
30002be8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30002bec:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30002bf0:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
30002bf4 <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 */        
)                                                                     
{                                                                     
30002bf4:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
30002bf8:	e5914000 	ldr	r4, [r1]                                      <== 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 */        
)                                                                     
{                                                                     
30002bfc:	e24dd008 	sub	sp, sp, #8                                    <== 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 );                
30002c00:	e1a01003 	mov	r1, r3                                        <== 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 */        
)                                                                     
{                                                                     
30002c04:	e1a05002 	mov	r5, r2                                        <== 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 );                
30002c08:	e284000c 	add	r0, r4, #12                                   <== NOT EXECUTED
30002c0c:	e3a02020 	mov	r2, #32                                       <== NOT EXECUTED
30002c10:	eb0041d3 	bl	30013364 <strncpy>                             <== NOT EXECUTED
                                                                      
  if ( the_jnode->Parent != NULL )                                    
30002c14:	e5943008 	ldr	r3, [r4, #8]                                  <== NOT EXECUTED
30002c18:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
30002c1c:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
30002c20:	1b0012d4 	blne	30007778 <_Chain_Extract>                    <== NOT EXECUTED
    rtems_chain_extract( (rtems_chain_node *) the_jnode );            
                                                                      
  new_parent = new_parent_loc->node_access;                           
30002c24:	e5953000 	ldr	r3, [r5]                                      <== 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 );                               
30002c28:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
30002c2c:	e2830050 	add	r0, r3, #80	; 0x50                            <== NOT EXECUTED
  the_jnode->Parent = new_parent;                                     
30002c30:	e5843008 	str	r3, [r4, #8]                                  <== NOT EXECUTED
30002c34:	eb0012c4 	bl	3000774c <_Chain_Append>                       <== NOT EXECUTED
  rtems_chain_append( &new_parent->info.directory.Entries, &the_jnode->Node );
                                                                      
  /*                                                                  
   * Update the time.                                                 
   */                                                                 
  IMFS_update_ctime( the_jnode );                                     
30002c38:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
30002c3c:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
30002c40:	eb0001f0 	bl	30003408 <gettimeofday>                        <== NOT EXECUTED
30002c44:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
30002c48:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
  rtems_chain_append( &new_parent->info.directory.Entries, &the_jnode->Node );
                                                                      
  /*                                                                  
   * Update the time.                                                 
   */                                                                 
  IMFS_update_ctime( the_jnode );                                     
30002c4c:	e5843048 	str	r3, [r4, #72]	; 0x48                          <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
30002c50:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
30002c54:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      
30009790 <IMFS_stat>:                                                 
)                                                                     
{                                                                     
  IMFS_jnode_t   *the_jnode;                                          
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
30009790:	e5903000 	ldr	r3, [r0]                                      
                                                                      
int IMFS_stat(                                                        
  rtems_filesystem_location_info_t *loc,                              
  struct stat                      *buf                               
)                                                                     
{                                                                     
30009794:	e92d4800 	push	{fp, lr}                                     
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
30009798:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
3000979c:	e2422002 	sub	r2, r2, #2                                    
300097a0:	e3520005 	cmp	r2, #5                                        
300097a4:	979ff102 	ldrls	pc, [pc, r2, lsl #2]                        
300097a8:	ea000020 	b	30009830 <IMFS_stat+0xa0>                       <== NOT EXECUTED
300097ac:	3000981c 	.word	0x3000981c                                  <== NOT EXECUTED
300097b0:	30009830 	.word	0x30009830                                  <== NOT EXECUTED
300097b4:	300097c4 	.word	0x300097c4                                  <== NOT EXECUTED
300097b8:	30009844 	.word	0x30009844                                  <== NOT EXECUTED
300097bc:	30009844 	.word	0x30009844                                  <== NOT EXECUTED
300097c0:	300097c4 	.word	0x300097c4                                  <== NOT EXECUTED
    case IMFS_SYM_LINK:                                               
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
300097c4:	e3a0b000 	mov	fp, #0                                        <== NOT EXECUTED
300097c8:	e3a0c000 	mov	ip, #0                                        <== NOT EXECUTED
300097cc:	e581b020 	str	fp, [r1, #32]                                 <== NOT EXECUTED
300097d0:	e581c024 	str	ip, [r1, #36]	; 0x24                          <== NOT EXECUTED
      break;                                                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
300097d4:	e5932038 	ldr	r2, [r3, #56]	; 0x38                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
      break;                                                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
300097d8:	e1d303b4 	ldrh	r0, [r3, #52]	; 0x34                         
  buf->st_ino   = the_jnode->st_ino;                                  
300097dc:	e5812008 	str	r2, [r1, #8]                                  
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
300097e0:	e5932040 	ldr	r2, [r3, #64]	; 0x40                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
      break;                                                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
300097e4:	e1c101b0 	strh	r0, [r1, #16]                                
  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;                              
300097e8:	e5812028 	str	r2, [r1, #40]	; 0x28                          
  buf->st_mtime = the_jnode->stat_mtime;                              
300097ec:	e5932044 	ldr	r2, [r3, #68]	; 0x44                          
  }                                                                   
                                                                      
  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;                                  
300097f0:	e1d3c3bc 	ldrh	ip, [r3, #60]	; 0x3c                         
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
300097f4:	e5812030 	str	r2, [r1, #48]	; 0x30                          
  }                                                                   
                                                                      
  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;                                  
300097f8:	e1c1c1b2 	strh	ip, [r1, #18]                                
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
      break;                                                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
300097fc:	e5930030 	ldr	r0, [r3, #48]	; 0x30                          
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
30009800:	e5932048 	ldr	r2, [r3, #72]	; 0x48                          
                                                                      
  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;                                  
30009804:	e1d333be 	ldrh	r3, [r3, #62]	; 0x3e                         
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
      break;                                                          
  }                                                                   
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
30009808:	e581000c 	str	r0, [r1, #12]                                 
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
3000980c:	e5812038 	str	r2, [r1, #56]	; 0x38                          
                                                                      
  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;                                  
30009810:	e1c131b4 	strh	r3, [r1, #20]                                
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
30009814:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
}                                                                     
30009818:	e8bd8800 	pop	{fp, pc}                                      
                                                                      
  switch ( the_jnode->type ) {                                        
                                                                      
    case IMFS_DEVICE:                                                 
      io           = &the_jnode->info.device;                         
      buf->st_rdev = rtems_filesystem_make_dev_t( io->major, io->minor );
3000981c:	e5930054 	ldr	r0, [r3, #84]	; 0x54                          
  rtems_device_minor_number _minor                                    
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.__overlay.major = _major;                                      
30009820:	e5932050 	ldr	r2, [r3, #80]	; 0x50                          
30009824:	e581001c 	str	r0, [r1, #28]                                 
30009828:	e5812018 	str	r2, [r1, #24]                                 
      break;                                                          
3000982c:	eaffffe8 	b	300097d4 <IMFS_stat+0x44>                       
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
30009830:	eb000c3a 	bl	3000c920 <__errno>                             <== NOT EXECUTED
30009834:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
30009838:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
3000983c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30009840:	e8bd8800 	pop	{fp, pc}                                      <== 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;                       
30009844:	e283c050 	add	ip, r3, #80	; 0x50                            
30009848:	e89c1800 	ldm	ip, {fp, ip}                                  
3000984c:	e581b020 	str	fp, [r1, #32]                                 
30009850:	e581c024 	str	ip, [r1, #36]	; 0x24                          
      break;                                                          
30009854:	eaffffde 	b	300097d4 <IMFS_stat+0x44>                       
                                                                      
30002c58 <IMFS_symlink>:                                              
int IMFS_symlink(                                                     
  rtems_filesystem_location_info_t  *parent_loc,                      
  const char                        *link_name,                       
  const char                        *node_name                        
)                                                                     
{                                                                     
30002c58:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
30002c5c:	e1a06000 	mov	r6, r0                                        
30002c60:	e24dd040 	sub	sp, sp, #64	; 0x40                            
  int                i;                                               
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
  IMFS_get_token( node_name, strlen( node_name ), new_name, &i );     
30002c64:	e1a00002 	mov	r0, r2                                        
int IMFS_symlink(                                                     
  rtems_filesystem_location_info_t  *parent_loc,                      
  const char                        *link_name,                       
  const char                        *node_name                        
)                                                                     
{                                                                     
30002c68:	e1a07002 	mov	r7, r2                                        
30002c6c:	e1a05001 	mov	r5, r1                                        
  int                i;                                               
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
  IMFS_get_token( node_name, strlen( node_name ), new_name, &i );     
30002c70:	eb0041a3 	bl	30013304 <strlen>                              
30002c74:	e28d4004 	add	r4, sp, #4                                    
30002c78:	e1a01000 	mov	r1, r0                                        
30002c7c:	e1a02004 	mov	r2, r4                                        
30002c80:	e28d303c 	add	r3, sp, #60	; 0x3c                            
30002c84:	e1a00007 	mov	r0, r7                                        
30002c88:	eb002f57 	bl	3000e9ec <IMFS_get_token>                      
                                                                      
  /*                                                                  
   * Duplicate link name                                              
   */                                                                 
  info.sym_link.name = strdup(link_name);                             
30002c8c:	e1a00005 	mov	r0, r5                                        
30002c90:	eb004187 	bl	300132b4 <strdup>                              
  if (info.sym_link.name == NULL) {                                   
30002c94:	e3500000 	cmp	r0, #0                                        
  IMFS_get_token( node_name, strlen( node_name ), new_name, &i );     
                                                                      
  /*                                                                  
   * Duplicate link name                                              
   */                                                                 
  info.sym_link.name = strdup(link_name);                             
30002c98:	e58d0028 	str	r0, [sp, #40]	; 0x28                          
  if (info.sym_link.name == NULL) {                                   
30002c9c:	0a00000d 	beq	30002cd8 <IMFS_symlink+0x80>                  
   *        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(                                        
30002ca0:	e28dc028 	add	ip, sp, #40	; 0x28                            
30002ca4:	e1a00006 	mov	r0, r6                                        
30002ca8:	e1a02004 	mov	r2, r4                                        
30002cac:	e3a01004 	mov	r1, #4                                        
30002cb0:	e59f3034 	ldr	r3, [pc, #52]	; 30002cec <IMFS_symlink+0x94>  
30002cb4:	e58dc000 	str	ip, [sp]                                      
30002cb8:	eb002bfa 	bl	3000dca8 <IMFS_create_node>                    
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if (new_node == NULL) {                                             
30002cbc:	e3500000 	cmp	r0, #0                                        
30002cc0:	13a00000 	movne	r0, #0                                      
30002cc4:	0a000001 	beq	30002cd0 <IMFS_symlink+0x78>                  
    free(info.sym_link.name);                                         
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
30002cc8:	e28dd040 	add	sp, sp, #64	; 0x40                            
30002ccc:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if (new_node == NULL) {                                             
    free(info.sym_link.name);                                         
30002cd0:	e59d0028 	ldr	r0, [sp, #40]	; 0x28                          <== NOT EXECUTED
30002cd4:	eb0001a2 	bl	30003364 <free>                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
30002cd8:	eb003db0 	bl	300123a0 <__errno>                             <== NOT EXECUTED
30002cdc:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
30002ce0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30002ce4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30002ce8:	eafffff6 	b	30002cc8 <IMFS_symlink+0x70>                    <== NOT EXECUTED
30002cec:	0000a1ff 	.word	0x0000a1ff                                  
                                                                      
30002cf0 <IMFS_unlink>:                                               
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
30002cf0:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  IMFS_jnode_t                      *node;                            
  rtems_filesystem_location_info_t   the_link;                        
  int                                result = 0;                      
                                                                      
  node = loc->node_access;                                            
30002cf4:	e5915000 	ldr	r5, [r1]                                      
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
30002cf8:	e24dd01c 	sub	sp, sp, #28                                   
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
30002cfc:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
30002d00:	e1a04001 	mov	r4, r1                                        
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
30002d04:	e3530003 	cmp	r3, #3                                        
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
30002d08:	e1a06000 	mov	r6, r0                                        
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
30002d0c:	0a000006 	beq	30002d2c <IMFS_unlink+0x3c>                   
                                                                      
  /*                                                                  
   *  Now actually free the node we were asked to free.               
   */                                                                 
                                                                      
  result = (*loc->handlers->rmnod_h)( parentloc, loc );               
30002d10:	e1a00006 	mov	r0, r6                                        
30002d14:	e1a01004 	mov	r1, r4                                        
30002d18:	e5943008 	ldr	r3, [r4, #8]                                  
30002d1c:	e1a0e00f 	mov	lr, pc                                        
30002d20:	e593f034 	ldr	pc, [r3, #52]	; 0x34                          
                                                                      
  return result;                                                      
}                                                                     
30002d24:	e28dd01c 	add	sp, sp, #28                                   
30002d28:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
30002d2c:	e595e050 	ldr	lr, [r5, #80]	; 0x50                          
30002d30:	e35e0000 	cmp	lr, #0                                        
30002d34:	0a00001f 	beq	30002db8 <IMFS_unlink+0xc8>                   
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    the_link = *loc;                                                  
30002d38:	e1a0c00d 	mov	ip, sp                                        
30002d3c:	e1a07001 	mov	r7, r1                                        
30002d40:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
30002d44:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
    the_link.node_access = node->info.hard_link.link_node;            
30002d48:	e28d801c 	add	r8, sp, #28                                   
30002d4c:	e528e01c 	str	lr, [r8, #-28]!                               
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    the_link = *loc;                                                  
30002d50:	e5973000 	ldr	r3, [r7]                                      
    the_link.node_access = node->info.hard_link.link_node;            
    IMFS_Set_handlers( &the_link );                                   
30002d54:	e1a0000d 	mov	r0, sp                                        
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    the_link = *loc;                                                  
30002d58:	e58c3000 	str	r3, [ip]                                      
    the_link.node_access = node->info.hard_link.link_node;            
    IMFS_Set_handlers( &the_link );                                   
30002d5c:	eb002c23 	bl	3000ddf0 <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)               
30002d60:	e5953050 	ldr	r3, [r5, #80]	; 0x50                          
30002d64:	e1d323b4 	ldrh	r2, [r3, #52]	; 0x34                         
30002d68:	e3520001 	cmp	r2, #1                                        
30002d6c:	0a000008 	beq	30002d94 <IMFS_unlink+0xa4>                   
        if ( result != 0 )                                            
            return -1;                                                
    }                                                                 
    else                                                              
    {                                                                 
        node->info.hard_link.link_node->st_nlink --;                  
30002d70:	e2422001 	sub	r2, r2, #1                                    
30002d74:	e1c323b4 	strh	r2, [r3, #52]	; 0x34                         
        IMFS_update_ctime( node->info.hard_link.link_node );          
30002d78:	e28d0014 	add	r0, sp, #20                                   
30002d7c:	e3a01000 	mov	r1, #0                                        
30002d80:	eb0001a0 	bl	30003408 <gettimeofday>                        
30002d84:	e5953050 	ldr	r3, [r5, #80]	; 0x50                          
30002d88:	e59d2014 	ldr	r2, [sp, #20]                                 
30002d8c:	e5832048 	str	r2, [r3, #72]	; 0x48                          
30002d90:	eaffffde 	b	30002d10 <IMFS_unlink+0x20>                     
     *  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 );
30002d94:	e1a0100d 	mov	r1, sp                                        
30002d98:	e1a00006 	mov	r0, r6                                        
30002d9c:	e59d3008 	ldr	r3, [sp, #8]                                  
30002da0:	e1a0e00f 	mov	lr, pc                                        
30002da4:	e593f034 	ldr	pc, [r3, #52]	; 0x34                          
        if ( result != 0 )                                            
30002da8:	e3500000 	cmp	r0, #0                                        
30002dac:	13e00000 	mvnne	r0, #0                                      
30002db0:	0affffd6 	beq	30002d10 <IMFS_unlink+0x20>                   
30002db4:	eaffffda 	b	30002d24 <IMFS_unlink+0x34>                     
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
30002db8:	eb003d78 	bl	300123a0 <__errno>                             <== NOT EXECUTED
30002dbc:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
30002dc0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30002dc4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30002dc8:	eaffffd5 	b	30002d24 <IMFS_unlink+0x34>                     <== NOT EXECUTED
                                                                      
30002dcc <IMFS_unmount>:                                              
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
30002dcc:	e5903008 	ldr	r3, [r0, #8]                                  
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_unmount(                                                     
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
30002dd0:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
                                                                      
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
30002dd4:	e593204c 	ldr	r2, [r3, #76]	; 0x4c                          
30002dd8:	e3520001 	cmp	r2, #1                                        
30002ddc:	1a000005 	bne	30002df8 <IMFS_unmount+0x2c>                  
                                                                      
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
30002de0:	e593205c 	ldr	r2, [r3, #92]	; 0x5c                          
30002de4:	e3520000 	cmp	r2, #0                                        
30002de8:	0a000007 	beq	30002e0c <IMFS_unmount+0x40>                  
  /*                                                                  
   * 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;                                  
30002dec:	e3a00000 	mov	r0, #0                                        
30002df0:	e583005c 	str	r0, [r3, #92]	; 0x5c                          
                                                                      
  return 0;                                                           
}                                                                     
30002df4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
30002df8:	eb003d68 	bl	300123a0 <__errno>                             <== NOT EXECUTED
30002dfc:	e3a03014 	mov	r3, #20                                       <== NOT EXECUTED
30002e00:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30002e04:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30002e08:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== 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 */        
30002e0c:	eb003d63 	bl	300123a0 <__errno>                             <== NOT EXECUTED
30002e10:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
30002e14:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30002e18:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30002e1c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
30001d70 <RTEMS_Malloc_Initialize>:                                   
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
30001d70:	e59f30d0 	ldr	r3, [pc, #208]	; 30001e48 <RTEMS_Malloc_Initialize+0xd8>
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
30001d74:	e92d4070 	push	{r4, r5, r6, lr}                             
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
30001d78:	e5933000 	ldr	r3, [r3]                                      
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
30001d7c:	e1a05000 	mov	r5, r0                                        
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
30001d80:	e3530000 	cmp	r3, #0                                        
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
30001d84:	e1a06001 	mov	r6, r1                                        
30001d88:	e1a04002 	mov	r4, r2                                        
                                                                      
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
    (*rtems_malloc_statistics_helpers->initialize)();                 
30001d8c:	11a0e00f 	movne	lr, pc                                      
30001d90:	1593f000 	ldrne	pc, [r3]                                    
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize the garbage collection list to start with nothing on it.
   */                                                                 
  malloc_deferred_frees_initialize();                                 
30001d94:	ebffffe1 	bl	30001d20 <malloc_deferred_frees_initialize>    
                                                                      
  /*                                                                  
   *  Initialize the optional sbrk support for extending the heap     
   */                                                                 
  if ( rtems_malloc_sbrk_helpers != NULL ) {                          
30001d98:	e59f30ac 	ldr	r3, [pc, #172]	; 30001e4c <RTEMS_Malloc_Initialize+0xdc>
30001d9c:	e5933000 	ldr	r3, [r3]                                      
30001da0:	e3530000 	cmp	r3, #0                                        
30001da4:	0a000006 	beq	30001dc4 <RTEMS_Malloc_Initialize+0x54>       
    void *new_heap_begin = (*rtems_malloc_sbrk_helpers->initialize)(  
30001da8:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
30001dac:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
30001db0:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30001db4:	e593f000 	ldr	pc, [r3]                                      <== NOT EXECUTED
      heap_begin,                                                     
      sbrk_amount                                                     
    );                                                                
                                                                      
    heap_size -= (uintptr_t) new_heap_begin - (uintptr_t) heap_begin; 
30001db8:	e0856006 	add	r6, r5, r6                                    <== NOT EXECUTED
30001dbc:	e0606006 	rsb	r6, r0, r6                                    <== NOT EXECUTED
30001dc0:	e1a05000 	mov	r5, r0                                        <== 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 (                                                                
30001dc4:	e59f4084 	ldr	r4, [pc, #132]	; 30001e50 <RTEMS_Malloc_Initialize+0xe0>
30001dc8:	e5d41000 	ldrb	r1, [r4]                                     
30001dcc:	e3510000 	cmp	r1, #0                                        
30001dd0:	1a000018 	bne	30001e38 <RTEMS_Malloc_Initialize+0xc8>       
    !rtems_unified_work_area                                          
      && rtems_configuration_get_do_zero_of_workspace()               
30001dd4:	e59f3078 	ldr	r3, [pc, #120]	; 30001e54 <RTEMS_Malloc_Initialize+0xe4>
30001dd8:	e5d33028 	ldrb	r3, [r3, #40]	; 0x28                         
30001ddc:	e3530000 	cmp	r3, #0                                        
30001de0:	1a00000e 	bne	30001e20 <RTEMS_Malloc_Initialize+0xb0>       
  void *area_begin,                                                   
  uintptr_t area_size,                                                
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return _Heap_Initialize( heap, area_begin, area_size, page_size );  
30001de4:	e59f406c 	ldr	r4, [pc, #108]	; 30001e58 <RTEMS_Malloc_Initialize+0xe8>
30001de8:	e1a01005 	mov	r1, r5                                        
30001dec:	e1a02006 	mov	r2, r6                                        
30001df0:	e5940000 	ldr	r0, [r4]                                      
30001df4:	e3a03004 	mov	r3, #4                                        
30001df8:	eb00101c 	bl	30005e70 <_Heap_Initialize>                    
      RTEMS_Malloc_Heap,                                              
      heap_begin,                                                     
      heap_size,                                                      
      CPU_HEAP_ALIGNMENT                                              
    );                                                                
    if ( status == 0 ) {                                              
30001dfc:	e3500000 	cmp	r0, #0                                        
30001e00:	0a00000e 	beq	30001e40 <RTEMS_Malloc_Initialize+0xd0>       
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size(RTEMS_Malloc_Heap) );
30001e04:	e59f5050 	ldr	r5, [pc, #80]	; 30001e5c <RTEMS_Malloc_Initialize+0xec>
30001e08:	e5940000 	ldr	r0, [r4]                                      
30001e0c:	e5954000 	ldr	r4, [r5]                                      
30001e10:	eb00131f 	bl	30006a94 <_Protected_heap_Get_size>            
30001e14:	e0800004 	add	r0, r0, r4                                    
30001e18:	e5850000 	str	r0, [r5]                                      
      printk( "\n" );                                                 
      rtems_print_buffer( (heap_begin + heap_size) - 48, 48 );        
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  #endif                                                              
}                                                                     
30001e1c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
  if (                                                                
    !rtems_unified_work_area                                          
      && rtems_configuration_get_do_zero_of_workspace()               
  ) {                                                                 
     memset( heap_begin, 0, heap_size );                              
30001e20:	e1a00005 	mov	r0, r5                                        
30001e24:	e1a02006 	mov	r2, r6                                        
30001e28:	eb002d06 	bl	3000d248 <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 ) {                                   
30001e2c:	e5d43000 	ldrb	r3, [r4]                                     
30001e30:	e3530000 	cmp	r3, #0                                        
30001e34:	0affffea 	beq	30001de4 <RTEMS_Malloc_Initialize+0x74>       
30001e38:	e59f4018 	ldr	r4, [pc, #24]	; 30001e58 <RTEMS_Malloc_Initialize+0xe8>
30001e3c:	eafffff0 	b	30001e04 <RTEMS_Malloc_Initialize+0x94>         
      heap_begin,                                                     
      heap_size,                                                      
      CPU_HEAP_ALIGNMENT                                              
    );                                                                
    if ( status == 0 ) {                                              
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
30001e40:	e280001a 	add	r0, r0, #26                                   <== NOT EXECUTED
30001e44:	eb000e1f 	bl	300056c8 <rtems_fatal_error_occurred>          <== NOT EXECUTED
30001e48:	300195a0 	.word	0x300195a0                                  
30001e4c:	300195a4 	.word	0x300195a4                                  
30001e50:	3001959d 	.word	0x3001959d                                  
30001e54:	30018ed8 	.word	0x30018ed8                                  
30001e58:	30018e30 	.word	0x30018e30                                  
30001e5c:	30019968 	.word	0x30019968                                  
                                                                      
30002fe4 <Stack_check_Dump_threads_usage>:                            
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
30002fe4:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         <== NOT EXECUTED
  void           *high_water_mark;                                    
  void           *current;                                            
  Stack_Control  *stack;                                              
  char            name[5];                                            
                                                                      
  if ( !the_thread )                                                  
30002fe8:	e250a000 	subs	sl, r0, #0                                   <== NOT EXECUTED
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
30002fec:	e24dd010 	sub	sp, sp, #16                                   <== NOT EXECUTED
  void           *high_water_mark;                                    
  void           *current;                                            
  Stack_Control  *stack;                                              
  char            name[5];                                            
                                                                      
  if ( !the_thread )                                                  
30002ff0:	0a000031 	beq	300030bc <Stack_check_Dump_threads_usage+0xd8><== NOT EXECUTED
    return;                                                           
                                                                      
  if ( !print_handler )                                               
30002ff4:	e59f4110 	ldr	r4, [pc, #272]	; 3000310c <Stack_check_Dump_threads_usage+0x128><== NOT EXECUTED
30002ff8:	e5947004 	ldr	r7, [r4, #4]                                  <== NOT EXECUTED
30002ffc:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
30003000:	0a00002d 	beq	300030bc <Stack_check_Dump_threads_usage+0xd8><== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
                                                                      
  if (the_thread == (Thread_Control *) -1) {                          
30003004:	e37a0001 	cmn	sl, #1                                        <== NOT EXECUTED
30003008:	0a000032 	beq	300030d8 <Stack_check_Dump_threads_usage+0xf4><== NOT EXECUTED
    }                                                                 
    else                                                              
      return;                                                         
  } else {                                                            
    stack  = &the_thread->Start.Initial_stack;                        
    current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );  
3000300c:	e59a80f0 	ldr	r8, [sl, #240]	; 0xf0                         <== NOT EXECUTED
      current = 0;                                                    
    }                                                                 
    else                                                              
      return;                                                         
  } else {                                                            
    stack  = &the_thread->Start.Initial_stack;                        
30003010:	e28a50c0 	add	r5, sl, #192	; 0xc0                           <== NOT EXECUTED
    current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );  
  }                                                                   
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
30003014:	e8950240 	ldm	r5, {r6, r9}                                  <== NOT EXECUTED
30003018:	e2899010 	add	r9, r9, #16                                   <== NOT EXECUTED
  size = Stack_check_usable_stack_size(stack);                        
3000301c:	e2466010 	sub	r6, r6, #16                                   <== NOT EXECUTED
                                                                      
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
30003020:	e1a00009 	mov	r0, r9                                        <== NOT EXECUTED
30003024:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
30003028:	ebffffd8 	bl	30002f90 <Stack_check_find_high_water_mark>    <== NOT EXECUTED
                                                                      
  if ( high_water_mark )                                              
3000302c:	e250b000 	subs	fp, r0, #0                                   <== NOT EXECUTED
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
30003030:	10899006 	addne	r9, r9, r6                                  <== NOT EXECUTED
30003034:	106bb009 	rsbne	fp, fp, r9                                  <== NOT EXECUTED
  else                                                                
    used = 0;                                                         
                                                                      
  if ( the_thread ) {                                                 
30003038:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
3000303c:	0a00002c 	beq	300030f4 <Stack_check_Dump_threads_usage+0x110><== NOT EXECUTED
    (*print_handler)(                                                 
30003040:	e59aa008 	ldr	sl, [sl, #8]                                  <== NOT EXECUTED
30003044:	e28d2008 	add	r2, sp, #8                                    <== NOT EXECUTED
30003048:	e3a01005 	mov	r1, #5                                        <== NOT EXECUTED
3000304c:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
30003050:	e5949008 	ldr	r9, [r4, #8]                                  <== NOT EXECUTED
30003054:	eb0016e2 	bl	30008be4 <rtems_object_get_name>               <== NOT EXECUTED
30003058:	e1a0200a 	mov	r2, sl                                        <== NOT EXECUTED
3000305c:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
30003060:	e59f10a8 	ldr	r1, [pc, #168]	; 30003110 <Stack_check_Dump_threads_usage+0x12c><== NOT EXECUTED
30003064:	e1a00009 	mov	r0, r9                                        <== NOT EXECUTED
30003068:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
3000306c:	e12fff17 	bx	r7                                             <== NOT EXECUTED
    );                                                                
  } else {                                                            
    (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );   
  }                                                                   
                                                                      
  (*print_handler)(                                                   
30003070:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
30003074:	e5952004 	ldr	r2, [r5, #4]                                  <== NOT EXECUTED
30003078:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
3000307c:	e0823003 	add	r3, r2, r3                                    <== NOT EXECUTED
30003080:	e5940008 	ldr	r0, [r4, #8]                                  <== NOT EXECUTED
30003084:	e58d8000 	str	r8, [sp]                                      <== NOT EXECUTED
30003088:	e58d6004 	str	r6, [sp, #4]                                  <== NOT EXECUTED
3000308c:	e59f1080 	ldr	r1, [pc, #128]	; 30003114 <Stack_check_Dump_threads_usage+0x130><== NOT EXECUTED
30003090:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30003094:	e594f004 	ldr	pc, [r4, #4]                                  <== NOT EXECUTED
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
30003098:	e5942000 	ldr	r2, [r4]                                      <== NOT EXECUTED
    );                                                                
  } else {                                                            
    (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );   
  }                                                                   
                                                                      
  (*print_handler)(                                                   
3000309c:	e59f3068 	ldr	r3, [pc, #104]	; 3000310c <Stack_check_Dump_threads_usage+0x128><== NOT EXECUTED
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
300030a0:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
300030a4:	0a000006 	beq	300030c4 <Stack_check_Dump_threads_usage+0xe0><== NOT EXECUTED
    (*print_handler)( print_context, "Unavailable\n" );               
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
300030a8:	e1a0200b 	mov	r2, fp                                        <== NOT EXECUTED
300030ac:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
300030b0:	e59f1060 	ldr	r1, [pc, #96]	; 30003118 <Stack_check_Dump_threads_usage+0x134><== NOT EXECUTED
300030b4:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
300030b8:	e593f004 	ldr	pc, [r3, #4]                                  <== NOT EXECUTED
  }                                                                   
                                                                      
                                                                      
}                                                                     
300030bc:	e28dd010 	add	sp, sp, #16                                   <== NOT EXECUTED
300030c0:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
    (*print_handler)( print_context, "Unavailable\n" );               
300030c4:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
300030c8:	e59f104c 	ldr	r1, [pc, #76]	; 3000311c <Stack_check_Dump_threads_usage+0x138><== NOT EXECUTED
300030cc:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
300030d0:	e593f004 	ldr	pc, [r3, #4]                                  <== NOT EXECUTED
300030d4:	eafffff8 	b	300030bc <Stack_check_Dump_threads_usage+0xd8>  <== NOT EXECUTED
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
                                                                      
  if (the_thread == (Thread_Control *) -1) {                          
    if (Stack_check_Interrupt_stack.area) {                           
300030d8:	e59f5040 	ldr	r5, [pc, #64]	; 30003120 <Stack_check_Dump_threads_usage+0x13c><== NOT EXECUTED
300030dc:	e5953004 	ldr	r3, [r5, #4]                                  <== NOT EXECUTED
300030e0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300030e4:	13a08000 	movne	r8, #0                                      <== NOT EXECUTED
300030e8:	11a0a008 	movne	sl, r8                                      <== NOT EXECUTED
300030ec:	1affffc8 	bne	30003014 <Stack_check_Dump_threads_usage+0x30><== NOT EXECUTED
300030f0:	eafffff1 	b	300030bc <Stack_check_Dump_threads_usage+0xd8>  <== 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 );   
300030f4:	e5940008 	ldr	r0, [r4, #8]                                  <== NOT EXECUTED
300030f8:	e59f1024 	ldr	r1, [pc, #36]	; 30003124 <Stack_check_Dump_threads_usage+0x140><== NOT EXECUTED
300030fc:	e3e02000 	mvn	r2, #0                                        <== NOT EXECUTED
30003100:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30003104:	e12fff17 	bx	r7                                             <== NOT EXECUTED
30003108:	eaffffd8 	b	30003070 <Stack_check_Dump_threads_usage+0x8c>  <== NOT EXECUTED
3000310c:	30062d4c 	.word	0x30062d4c                                  
30003110:	3005a90c 	.word	0x3005a90c                                  
30003114:	3005a92c 	.word	0x3005a92c                                  
30003118:	3005a95c 	.word	0x3005a95c                                  
3000311c:	3005a94c 	.word	0x3005a94c                                  
30003120:	30065a38 	.word	0x30065a38                                  
30003124:	3005a91c 	.word	0x3005a91c                                  
                                                                      
30002f90 <Stack_check_find_high_water_mark>:                          
    /*                                                                
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
30002f90:	e2803010 	add	r3, r0, #16                                   <== NOT EXECUTED
    for (ebase = base + length; base < ebase; base++)                 
30002f94:	e3c11003 	bic	r1, r1, #3                                    <== NOT EXECUTED
30002f98:	e0831001 	add	r1, r3, r1                                    <== NOT EXECUTED
30002f9c:	e1530001 	cmp	r3, r1                                        <== NOT EXECUTED
30002fa0:	2a00000a 	bcs	30002fd0 <Stack_check_find_high_water_mark+0x40><== NOT EXECUTED
      if (*base != U32_PATTERN)                                       
30002fa4:	e5900010 	ldr	r0, [r0, #16]                                 <== NOT EXECUTED
30002fa8:	e59f2030 	ldr	r2, [pc, #48]	; 30002fe0 <Stack_check_find_high_water_mark+0x50><== NOT EXECUTED
30002fac:	e1500002 	cmp	r0, r2                                        <== NOT EXECUTED
30002fb0:	0a000003 	beq	30002fc4 <Stack_check_find_high_water_mark+0x34><== NOT EXECUTED
30002fb4:	ea000007 	b	30002fd8 <Stack_check_find_high_water_mark+0x48><== NOT EXECUTED
30002fb8:	e5932000 	ldr	r2, [r3]                                      <== NOT EXECUTED
30002fbc:	e1520000 	cmp	r2, r0                                        <== NOT EXECUTED
30002fc0:	1a000004 	bne	30002fd8 <Stack_check_find_high_water_mark+0x48><== 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++)                 
30002fc4:	e2833004 	add	r3, r3, #4                                    <== NOT EXECUTED
30002fc8:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
30002fcc:	8afffff9 	bhi	30002fb8 <Stack_check_find_high_water_mark+0x28><== NOT EXECUTED
30002fd0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
      if (*base != U32_PATTERN)                                       
        return (void *) base;                                         
  #endif                                                              
                                                                      
  return (void *)0;                                                   
}                                                                     
30002fd4:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
      if (*base != U32_PATTERN)                                       
        return (void *) base;                                         
30002fd8:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
30002fdc:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
30002fe0:	a5a5a5a5 	.word	0xa5a5a5a5                                  
                                                                      
3000319c <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)
{                                                                     
3000319c:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
300031a0:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
300031a4:	e24dd020 	sub	sp, sp, #32                                   <== NOT EXECUTED
  Stack_Control *stack = &running->Start.Initial_stack;               
  void *pattern_area = Stack_check_Get_pattern_area(stack);           
  char name [32];                                                     
                                                                      
  printk("BLOWN STACK!!!\n");                                         
300031a8:	e59f0084 	ldr	r0, [pc, #132]	; 30003234 <Stack_check_report_blown_task+0x98><== NOT EXECUTED
 *                                                                    
 *  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)
{                                                                     
300031ac:	e20140ff 	and	r4, r1, #255	; 0xff                           <== NOT EXECUTED
  Stack_Control *stack = &running->Start.Initial_stack;               
  void *pattern_area = Stack_check_Get_pattern_area(stack);           
300031b0:	e59650c4 	ldr	r5, [r6, #196]	; 0xc4                         <== NOT EXECUTED
  char name [32];                                                     
                                                                      
  printk("BLOWN STACK!!!\n");                                         
300031b4:	eb000b25 	bl	30005e50 <printk>                              <== NOT EXECUTED
  printk("task control block: 0x%08" PRIxPTR "\n", running);          
300031b8:	e59f0078 	ldr	r0, [pc, #120]	; 30003238 <Stack_check_report_blown_task+0x9c><== NOT EXECUTED
300031bc:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
300031c0:	eb000b22 	bl	30005e50 <printk>                              <== NOT EXECUTED
  printk("task ID: 0x%08lx\n", (unsigned long) running->Object.id);   
300031c4:	e59f0070 	ldr	r0, [pc, #112]	; 3000323c <Stack_check_report_blown_task+0xa0><== NOT EXECUTED
300031c8:	e5961008 	ldr	r1, [r6, #8]                                  <== NOT EXECUTED
300031cc:	eb000b1f 	bl	30005e50 <printk>                              <== NOT EXECUTED
  printk(                                                             
300031d0:	e59f0068 	ldr	r0, [pc, #104]	; 30003240 <Stack_check_report_blown_task+0xa4><== NOT EXECUTED
300031d4:	e596100c 	ldr	r1, [r6, #12]                                 <== NOT EXECUTED
300031d8:	eb000b1c 	bl	30005e50 <printk>                              <== NOT EXECUTED
    "task name: 0x%08" PRIx32 "\n",                                   
    running->Object.name.name_u32                                     
  );                                                                  
  printk(                                                             
300031dc:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
300031e0:	e3a01020 	mov	r1, #32                                       <== NOT EXECUTED
300031e4:	e5960008 	ldr	r0, [r6, #8]                                  <== NOT EXECUTED
300031e8:	eb00167d 	bl	30008be4 <rtems_object_get_name>               <== NOT EXECUTED
300031ec:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
300031f0:	e59f004c 	ldr	r0, [pc, #76]	; 30003244 <Stack_check_report_blown_task+0xa8><== NOT EXECUTED
300031f4:	eb000b15 	bl	30005e50 <printk>                              <== NOT EXECUTED
    "task name string: %s\n",                                         
    rtems_object_get_name(running->Object.id, sizeof(name), name)     
  );                                                                  
  printk(                                                             
300031f8:	e59610c0 	ldr	r1, [r6, #192]	; 0xc0                         <== NOT EXECUTED
300031fc:	e59620c4 	ldr	r2, [r6, #196]	; 0xc4                         <== NOT EXECUTED
30003200:	e59f0040 	ldr	r0, [pc, #64]	; 30003248 <Stack_check_report_blown_task+0xac><== NOT EXECUTED
30003204:	e0823001 	add	r3, r2, r1                                    <== NOT EXECUTED
30003208:	eb000b10 	bl	30005e50 <printk>                              <== NOT EXECUTED
    "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) {                                                  
3000320c:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
30003210:	0a000001 	beq	3000321c <Stack_check_report_blown_task+0x80> <== NOT EXECUTED
          rtems_configuration_get_user_multiprocessing_table()->node  
      );                                                              
    }                                                                 
  #endif                                                              
                                                                      
  rtems_fatal_error_occurred(0x81);                                   
30003214:	e3a00081 	mov	r0, #129	; 0x81                               <== NOT EXECUTED
30003218:	eb001897 	bl	3000947c <rtems_fatal_error_occurred>          <== NOT EXECUTED
    (unsigned long) stack->size,                                      
    stack->area,                                                      
    ((char *) stack->area + stack->size)                              
  );                                                                  
  if (!pattern_ok) {                                                  
    printk(                                                           
3000321c:	e2853018 	add	r3, r5, #24                                   <== NOT EXECUTED
30003220:	e59f0024 	ldr	r0, [pc, #36]	; 3000324c <Stack_check_report_blown_task+0xb0><== NOT EXECUTED
30003224:	e3a01010 	mov	r1, #16                                       <== NOT EXECUTED
30003228:	e2852008 	add	r2, r5, #8                                    <== NOT EXECUTED
3000322c:	eb000b07 	bl	30005e50 <printk>                              <== NOT EXECUTED
30003230:	eafffff7 	b	30003214 <Stack_check_report_blown_task+0x78>   <== NOT EXECUTED
30003234:	3005a9c8 	.word	0x3005a9c8                                  
30003238:	3005a9d8 	.word	0x3005a9d8                                  
3000323c:	3005a9f8 	.word	0x3005a9f8                                  
30003240:	3005aa0c 	.word	0x3005aa0c                                  
30003244:	3005aa20 	.word	0x3005aa20                                  
30003248:	3005aa38 	.word	0x3005aa38                                  
3000324c:	3005aa6c 	.word	0x3005aa6c                                  
                                                                      
3000a3b8 <_CORE_mutex_Seize_interrupt_trylock>:                       
{                                                                     
  Thread_Control   *executing;                                        
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
3000a3b8:	e59f3154 	ldr	r3, [pc, #340]	; 3000a514 <_CORE_mutex_Seize_interrupt_trylock+0x15c>
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
3000a3bc:	e3a02000 	mov	r2, #0                                        
{                                                                     
  Thread_Control   *executing;                                        
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
3000a3c0:	e5933000 	ldr	r3, [r3]                                      
#if defined(__RTEMS_DO_NOT_INLINE_CORE_MUTEX_SEIZE__)                 
int _CORE_mutex_Seize_interrupt_trylock(                              
  CORE_mutex_Control  *the_mutex,                                     
  ISR_Level           *level_p                                        
)                                                                     
{                                                                     
3000a3c4:	e92d4070 	push	{r4, r5, r6, lr}                             
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
3000a3c8:	e5832034 	str	r2, [r3, #52]	; 0x34                          
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
3000a3cc:	e590c050 	ldr	ip, [r0, #80]	; 0x50                          
3000a3d0:	e15c0002 	cmp	ip, r2                                        
3000a3d4:	0a00000e 	beq	3000a414 <_CORE_mutex_Seize_interrupt_trylock+0x5c>
    the_mutex->lock       = CORE_MUTEX_LOCKED;                        
3000a3d8:	e5802050 	str	r2, [r0, #80]	; 0x50                          
 */                                                                   
RTEMS_INLINE_ROUTINE bool _CORE_mutex_Is_inherit_priority(            
  CORE_mutex_Attributes *the_attribute                                
)                                                                     
{                                                                     
  return the_attribute->discipline == CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT;
3000a3dc:	e590c048 	ldr	ip, [r0, #72]	; 0x48                          
  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;                                
    the_mutex->holder_id  = executing->Object.id;                     
3000a3e0:	e5935008 	ldr	r5, [r3, #8]                                  
    the_mutex->nest_count = 1;                                        
3000a3e4:	e3a04001 	mov	r4, #1                                        
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
3000a3e8:	e35c0002 	cmp	ip, #2                                        
  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;                                
    the_mutex->holder_id  = executing->Object.id;                     
3000a3ec:	e5805060 	str	r5, [r0, #96]	; 0x60                          
                                                                      
  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;                                
3000a3f0:	e580305c 	str	r3, [r0, #92]	; 0x5c                          
    the_mutex->holder_id  = executing->Object.id;                     
    the_mutex->nest_count = 1;                                        
3000a3f4:	e5804054 	str	r4, [r0, #84]	; 0x54                          
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
3000a3f8:	0a00000a 	beq	3000a428 <_CORE_mutex_Seize_interrupt_trylock+0x70>
3000a3fc:	e35c0003 	cmp	ip, #3                                        
3000a400:	0a000019 	beq	3000a46c <_CORE_mutex_Seize_interrupt_trylock+0xb4>
3000a404:	e5913000 	ldr	r3, [r1]                                      
3000a408:	e129f003 	msr	CPSR_fc, r3                                   
3000a40c:	e3a00000 	mov	r0, #0                                        
3000a410:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  /*                                                                  
   *  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 ) ) {                  
3000a414:	e590205c 	ldr	r2, [r0, #92]	; 0x5c                          
3000a418:	e1530002 	cmp	r3, r2                                        
3000a41c:	0a000008 	beq	3000a444 <_CORE_mutex_Seize_interrupt_trylock+0x8c>
3000a420:	e3a00001 	mov	r0, #1                                        
  return _CORE_mutex_Seize_interrupt_trylock_body( the_mutex, level_p );
}                                                                     
3000a424:	e8bd8070 	pop	{r4, r5, r6, pc}                              
       _Chain_Prepend_unprotected( &executing->lock_mutex,            
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = executing->current_priority;
#endif                                                                
                                                                      
      executing->resource_count++;                                    
3000a428:	e593201c 	ldr	r2, [r3, #28]                                 
3000a42c:	e2822001 	add	r2, r2, #1                                    
3000a430:	e583201c 	str	r2, [r3, #28]                                 
3000a434:	e5913000 	ldr	r3, [r1]                                      
3000a438:	e129f003 	msr	CPSR_fc, r3                                   
3000a43c:	e3a00000 	mov	r0, #0                                        
3000a440:	e8bd8070 	pop	{r4, r5, r6, pc}                              
   *  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 ) {          
3000a444:	e5902040 	ldr	r2, [r0, #64]	; 0x40                          
3000a448:	e3520000 	cmp	r2, #0                                        
3000a44c:	1a000017 	bne	3000a4b0 <_CORE_mutex_Seize_interrupt_trylock+0xf8>
      case CORE_MUTEX_NESTING_ACQUIRES:                               
        the_mutex->nest_count++;                                      
3000a450:	e5903054 	ldr	r3, [r0, #84]	; 0x54                          
3000a454:	e2833001 	add	r3, r3, #1                                    
3000a458:	e5803054 	str	r3, [r0, #84]	; 0x54                          
3000a45c:	e5913000 	ldr	r3, [r1]                                      
3000a460:	e129f003 	msr	CPSR_fc, r3                                   
3000a464:	e3a00000 	mov	r0, #0                                        
3000a468:	e8bd8070 	pop	{r4, r5, r6, pc}                              
       _Chain_Prepend_unprotected( &executing->lock_mutex,            
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = executing->current_priority;
#endif                                                                
                                                                      
      executing->resource_count++;                                    
3000a46c:	e593c01c 	ldr	ip, [r3, #28]                                 
    {                                                                 
      Priority_Control  ceiling;                                      
      Priority_Control  current;                                      
                                                                      
      ceiling = the_mutex->Attributes.priority_ceiling;               
      current = executing->current_priority;                          
3000a470:	e5935014 	ldr	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++;                                    
3000a474:	e08c6004 	add	r6, ip, r4                                    
3000a478:	e583601c 	str	r6, [r3, #28]                                 
       */                                                             
    {                                                                 
      Priority_Control  ceiling;                                      
      Priority_Control  current;                                      
                                                                      
      ceiling = the_mutex->Attributes.priority_ceiling;               
3000a47c:	e590604c 	ldr	r6, [r0, #76]	; 0x4c                          
      current = executing->current_priority;                          
      if ( current == ceiling ) {                                     
3000a480:	e1560005 	cmp	r6, r5                                        
3000a484:	0a00001e 	beq	3000a504 <_CORE_mutex_Seize_interrupt_trylock+0x14c>
        _ISR_Enable( *level_p );                                      
        return 0;                                                     
      }                                                               
                                                                      
      if ( current > ceiling ) {                                      
3000a488:	3a000010 	bcc	3000a4d0 <_CORE_mutex_Seize_interrupt_trylock+0x118>
        );                                                            
        _Thread_Enable_dispatch();                                    
        return 0;                                                     
      }                                                               
      /* if ( current < ceiling ) */ {                                
        executing->Wait.return_code = CORE_MUTEX_STATUS_CEILING_VIOLATED;
3000a48c:	e3a05006 	mov	r5, #6                                        
3000a490:	e5835034 	str	r5, [r3, #52]	; 0x34                          
        the_mutex->lock       = CORE_MUTEX_UNLOCKED;                  
        the_mutex->nest_count = 0;     /* undo locking above */       
3000a494:	e5802054 	str	r2, [r0, #84]	; 0x54                          
        _Thread_Enable_dispatch();                                    
        return 0;                                                     
      }                                                               
      /* if ( current < ceiling ) */ {                                
        executing->Wait.return_code = CORE_MUTEX_STATUS_CEILING_VIOLATED;
        the_mutex->lock       = CORE_MUTEX_UNLOCKED;                  
3000a498:	e5804050 	str	r4, [r0, #80]	; 0x50                          
        the_mutex->nest_count = 0;     /* undo locking above */       
        executing->resource_count--;   /* undo locking above */       
3000a49c:	e583c01c 	str	ip, [r3, #28]                                 
3000a4a0:	e5913000 	ldr	r3, [r1]                                      
3000a4a4:	e129f003 	msr	CPSR_fc, r3                                   
3000a4a8:	e3a00000 	mov	r0, #0                                        
3000a4ac:	e8bd8070 	pop	{r4, r5, r6, pc}                              
   *  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 ) {          
3000a4b0:	e3520001 	cmp	r2, #1                                        
3000a4b4:	1affffd9 	bne	3000a420 <_CORE_mutex_Seize_interrupt_trylock+0x68>
      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;
3000a4b8:	e3a02002 	mov	r2, #2                                        <== NOT EXECUTED
3000a4bc:	e5832034 	str	r2, [r3, #52]	; 0x34                          <== NOT EXECUTED
3000a4c0:	e5913000 	ldr	r3, [r1]                                      <== NOT EXECUTED
3000a4c4:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
3000a4c8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
3000a4cc:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
3000a4d0:	e59f3040 	ldr	r3, [pc, #64]	; 3000a518 <_CORE_mutex_Seize_interrupt_trylock+0x160>
3000a4d4:	e5932000 	ldr	r2, [r3]                                      
3000a4d8:	e2822001 	add	r2, r2, #1                                    
3000a4dc:	e5832000 	str	r2, [r3]                                      
3000a4e0:	e5913000 	ldr	r3, [r1]                                      
3000a4e4:	e129f003 	msr	CPSR_fc, r3                                   
      }                                                               
                                                                      
      if ( current > ceiling ) {                                      
        _Thread_Disable_dispatch();                                   
        _ISR_Enable( *level_p );                                      
        _Thread_Change_priority(                                      
3000a4e8:	e3a02000 	mov	r2, #0                                        
3000a4ec:	e590104c 	ldr	r1, [r0, #76]	; 0x4c                          
3000a4f0:	e590005c 	ldr	r0, [r0, #92]	; 0x5c                          
3000a4f4:	ebfff17e 	bl	30006af4 <_Thread_Change_priority>             
          the_mutex->holder,                                          
          the_mutex->Attributes.priority_ceiling,                     
         false                                                        
        );                                                            
        _Thread_Enable_dispatch();                                    
3000a4f8:	ebfff2e7 	bl	3000709c <_Thread_Enable_dispatch>             
3000a4fc:	e3a00000 	mov	r0, #0                                        
3000a500:	e8bd8070 	pop	{r4, r5, r6, pc}                              
3000a504:	e5913000 	ldr	r3, [r1]                                      
3000a508:	e129f003 	msr	CPSR_fc, r3                                   
3000a50c:	e3a00000 	mov	r0, #0                                        
3000a510:	e8bd8070 	pop	{r4, r5, r6, pc}                              
3000a514:	30019b80 	.word	0x30019b80                                  
3000a518:	30019acc 	.word	0x30019acc                                  
                                                                      
3000a604 <_Heap_Allocate_aligned_with_boundary>:                      
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
3000a604:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
3000a608:	e1a08002 	mov	r8, r2                                        
  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;                        
3000a60c:	e5902010 	ldr	r2, [r0, #16]                                 
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
3000a610:	e24dd01c 	sub	sp, sp, #28                                   
3000a614:	e1a05001 	mov	r5, r1                                        
    - HEAP_BLOCK_SIZE_OFFSET;                                         
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
3000a618:	e2911004 	adds	r1, r1, #4                                   
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
3000a61c:	e1a07000 	mov	r7, r0                                        
    - HEAP_BLOCK_SIZE_OFFSET;                                         
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
3000a620:	e58d1000 	str	r1, [sp]                                      
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
3000a624:	e1a0b003 	mov	fp, r3                                        
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
3000a628:	e590a008 	ldr	sl, [r0, #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;                        
3000a62c:	e58d200c 	str	r2, [sp, #12]                                 
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
3000a630:	2a000074 	bcs	3000a808 <_Heap_Allocate_aligned_with_boundary+0x204>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
3000a634:	e3530000 	cmp	r3, #0                                        
3000a638:	1a000070 	bne	3000a800 <_Heap_Allocate_aligned_with_boundary+0x1fc>
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
3000a63c:	e157000a 	cmp	r7, sl                                        
3000a640:	03a06000 	moveq	r6, #0                                      
3000a644:	0a000072 	beq	3000a814 <_Heap_Allocate_aligned_with_boundary+0x210>
  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;                         
3000a648:	e59d300c 	ldr	r3, [sp, #12]                                 
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
3000a64c:	e2651004 	rsb	r1, r5, #4                                    
  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;                         
3000a650:	e2833007 	add	r3, r3, #7                                    
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
3000a654:	e3a06000 	mov	r6, #0                                        
  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;                         
3000a658:	e58d3010 	str	r3, [sp, #16]                                 
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
3000a65c:	e58d1014 	str	r1, [sp, #20]                                 
3000a660:	ea000004 	b	3000a678 <_Heap_Allocate_aligned_with_boundary+0x74>
          boundary                                                    
        );                                                            
      }                                                               
    }                                                                 
                                                                      
    if ( alloc_begin != 0 ) {                                         
3000a664:	e3540000 	cmp	r4, #0                                        
3000a668:	1a000057 	bne	3000a7cc <_Heap_Allocate_aligned_with_boundary+0x1c8>
      break;                                                          
    }                                                                 
                                                                      
    block = block->next;                                              
3000a66c:	e59aa008 	ldr	sl, [sl, #8]                                  
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
3000a670:	e157000a 	cmp	r7, sl                                        
3000a674:	0a000066 	beq	3000a814 <_Heap_Allocate_aligned_with_boundary+0x210>
    /*                                                                
     * 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 ) {                  
3000a678:	e59a9004 	ldr	r9, [sl, #4]                                  
3000a67c:	e59d2000 	ldr	r2, [sp]                                      
                                                                      
  while ( block != free_list_tail ) {                                 
    _HAssert( _Heap_Is_prev_used( block ) );                          
                                                                      
    /* Statistics */                                                  
    ++search_count;                                                   
3000a680:	e2866001 	add	r6, r6, #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 ) {                  
3000a684:	e1520009 	cmp	r2, r9                                        
3000a688:	2afffff7 	bcs	3000a66c <_Heap_Allocate_aligned_with_boundary+0x68>
      if ( alignment == 0 ) {                                         
3000a68c:	e3580000 	cmp	r8, #0                                        
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
3000a690:	028a4008 	addeq	r4, sl, #8                                  
3000a694:	0afffff2 	beq	3000a664 <_Heap_Allocate_aligned_with_boundary+0x60>
  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;                     
3000a698:	e59d1014 	ldr	r1, [sp, #20]                                 
  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;               
3000a69c:	e3c99001 	bic	r9, r9, #1                                    
3000a6a0:	e08a9009 	add	r9, sl, r9                                    
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
3000a6a4:	e5973014 	ldr	r3, [r7, #20]                                 
  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;                         
3000a6a8:	e59d2010 	ldr	r2, [sp, #16]                                 
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
3000a6ac:	e0814009 	add	r4, r1, r9                                    
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
3000a6b0:	e58d3004 	str	r3, [sp, #4]                                  
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
3000a6b4:	e1a00004 	mov	r0, r4                                        
  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;                         
3000a6b8:	e0633002 	rsb	r3, r3, r2                                    
3000a6bc:	e1a01008 	mov	r1, r8                                        
3000a6c0:	e0839009 	add	r9, r3, r9                                    
3000a6c4:	eb002e4c 	bl	30015ffc <__umodsi3>                           
3000a6c8:	e0604004 	rsb	r4, r0, r4                                    
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
3000a6cc:	e28a3008 	add	r3, sl, #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 ) {                          
3000a6d0:	e1590004 	cmp	r9, r4                                        
3000a6d4:	e58d3008 	str	r3, [sp, #8]                                  
3000a6d8:	2a000003 	bcs	3000a6ec <_Heap_Allocate_aligned_with_boundary+0xe8>
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
3000a6dc:	e1a00009 	mov	r0, r9                                        
3000a6e0:	e1a01008 	mov	r1, r8                                        
3000a6e4:	eb002e44 	bl	30015ffc <__umodsi3>                           
3000a6e8:	e0604009 	rsb	r4, r0, r9                                    
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
3000a6ec:	e35b0000 	cmp	fp, #0                                        
3000a6f0:	0a000025 	beq	3000a78c <_Heap_Allocate_aligned_with_boundary+0x188>
  /* 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;                               
3000a6f4:	e0849005 	add	r9, r4, r5                                    
3000a6f8:	e1a00009 	mov	r0, r9                                        
3000a6fc:	e1a0100b 	mov	r1, fp                                        
3000a700:	eb002e3d 	bl	30015ffc <__umodsi3>                           
3000a704:	e0600009 	rsb	r0, r0, r9                                    
  /* 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 ) {
3000a708:	e1590000 	cmp	r9, r0                                        
3000a70c:	93a03000 	movls	r3, #0                                      
3000a710:	83a03001 	movhi	r3, #1                                      
3000a714:	e1540000 	cmp	r4, r0                                        
3000a718:	23a03000 	movcs	r3, #0                                      
3000a71c:	e3530000 	cmp	r3, #0                                        
3000a720:	0a000019 	beq	3000a78c <_Heap_Allocate_aligned_with_boundary+0x188>
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
3000a724:	e59d1008 	ldr	r1, [sp, #8]                                  
3000a728:	e0819005 	add	r9, r1, r5                                    
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
      if ( boundary_line < boundary_floor ) {                         
3000a72c:	e1590000 	cmp	r9, r0                                        
3000a730:	958d6018 	strls	r6, [sp, #24]                               
3000a734:	9a000002 	bls	3000a744 <_Heap_Allocate_aligned_with_boundary+0x140>
3000a738:	eaffffcb 	b	3000a66c <_Heap_Allocate_aligned_with_boundary+0x68>
3000a73c:	e1590000 	cmp	r9, r0                                        
3000a740:	8a000035 	bhi	3000a81c <_Heap_Allocate_aligned_with_boundary+0x218>
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
3000a744:	e0654000 	rsb	r4, r5, r0                                    
3000a748:	e1a01008 	mov	r1, r8                                        
3000a74c:	e1a00004 	mov	r0, r4                                        
3000a750:	eb002e29 	bl	30015ffc <__umodsi3>                           
3000a754:	e0604004 	rsb	r4, r0, r4                                    
      alloc_begin = _Heap_Align_down( alloc_begin, alignment );       
      alloc_end = alloc_begin + alloc_size;                           
3000a758:	e0846005 	add	r6, r4, r5                                    
3000a75c:	e1a00006 	mov	r0, r6                                        
3000a760:	e1a0100b 	mov	r1, fp                                        
3000a764:	eb002e24 	bl	30015ffc <__umodsi3>                           
3000a768:	e0600006 	rsb	r0, r0, r6                                    
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
3000a76c:	e1560000 	cmp	r6, r0                                        
3000a770:	93a03000 	movls	r3, #0                                      
3000a774:	83a03001 	movhi	r3, #1                                      
3000a778:	e1540000 	cmp	r4, r0                                        
3000a77c:	23a03000 	movcs	r3, #0                                      
3000a780:	e3530000 	cmp	r3, #0                                        
3000a784:	1affffec 	bne	3000a73c <_Heap_Allocate_aligned_with_boundary+0x138>
3000a788:	e59d6018 	ldr	r6, [sp, #24]                                 
      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 ) {                           
3000a78c:	e59d2008 	ldr	r2, [sp, #8]                                  
3000a790:	e1520004 	cmp	r2, r4                                        
3000a794:	8affffb4 	bhi	3000a66c <_Heap_Allocate_aligned_with_boundary+0x68>
    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;      
3000a798:	e59d100c 	ldr	r1, [sp, #12]                                 
3000a79c:	e1a00004 	mov	r0, r4                                        
3000a7a0:	eb002e15 	bl	30015ffc <__umodsi3>                           
3000a7a4:	e3e09007 	mvn	r9, #7                                        
3000a7a8:	e06a9009 	rsb	r9, sl, r9                                    
3000a7ac:	e0899004 	add	r9, r9, r4                                    
                                                                      
    if ( free_size >= min_block_size || free_size == 0 ) {            
3000a7b0:	e59d1004 	ldr	r1, [sp, #4]                                  
3000a7b4:	e0603009 	rsb	r3, r0, r9                                    
3000a7b8:	e1590000 	cmp	r9, r0                                        
3000a7bc:	11510003 	cmpne	r1, r3                                      
3000a7c0:	8affffa9 	bhi	3000a66c <_Heap_Allocate_aligned_with_boundary+0x68>
          boundary                                                    
        );                                                            
      }                                                               
    }                                                                 
                                                                      
    if ( alloc_begin != 0 ) {                                         
3000a7c4:	e3540000 	cmp	r4, #0                                        
3000a7c8:	0affffa7 	beq	3000a66c <_Heap_Allocate_aligned_with_boundary+0x68>
    block = block->next;                                              
  }                                                                   
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
3000a7cc:	e597304c 	ldr	r3, [r7, #76]	; 0x4c                          
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
3000a7d0:	e1a0100a 	mov	r1, sl                                        
    block = block->next;                                              
  }                                                                   
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
3000a7d4:	e0833006 	add	r3, r3, r6                                    
3000a7d8:	e587304c 	str	r3, [r7, #76]	; 0x4c                          
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
3000a7dc:	e1a00007 	mov	r0, r7                                        
3000a7e0:	e1a03005 	mov	r3, r5                                        
3000a7e4:	e1a02004 	mov	r2, r4                                        
3000a7e8:	ebffee39 	bl	300060d4 <_Heap_Block_allocate>                
3000a7ec:	e1a00004 	mov	r0, r4                                        
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
3000a7f0:	e5973044 	ldr	r3, [r7, #68]	; 0x44                          
3000a7f4:	e1530006 	cmp	r3, r6                                        
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
3000a7f8:	35876044 	strcc	r6, [r7, #68]	; 0x44                        
3000a7fc:	ea000002 	b	3000a80c <_Heap_Allocate_aligned_with_boundary+0x208>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
3000a800:	e1550003 	cmp	r5, r3                                        
3000a804:	9a000006 	bls	3000a824 <_Heap_Allocate_aligned_with_boundary+0x220>
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
3000a808:	e3a00000 	mov	r0, #0                                        
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
3000a80c:	e28dd01c 	add	sp, sp, #28                                   
3000a810:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
3000a814:	e3a00000 	mov	r0, #0                                        
3000a818:	eafffff4 	b	3000a7f0 <_Heap_Allocate_aligned_with_boundary+0x1ec>
3000a81c:	e59d6018 	ldr	r6, [sp, #24]                                 <== NOT EXECUTED
3000a820:	eaffff91 	b	3000a66c <_Heap_Allocate_aligned_with_boundary+0x68><== NOT EXECUTED
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
3000a824:	e3580000 	cmp	r8, #0                                        
3000a828:	01a08002 	moveq	r8, r2                                      
3000a82c:	eaffff82 	b	3000a63c <_Heap_Allocate_aligned_with_boundary+0x38>
                                                                      
30006e5c <_Heap_Walk>:                                                
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
30006e5c:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  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() ) ) {                
30006e60:	e59f35d0 	ldr	r3, [pc, #1488]	; 30007438 <_Heap_Walk+0x5dc> 
  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;                      
30006e64:	e31200ff 	tst	r2, #255	; 0xff                               
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
30006e68:	e5933000 	ldr	r3, [r3]                                      
  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;                      
30006e6c:	e59f25c8 	ldr	r2, [pc, #1480]	; 3000743c <_Heap_Walk+0x5e0> 
30006e70:	e59fa5c8 	ldr	sl, [pc, #1480]	; 30007440 <_Heap_Walk+0x5e4> 
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
30006e74:	e24dd038 	sub	sp, sp, #56	; 0x38                            
  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;                      
30006e78:	01a0a002 	moveq	sl, r2                                      
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
30006e7c:	e3530003 	cmp	r3, #3                                        
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
30006e80:	e5902010 	ldr	r2, [r0, #16]                                 
  uintptr_t const min_block_size = heap->min_block_size;              
  Heap_Block *const last_block = heap->last_block;                    
30006e84:	e5903024 	ldr	r3, [r0, #36]	; 0x24                          
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
30006e88:	e1a04000 	mov	r4, r0                                        
30006e8c:	e1a08001 	mov	r8, r1                                        
  uintptr_t const page_size = heap->page_size;                        
30006e90:	e58d2020 	str	r2, [sp, #32]                                 
  uintptr_t const min_block_size = heap->min_block_size;              
30006e94:	e590b014 	ldr	fp, [r0, #20]                                 
  Heap_Block *const last_block = heap->last_block;                    
30006e98:	e58d3024 	str	r3, [sp, #36]	; 0x24                          
  Heap_Block *block = heap->first_block;                              
30006e9c:	e5905020 	ldr	r5, [r0, #32]                                 
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
30006ea0:	0a000002 	beq	30006eb0 <_Heap_Walk+0x54>                    
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
30006ea4:	e3a00001 	mov	r0, #1                                        
                                                                      
    block = next_block;                                               
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
30006ea8:	e28dd038 	add	sp, sp, #56	; 0x38                            
30006eac:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
  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)(                                                         
30006eb0:	e5900018 	ldr	r0, [r0, #24]                                 
30006eb4:	e594101c 	ldr	r1, [r4, #28]                                 
30006eb8:	e5942008 	ldr	r2, [r4, #8]                                  
30006ebc:	e594300c 	ldr	r3, [r4, #12]                                 
30006ec0:	e59dc024 	ldr	ip, [sp, #36]	; 0x24                          
30006ec4:	e98d0003 	stmib	sp, {r0, r1}                                
30006ec8:	e58d2014 	str	r2, [sp, #20]                                 
30006ecc:	e58d3018 	str	r3, [sp, #24]                                 
30006ed0:	e59f256c 	ldr	r2, [pc, #1388]	; 30007444 <_Heap_Walk+0x5e8> 
30006ed4:	e58db000 	str	fp, [sp]                                      
30006ed8:	e58d500c 	str	r5, [sp, #12]                                 
30006edc:	e58dc010 	str	ip, [sp, #16]                                 
30006ee0:	e1a00008 	mov	r0, r8                                        
30006ee4:	e3a01000 	mov	r1, #0                                        
30006ee8:	e59d3020 	ldr	r3, [sp, #32]                                 
30006eec:	e1a0e00f 	mov	lr, pc                                        
30006ef0:	e12fff1a 	bx	sl                                             
    heap->area_begin, heap->area_end,                                 
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
30006ef4:	e59d2020 	ldr	r2, [sp, #32]                                 
30006ef8:	e3520000 	cmp	r2, #0                                        
30006efc:	0a000032 	beq	30006fcc <_Heap_Walk+0x170>                   
    (*printer)( source, true, "page size is zero\n" );                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
30006f00:	e59d3020 	ldr	r3, [sp, #32]                                 
30006f04:	e2139003 	ands	r9, r3, #3                                   
30006f08:	1a000036 	bne	30006fe8 <_Heap_Walk+0x18c>                   
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
30006f0c:	e1a0000b 	mov	r0, fp                                        
30006f10:	e59d1020 	ldr	r1, [sp, #32]                                 
30006f14:	ebffe73d 	bl	30000c10 <__umodsi3>                           
30006f18:	e2506000 	subs	r6, r0, #0                                   
30006f1c:	1a000038 	bne	30007004 <_Heap_Walk+0x1a8>                   
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
30006f20:	e2850008 	add	r0, r5, #8                                    
30006f24:	e59d1020 	ldr	r1, [sp, #32]                                 
30006f28:	ebffe738 	bl	30000c10 <__umodsi3>                           
30006f2c:	e2509000 	subs	r9, r0, #0                                   
30006f30:	1a00003b 	bne	30007024 <_Heap_Walk+0x1c8>                   
  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;                 
30006f34:	e5957004 	ldr	r7, [r5, #4]                                  
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
30006f38:	e2176001 	ands	r6, r7, #1                                   
30006f3c:	0a000040 	beq	30007044 <_Heap_Walk+0x1e8>                   
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( first_block->prev_size != page_size ) {                        
30006f40:	e5953000 	ldr	r3, [r5]                                      
30006f44:	e59dc020 	ldr	ip, [sp, #32]                                 
30006f48:	e15c0003 	cmp	ip, r3                                        
30006f4c:	1a000016 	bne	30006fac <_Heap_Walk+0x150>                   
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
30006f50:	e59d2024 	ldr	r2, [sp, #36]	; 0x24                          
30006f54:	e5923004 	ldr	r3, [r2, #4]                                  
30006f58:	e3c33001 	bic	r3, r3, #1                                    
30006f5c:	e0823003 	add	r3, r2, r3                                    
30006f60:	e5939004 	ldr	r9, [r3, #4]                                  
30006f64:	e2199001 	ands	r9, r9, #1                                   
30006f68:	0a000112 	beq	300073b8 <_Heap_Walk+0x55c>                   
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
30006f6c:	e5949008 	ldr	r9, [r4, #8]                                  
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
30006f70:	e5943010 	ldr	r3, [r4, #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 ) {                            
30006f74:	e1540009 	cmp	r4, r9                                        
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
30006f78:	e58d3028 	str	r3, [sp, #40]	; 0x28                          
  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 ) {                            
30006f7c:	0a00006c 	beq	30007134 <_Heap_Walk+0x2d8>                   
  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;             
30006f80:	e594c020 	ldr	ip, [r4, #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           
30006f84:	e15c0009 	cmp	ip, r9                                        
30006f88:	9a000034 	bls	30007060 <_Heap_Walk+0x204>                   
    if ( !_Heap_Is_block_in_heap( heap, free_block ) ) {              
      (*printer)(                                                     
30006f8c:	e1a00008 	mov	r0, r8                                        
30006f90:	e1a03009 	mov	r3, r9                                        
30006f94:	e3a01001 	mov	r1, #1                                        
30006f98:	e59f24a8 	ldr	r2, [pc, #1192]	; 30007448 <_Heap_Walk+0x5ec> 
30006f9c:	e1a0e00f 	mov	lr, pc                                        
30006fa0:	e12fff1a 	bx	sl                                             
30006fa4:	e3a00000 	mov	r0, #0                                        
30006fa8:	eaffffbe 	b	30006ea8 <_Heap_Walk+0x4c>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( first_block->prev_size != page_size ) {                        
    (*printer)(                                                       
30006fac:	e1a00008 	mov	r0, r8                                        
30006fb0:	e58dc000 	str	ip, [sp]                                      
30006fb4:	e3a01001 	mov	r1, #1                                        
30006fb8:	e59f248c 	ldr	r2, [pc, #1164]	; 3000744c <_Heap_Walk+0x5f0> 
30006fbc:	e1a0e00f 	mov	lr, pc                                        
30006fc0:	e12fff1a 	bx	sl                                             
30006fc4:	e1a00009 	mov	r0, r9                                        
30006fc8:	eaffffb6 	b	30006ea8 <_Heap_Walk+0x4c>                      
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
    (*printer)( source, true, "page size is zero\n" );                
30006fcc:	e1a00008 	mov	r0, r8                                        
30006fd0:	e3a01001 	mov	r1, #1                                        
30006fd4:	e59f2474 	ldr	r2, [pc, #1140]	; 30007450 <_Heap_Walk+0x5f4> 
30006fd8:	e1a0e00f 	mov	lr, pc                                        
30006fdc:	e12fff1a 	bx	sl                                             
30006fe0:	e59d0020 	ldr	r0, [sp, #32]                                 
30006fe4:	eaffffaf 	b	30006ea8 <_Heap_Walk+0x4c>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
    (*printer)(                                                       
30006fe8:	e1a00008 	mov	r0, r8                                        
30006fec:	e3a01001 	mov	r1, #1                                        
30006ff0:	e59f245c 	ldr	r2, [pc, #1116]	; 30007454 <_Heap_Walk+0x5f8> 
30006ff4:	e1a0e00f 	mov	lr, pc                                        
30006ff8:	e12fff1a 	bx	sl                                             
30006ffc:	e3a00000 	mov	r0, #0                                        
30007000:	eaffffa8 	b	30006ea8 <_Heap_Walk+0x4c>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
    (*printer)(                                                       
30007004:	e1a00008 	mov	r0, r8                                        
30007008:	e1a0300b 	mov	r3, fp                                        
3000700c:	e3a01001 	mov	r1, #1                                        
30007010:	e59f2440 	ldr	r2, [pc, #1088]	; 30007458 <_Heap_Walk+0x5fc> 
30007014:	e1a0e00f 	mov	lr, pc                                        
30007018:	e12fff1a 	bx	sl                                             
3000701c:	e1a00009 	mov	r0, r9                                        
30007020:	eaffffa0 	b	30006ea8 <_Heap_Walk+0x4c>                      
  }                                                                   
                                                                      
  if (                                                                
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
30007024:	e1a00008 	mov	r0, r8                                        
30007028:	e1a03005 	mov	r3, r5                                        
3000702c:	e3a01001 	mov	r1, #1                                        
30007030:	e59f2424 	ldr	r2, [pc, #1060]	; 3000745c <_Heap_Walk+0x600> 
30007034:	e1a0e00f 	mov	lr, pc                                        
30007038:	e12fff1a 	bx	sl                                             
3000703c:	e1a00006 	mov	r0, r6                                        
30007040:	eaffff98 	b	30006ea8 <_Heap_Walk+0x4c>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
    (*printer)(                                                       
30007044:	e1a00008 	mov	r0, r8                                        
30007048:	e3a01001 	mov	r1, #1                                        
3000704c:	e59f240c 	ldr	r2, [pc, #1036]	; 30007460 <_Heap_Walk+0x604> 
30007050:	e1a0e00f 	mov	lr, pc                                        
30007054:	e12fff1a 	bx	sl                                             
30007058:	e1a00006 	mov	r0, r6                                        
3000705c:	eaffff91 	b	30006ea8 <_Heap_Walk+0x4c>                      
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
30007060:	e5942024 	ldr	r2, [r4, #36]	; 0x24                          
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           
30007064:	e1520009 	cmp	r2, r9                                        
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
30007068:	e58d202c 	str	r2, [sp, #44]	; 0x2c                          
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           
3000706c:	3affffc6 	bcc	30006f8c <_Heap_Walk+0x130>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
30007070:	e2890008 	add	r0, r9, #8                                    
30007074:	e1a01003 	mov	r1, r3                                        
30007078:	e58dc01c 	str	ip, [sp, #28]                                 
3000707c:	ebffe6e3 	bl	30000c10 <__umodsi3>                           
30007080:	e3500000 	cmp	r0, #0                                        
30007084:	e59dc01c 	ldr	ip, [sp, #28]                                 
30007088:	1a0000d1 	bne	300073d4 <_Heap_Walk+0x578>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
3000708c:	e5993004 	ldr	r3, [r9, #4]                                  
30007090:	e3c33001 	bic	r3, r3, #1                                    
30007094:	e0893003 	add	r3, r9, r3                                    
30007098:	e5933004 	ldr	r3, [r3, #4]                                  
3000709c:	e3130001 	tst	r3, #1                                        
300070a0:	1a0000dc 	bne	30007418 <_Heap_Walk+0x5bc>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
300070a4:	e599200c 	ldr	r2, [r9, #12]                                 
300070a8:	e1540002 	cmp	r4, r2                                        
300070ac:	1a0000d0 	bne	300073f4 <_Heap_Walk+0x598>                   
300070b0:	e58d7030 	str	r7, [sp, #48]	; 0x30                          
300070b4:	e58db034 	str	fp, [sp, #52]	; 0x34                          
300070b8:	e59d702c 	ldr	r7, [sp, #44]	; 0x2c                          
300070bc:	e59db028 	ldr	fp, [sp, #40]	; 0x28                          
300070c0:	e58d502c 	str	r5, [sp, #44]	; 0x2c                          
300070c4:	e58d6028 	str	r6, [sp, #40]	; 0x28                          
300070c8:	e1a0600c 	mov	r6, ip                                        
300070cc:	ea000011 	b	30007118 <_Heap_Walk+0x2bc>                     
300070d0:	e1590006 	cmp	r9, r6                                        
300070d4:	3affffac 	bcc	30006f8c <_Heap_Walk+0x130>                   
300070d8:	e1570009 	cmp	r7, r9                                        
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
300070dc:	e2890008 	add	r0, r9, #8                                    
300070e0:	e1a0100b 	mov	r1, fp                                        
300070e4:	3affffa8 	bcc	30006f8c <_Heap_Walk+0x130>                   
300070e8:	ebffe6c8 	bl	30000c10 <__umodsi3>                           
300070ec:	e3500000 	cmp	r0, #0                                        
300070f0:	1a0000b7 	bne	300073d4 <_Heap_Walk+0x578>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
300070f4:	e5993004 	ldr	r3, [r9, #4]                                  
300070f8:	e3c33001 	bic	r3, r3, #1                                    
300070fc:	e0833009 	add	r3, r3, r9                                    
30007100:	e5933004 	ldr	r3, [r3, #4]                                  
30007104:	e3130001 	tst	r3, #1                                        
30007108:	1a0000c2 	bne	30007418 <_Heap_Walk+0x5bc>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
3000710c:	e599200c 	ldr	r2, [r9, #12]                                 
30007110:	e1520005 	cmp	r2, r5                                        
30007114:	1a0000b6 	bne	300073f4 <_Heap_Walk+0x598>                   
      (*printer)(                                                     
30007118:	e1a05009 	mov	r5, r9                                        
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
3000711c:	e5999008 	ldr	r9, [r9, #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 ) {                            
30007120:	e1540009 	cmp	r4, r9                                        
30007124:	1affffe9 	bne	300070d0 <_Heap_Walk+0x274>                   
30007128:	e28d502c 	add	r5, sp, #44	; 0x2c                            
3000712c:	e89508a0 	ldm	r5, {r5, r7, fp}                              
30007130:	e59d6028 	ldr	r6, [sp, #40]	; 0x28                          
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
30007134:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
30007138:	e1530005 	cmp	r3, r5                                        
    "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)" : ""),         
3000713c:	158db028 	strne	fp, [sp, #40]	; 0x28                        
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
30007140:	0affff57 	beq	30006ea4 <_Heap_Walk+0x48>                    
    - 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;                
30007144:	e3c77001 	bic	r7, r7, #1                                    
    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 ) {                                                
30007148:	e21610ff 	ands	r1, r6, #255	; 0xff                          
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
3000714c:	e0876005 	add	r6, r7, r5                                    
30007150:	0a000012 	beq	300071a0 <_Heap_Walk+0x344>                   
      (*printer)(                                                     
30007154:	e1a03005 	mov	r3, r5                                        
30007158:	e58d7000 	str	r7, [sp]                                      
3000715c:	e1a00008 	mov	r0, r8                                        
30007160:	e3a01000 	mov	r1, #0                                        
30007164:	e59f22f8 	ldr	r2, [pc, #760]	; 30007464 <_Heap_Walk+0x608>  
30007168:	e1a0e00f 	mov	lr, pc                                        
3000716c:	e12fff1a 	bx	sl                                             
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           
30007170:	e5943020 	ldr	r3, [r4, #32]                                 
30007174:	e1530006 	cmp	r3, r6                                        
30007178:	9a000013 	bls	300071cc <_Heap_Walk+0x370>                   
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {              
      (*printer)(                                                     
3000717c:	e1a00008 	mov	r0, r8                                        
30007180:	e58d6000 	str	r6, [sp]                                      
30007184:	e1a03005 	mov	r3, r5                                        
30007188:	e3a01001 	mov	r1, #1                                        
3000718c:	e59f22d4 	ldr	r2, [pc, #724]	; 30007468 <_Heap_Walk+0x60c>  
30007190:	e1a0e00f 	mov	lr, pc                                        
30007194:	e12fff1a 	bx	sl                                             
30007198:	e3a00000 	mov	r0, #0                                        
        "block 0x%08x: next block 0x%08x not in heap\n",              
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
3000719c:	eaffff41 	b	30006ea8 <_Heap_Walk+0x4c>                      
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
300071a0:	e58d7000 	str	r7, [sp]                                      
300071a4:	e5953000 	ldr	r3, [r5]                                      
300071a8:	e1a00008 	mov	r0, r8                                        
300071ac:	e58d3004 	str	r3, [sp, #4]                                  
300071b0:	e59f22b4 	ldr	r2, [pc, #692]	; 3000746c <_Heap_Walk+0x610>  
300071b4:	e1a03005 	mov	r3, r5                                        
300071b8:	e1a0e00f 	mov	lr, pc                                        
300071bc:	e12fff1a 	bx	sl                                             
300071c0:	e5943020 	ldr	r3, [r4, #32]                                 
300071c4:	e1530006 	cmp	r3, r6                                        
300071c8:	8affffeb 	bhi	3000717c <_Heap_Walk+0x320>                   
300071cc:	e5943024 	ldr	r3, [r4, #36]	; 0x24                          
300071d0:	e1530006 	cmp	r3, r6                                        
300071d4:	3affffe8 	bcc	3000717c <_Heap_Walk+0x320>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) ) {               
300071d8:	e1a00007 	mov	r0, r7                                        
300071dc:	e59d1020 	ldr	r1, [sp, #32]                                 
300071e0:	ebffe68a 	bl	30000c10 <__umodsi3>                           
300071e4:	e2509000 	subs	r9, r0, #0                                   
300071e8:	1a000055 	bne	30007344 <_Heap_Walk+0x4e8>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size ) {                              
300071ec:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
300071f0:	e1530007 	cmp	r3, r7                                        
300071f4:	8a00005b 	bhi	30007368 <_Heap_Walk+0x50c>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin ) {                          
300071f8:	e1550006 	cmp	r5, r6                                        
300071fc:	2a000064 	bcs	30007394 <_Heap_Walk+0x538>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
30007200:	e5963004 	ldr	r3, [r6, #4]                                  
30007204:	e3130001 	tst	r3, #1                                        
30007208:	1a000036 	bne	300072e8 <_Heap_Walk+0x48c>                   
  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;                 
3000720c:	e595b004 	ldr	fp, [r5, #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)(                                                         
30007210:	e595200c 	ldr	r2, [r5, #12]                                 
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
30007214:	e5943008 	ldr	r3, [r4, #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;                
30007218:	e3cb7001 	bic	r7, fp, #1                                    
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
3000721c:	e1530002 	cmp	r3, r2                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_last( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_tail(heap)->prev;                            
30007220:	e594100c 	ldr	r1, [r4, #12]                                 
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
30007224:	e0859007 	add	r9, r5, r7                                    
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
30007228:	059f0240 	ldreq	r0, [pc, #576]	; 30007470 <_Heap_Walk+0x614>
3000722c:	0a000003 	beq	30007240 <_Heap_Walk+0x3e4>                   
    "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)" : ""),         
30007230:	e59fc23c 	ldr	ip, [pc, #572]	; 30007474 <_Heap_Walk+0x618>  
30007234:	e1520004 	cmp	r2, r4                                        
30007238:	e59f0238 	ldr	r0, [pc, #568]	; 30007478 <_Heap_Walk+0x61c>  
3000723c:	11a0000c 	movne	r0, ip                                      
  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)(                                                         
30007240:	e5953008 	ldr	r3, [r5, #8]                                  
30007244:	e1510003 	cmp	r1, r3                                        
30007248:	059f122c 	ldreq	r1, [pc, #556]	; 3000747c <_Heap_Walk+0x620>
3000724c:	0a000003 	beq	30007260 <_Heap_Walk+0x404>                   
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
30007250:	e59fc21c 	ldr	ip, [pc, #540]	; 30007474 <_Heap_Walk+0x618>  
30007254:	e1530004 	cmp	r3, r4                                        
30007258:	e59f1220 	ldr	r1, [pc, #544]	; 30007480 <_Heap_Walk+0x624>  
3000725c:	11a0100c 	movne	r1, ip                                      
  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)(                                                         
30007260:	e58d2000 	str	r2, [sp]                                      
30007264:	e98d0009 	stmib	sp, {r0, r3}                                
30007268:	e58d100c 	str	r1, [sp, #12]                                 
3000726c:	e1a03005 	mov	r3, r5                                        
30007270:	e1a00008 	mov	r0, r8                                        
30007274:	e3a01000 	mov	r1, #0                                        
30007278:	e59f2204 	ldr	r2, [pc, #516]	; 30007484 <_Heap_Walk+0x628>  
3000727c:	e1a0e00f 	mov	lr, pc                                        
30007280:	e12fff1a 	bx	sl                                             
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
30007284:	e5993000 	ldr	r3, [r9]                                      
30007288:	e1570003 	cmp	r7, r3                                        
3000728c:	0a00000a 	beq	300072bc <_Heap_Walk+0x460>                   
    (*printer)(                                                       
30007290:	e58d3004 	str	r3, [sp, #4]                                  
30007294:	e1a00008 	mov	r0, r8                                        
30007298:	e58d7000 	str	r7, [sp]                                      
3000729c:	e58d9008 	str	r9, [sp, #8]                                  
300072a0:	e1a03005 	mov	r3, r5                                        
300072a4:	e3a01001 	mov	r1, #1                                        
300072a8:	e59f21d8 	ldr	r2, [pc, #472]	; 30007488 <_Heap_Walk+0x62c>  
300072ac:	e1a0e00f 	mov	lr, pc                                        
300072b0:	e12fff1a 	bx	sl                                             
300072b4:	e3a00000 	mov	r0, #0                                        
300072b8:	eafffefa 	b	30006ea8 <_Heap_Walk+0x4c>                      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
300072bc:	e21b9001 	ands	r9, fp, #1                                   
300072c0:	0a000017 	beq	30007324 <_Heap_Walk+0x4c8>                   
300072c4:	e5943008 	ldr	r3, [r4, #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 ) {                            
300072c8:	e1530004 	cmp	r3, r4                                        
300072cc:	1a000003 	bne	300072e0 <_Heap_Walk+0x484>                   
300072d0:	ea00000b 	b	30007304 <_Heap_Walk+0x4a8>                     <== NOT EXECUTED
    if ( free_block == block ) {                                      
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
300072d4:	e5933008 	ldr	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 ) {                            
300072d8:	e1530004 	cmp	r3, r4                                        
300072dc:	0a000008 	beq	30007304 <_Heap_Walk+0x4a8>                   
    if ( free_block == block ) {                                      
300072e0:	e1530005 	cmp	r3, r5                                        
300072e4:	1afffffa 	bne	300072d4 <_Heap_Walk+0x478>                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
300072e8:	e59d2024 	ldr	r2, [sp, #36]	; 0x24                          
300072ec:	e1520006 	cmp	r2, r6                                        
300072f0:	0afffeeb 	beq	30006ea4 <_Heap_Walk+0x48>                    
  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 ) {                            
300072f4:	e5967004 	ldr	r7, [r6, #4]                                  
300072f8:	e1a05006 	mov	r5, r6                                        
300072fc:	e2076001 	and	r6, r7, #1                                    
30007300:	eaffff8f 	b	30007144 <_Heap_Walk+0x2e8>                     
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
30007304:	e1a00008 	mov	r0, r8                                        
30007308:	e1a03005 	mov	r3, r5                                        
3000730c:	e3a01001 	mov	r1, #1                                        
30007310:	e59f2174 	ldr	r2, [pc, #372]	; 3000748c <_Heap_Walk+0x630>  
30007314:	e1a0e00f 	mov	lr, pc                                        
30007318:	e12fff1a 	bx	sl                                             
3000731c:	e3a00000 	mov	r0, #0                                        
30007320:	eafffee0 	b	30006ea8 <_Heap_Walk+0x4c>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
    (*printer)(                                                       
30007324:	e1a00008 	mov	r0, r8                                        
30007328:	e1a03005 	mov	r3, r5                                        
3000732c:	e3a01001 	mov	r1, #1                                        
30007330:	e59f2158 	ldr	r2, [pc, #344]	; 30007490 <_Heap_Walk+0x634>  
30007334:	e1a0e00f 	mov	lr, pc                                        
30007338:	e12fff1a 	bx	sl                                             
3000733c:	e1a00009 	mov	r0, r9                                        
30007340:	eafffed8 	b	30006ea8 <_Heap_Walk+0x4c>                      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) ) {               
      (*printer)(                                                     
30007344:	e1a00008 	mov	r0, r8                                        
30007348:	e58d7000 	str	r7, [sp]                                      
3000734c:	e1a03005 	mov	r3, r5                                        
30007350:	e3a01001 	mov	r1, #1                                        
30007354:	e59f2138 	ldr	r2, [pc, #312]	; 30007494 <_Heap_Walk+0x638>  
30007358:	e1a0e00f 	mov	lr, pc                                        
3000735c:	e12fff1a 	bx	sl                                             
30007360:	e3a00000 	mov	r0, #0                                        
        "block 0x%08x: block size %u not page aligned\n",             
        block,                                                        
        block_size                                                    
      );                                                              
                                                                      
      return false;                                                   
30007364:	eafffecf 	b	30006ea8 <_Heap_Walk+0x4c>                      
    }                                                                 
                                                                      
    if ( block_size < min_block_size ) {                              
      (*printer)(                                                     
30007368:	e58d3004 	str	r3, [sp, #4]                                  
3000736c:	e1a00008 	mov	r0, r8                                        
30007370:	e1a0b003 	mov	fp, r3                                        
30007374:	e58d7000 	str	r7, [sp]                                      
30007378:	e1a03005 	mov	r3, r5                                        
3000737c:	e3a01001 	mov	r1, #1                                        
30007380:	e59f2110 	ldr	r2, [pc, #272]	; 30007498 <_Heap_Walk+0x63c>  
30007384:	e1a0e00f 	mov	lr, pc                                        
30007388:	e12fff1a 	bx	sl                                             
3000738c:	e1a00009 	mov	r0, r9                                        
        block,                                                        
        block_size,                                                   
        min_block_size                                                
      );                                                              
                                                                      
      return false;                                                   
30007390:	eafffec4 	b	30006ea8 <_Heap_Walk+0x4c>                      
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin ) {                          
      (*printer)(                                                     
30007394:	e1a00008 	mov	r0, r8                                        
30007398:	e58d6000 	str	r6, [sp]                                      
3000739c:	e1a03005 	mov	r3, r5                                        
300073a0:	e3a01001 	mov	r1, #1                                        
300073a4:	e59f20f0 	ldr	r2, [pc, #240]	; 3000749c <_Heap_Walk+0x640>  
300073a8:	e1a0e00f 	mov	lr, pc                                        
300073ac:	e12fff1a 	bx	sl                                             
300073b0:	e1a00009 	mov	r0, r9                                        
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
300073b4:	eafffebb 	b	30006ea8 <_Heap_Walk+0x4c>                      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
    (*printer)(                                                       
300073b8:	e1a00008 	mov	r0, r8                                        
300073bc:	e3a01001 	mov	r1, #1                                        
300073c0:	e59f20d8 	ldr	r2, [pc, #216]	; 300074a0 <_Heap_Walk+0x644>  
300073c4:	e1a0e00f 	mov	lr, pc                                        
300073c8:	e12fff1a 	bx	sl                                             
300073cc:	e1a00009 	mov	r0, r9                                        
300073d0:	eafffeb4 	b	30006ea8 <_Heap_Walk+0x4c>                      
    }                                                                 
                                                                      
    if (                                                              
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
300073d4:	e1a00008 	mov	r0, r8                                        
300073d8:	e1a03009 	mov	r3, r9                                        
300073dc:	e3a01001 	mov	r1, #1                                        
300073e0:	e59f20bc 	ldr	r2, [pc, #188]	; 300074a4 <_Heap_Walk+0x648>  
300073e4:	e1a0e00f 	mov	lr, pc                                        
300073e8:	e12fff1a 	bx	sl                                             
300073ec:	e3a00000 	mov	r0, #0                                        
300073f0:	eafffeac 	b	30006ea8 <_Heap_Walk+0x4c>                      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
      (*printer)(                                                     
300073f4:	e58d2000 	str	r2, [sp]                                      
300073f8:	e1a00008 	mov	r0, r8                                        
300073fc:	e1a03009 	mov	r3, r9                                        
30007400:	e3a01001 	mov	r1, #1                                        
30007404:	e59f209c 	ldr	r2, [pc, #156]	; 300074a8 <_Heap_Walk+0x64c>  
30007408:	e1a0e00f 	mov	lr, pc                                        
3000740c:	e12fff1a 	bx	sl                                             
30007410:	e3a00000 	mov	r0, #0                                        
30007414:	eafffea3 	b	30006ea8 <_Heap_Walk+0x4c>                      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
      (*printer)(                                                     
30007418:	e1a00008 	mov	r0, r8                                        
3000741c:	e1a03009 	mov	r3, r9                                        
30007420:	e3a01001 	mov	r1, #1                                        
30007424:	e59f2080 	ldr	r2, [pc, #128]	; 300074ac <_Heap_Walk+0x650>  
30007428:	e1a0e00f 	mov	lr, pc                                        
3000742c:	e12fff1a 	bx	sl                                             
30007430:	e3a00000 	mov	r0, #0                                        
30007434:	eafffe9b 	b	30006ea8 <_Heap_Walk+0x4c>                      
30007438:	3001c410 	.word	0x3001c410                                  
3000743c:	30006e50 	.word	0x30006e50                                  
30007440:	300074b0 	.word	0x300074b0                                  
30007444:	30019c44 	.word	0x30019c44                                  
30007448:	30019dd8 	.word	0x30019dd8                                  
3000744c:	30019d94 	.word	0x30019d94                                  
30007450:	30019cd8 	.word	0x30019cd8                                  
30007454:	30019cec 	.word	0x30019cec                                  
30007458:	30019d0c 	.word	0x30019d0c                                  
3000745c:	30019d30 	.word	0x30019d30                                  
30007460:	30019d64 	.word	0x30019d64                                  
30007464:	30019e78 	.word	0x30019e78                                  
30007468:	30019eb8 	.word	0x30019eb8                                  
3000746c:	30019e90 	.word	0x30019e90                                  
30007470:	30019f78 	.word	0x30019f78                                  
30007474:	3001a00c 	.word	0x3001a00c                                  
30007478:	30019f84 	.word	0x30019f84                                  
3000747c:	30019f90 	.word	0x30019f90                                  
30007480:	30019f9c 	.word	0x30019f9c                                  
30007484:	30019fa8 	.word	0x30019fa8                                  
30007488:	30019fd4 	.word	0x30019fd4                                  
3000748c:	3001a040 	.word	0x3001a040                                  
30007490:	3001a010 	.word	0x3001a010                                  
30007494:	30019ee8 	.word	0x30019ee8                                  
30007498:	30019f18 	.word	0x30019f18                                  
3000749c:	30019f44 	.word	0x30019f44                                  
300074a0:	30019dc0 	.word	0x30019dc0                                  
300074a4:	30019df8 	.word	0x30019df8                                  
300074a8:	30019e44 	.word	0x30019e44                                  
300074ac:	30019e28 	.word	0x30019e28                                  
                                                                      
30006344 <_Objects_Extend_information>:                               
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
30006344:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
30006348:	e5908034 	ldr	r8, [r0, #52]	; 0x34                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
3000634c:	e24dd014 	sub	sp, sp, #20                                   
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
30006350:	e3580000 	cmp	r8, #0                                        
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
30006354:	e1a05000 	mov	r5, r0                                        
                                                                      
  /*                                                                  
   *  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 );      
30006358:	e1d070b8 	ldrh	r7, [r0, #8]                                 
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
3000635c:	0a00009c 	beq	300065d4 <_Objects_Extend_information+0x290>  
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
30006360:	e1d091b4 	ldrh	r9, [r0, #20]                                
30006364:	e1d0a1b0 	ldrh	sl, [r0, #16]                                
30006368:	e1a01009 	mov	r1, r9                                        
3000636c:	e1a0000a 	mov	r0, sl                                        
30006370:	eb003edd 	bl	30015eec <__aeabi_uidiv>                       
30006374:	e1a03800 	lsl	r3, r0, #16                                   
                                                                      
    for ( ; block < block_count; block++ ) {                          
30006378:	e1b03823 	lsrs	r3, r3, #16                                  
3000637c:	01a01009 	moveq	r1, r9                                      
30006380:	01a06007 	moveq	r6, r7                                      
30006384:	01a04003 	moveq	r4, r3                                      
30006388:	0a00000f 	beq	300063cc <_Objects_Extend_information+0x88>   
      if ( information->object_blocks[ block ] == NULL )              
3000638c:	e5984000 	ldr	r4, [r8]                                      
30006390:	e3540000 	cmp	r4, #0                                        
30006394:	11a01009 	movne	r1, r9                                      
30006398:	11a06007 	movne	r6, r7                                      
3000639c:	13a04000 	movne	r4, #0                                      
300063a0:	01a01009 	moveq	r1, r9                                      
300063a4:	01a06007 	moveq	r6, r7                                      
300063a8:	1a000003 	bne	300063bc <_Objects_Extend_information+0x78>   
300063ac:	ea000006 	b	300063cc <_Objects_Extend_information+0x88>     <== NOT EXECUTED
300063b0:	e7982104 	ldr	r2, [r8, r4, lsl #2]                          
300063b4:	e3520000 	cmp	r2, #0                                        
300063b8:	0a000003 	beq	300063cc <_Objects_Extend_information+0x88>   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
300063bc:	e2844001 	add	r4, r4, #1                                    
300063c0:	e1530004 	cmp	r3, r4                                        
      if ( information->object_blocks[ block ] == NULL )              
        break;                                                        
      else                                                            
        index_base += information->allocation_size;                   
300063c4:	e0866009 	add	r6, r6, r9                                    
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
300063c8:	8afffff8 	bhi	300063b0 <_Objects_Extend_information+0x6c>   
      else                                                            
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
300063cc:	e08aa001 	add	sl, sl, 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 ) {                           
300063d0:	e35a0801 	cmp	sl, #65536	; 0x10000                          
300063d4:	2a000064 	bcs	3000656c <_Objects_Extend_information+0x228>  
  /*                                                                  
   * 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 ) {                                   
300063d8:	e5d50012 	ldrb	r0, [r5, #18]                                
                                                                      
  /*                                                                  
   * 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;      
300063dc:	e5952018 	ldr	r2, [r5, #24]                                 
  if ( information->auto_extend ) {                                   
300063e0:	e3500000 	cmp	r0, #0                                        
                                                                      
  /*                                                                  
   * Allocate the name table, and the objects and if it fails either return or
   * generate a fatal error depending on auto-extending being active. 
   */                                                                 
  block_size = information->allocation_size * information->size;      
300063e4:	e0000192 	mul	r0, r2, r1                                    
  if ( information->auto_extend ) {                                   
300063e8:	1a000061 	bne	30006574 <_Objects_Extend_information+0x230>  
    new_object_block = _Workspace_Allocate( block_size );             
    if ( !new_object_block )                                          
      return;                                                         
  } else {                                                            
    new_object_block = _Workspace_Allocate_or_fatal_error( block_size );
300063ec:	e58d3000 	str	r3, [sp]                                      
300063f0:	eb000811 	bl	3000843c <_Workspace_Allocate_or_fatal_error>  
300063f4:	e59d3000 	ldr	r3, [sp]                                      
300063f8:	e1a09000 	mov	r9, r0                                        
  }                                                                   
                                                                      
  /*                                                                  
   *  If the index_base is the maximum we need to grow the tables.    
   */                                                                 
  if (index_base >= information->maximum ) {                          
300063fc:	e1d521b0 	ldrh	r2, [r5, #16]                                
30006400:	e1560002 	cmp	r6, r2                                        
30006404:	3a000038 	bcc	300064ec <_Objects_Extend_information+0x1a8>  
     */                                                               
                                                                      
    /*                                                                
     *  Up the block count and maximum                                
     */                                                               
    block_count++;                                                    
30006408:	e283c001 	add	ip, r3, #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 );       
3000640c:	e08c008c 	add	r0, ip, ip, lsl #1                            
30006410:	e08a0000 	add	r0, sl, r0                                    
30006414:	e0800007 	add	r0, r0, r7                                    
30006418:	e1a00100 	lsl	r0, r0, #2                                    
3000641c:	e88d1008 	stm	sp, {r3, ip}                                  
30006420:	eb000811 	bl	3000846c <_Workspace_Allocate>                 
                                                                      
    if ( !object_blocks ) {                                           
30006424:	e250b000 	subs	fp, r0, #0                                   
30006428:	e89d1008 	ldm	sp, {r3, ip}                                  
3000642c:	0a00006e 	beq	300065ec <_Objects_Extend_information+0x2a8>  
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
30006430:	e1d521b0 	ldrh	r2, [r5, #16]                                
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
30006434:	e08b818c 	add	r8, fp, ip, lsl #3                            
30006438:	e1570002 	cmp	r7, r2                                        
3000643c:	e08bc10c 	add	ip, fp, ip, lsl #2                            
30006440:	3a000051 	bcc	3000658c <_Objects_Extend_information+0x248>  
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
30006444:	e3570000 	cmp	r7, #0                                        
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
30006448:	13a02000 	movne	r2, #0                                      
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
        local_table[ index ] = NULL;                                  
3000644c:	11a01002 	movne	r1, r2                                      
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
30006450:	0a000003 	beq	30006464 <_Objects_Extend_information+0x120>  
        local_table[ index ] = NULL;                                  
30006454:	e7881102 	str	r1, [r8, r2, lsl #2]                          
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
30006458:	e2822001 	add	r2, r2, #1                                    
3000645c:	e1570002 	cmp	r7, r2                                        
30006460:	8afffffb 	bhi	30006454 <_Objects_Extend_information+0x110>  
30006464:	e1a03103 	lsl	r3, r3, #2                                    
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
30006468:	e1d511b4 	ldrh	r1, [r5, #20]                                
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
3000646c:	e3a00000 	mov	r0, #0                                        
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
30006470:	e0861001 	add	r1, r6, r1                                    
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
30006474:	e1560001 	cmp	r6, r1                                        
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
30006478:	e78c0003 	str	r0, [ip, r3]                                  
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
3000647c:	e78b0003 	str	r0, [fp, r3]                                  
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
30006480:	2a000005 	bcs	3000649c <_Objects_Extend_information+0x158>  
30006484:	e0882106 	add	r2, r8, r6, lsl #2                            
30006488:	e1a03006 	mov	r3, r6                                        
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
3000648c:	e2833001 	add	r3, r3, #1                                    
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
30006490:	e1530001 	cmp	r3, r1                                        
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
30006494:	e4820004 	str	r0, [r2], #4                                  
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
30006498:	3afffffb 	bcc	3000648c <_Objects_Extend_information+0x148>  
3000649c:	e10f3000 	mrs	r3, CPSR                                      
300064a0:	e3832080 	orr	r2, r3, #128	; 0x80                           
300064a4:	e129f002 	msr	CPSR_fc, r2                                   
                                                                      
    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(                      
300064a8:	e5952000 	ldr	r2, [r5]                                      
300064ac:	e1d510b4 	ldrh	r1, [r5, #4]                                 
300064b0:	e1a02c02 	lsl	r2, r2, #24                                   
    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;                 
300064b4:	e1a0a80a 	lsl	sl, sl, #16                                   
    information->maximum_id = _Objects_Build_id(                      
300064b8:	e3822801 	orr	r2, r2, #65536	; 0x10000                      
    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;                 
300064bc:	e1a0a82a 	lsr	sl, sl, #16                                   
    information->maximum_id = _Objects_Build_id(                      
300064c0:	e1822d81 	orr	r2, r2, r1, lsl #27                           
300064c4:	e182200a 	orr	r2, r2, sl                                    
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
300064c8:	e5950034 	ldr	r0, [r5, #52]	; 0x34                          
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
300064cc:	e585c030 	str	ip, [r5, #48]	; 0x30                          
    information->local_table = local_table;                           
300064d0:	e585801c 	str	r8, [r5, #28]                                 
    information->maximum = (Objects_Maximum) maximum;                 
    information->maximum_id = _Objects_Build_id(                      
300064d4:	e585200c 	str	r2, [r5, #12]                                 
    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;                 
300064d8:	e1c5a1b0 	strh	sl, [r5, #16]                                
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
300064dc:	e585b034 	str	fp, [r5, #52]	; 0x34                          
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
300064e0:	e129f003 	msr	CPSR_fc, r3                                   
        information->maximum                                          
      );                                                              
                                                                      
    _ISR_Enable( level );                                             
                                                                      
    if ( old_tables )                                                 
300064e4:	e3500000 	cmp	r0, #0                                        
      _Workspace_Free( old_tables );                                  
300064e8:	1b0007e5 	blne	30008484 <_Workspace_Free>                   
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
300064ec:	e5953034 	ldr	r3, [r5, #52]	; 0x34                          
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
300064f0:	e28d7008 	add	r7, sp, #8                                    
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
300064f4:	e7839104 	str	r9, [r3, r4, lsl #2]                          
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
300064f8:	e1a01009 	mov	r1, r9                                        
300064fc:	e1a00007 	mov	r0, r7                                        
30006500:	e1d521b4 	ldrh	r2, [r5, #20]                                
30006504:	e5953018 	ldr	r3, [r5, #24]                                 
30006508:	eb000f9b 	bl	3000a37c <_Chain_Initialize>                   
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
3000650c:	e1a04104 	lsl	r4, r4, #2                                    
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
30006510:	e2858020 	add	r8, r5, #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 ) {
30006514:	ea000008 	b	3000653c <_Objects_Extend_information+0x1f8>    
                                                                      
    the_object->id = _Objects_Build_id(                               
30006518:	e5952000 	ldr	r2, [r5]                                      
3000651c:	e1d5c0b4 	ldrh	ip, [r5, #4]                                 
30006520:	e1a02c02 	lsl	r2, r2, #24                                   
30006524:	e3822801 	orr	r2, r2, #65536	; 0x10000                      
30006528:	e1822d8c 	orr	r2, r2, ip, lsl #27                           
3000652c:	e1822006 	orr	r2, r2, r6                                    
30006530:	e5832008 	str	r2, [r3, #8]                                  
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
30006534:	ebfffd19 	bl	300059a0 <_Chain_Append>                       
                                                                      
    index++;                                                          
30006538:	e2866001 	add	r6, r6, #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 ) {
3000653c:	e1a00007 	mov	r0, r7                                        
30006540:	ebfffd21 	bl	300059cc <_Chain_Get>                          
30006544:	e2503000 	subs	r3, r0, #0                                   
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
30006548:	e1a01003 	mov	r1, r3                                        
3000654c:	e1a00008 	mov	r0, r8                                        
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
30006550:	1afffff0 	bne	30006518 <_Objects_Extend_information+0x1d4>  
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
30006554:	e1d531b4 	ldrh	r3, [r5, #20]                                
  information->inactive =                                             
30006558:	e1d522bc 	ldrh	r2, [r5, #44]	; 0x2c                         
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
3000655c:	e5951030 	ldr	r1, [r5, #48]	; 0x30                          
  information->inactive =                                             
30006560:	e0832002 	add	r2, r3, r2                                    
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
30006564:	e7813004 	str	r3, [r1, r4]                                  
  information->inactive =                                             
30006568:	e1c522bc 	strh	r2, [r5, #44]	; 0x2c                         
    (Objects_Maximum)(information->inactive + information->allocation_size);
}                                                                     
3000656c:	e28dd014 	add	sp, sp, #20                                   
30006570:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
   * 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 );             
30006574:	e58d3000 	str	r3, [sp]                                      
30006578:	eb0007bb 	bl	3000846c <_Workspace_Allocate>                 
    if ( !new_object_block )                                          
3000657c:	e2509000 	subs	r9, r0, #0                                   
30006580:	e59d3000 	ldr	r3, [sp]                                      
30006584:	1affff9c 	bne	300063fc <_Objects_Extend_information+0xb8>   
30006588:	eafffff7 	b	3000656c <_Objects_Extend_information+0x228>    
      /*                                                              
       *  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,                                          
3000658c:	e1a03103 	lsl	r3, r3, #2                                    
30006590:	e1a02003 	mov	r2, r3                                        
30006594:	e5951034 	ldr	r1, [r5, #52]	; 0x34                          
30006598:	e88d1008 	stm	sp, {r3, ip}                                  
3000659c:	eb001aed 	bl	3000d158 <memcpy>                              
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
300065a0:	e89d1008 	ldm	sp, {r3, ip}                                  
300065a4:	e1a0000c 	mov	r0, ip                                        
300065a8:	e1a02003 	mov	r2, r3                                        
300065ac:	e5951030 	ldr	r1, [r5, #48]	; 0x30                          
300065b0:	eb001ae8 	bl	3000d158 <memcpy>                              
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
300065b4:	e1d521b0 	ldrh	r2, [r5, #16]                                
300065b8:	e1a00008 	mov	r0, r8                                        
300065bc:	e0872002 	add	r2, r7, r2                                    
300065c0:	e1a02102 	lsl	r2, r2, #2                                    
300065c4:	e595101c 	ldr	r1, [r5, #28]                                 
300065c8:	eb001ae2 	bl	3000d158 <memcpy>                              
300065cc:	e89d1008 	ldm	sp, {r3, ip}                                  
300065d0:	eaffffa4 	b	30006468 <_Objects_Extend_information+0x124>    
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
300065d4:	e1a04008 	mov	r4, r8                                        
300065d8:	e1d0a1b0 	ldrh	sl, [r0, #16]                                
300065dc:	e1d011b4 	ldrh	r1, [r0, #20]                                
300065e0:	e1a06007 	mov	r6, r7                                        
300065e4:	e1a03008 	mov	r3, r8                                        
300065e8:	eaffff77 	b	300063cc <_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 );                            
300065ec:	e1a00009 	mov	r0, r9                                        
300065f0:	eb0007a3 	bl	30008484 <_Workspace_Free>                     
      return;                                                         
300065f4:	eaffffdc 	b	3000656c <_Objects_Extend_information+0x228>    
                                                                      
30007614 <_Thread_queue_Enqueue_priority>:                            
  Priority_Control     priority;                                      
  States_Control       block_state;                                   
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
30007614:	e5913014 	ldr	r3, [r1, #20]                                 
Thread_blocking_operation_States _Thread_queue_Enqueue_priority (     
  Thread_queue_Control *the_thread_queue,                             
  Thread_Control       *the_thread,                                   
  ISR_Level            *level_p                                       
)                                                                     
{                                                                     
30007618:	e92d05f0 	push	{r4, r5, r6, r7, r8, sl}                     
                                                                      
  _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 ];  
3000761c:	e1a0c323 	lsr	ip, r3, #6                                    
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
30007620:	e281503c 	add	r5, r1, #60	; 0x3c                            
30007624:	e08cc08c 	add	ip, ip, ip, lsl #1                            
  block_state  = the_thread_queue->state;                             
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
30007628:	e3130020 	tst	r3, #32                                       
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
3000762c:	e2814038 	add	r4, r1, #56	; 0x38                            
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
30007630:	e5815038 	str	r5, [r1, #56]	; 0x38                          
  the_chain->permanent_null = NULL;                                   
30007634:	e3a05000 	mov	r5, #0                                        
30007638:	e581503c 	str	r5, [r1, #60]	; 0x3c                          
  the_chain->last           = _Chain_Head(the_chain);                 
3000763c:	e5814040 	str	r4, [r1, #64]	; 0x40                          
                                                                      
  _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 ];  
30007640:	e080c10c 	add	ip, r0, ip, lsl #2                            
  block_state  = the_thread_queue->state;                             
30007644:	e5906038 	ldr	r6, [r0, #56]	; 0x38                          
30007648:	159fa178 	ldrne	sl, [pc, #376]	; 300077c8 <_Thread_queue_Enqueue_priority+0x1b4>
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
3000764c:	1a00001c 	bne	300076c4 <_Thread_queue_Enqueue_priority+0xb0>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
30007650:	e28ca004 	add	sl, ip, #4                                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
30007654:	e10f8000 	mrs	r8, CPSR                                      
30007658:	e3884080 	orr	r4, r8, #128	; 0x80                           
3000765c:	e129f004 	msr	CPSR_fc, r4                                   
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->first;                   
30007660:	e59c4000 	ldr	r4, [ip]                                      
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
30007664:	e154000a 	cmp	r4, sl                                        
30007668:	1a000009 	bne	30007694 <_Thread_queue_Enqueue_priority+0x80>
3000766c:	ea000052 	b	300077bc <_Thread_queue_Enqueue_priority+0x1a8> 
                                                                      
static inline void arm_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t arm_switch_reg;                                            
                                                                      
  asm volatile (                                                      
30007670:	e10f7000 	mrs	r7, CPSR                                      
30007674:	e129f008 	msr	CPSR_fc, r8                                   
30007678:	e129f007 	msr	CPSR_fc, r7                                   
    search_priority = search_thread->current_priority;                
    if ( priority <= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
3000767c:	e5947010 	ldr	r7, [r4, #16]                                 
30007680:	e1160007 	tst	r6, r7                                        
30007684:	0a000033 	beq	30007758 <_Thread_queue_Enqueue_priority+0x144>
      _ISR_Enable( level );                                           
      goto restart_forward_search;                                    
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
30007688:	e5944000 	ldr	r4, [r4]                                      
                                                                      
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 ) ) {  
3000768c:	e154000a 	cmp	r4, sl                                        
30007690:	0a000002 	beq	300076a0 <_Thread_queue_Enqueue_priority+0x8c>
    search_priority = search_thread->current_priority;                
30007694:	e5945014 	ldr	r5, [r4, #20]                                 
    if ( priority <= search_priority )                                
30007698:	e1530005 	cmp	r3, r5                                        
3000769c:	8afffff3 	bhi	30007670 <_Thread_queue_Enqueue_priority+0x5c>
                                                                      
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 ) ) {  
300076a0:	e1a06008 	mov	r6, r8                                        
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
300076a4:	e590c030 	ldr	ip, [r0, #48]	; 0x30                          
300076a8:	e35c0001 	cmp	ip, #1                                        
300076ac:	0a00002b 	beq	30007760 <_Thread_queue_Enqueue_priority+0x14c>
   *  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;                                                   
300076b0:	e5826000 	str	r6, [r2]                                      
  return the_thread_queue->sync_state;                                
300076b4:	e1a0000c 	mov	r0, ip                                        
}                                                                     
300076b8:	e8bd05f0 	pop	{r4, r5, r6, r7, r8, sl}                      
300076bc:	e12fff1e 	bx	lr                                             
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
300076c0:	e129f008 	msr	CPSR_fc, r8                                   
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
300076c4:	e5da5000 	ldrb	r5, [sl]                                     
300076c8:	e2855001 	add	r5, r5, #1                                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
300076cc:	e10f8000 	mrs	r8, CPSR                                      
300076d0:	e3884080 	orr	r4, r8, #128	; 0x80                           
300076d4:	e129f004 	msr	CPSR_fc, r4                                   
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->last;                    
300076d8:	e59c4008 	ldr	r4, [ip, #8]                                  
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
300076dc:	e154000c 	cmp	r4, ip                                        
300076e0:	1a000009 	bne	3000770c <_Thread_queue_Enqueue_priority+0xf8>
300076e4:	ea00000b 	b	30007718 <_Thread_queue_Enqueue_priority+0x104> 
                                                                      
static inline void arm_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t arm_switch_reg;                                            
                                                                      
  asm volatile (                                                      
300076e8:	e10f7000 	mrs	r7, CPSR                                      
300076ec:	e129f008 	msr	CPSR_fc, r8                                   
300076f0:	e129f007 	msr	CPSR_fc, r7                                   
    search_priority = search_thread->current_priority;                
    if ( priority >= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
300076f4:	e5947010 	ldr	r7, [r4, #16]                                 
300076f8:	e1160007 	tst	r6, r7                                        
300076fc:	0affffef 	beq	300076c0 <_Thread_queue_Enqueue_priority+0xac>
      _ISR_Enable( level );                                           
      goto restart_reverse_search;                                    
    }                                                                 
    search_thread = (Thread_Control *)                                
30007700:	e5944004 	ldr	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 ) ) {  
30007704:	e154000c 	cmp	r4, ip                                        
30007708:	0a000002 	beq	30007718 <_Thread_queue_Enqueue_priority+0x104>
    search_priority = search_thread->current_priority;                
3000770c:	e5945014 	ldr	r5, [r4, #20]                                 
    if ( priority >= search_priority )                                
30007710:	e1530005 	cmp	r3, r5                                        
30007714:	3afffff3 	bcc	300076e8 <_Thread_queue_Enqueue_priority+0xd4>
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
30007718:	e590c030 	ldr	ip, [r0, #48]	; 0x30                          
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 ) ) {  
3000771c:	e1a06008 	mov	r6, r8                                        
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
30007720:	e35c0001 	cmp	ip, #1                                        
30007724:	1affffe1 	bne	300076b0 <_Thread_queue_Enqueue_priority+0x9c>
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( priority == search_priority )                                  
30007728:	e1530005 	cmp	r3, r5                                        
                                                                      
  if ( the_thread_queue->sync_state !=                                
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
3000772c:	e3a03000 	mov	r3, #0                                        
30007730:	e5803030 	str	r3, [r0, #48]	; 0x30                          
                                                                      
  if ( priority == search_priority )                                  
30007734:	0a000016 	beq	30007794 <_Thread_queue_Enqueue_priority+0x180>
    goto equal_priority;                                              
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
30007738:	e5943000 	ldr	r3, [r4]                                      
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  the_node->previous      = search_node;                              
3000773c:	e8810018 	stm	r1, {r3, r4}                                  
  search_node->next       = the_node;                                 
  next_node->previous    = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
30007740:	e5810044 	str	r0, [r1, #68]	; 0x44                          
  next_node   = search_node->next;                                    
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  the_node->previous      = search_node;                              
  search_node->next       = the_node;                                 
30007744:	e5841000 	str	r1, [r4]                                      
  next_node->previous    = the_node;                                  
30007748:	e5831004 	str	r1, [r3, #4]                                  
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
3000774c:	e129f008 	msr	CPSR_fc, r8                                   
30007750:	e3a00001 	mov	r0, #1                                        
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
30007754:	eaffffd7 	b	300076b8 <_Thread_queue_Enqueue_priority+0xa4>  
30007758:	e129f008 	msr	CPSR_fc, r8                                   <== NOT EXECUTED
3000775c:	eaffffbc 	b	30007654 <_Thread_queue_Enqueue_priority+0x40>  <== NOT EXECUTED
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( priority == search_priority )                                  
30007760:	e1530005 	cmp	r3, r5                                        
                                                                      
  if ( the_thread_queue->sync_state !=                                
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
30007764:	e3a03000 	mov	r3, #0                                        
30007768:	e5803030 	str	r3, [r0, #48]	; 0x30                          
                                                                      
  if ( priority == search_priority )                                  
3000776c:	0a000008 	beq	30007794 <_Thread_queue_Enqueue_priority+0x180>
    goto equal_priority;                                              
                                                                      
  search_node   = (Chain_Node *) search_thread;                       
  previous_node = search_node->previous;                              
30007770:	e5943004 	ldr	r3, [r4, #4]                                  
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
30007774:	e5814000 	str	r4, [r1]                                      
  the_node->previous     = previous_node;                             
30007778:	e5813004 	str	r3, [r1, #4]                                  
  previous_node->next    = the_node;                                  
  search_node->previous  = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
3000777c:	e5810044 	str	r0, [r1, #68]	; 0x44                          
  previous_node = search_node->previous;                              
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  the_node->previous     = previous_node;                             
  previous_node->next    = the_node;                                  
30007780:	e5831000 	str	r1, [r3]                                      
  search_node->previous  = the_node;                                  
30007784:	e5841004 	str	r1, [r4, #4]                                  
30007788:	e129f008 	msr	CPSR_fc, r8                                   
3000778c:	e3a00001 	mov	r0, #1                                        
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
30007790:	eaffffc8 	b	300076b8 <_Thread_queue_Enqueue_priority+0xa4>  
30007794:	e284403c 	add	r4, r4, #60	; 0x3c                            
  _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;                              
30007798:	e5943004 	ldr	r3, [r4, #4]                                  
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
3000779c:	e5814000 	str	r4, [r1]                                      
  the_node->previous     = previous_node;                             
300077a0:	e5813004 	str	r3, [r1, #4]                                  
  previous_node->next    = the_node;                                  
  search_node->previous  = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
300077a4:	e5810044 	str	r0, [r1, #68]	; 0x44                          
  previous_node = search_node->previous;                              
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  the_node->previous     = previous_node;                             
  previous_node->next    = the_node;                                  
300077a8:	e5831000 	str	r1, [r3]                                      
  search_node->previous  = the_node;                                  
300077ac:	e5841004 	str	r1, [r4, #4]                                  
300077b0:	e129f006 	msr	CPSR_fc, r6                                   
300077b4:	e3a00001 	mov	r0, #1                                        
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
300077b8:	eaffffbe 	b	300076b8 <_Thread_queue_Enqueue_priority+0xa4>  
                                                                      
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 ) ) {  
300077bc:	e1a06008 	mov	r6, r8                                        
300077c0:	e3e05000 	mvn	r5, #0                                        
300077c4:	eaffffb6 	b	300076a4 <_Thread_queue_Enqueue_priority+0x90>  
300077c8:	30018ed4 	.word	0x30018ed4                                  
                                                                      
30016270 <_Timer_server_Body>:                                        
 *  @a arg points to the corresponding timer server control block.    
 */                                                                   
static rtems_task _Timer_server_Body(                                 
  rtems_task_argument arg                                             
)                                                                     
{                                                                     
30016270:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
30016274:	e24dd024 	sub	sp, sp, #36	; 0x24                            
30016278:	e1a04000 	mov	r4, r0                                        
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
3001627c:	e3a03000 	mov	r3, #0                                        
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
30016280:	e28d0018 	add	r0, sp, #24                                   
30016284:	e28d700c 	add	r7, sp, #12                                   
30016288:	e280a004 	add	sl, r0, #4                                    
3001628c:	e2872004 	add	r2, r7, #4                                    
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
30016290:	e58d301c 	str	r3, [sp, #28]                                 
  the_chain->last           = _Chain_Head(the_chain);                 
30016294:	e58d0020 	str	r0, [sp, #32]                                 
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
30016298:	e58d3010 	str	r3, [sp, #16]                                 
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
3001629c:	e2840040 	add	r0, r4, #64	; 0x40                            
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
300162a0:	e2843008 	add	r3, r4, #8                                    
300162a4:	e59f91ac 	ldr	r9, [pc, #428]	; 30016458 <_Timer_server_Body+0x1e8>
300162a8:	e59fb1ac 	ldr	fp, [pc, #428]	; 3001645c <_Timer_server_Body+0x1ec>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
300162ac:	e58d2000 	str	r2, [sp]                                      
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
300162b0:	e58da018 	str	sl, [sp, #24]                                 
300162b4:	e58d200c 	str	r2, [sp, #12]                                 
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
300162b8:	e58d7014 	str	r7, [sp, #20]                                 
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
300162bc:	e2846030 	add	r6, r4, #48	; 0x30                            
    /*                                                                
     *  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 );
300162c0:	e2848068 	add	r8, r4, #104	; 0x68                           
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
300162c4:	e98d0009 	stmib	sp, {r0, r3}                                
{                                                                     
  /*                                                                  
   *  Afterwards all timer inserts are directed to this chain and the interval
   *  and TOD chains will be no more modified by other parties.       
   */                                                                 
  ts->insert_chain = insert_chain;                                    
300162c8:	e28d2018 	add	r2, sp, #24                                   
300162cc:	e5842078 	str	r2, [r4, #120]	; 0x78                         
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
300162d0:	e5993000 	ldr	r3, [r9]                                      
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
300162d4:	e594103c 	ldr	r1, [r4, #60]	; 0x3c                          
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
300162d8:	e1a00006 	mov	r0, r6                                        
300162dc:	e0611003 	rsb	r1, r1, r3                                    
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
300162e0:	e584303c 	str	r3, [r4, #60]	; 0x3c                          
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
300162e4:	e1a02007 	mov	r2, r7                                        
300162e8:	eb00109f 	bl	3001a56c <_Watchdog_Adjust_to_chain>           
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
300162ec:	e59b5000 	ldr	r5, [fp]                                      
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
300162f0:	e5941074 	ldr	r1, [r4, #116]	; 0x74                         
  /*                                                                  
   *  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 ) {                                   
300162f4:	e1550001 	cmp	r5, r1                                        
300162f8:	8a000022 	bhi	30016388 <_Timer_server_Body+0x118>           
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
300162fc:	3a000018 	bcc	30016364 <_Timer_server_Body+0xf4>            
      */                                                              
     delta = last_snapshot - snapshot;                                
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
30016300:	e5845074 	str	r5, [r4, #116]	; 0x74                         
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
30016304:	e5940078 	ldr	r0, [r4, #120]	; 0x78                         
30016308:	eb000248 	bl	30016c30 <_Chain_Get>                          
                                                                      
    if ( timer == NULL ) {                                            
3001630c:	e3500000 	cmp	r0, #0                                        
30016310:	0a00000b 	beq	30016344 <_Timer_server_Body+0xd4>            
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
30016314:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          
30016318:	e3530001 	cmp	r3, #1                                        
3001631c:	0a000015 	beq	30016378 <_Timer_server_Body+0x108>           
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
30016320:	e3530003 	cmp	r3, #3                                        
30016324:	1afffff6 	bne	30016304 <_Timer_server_Body+0x94>            
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
30016328:	e2801010 	add	r1, r0, #16                                   
3001632c:	e1a00008 	mov	r0, r8                                        
30016330:	eb0010bc 	bl	3001a628 <_Watchdog_Insert>                    
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
30016334:	e5940078 	ldr	r0, [r4, #120]	; 0x78                         
30016338:	eb00023c 	bl	30016c30 <_Chain_Get>                          
                                                                      
    if ( timer == NULL ) {                                            
3001633c:	e3500000 	cmp	r0, #0                                        
30016340:	1afffff3 	bne	30016314 <_Timer_server_Body+0xa4>            
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
30016344:	e10f2000 	mrs	r2, CPSR                                      
30016348:	e3823080 	orr	r3, r2, #128	; 0x80                           
3001634c:	e129f003 	msr	CPSR_fc, r3                                   
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
30016350:	e59d3018 	ldr	r3, [sp, #24]                                 
30016354:	e15a0003 	cmp	sl, r3                                        
30016358:	0a00000f 	beq	3001639c <_Timer_server_Body+0x12c>           
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
3001635c:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
30016360:	eaffffda 	b	300162d0 <_Timer_server_Body+0x60>              <== NOT EXECUTED
     /*                                                               
      *  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 ); 
30016364:	e0652001 	rsb	r2, r5, r1                                    
30016368:	e1a00008 	mov	r0, r8                                        
3001636c:	e3a01001 	mov	r1, #1                                        
30016370:	eb00104e 	bl	3001a4b0 <_Watchdog_Adjust>                    
30016374:	eaffffe1 	b	30016300 <_Timer_server_Body+0x90>              
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
30016378:	e2801010 	add	r1, r0, #16                                   
3001637c:	e1a00006 	mov	r0, r6                                        
30016380:	eb0010a8 	bl	3001a628 <_Watchdog_Insert>                    
30016384:	eaffffde 	b	30016304 <_Timer_server_Body+0x94>              
    /*                                                                
     *  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 );
30016388:	e0611005 	rsb	r1, r1, r5                                    
3001638c:	e1a00008 	mov	r0, r8                                        
30016390:	e1a02007 	mov	r2, r7                                        
30016394:	eb001074 	bl	3001a56c <_Watchdog_Adjust_to_chain>           
30016398:	eaffffd8 	b	30016300 <_Timer_server_Body+0x90>              
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
      ts->insert_chain = NULL;                                        
3001639c:	e5840078 	str	r0, [r4, #120]	; 0x78                         
300163a0:	e129f002 	msr	CPSR_fc, 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 ) ) {                          
300163a4:	e59d300c 	ldr	r3, [sp, #12]                                 
300163a8:	e59d0000 	ldr	r0, [sp]                                      
300163ac:	e1500003 	cmp	r0, r3                                        
300163b0:	159d5000 	ldrne	r5, [sp]                                    
300163b4:	1a00000a 	bne	300163e4 <_Timer_server_Body+0x174>           
300163b8:	ea000011 	b	30016404 <_Timer_server_Body+0x194>             
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
300163bc:	e5932000 	ldr	r2, [r3]                                      
         *  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;                        
300163c0:	e3a00000 	mov	r0, #0                                        
  the_chain->first    = new_first;                                    
300163c4:	e58d200c 	str	r2, [sp, #12]                                 
300163c8:	e5830008 	str	r0, [r3, #8]                                  
  new_first->previous = _Chain_Head(the_chain);                       
300163cc:	e5827004 	str	r7, [r2, #4]                                  
300163d0:	e129f001 	msr	CPSR_fc, r1                                   
        /*                                                            
         *  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 );    
300163d4:	e5930020 	ldr	r0, [r3, #32]                                 
300163d8:	e5931024 	ldr	r1, [r3, #36]	; 0x24                          
300163dc:	e1a0e00f 	mov	lr, pc                                        
300163e0:	e593f01c 	ldr	pc, [r3, #28]                                 
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
300163e4:	e10f1000 	mrs	r1, CPSR                                      
300163e8:	e3813080 	orr	r3, r1, #128	; 0x80                           
300163ec:	e129f003 	msr	CPSR_fc, r3                                   
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
300163f0:	e59d300c 	ldr	r3, [sp, #12]                                 
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
300163f4:	e1550003 	cmp	r5, r3                                        
300163f8:	1affffef 	bne	300163bc <_Timer_server_Body+0x14c>           
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
300163fc:	e129f001 	msr	CPSR_fc, r1                                   
30016400:	eaffffb0 	b	300162c8 <_Timer_server_Body+0x58>              
30016404:	e59f0054 	ldr	r0, [pc, #84]	; 30016460 <_Timer_server_Body+0x1f0>
      }                                                               
    } else {                                                          
      ts->active = false;                                             
30016408:	e3a02000 	mov	r2, #0                                        
3001640c:	e5c4207c 	strb	r2, [r4, #124]	; 0x7c                        
30016410:	e5903000 	ldr	r3, [r0]                                      
30016414:	e2833001 	add	r3, r3, #1                                    
30016418:	e5803000 	str	r3, [r0]                                      
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
3001641c:	e3a01008 	mov	r1, #8                                        
30016420:	e5940000 	ldr	r0, [r4]                                      
30016424:	eb000db5 	bl	30019b00 <_Thread_Set_state>                   
        _Timer_server_Reset_interval_system_watchdog( ts );           
30016428:	e1a00004 	mov	r0, r4                                        
3001642c:	ebffff63 	bl	300161c0 <_Timer_server_Reset_interval_system_watchdog>
        _Timer_server_Reset_tod_system_watchdog( ts );                
30016430:	e1a00004 	mov	r0, r4                                        
30016434:	ebffff77 	bl	30016218 <_Timer_server_Reset_tod_system_watchdog>
      _Thread_Enable_dispatch();                                      
30016438:	eb000b07 	bl	3001905c <_Thread_Enable_dispatch>             
                                                                      
      ts->active = true;                                              
3001643c:	e3a02001 	mov	r2, #1                                        
30016440:	e5c4207c 	strb	r2, [r4, #124]	; 0x7c                        
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
30016444:	e59d0008 	ldr	r0, [sp, #8]                                  
30016448:	eb0010e3 	bl	3001a7dc <_Watchdog_Remove>                    
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
3001644c:	e59d0004 	ldr	r0, [sp, #4]                                  
30016450:	eb0010e1 	bl	3001a7dc <_Watchdog_Remove>                    
30016454:	eaffff9b 	b	300162c8 <_Timer_server_Body+0x58>              
30016458:	3003ac84 	.word	0x3003ac84                                  
3001645c:	3003abb4 	.word	0x3003abb4                                  
30016460:	3003ab2c 	.word	0x3003ab2c                                  
                                                                      
3000a0b8 <_Watchdog_Adjust>:                                          
void _Watchdog_Adjust(                                                
  Chain_Control               *header,                                
  Watchdog_Adjust_directions   direction,                             
  Watchdog_Interval            units                                  
)                                                                     
{                                                                     
3000a0b8:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
3000a0bc:	e1a04000 	mov	r4, r0                                        
3000a0c0:	e1a05002 	mov	r5, r2                                        
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
3000a0c4:	e10f3000 	mrs	r3, CPSR                                      
3000a0c8:	e3832080 	orr	r2, r3, #128	; 0x80                           
3000a0cc:	e129f002 	msr	CPSR_fc, r2                                   
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
3000a0d0:	e1a07000 	mov	r7, r0                                        
3000a0d4:	e4972004 	ldr	r2, [r7], #4                                  
   *       hence the compiler must not assume *header to remain       
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
3000a0d8:	e1520007 	cmp	r2, r7                                        
3000a0dc:	0a000018 	beq	3000a144 <_Watchdog_Adjust+0x8c>              
    switch ( direction ) {                                            
3000a0e0:	e3510000 	cmp	r1, #0                                        
3000a0e4:	1a000018 	bne	3000a14c <_Watchdog_Adjust+0x94>              
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
3000a0e8:	e3550000 	cmp	r5, #0                                        
3000a0ec:	0a000014 	beq	3000a144 <_Watchdog_Adjust+0x8c>              
          if ( units < _Watchdog_First( header )->delta_interval ) {  
3000a0f0:	e5926010 	ldr	r6, [r2, #16]                                 
3000a0f4:	e1550006 	cmp	r5, r6                                        
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
3000a0f8:	23a08001 	movcs	r8, #1                                      
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
3000a0fc:	2a000005 	bcs	3000a118 <_Watchdog_Adjust+0x60>              
3000a100:	ea000018 	b	3000a168 <_Watchdog_Adjust+0xb0>                <== NOT EXECUTED
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
3000a104:	e0555006 	subs	r5, r5, r6                                   
3000a108:	0a00000d 	beq	3000a144 <_Watchdog_Adjust+0x8c>              
          if ( units < _Watchdog_First( header )->delta_interval ) {  
3000a10c:	e5926010 	ldr	r6, [r2, #16]                                 
3000a110:	e1560005 	cmp	r6, r5                                        
3000a114:	8a000013 	bhi	3000a168 <_Watchdog_Adjust+0xb0>              
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
3000a118:	e5828010 	str	r8, [r2, #16]                                 
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
3000a11c:	e129f003 	msr	CPSR_fc, r3                                   
                                                                      
            _ISR_Enable( level );                                     
                                                                      
            _Watchdog_Tickle( header );                               
3000a120:	e1a00004 	mov	r0, r4                                        
3000a124:	eb0000aa 	bl	3000a3d4 <_Watchdog_Tickle>                    
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
3000a128:	e10f3000 	mrs	r3, CPSR                                      
3000a12c:	e3832080 	orr	r2, r3, #128	; 0x80                           
3000a130:	e129f002 	msr	CPSR_fc, r2                                   
3000a134:	e5941000 	ldr	r1, [r4]                                      
                                                                      
            _ISR_Disable( level );                                    
                                                                      
            if ( _Chain_Is_empty( header ) )                          
3000a138:	e1570001 	cmp	r7, r1                                        
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) header->first );                      
3000a13c:	e1a02001 	mov	r2, r1                                        
3000a140:	1affffef 	bne	3000a104 <_Watchdog_Adjust+0x4c>              
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
3000a144:	e129f003 	msr	CPSR_fc, r3                                   
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
3000a148:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
    switch ( direction ) {                                            
3000a14c:	e3510001 	cmp	r1, #1                                        
3000a150:	1afffffb 	bne	3000a144 <_Watchdog_Adjust+0x8c>              
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
3000a154:	e5921010 	ldr	r1, [r2, #16]                                 
3000a158:	e0815005 	add	r5, r1, r5                                    
3000a15c:	e5825010 	str	r5, [r2, #16]                                 
3000a160:	e129f003 	msr	CPSR_fc, r3                                   
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
3000a164:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
            _Watchdog_First( header )->delta_interval -= units;       
3000a168:	e0655006 	rsb	r5, r5, r6                                    
3000a16c:	e5825010 	str	r5, [r2, #16]                                 
            break;                                                    
3000a170:	eafffff3 	b	3000a144 <_Watchdog_Adjust+0x8c>                
                                                                      
30021bb0 <__kill>:                                                    
#endif                                                                
                                                                      
int __kill( pid_t pid, int sig )                                      
{                                                                     
  return 0;                                                           
}                                                                     
30021bb0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
30021bb4:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
30017870 <_exit>:                                                     
  /*                                                                  
   *  If the toolset uses init/fini sections, then we need to         
   *  run the global destructors now.                                 
   */                                                                 
  #if defined(__USE_INIT_FINI__)                                      
    FINI_SYMBOL();                                                    
30017870:	e24dd004 	sub	sp, sp, #4                                    
30017874:	e58d0000 	str	r0, [sp]                                      
30017878:	eb0001f5 	bl	30018054 <_fini>                               
   *  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();                                                      
3001787c:	ebffffe1 	bl	30017808 <libc_wrapup>                         
  rtems_shutdown_executive(status);                                   
30017880:	e59d0000 	ldr	r0, [sp]                                      
30017884:	eb00003e 	bl	30017984 <rtems_shutdown_executive>            
30017888:	eafffffe 	b	30017888 <_exit+0x18>                           <== NOT EXECUTED
                                                                      
30038378 <_fcntl_r>:                                                  
  int fd,                                                             
  int cmd,                                                            
  int arg                                                             
)                                                                     
{                                                                     
  return fcntl( fd, cmd, arg );                                       
30038378:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
3003837c:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
30038380:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
30038384:	eaffff82 	b	30038194 <fcntl>                                <== NOT EXECUTED
                                                                      
30021b90 <_getpid_r>:                                                 
pid_t _getpid_r(                                                      
  struct _reent *ptr __attribute__((unused))                          
)                                                                     
{                                                                     
  return getpid();                                                    
}                                                                     
30021b90:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
30021b94:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
30009af8 <_gettimeofday>:                                             
int _gettimeofday(                                                    
  struct timeval  *tp,                                                
  struct timezone *tzp                                                
)                                                                     
{                                                                     
  return gettimeofday( tp, tzp );                                     
30009af8:	eaffffe5 	b	30009a94 <gettimeofday>                         <== NOT EXECUTED
                                                                      
30021ba8 <_kill_r>:                                                   
#include <reent.h>                                                    
                                                                      
int _kill_r( struct _reent *ptr, pid_t pid, int sig )                 
{                                                                     
  return 0;                                                           
}                                                                     
30021ba8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
30021bac:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
300265b8 <_link_r>:                                                   
  struct _reent *ptr __attribute__((unused)),                         
  const char    *existing,                                            
  const char    *new                                                  
)                                                                     
{                                                                     
  return link( existing, new );                                       
300265b8:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
300265bc:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
300265c0:	eaffff65 	b	3002635c <link>                                 <== NOT EXECUTED
                                                                      
30026804 <_lstat_r>:                                                  
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path,                                                
  struct stat   *buf                                                  
)                                                                     
{                                                                     
  return _STAT_NAME( path, buf );                                     
30026804:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
30026808:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
3002680c:	eaffffc2 	b	3002671c <lstat>                                <== NOT EXECUTED
                                                                      
30017968 <_realloc_r>:                                                
  struct _reent *ignored __attribute__((unused)),                     
  void          *ptr,                                                 
  size_t         size                                                 
)                                                                     
{                                                                     
  return realloc( ptr, size );                                        
30017968:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
3001796c:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
30017970:	ea00000e 	b	300179b0 <realloc>                              <== NOT EXECUTED
                                                                      
3005733c <_rename_r>:                                                 
int _rename_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *old,                                                 
  const char    *new                                                  
)                                                                     
{                                                                     
3005733c:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
30057340:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
int _rename_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *old,                                                 
  const char    *new                                                  
)                                                                     
{                                                                     
30057344:	e24dd044 	sub	sp, sp, #68	; 0x44                            <== NOT EXECUTED
30057348:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
3005734c:	e1a06002 	mov	r6, r2                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
30057350:	ebfeb5bb 	bl	30004a44 <rtems_filesystem_dirname>            <== NOT EXECUTED
                                                                      
  if ( old_parent_pathlen == 0 )                                      
30057354:	e2507000 	subs	r7, r0, #0                                   <== NOT EXECUTED
30057358:	1a0000ec 	bne	30057710 <_rename_r+0x3d4>                    <== NOT EXECUTED
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
3005735c:	e5d53000 	ldrb	r3, [r5]                                     <== NOT EXECUTED
30057360:	e353002f 	cmp	r3, #47	; 0x2f                                <== NOT EXECUTED
30057364:	1353005c 	cmpne	r3, #92	; 0x5c                              <== NOT EXECUTED
30057368:	1a000063 	bne	300574fc <_rename_r+0x1c0>                    <== NOT EXECUTED
3005736c:	e59f33d0 	ldr	r3, [pc, #976]	; 30057744 <_rename_r+0x408>   <== NOT EXECUTED
30057370:	e28d4018 	add	r4, sp, #24                                   <== NOT EXECUTED
30057374:	e593c000 	ldr	ip, [r3]                                      <== NOT EXECUTED
30057378:	e1a0a004 	mov	sl, r4                                        <== NOT EXECUTED
3005737c:	e28cc018 	add	ip, ip, #24                                   <== NOT EXECUTED
30057380:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         <== NOT EXECUTED
30057384:	e8aa000f 	stmia	sl!, {r0, r1, r2, r3}                       <== NOT EXECUTED
30057388:	e59c2000 	ldr	r2, [ip]                                      <== NOT EXECUTED
3005738c:	e3a08000 	mov	r8, #0                                        <== NOT EXECUTED
30057390:	e58a2000 	str	r2, [sl]                                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
30057394:	e28dc02c 	add	ip, sp, #44	; 0x2c                            <== NOT EXECUTED
30057398:	e1a0e004 	mov	lr, r4                                        <== NOT EXECUTED
3005739c:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         <== NOT EXECUTED
300573a0:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       <== NOT EXECUTED
300573a4:	e59e3000 	ldr	r3, [lr]                                      <== NOT EXECUTED
  name = old + old_parent_pathlen;                                    
300573a8:	e0855007 	add	r5, r5, r7                                    <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
300573ac:	e58c3000 	str	r3, [ip]                                      <== NOT EXECUTED
  name = old + old_parent_pathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
300573b0:	e1a00005 	mov	r0, r5                                        <== 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;                                    
300573b4:	e58d5040 	str	r5, [sp, #64]	; 0x40                          <== NOT EXECUTED
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
300573b8:	ebffb3d1 	bl	30044304 <strlen>                              <== NOT EXECUTED
300573bc:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
300573c0:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
300573c4:	ebfeb58a 	bl	300049f4 <rtems_filesystem_prefix_separators>  <== NOT EXECUTED
300573c8:	e0855000 	add	r5, r5, r0                                    <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
300573cc:	e1a00005 	mov	r0, r5                                        <== 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 ) ); 
300573d0:	e58d5040 	str	r5, [sp, #64]	; 0x40                          <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
300573d4:	ebffb3ca 	bl	30044304 <strlen>                              <== NOT EXECUTED
300573d8:	e28d702c 	add	r7, sp, #44	; 0x2c                            <== NOT EXECUTED
300573dc:	e3a0c000 	mov	ip, #0                                        <== NOT EXECUTED
300573e0:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
300573e4:	e1a0200c 	mov	r2, ip                                        <== NOT EXECUTED
300573e8:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
300573ec:	e1a03007 	mov	r3, r7                                        <== NOT EXECUTED
300573f0:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
300573f4:	ebfeb5ac 	bl	30004aac <rtems_filesystem_evaluate_relative_path><== NOT EXECUTED
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
300573f8:	e2505000 	subs	r5, r0, #0                                   <== NOT EXECUTED
300573fc:	1a00007b 	bne	300575f0 <_rename_r+0x2b4>                    <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
30057400:	e5d63000 	ldrb	r3, [r6]                                     <== NOT EXECUTED
30057404:	e353002f 	cmp	r3, #47	; 0x2f                                <== NOT EXECUTED
30057408:	1353005c 	cmpne	r3, #92	; 0x5c                              <== NOT EXECUTED
3005740c:	13a0e000 	movne	lr, #0                                      <== NOT EXECUTED
30057410:	03a0e001 	moveq	lr, #1                                      <== NOT EXECUTED
30057414:	1a000045 	bne	30057530 <_rename_r+0x1f4>                    <== NOT EXECUTED
30057418:	e59f3324 	ldr	r3, [pc, #804]	; 30057744 <_rename_r+0x408>   <== NOT EXECUTED
3005741c:	e28d5004 	add	r5, sp, #4                                    <== NOT EXECUTED
30057420:	e593c000 	ldr	ip, [r3]                                      <== NOT EXECUTED
30057424:	e3a0e001 	mov	lr, #1                                        <== NOT EXECUTED
30057428:	e28cc018 	add	ip, ip, #24                                   <== NOT EXECUTED
3005742c:	e1a0a005 	mov	sl, r5                                        <== NOT EXECUTED
30057430:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         <== NOT EXECUTED
30057434:	e8aa000f 	stmia	sl!, {r0, r1, r2, r3}                       <== NOT EXECUTED
                                                                      
  if ( !new_parent_loc.ops->evalformake_h ) {                         
30057438:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
3005743c:	e59c2000 	ldr	r2, [ip]                                      <== NOT EXECUTED
                                                                      
  if ( !new_parent_loc.ops->evalformake_h ) {                         
30057440:	e5933004 	ldr	r3, [r3, #4]                                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
30057444:	e58a2000 	str	r2, [sl]                                      <== NOT EXECUTED
                                                                      
  if ( !new_parent_loc.ops->evalformake_h ) {                         
30057448:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
3005744c:	0a000098 	beq	300576b4 <_rename_r+0x378>                    <== 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 );
30057450:	e086000e 	add	r0, r6, lr                                    <== NOT EXECUTED
30057454:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
30057458:	e28d2040 	add	r2, sp, #64	; 0x40                            <== NOT EXECUTED
3005745c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30057460:	e12fff13 	bx	r3                                             <== NOT EXECUTED
  if ( result != 0 ) {                                                
30057464:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
30057468:	1a00006e 	bne	30057628 <_rename_r+0x2ec>                    <== 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 ) {         
3005746c:	e59d3014 	ldr	r3, [sp, #20]                                 <== NOT EXECUTED
30057470:	e59d2028 	ldr	r2, [sp, #40]	; 0x28                          <== NOT EXECUTED
30057474:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
30057478:	1a00003d 	bne	30057574 <_rename_r+0x238>                    <== 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 ) {                              
3005747c:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
30057480:	e593c040 	ldr	ip, [r3, #64]	; 0x40                          <== NOT EXECUTED
30057484:	e35c0000 	cmp	ip, #0                                        <== NOT EXECUTED
30057488:	0a000084 	beq	300576a0 <_rename_r+0x364>                    <== 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 );
3005748c:	e59d3040 	ldr	r3, [sp, #64]	; 0x40                          <== NOT EXECUTED
30057490:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
30057494:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
30057498:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
3005749c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
300574a0:	e12fff1c 	bx	ip                                             <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
300574a4:	e59d3010 	ldr	r3, [sp, #16]                                 <== 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 );
300574a8:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
300574ac:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300574b0:	0a000004 	beq	300574c8 <_rename_r+0x18c>                    <== NOT EXECUTED
300574b4:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
300574b8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300574bc:	11a00005 	movne	r0, r5                                      <== NOT EXECUTED
300574c0:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
300574c4:	112fff13 	bxne	r3                                           <== NOT EXECUTED
  if ( free_old_parentloc )                                           
300574c8:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
300574cc:	1a00001e 	bne	3005754c <_rename_r+0x210>                    <== NOT EXECUTED
    rtems_filesystem_freenode( &old_parent_loc );                     
  rtems_filesystem_freenode( &old_loc );                              
300574d0:	e59d3038 	ldr	r3, [sp, #56]	; 0x38                          <== NOT EXECUTED
300574d4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300574d8:	0a000004 	beq	300574f0 <_rename_r+0x1b4>                    <== NOT EXECUTED
300574dc:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
300574e0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300574e4:	11a00007 	movne	r0, r7                                      <== NOT EXECUTED
300574e8:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
300574ec:	112fff13 	bxne	r3                                           <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
300574f0:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
300574f4:	e28dd044 	add	sp, sp, #68	; 0x44                            <== NOT EXECUTED
300574f8:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
                                                                      
  if ( old_parent_pathlen == 0 )                                      
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
300574fc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30057500:	0affff99 	beq	3005736c <_rename_r+0x30>                     <== NOT EXECUTED
30057504:	e59f3238 	ldr	r3, [pc, #568]	; 30057744 <_rename_r+0x408>   <== NOT EXECUTED
30057508:	e28d4018 	add	r4, sp, #24                                   <== NOT EXECUTED
3005750c:	e593c000 	ldr	ip, [r3]                                      <== NOT EXECUTED
30057510:	e1a0e004 	mov	lr, r4                                        <== NOT EXECUTED
30057514:	e28cc004 	add	ip, ip, #4                                    <== NOT EXECUTED
30057518:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         <== NOT EXECUTED
3005751c:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       <== NOT EXECUTED
30057520:	e59c2000 	ldr	r2, [ip]                                      <== NOT EXECUTED
30057524:	e1a08007 	mov	r8, r7                                        <== NOT EXECUTED
30057528:	e58e2000 	str	r2, [lr]                                      <== NOT EXECUTED
3005752c:	eaffff98 	b	30057394 <_rename_r+0x58>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
30057530:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30057534:	0affffb7 	beq	30057418 <_rename_r+0xdc>                     <== NOT EXECUTED
30057538:	e59f3204 	ldr	r3, [pc, #516]	; 30057744 <_rename_r+0x408>   <== NOT EXECUTED
3005753c:	e28d5004 	add	r5, sp, #4                                    <== NOT EXECUTED
30057540:	e593c000 	ldr	ip, [r3]                                      <== NOT EXECUTED
30057544:	e28cc004 	add	ip, ip, #4                                    <== NOT EXECUTED
30057548:	eaffffb7 	b	3005742c <_rename_r+0xf0>                       <== 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 );                     
3005754c:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
30057550:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30057554:	0affffdd 	beq	300574d0 <_rename_r+0x194>                    <== NOT EXECUTED
30057558:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
3005755c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30057560:	0affffda 	beq	300574d0 <_rename_r+0x194>                    <== NOT EXECUTED
30057564:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
30057568:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
3005756c:	e12fff13 	bx	r3                                             <== NOT EXECUTED
30057570:	eaffffd6 	b	300574d0 <_rename_r+0x194>                      <== 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 );                     
30057574:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
30057578:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
3005757c:	0a000004 	beq	30057594 <_rename_r+0x258>                    <== NOT EXECUTED
30057580:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
30057584:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30057588:	11a00005 	movne	r0, r5                                      <== NOT EXECUTED
3005758c:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
30057590:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    if ( free_old_parentloc )                                         
30057594:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
30057598:	0a000007 	beq	300575bc <_rename_r+0x280>                    <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
3005759c:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
300575a0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300575a4:	0a000004 	beq	300575bc <_rename_r+0x280>                    <== NOT EXECUTED
300575a8:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
300575ac:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300575b0:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
300575b4:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
300575b8:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_filesystem_freenode( &old_loc );                            
300575bc:	e59d3038 	ldr	r3, [sp, #56]	; 0x38                          <== NOT EXECUTED
300575c0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300575c4:	0a000004 	beq	300575dc <_rename_r+0x2a0>                    <== NOT EXECUTED
300575c8:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
300575cc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300575d0:	11a00007 	movne	r0, r7                                      <== NOT EXECUTED
300575d4:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
300575d8:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EXDEV );                    
300575dc:	ebff98ce 	bl	3003d91c <__errno>                             <== NOT EXECUTED
300575e0:	e3a03012 	mov	r3, #18                                       <== NOT EXECUTED
300575e4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
300575e8:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
300575ec:	eaffffbf 	b	300574f0 <_rename_r+0x1b4>                      <== 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 )                                         
300575f0:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
300575f4:	0a000007 	beq	30057618 <_rename_r+0x2dc>                    <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
300575f8:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
300575fc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30057600:	0a000004 	beq	30057618 <_rename_r+0x2dc>                    <== NOT EXECUTED
30057604:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
30057608:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
3005760c:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
30057610:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
30057614:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( result );                   
30057618:	ebff98bf 	bl	3003d91c <__errno>                             <== NOT EXECUTED
3005761c:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
30057620:	e5805000 	str	r5, [r0]                                      <== NOT EXECUTED
30057624:	eaffffb1 	b	300574f0 <_rename_r+0x1b4>                      <== 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 );                     
30057628:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
3005762c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30057630:	0a000004 	beq	30057648 <_rename_r+0x30c>                    <== NOT EXECUTED
30057634:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
30057638:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
3005763c:	11a00005 	movne	r0, r5                                      <== NOT EXECUTED
30057640:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
30057644:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    if ( free_old_parentloc )                                         
30057648:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
3005764c:	0a000007 	beq	30057670 <_rename_r+0x334>                    <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
30057650:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
30057654:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30057658:	0a000004 	beq	30057670 <_rename_r+0x334>                    <== NOT EXECUTED
3005765c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
30057660:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30057664:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
30057668:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
3005766c:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_filesystem_freenode( &old_loc );                            
30057670:	e59d3038 	ldr	r3, [sp, #56]	; 0x38                          <== NOT EXECUTED
30057674:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30057678:	0a000004 	beq	30057690 <_rename_r+0x354>                    <== NOT EXECUTED
3005767c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
30057680:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30057684:	11a00007 	movne	r0, r7                                      <== NOT EXECUTED
30057688:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
3005768c:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( result );                   
30057690:	ebff98a1 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30057694:	e5806000 	str	r6, [r0]                                      <== NOT EXECUTED
30057698:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
3005769c:	eaffff93 	b	300574f0 <_rename_r+0x1b4>                      <== 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 );                     
300576a0:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
300576a4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300576a8:	11a00005 	movne	r0, r5                                      <== NOT EXECUTED
300576ac:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
300576b0:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    if ( free_old_parentloc )                                         
300576b4:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
300576b8:	0a000007 	beq	300576dc <_rename_r+0x3a0>                    <== NOT EXECUTED
      rtems_filesystem_freenode( &old_parent_loc );                   
300576bc:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
300576c0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300576c4:	0a000004 	beq	300576dc <_rename_r+0x3a0>                    <== NOT EXECUTED
300576c8:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
300576cc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300576d0:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
300576d4:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
300576d8:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_filesystem_freenode( &old_loc );                            
300576dc:	e59d3038 	ldr	r3, [sp, #56]	; 0x38                          <== NOT EXECUTED
300576e0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300576e4:	0a000004 	beq	300576fc <_rename_r+0x3c0>                    <== NOT EXECUTED
300576e8:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
300576ec:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300576f0:	11a00007 	movne	r0, r7                                      <== NOT EXECUTED
300576f4:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
300576f8:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
300576fc:	ebff9886 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30057700:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
30057704:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30057708:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
3005770c:	eaffff77 	b	300574f0 <_rename_r+0x1b4>                      <== 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, 
30057710:	e28d4018 	add	r4, sp, #24                                   <== NOT EXECUTED
30057714:	e3a0c000 	mov	ip, #0                                        <== NOT EXECUTED
30057718:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
3005771c:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
30057720:	e3a02002 	mov	r2, #2                                        <== NOT EXECUTED
30057724:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
30057728:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
3005772c:	ebfeb51a 	bl	30004b9c <rtems_filesystem_evaluate_path>      <== NOT EXECUTED
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &old_parent_loc,         
                                             false );                 
    if ( result != 0 )                                                
30057730:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
30057734:	03a08001 	moveq	r8, #1                                      <== NOT EXECUTED
30057738:	0affff15 	beq	30057394 <_rename_r+0x58>                     <== NOT EXECUTED
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
    if ( free_old_parentloc )                                         
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_set_errno_and_return_minus_one( result );                   
3005773c:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
30057740:	eaffff6a 	b	300574f0 <_rename_r+0x1b4>                      <== NOT EXECUTED
30057744:	30061b08 	.word	0x30061b08                                  
                                                                      
300061b0 <_stat_r>:                                                   
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path,                                                
  struct stat   *buf                                                  
)                                                                     
{                                                                     
  return _STAT_NAME( path, buf );                                     
300061b0:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
300061b4:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
300061b8:	eaffffc2 	b	300060c8 <stat>                                 <== NOT EXECUTED
                                                                      
3000c870 <_unlink_r>:                                                 
int _unlink_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path                                                 
)                                                                     
{                                                                     
  return unlink( path );                                              
3000c870:	e1a00001 	mov	r0, r1                                        <== NOT EXECUTED
3000c874:	eaffff5a 	b	3000c5e4 <unlink>                               <== NOT EXECUTED
                                                                      
30024fe4 <chdir>:                                                     
#include <rtems/seterr.h>                                             
                                                                      
int chdir(                                                            
  const char *pathname                                                
)                                                                     
{                                                                     
30024fe4:	e92d4030 	push	{r4, r5, lr}                                 
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if ( !pathname )                                                    
30024fe8:	e2505000 	subs	r5, r0, #0                                   
#include <rtems/seterr.h>                                             
                                                                      
int chdir(                                                            
  const char *pathname                                                
)                                                                     
{                                                                     
30024fec:	e24dd018 	sub	sp, sp, #24                                   
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if ( !pathname )                                                    
30024ff0:	0a000031 	beq	300250bc <chdir+0xd8>                         
                                                                      
  /*                                                                  
   *  Get the node where we wish to go.                               
   */                                                                 
  result = rtems_filesystem_evaluate_path(                            
    pathname, strlen( pathname ), RTEMS_LIBIO_PERMS_SEARCH, &loc, true );
30024ff4:	eb007cc2 	bl	30044304 <strlen>                              
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  /*                                                                  
   *  Get the node where we wish to go.                               
   */                                                                 
  result = rtems_filesystem_evaluate_path(                            
30024ff8:	e28d4004 	add	r4, sp, #4                                    
30024ffc:	e3a0c001 	mov	ip, #1                                        
    pathname, strlen( pathname ), RTEMS_LIBIO_PERMS_SEARCH, &loc, true );
30025000:	e1a01000 	mov	r1, r0                                        
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  /*                                                                  
   *  Get the node where we wish to go.                               
   */                                                                 
  result = rtems_filesystem_evaluate_path(                            
30025004:	e1a0200c 	mov	r2, ip                                        
30025008:	e1a00005 	mov	r0, r5                                        
3002500c:	e1a03004 	mov	r3, r4                                        
30025010:	e58dc000 	str	ip, [sp]                                      
30025014:	ebff7ee0 	bl	30004b9c <rtems_filesystem_evaluate_path>      
    pathname, strlen( pathname ), RTEMS_LIBIO_PERMS_SEARCH, &loc, true );
  if ( result != 0 )                                                  
30025018:	e3500000 	cmp	r0, #0                                        
3002501c:	1a000024 	bne	300250b4 <chdir+0xd0>                         
     return -1;                                                       
                                                                      
  /*                                                                  
   * Verify you can change directory into this node.                  
   */                                                                 
  if ( !loc.ops->node_type_h ) {                                      
30025020:	e59d2010 	ldr	r2, [sp, #16]                                 
30025024:	e5923010 	ldr	r3, [r2, #16]                                 
30025028:	e3530000 	cmp	r3, #0                                        
3002502c:	0a000018 	beq	30025094 <chdir+0xb0>                         
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
30025030:	e1a00004 	mov	r0, r4                                        
30025034:	e1a0e00f 	mov	lr, pc                                        
30025038:	e12fff13 	bx	r3                                             
3002503c:	e3500001 	cmp	r0, #1                                        
30025040:	1a000022 	bne	300250d0 <chdir+0xec>                         
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
  }                                                                   
                                                                      
  rtems_filesystem_freenode( &rtems_filesystem_current );             
30025044:	e59f50b8 	ldr	r5, [pc, #184]	; 30025104 <chdir+0x120>       
30025048:	e595c000 	ldr	ip, [r5]                                      
3002504c:	e59c3010 	ldr	r3, [ip, #16]                                 
30025050:	e3530000 	cmp	r3, #0                                        
30025054:	0a000006 	beq	30025074 <chdir+0x90>                         
30025058:	e593301c 	ldr	r3, [r3, #28]                                 
3002505c:	e3530000 	cmp	r3, #0                                        
30025060:	0a000003 	beq	30025074 <chdir+0x90>                         
30025064:	e28c0004 	add	r0, ip, #4                                    
30025068:	e1a0e00f 	mov	lr, pc                                        
3002506c:	e12fff13 	bx	r3                                             
30025070:	e595c000 	ldr	ip, [r5]                                      
                                                                      
  rtems_filesystem_current = loc;                                     
30025074:	e28cc004 	add	ip, ip, #4                                    
30025078:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
3002507c:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
30025080:	e5943000 	ldr	r3, [r4]                                      
30025084:	e3a00000 	mov	r0, #0                                        
30025088:	e58c3000 	str	r3, [ip]                                      
                                                                      
  return 0;                                                           
}                                                                     
3002508c:	e28dd018 	add	sp, sp, #24                                   
30025090:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
  /*                                                                  
   * Verify you can change directory into this node.                  
   */                                                                 
  if ( !loc.ops->node_type_h ) {                                      
    rtems_filesystem_freenode( &loc );                                
30025094:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
30025098:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
3002509c:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
300250a0:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
300250a4:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
300250a8:	eb00621b 	bl	3003d91c <__errno>                             <== NOT EXECUTED
300250ac:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
300250b0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
300250b4:	e3e00000 	mvn	r0, #0                                        
300250b8:	eafffff3 	b	3002508c <chdir+0xa8>                           
{                                                                     
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if ( !pathname )                                                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
300250bc:	eb006216 	bl	3003d91c <__errno>                             
300250c0:	e3a0300e 	mov	r3, #14                                       
300250c4:	e5803000 	str	r3, [r0]                                      
300250c8:	e3e00000 	mvn	r0, #0                                        
300250cc:	eaffffee 	b	3002508c <chdir+0xa8>                           
    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 );                                
300250d0:	e59d3010 	ldr	r3, [sp, #16]                                 
300250d4:	e3530000 	cmp	r3, #0                                        
300250d8:	0a000004 	beq	300250f0 <chdir+0x10c>                        
300250dc:	e593301c 	ldr	r3, [r3, #28]                                 
300250e0:	e3530000 	cmp	r3, #0                                        
300250e4:	11a00004 	movne	r0, r4                                      
300250e8:	11a0e00f 	movne	lr, pc                                      
300250ec:	112fff13 	bxne	r3                                           
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
300250f0:	eb006209 	bl	3003d91c <__errno>                             
300250f4:	e3a03014 	mov	r3, #20                                       
300250f8:	e5803000 	str	r3, [r0]                                      
300250fc:	e3e00000 	mvn	r0, #0                                        
30025100:	eaffffe1 	b	3002508c <chdir+0xa8>                           
30025104:	30061b08 	.word	0x30061b08                                  
                                                                      
30004854 <chmod>:                                                     
                                                                      
int chmod(                                                            
  const char *path,                                                   
  mode_t      mode                                                    
)                                                                     
{                                                                     
30004854:	e92d4070 	push	{r4, r5, r6, lr}                             
30004858:	e24dd018 	sub	sp, sp, #24                                   
3000485c:	e1a05001 	mov	r5, r1                                        
30004860:	e1a06000 	mov	r6, r0                                        
  int                              status;                            
  rtems_filesystem_location_info_t loc;                               
  int                              result;                            
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ), 0, &loc, true );
30004864:	eb00fea6 	bl	30044304 <strlen>                              
30004868:	e28d4004 	add	r4, sp, #4                                    
3000486c:	e1a01000 	mov	r1, r0                                        
30004870:	e3a0c001 	mov	ip, #1                                        
30004874:	e1a00006 	mov	r0, r6                                        
30004878:	e3a02000 	mov	r2, #0                                        
3000487c:	e1a03004 	mov	r3, r4                                        
30004880:	e58dc000 	str	ip, [sp]                                      
30004884:	eb0000c4 	bl	30004b9c <rtems_filesystem_evaluate_path>      
  if ( status != 0 )                                                  
30004888:	e3500000 	cmp	r0, #0                                        
3000488c:	1a000020 	bne	30004914 <chmod+0xc0>                         
    return -1;                                                        
                                                                      
  if ( !loc.handlers ){                                               
30004890:	e59d300c 	ldr	r3, [sp, #12]                                 
30004894:	e3530000 	cmp	r3, #0                                        
30004898:	0a000012 	beq	300048e8 <chmod+0x94>                         
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( EBADF );                    
  }                                                                   
                                                                      
  if ( !loc.handlers->fchmod_h ){                                     
3000489c:	e593301c 	ldr	r3, [r3, #28]                                 
300048a0:	e3530000 	cmp	r3, #0                                        
300048a4:	0a00001c 	beq	3000491c <chmod+0xc8>                         
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.handlers->fchmod_h)( &loc, mode );                   
300048a8:	e1a01005 	mov	r1, r5                                        
300048ac:	e1a00004 	mov	r0, r4                                        
300048b0:	e1a0e00f 	mov	lr, pc                                        
300048b4:	e12fff13 	bx	r3                                             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
300048b8:	e59d3010 	ldr	r3, [sp, #16]                                 
  if ( !loc.handlers->fchmod_h ){                                     
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.handlers->fchmod_h)( &loc, mode );                   
300048bc:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
300048c0:	e3530000 	cmp	r3, #0                                        
300048c4:	0a000004 	beq	300048dc <chmod+0x88>                         
300048c8:	e593301c 	ldr	r3, [r3, #28]                                 
300048cc:	e3530000 	cmp	r3, #0                                        
300048d0:	11a00004 	movne	r0, r4                                      
300048d4:	11a0e00f 	movne	lr, pc                                      
300048d8:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
300048dc:	e1a00005 	mov	r0, r5                                        
300048e0:	e28dd018 	add	sp, sp, #24                                   
300048e4:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  status = rtems_filesystem_evaluate_path( path, strlen( path ), 0, &loc, true );
  if ( status != 0 )                                                  
    return -1;                                                        
                                                                      
  if ( !loc.handlers ){                                               
    rtems_filesystem_freenode( &loc );                                
300048e8:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
300048ec:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300048f0:	0a000004 	beq	30004908 <chmod+0xb4>                         <== NOT EXECUTED
300048f4:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
300048f8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300048fc:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
30004900:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
30004904:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EBADF );                    
30004908:	eb00e403 	bl	3003d91c <__errno>                             <== NOT EXECUTED
3000490c:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
30004910:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30004914:	e3e05000 	mvn	r5, #0                                        
30004918:	eaffffef 	b	300048dc <chmod+0x88>                           
  }                                                                   
                                                                      
  if ( !loc.handlers->fchmod_h ){                                     
    rtems_filesystem_freenode( &loc );                                
3000491c:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
30004920:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30004924:	0a000004 	beq	3000493c <chmod+0xe8>                         <== NOT EXECUTED
30004928:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
3000492c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30004930:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
30004934:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
30004938:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
3000493c:	eb00e3f6 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30004940:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
30004944:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30004948:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
3000494c:	eaffffe2 	b	300048dc <chmod+0x88>                           <== NOT EXECUTED
                                                                      
30025108 <chown>:                                                     
int chown(                                                            
  const char *path,                                                   
  uid_t       owner,                                                  
  gid_t       group                                                   
)                                                                     
{                                                                     
30025108:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
3002510c:	e1a01801 	lsl	r1, r1, #16                                   
30025110:	e24dd018 	sub	sp, sp, #24                                   
30025114:	e1a02802 	lsl	r2, r2, #16                                   
30025118:	e1a06821 	lsr	r6, r1, #16                                   
3002511c:	e1a05822 	lsr	r5, r2, #16                                   
30025120:	e1a07000 	mov	r7, r0                                        
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &loc, true ) )
30025124:	eb007c76 	bl	30044304 <strlen>                              
30025128:	e28d4004 	add	r4, sp, #4                                    
3002512c:	e1a01000 	mov	r1, r0                                        
30025130:	e3a0c001 	mov	ip, #1                                        
30025134:	e1a00007 	mov	r0, r7                                        
30025138:	e3a02000 	mov	r2, #0                                        
3002513c:	e1a03004 	mov	r3, r4                                        
30025140:	e58dc000 	str	ip, [sp]                                      
30025144:	ebff7e94 	bl	30004b9c <rtems_filesystem_evaluate_path>      
30025148:	e3500000 	cmp	r0, #0                                        
3002514c:	1a00001c 	bne	300251c4 <chown+0xbc>                         
    return -1;                                                        
                                                                      
  if ( !loc.ops->chown_h ) {                                          
30025150:	e59d2010 	ldr	r2, [sp, #16]                                 
30025154:	e5923018 	ldr	r3, [r2, #24]                                 
30025158:	e3530000 	cmp	r3, #0                                        
3002515c:	0a000010 	beq	300251a4 <chown+0x9c>                         
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->chown_h)( &loc, owner, group );                 
30025160:	e1a02005 	mov	r2, r5                                        
30025164:	e1a01006 	mov	r1, r6                                        
30025168:	e1a00004 	mov	r0, r4                                        
3002516c:	e1a0e00f 	mov	lr, pc                                        
30025170:	e12fff13 	bx	r3                                             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
30025174:	e59d3010 	ldr	r3, [sp, #16]                                 
  if ( !loc.ops->chown_h ) {                                          
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->chown_h)( &loc, owner, group );                 
30025178:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
3002517c:	e3530000 	cmp	r3, #0                                        
30025180:	0a000004 	beq	30025198 <chown+0x90>                         
30025184:	e593301c 	ldr	r3, [r3, #28]                                 
30025188:	e3530000 	cmp	r3, #0                                        
3002518c:	11a00004 	movne	r0, r4                                      
30025190:	11a0e00f 	movne	lr, pc                                      
30025194:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
30025198:	e1a00005 	mov	r0, r5                                        
3002519c:	e28dd018 	add	sp, sp, #24                                   
300251a0:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &loc, true ) )
    return -1;                                                        
                                                                      
  if ( !loc.ops->chown_h ) {                                          
    rtems_filesystem_freenode( &loc );                                
300251a4:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
300251a8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300251ac:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
300251b0:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
300251b4:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
300251b8:	eb0061d7 	bl	3003d91c <__errno>                             <== NOT EXECUTED
300251bc:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
300251c0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
300251c4:	e3e05000 	mvn	r5, #0                                        
300251c8:	eafffff2 	b	30025198 <chown+0x90>                           
                                                                      
300251cc <chroot>:                                                    
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
300251cc:	e92d4070 	push	{r4, r5, r6, lr}                             
  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) {             
300251d0:	e59f50d8 	ldr	r5, [pc, #216]	; 300252b0 <chroot+0xe4>       
300251d4:	e59f30d8 	ldr	r3, [pc, #216]	; 300252b4 <chroot+0xe8>       
300251d8:	e5954000 	ldr	r4, [r5]                                      
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
300251dc:	e24dd018 	sub	sp, sp, #24                                   
  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) {             
300251e0:	e1540003 	cmp	r4, r3                                        
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
300251e4:	e1a06000 	mov	r6, r0                                        
  int                               result;                           
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /* an automatic call to new private env the first time */           
  if (rtems_current_user_env == &rtems_global_user_env) {             
300251e8:	0a000020 	beq	30025270 <chroot+0xa4>                        
   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);                                           
300251ec:	e1a00006 	mov	r0, r6                                        
300251f0:	ebffff7b 	bl	30024fe4 <chdir>                               
  if (result) {                                                       
300251f4:	e250c000 	subs	ip, r0, #0                                   
300251f8:	1a000025 	bne	30025294 <chroot+0xc8>                        
    rtems_set_errno_and_return_minus_one( errno );                    
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
300251fc:	e28d4004 	add	r4, sp, #4                                    
30025200:	e1a0200c 	mov	r2, ip                                        
30025204:	e59f00ac 	ldr	r0, [pc, #172]	; 300252b8 <chroot+0xec>       
30025208:	e3a01001 	mov	r1, #1                                        
3002520c:	e1a03004 	mov	r3, r4                                        
30025210:	e58dc000 	str	ip, [sp]                                      
30025214:	ebff7e60 	bl	30004b9c <rtems_filesystem_evaluate_path>      
30025218:	e3500000 	cmp	r0, #0                                        
3002521c:	1a00001c 	bne	30025294 <chroot+0xc8>                        
    /* 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);                  
30025220:	e595c000 	ldr	ip, [r5]                                      
30025224:	e59c3024 	ldr	r3, [ip, #36]	; 0x24                          
30025228:	e3530000 	cmp	r3, #0                                        
3002522c:	0a000007 	beq	30025250 <chroot+0x84>                        
30025230:	e593301c 	ldr	r3, [r3, #28]                                 
30025234:	e3530000 	cmp	r3, #0                                        
30025238:	0a000004 	beq	30025250 <chroot+0x84>                        
3002523c:	e28c0018 	add	r0, ip, #24                                   
30025240:	e1a0e00f 	mov	lr, pc                                        
30025244:	e12fff13 	bx	r3                                             
30025248:	e59f3060 	ldr	r3, [pc, #96]	; 300252b0 <chroot+0xe4>        
3002524c:	e593c000 	ldr	ip, [r3]                                      
  rtems_filesystem_root = loc;                                        
30025250:	e28cc018 	add	ip, ip, #24                                   
30025254:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
30025258:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
3002525c:	e5943000 	ldr	r3, [r4]                                      
30025260:	e3a00000 	mov	r0, #0                                        
30025264:	e58c3000 	str	r3, [ip]                                      
                                                                      
  return 0;                                                           
}                                                                     
30025268:	e28dd018 	add	sp, sp, #24                                   
3002526c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  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*/   
30025270:	eb000617 	bl	30026ad4 <rtems_libio_set_private_env>         
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
30025274:	e5953000 	ldr	r3, [r5]                                      
30025278:	e1530004 	cmp	r3, r4                                        
3002527c:	1affffda 	bne	300251ec <chroot+0x20>                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
30025280:	eb0061a5 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30025284:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
30025288:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
3002528c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30025290:	eafffff4 	b	30025268 <chroot+0x9c>                          <== 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 );                    
30025294:	eb0061a0 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30025298:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
3002529c:	eb00619e 	bl	3003d91c <__errno>                             <== NOT EXECUTED
300252a0:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
300252a4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
300252a8:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
300252ac:	eaffffed 	b	30025268 <chroot+0x9c>                          <== NOT EXECUTED
300252b0:	30061b08 	.word	0x30061b08                                  
300252b4:	30065a9c 	.word	0x30065a9c                                  
300252b8:	3005b258 	.word	0x3005b258                                  
                                                                      
30008c64 <devFS_evaluate_path>:                                       
  const char                        *pathname,                        
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
30008c64:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
     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;    
30008c68:	e5936000 	ldr	r6, [r3]                                      
  const char                        *pathname,                        
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
30008c6c:	e1a0b003 	mov	fp, r3                                        
     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)                                             
30008c70:	e3560000 	cmp	r6, #0                                        
  const char                        *pathname,                        
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
30008c74:	e1a0a000 	mov	sl, r0                                        
30008c78:	e1a07001 	mov	r7, r1                                        
     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)                                             
30008c7c:	0a000025 	beq	30008d18 <devFS_evaluate_path+0xb4>           
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
30008c80:	e59f30a4 	ldr	r3, [pc, #164]	; 30008d2c <devFS_evaluate_path+0xc8>
30008c84:	e5938000 	ldr	r8, [r3]                                      
30008c88:	e3580000 	cmp	r8, #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 );                   
30008c8c:	13a09000 	movne	r9, #0                                      
30008c90:	11a04009 	movne	r4, r9                                      
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
30008c94:	0a000010 	beq	30008cdc <devFS_evaluate_path+0x78>           
    if (!device_name_table[i].device_name)                            
30008c98:	e0899109 	add	r9, r9, r9, lsl #2                            
30008c9c:	e7965109 	ldr	r5, [r6, r9, lsl #2]                          
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
30008ca0:	e1a0000a 	mov	r0, sl                                        
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
    if (!device_name_table[i].device_name)                            
30008ca4:	e2551000 	subs	r1, r5, #0                                   
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
30008ca8:	e1a02007 	mov	r2, r7                                        
  /* 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++) {                     
30008cac:	e2844001 	add	r4, r4, #1                                    
    if (!device_name_table[i].device_name)                            
30008cb0:	e0869109 	add	r9, r6, r9, lsl #2                            
30008cb4:	0a000005 	beq	30008cd0 <devFS_evaluate_path+0x6c>           
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
30008cb8:	eb000a4c 	bl	3000b5f0 <strncmp>                             
30008cbc:	e3500000 	cmp	r0, #0                                        
30008cc0:	1a000002 	bne	30008cd0 <devFS_evaluate_path+0x6c>           
      continue;                                                       
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
30008cc4:	e7d50007 	ldrb	r0, [r5, r7]                                 
30008cc8:	e3500000 	cmp	r0, #0                                        
30008ccc:	0a000007 	beq	30008cf0 <devFS_evaluate_path+0x8c>           
  /* 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++) {                     
30008cd0:	e1580004 	cmp	r8, r4                                        
30008cd4:	e1a09004 	mov	r9, r4                                        
30008cd8:	8affffee 	bhi	30008c98 <devFS_evaluate_path+0x34>           
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
30008cdc:	eb00068d 	bl	3000a718 <__errno>                             
30008ce0:	e3a03002 	mov	r3, #2                                        
30008ce4:	e5803000 	str	r3, [r0]                                      
30008ce8:	e3e00000 	mvn	r0, #0                                        
}                                                                     
30008cec:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
                                                                      
    /* 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;               
30008cf0:	e59f3038 	ldr	r3, [pc, #56]	; 30008d30 <devFS_evaluate_path+0xcc>
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
30008cf4:	e58b9000 	str	r9, [fp]                                      
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
30008cf8:	e5933000 	ldr	r3, [r3]                                      
30008cfc:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          
30008d00:	e58b3010 	str	r3, [fp, #16]                                 
    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;                         
30008d04:	e59f3028 	ldr	r3, [pc, #40]	; 30008d34 <devFS_evaluate_path+0xd0>
30008d08:	e58b3008 	str	r3, [fp, #8]                                  
    pathloc->ops = &devFS_ops;                                        
30008d0c:	e59f3024 	ldr	r3, [pc, #36]	; 30008d38 <devFS_evaluate_path+0xd4>
30008d10:	e58b300c 	str	r3, [fp, #12]                                 
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    return 0;                                                         
30008d14:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
  }                                                                   
                                                                      
  /* 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 );                   
30008d18:	eb00067e 	bl	3000a718 <__errno>                             <== NOT EXECUTED
30008d1c:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
30008d20:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30008d24:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30008d28:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
30008d2c:	3000e294 	.word	0x3000e294                                  
30008d30:	3000e4f4 	.word	0x3000e4f4                                  
30008d34:	3000e460 	.word	0x3000e460                                  
30008d38:	3000e498 	.word	0x3000e498                                  
                                                                      
300015f8 <devFS_initialize>:                                          
                                                                      
                                                                      
int devFS_initialize(                                                 
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
300015f8:	e92d4070 	push	{r4, r5, r6, lr}                             
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* allocate device only filesystem name table */                    
  device_name_table = (rtems_device_name_t *)_Workspace_Allocate(     
300015fc:	e59f605c 	ldr	r6, [pc, #92]	; 30001660 <devFS_initialize+0x68>
                                                                      
                                                                      
int devFS_initialize(                                                 
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
30001600:	e1a04000 	mov	r4, r0                                        
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* allocate device only filesystem name table */                    
  device_name_table = (rtems_device_name_t *)_Workspace_Allocate(     
30001604:	e5960000 	ldr	r0, [r6]                                      
30001608:	e0800100 	add	r0, r0, r0, lsl #2                            
3000160c:	e1a00100 	lsl	r0, r0, #2                                    
30001610:	eb001c63 	bl	300087a4 <_Workspace_Allocate>                 
        sizeof( rtems_device_name_t ) * ( rtems_device_table_size )   
        );                                                            
                                                                      
  /* no memory for device filesystem */                               
  if (!device_name_table)                                             
30001614:	e2505000 	subs	r5, r0, #0                                   
30001618:	0a00000b 	beq	3000164c <devFS_initialize+0x54>              
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  memset(                                                             
3000161c:	e5962000 	ldr	r2, [r6]                                      
30001620:	e3a01000 	mov	r1, #0                                        
30001624:	e0822102 	add	r2, r2, r2, lsl #2                            
30001628:	e1a02102 	lsl	r2, r2, #2                                    
3000162c:	eb002667 	bl	3000afd0 <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;      
30001630:	e59f302c 	ldr	r3, [pc, #44]	; 30001664 <devFS_initialize+0x6c>
  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;  
30001634:	e584501c 	str	r5, [r4, #28]                                 
    sizeof( rtems_device_name_t ) * ( rtems_device_table_size )       
    );                                                                
                                                                      
  /* set file handlers */                                             
  temp_mt_entry->mt_fs_root.handlers     = &devFS_file_handlers;      
  temp_mt_entry->mt_fs_root.ops          = &devFS_ops;                
30001638:	e2832038 	add	r2, r3, #56	; 0x38                            
3000163c:	e5842028 	str	r2, [r4, #40]	; 0x28                          
    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;      
30001640:	e5843024 	str	r3, [r4, #36]	; 0x24                          
  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;  
30001644:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
}                                                                     
30001648:	e8bd8070 	pop	{r4, r5, r6, pc}                              
        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 );                 
3000164c:	eb002431 	bl	3000a718 <__errno>                             <== NOT EXECUTED
30001650:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
30001654:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30001658:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
3000165c:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
30001660:	3000e294 	.word	0x3000e294                                  
30001664:	3000e460 	.word	0x3000e460                                  
                                                                      
300017d0 <devFS_ioctl>:                                               
int devFS_ioctl(                                                      
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
300017d0:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
300017d4:	e1a03000 	mov	r3, r0                                        
300017d8:	e24dd010 	sub	sp, sp, #16                                   
  rtems_libio_ioctl_args_t  args;                                     
  rtems_status_code         status;                                   
  rtems_device_name_t      *np;                                       
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
300017dc:	e5900038 	ldr	r0, [r0, #56]	; 0x38                          
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
300017e0:	e98d0006 	stmib	sp, {r1, r2}                                
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control(                                          
300017e4:	e590100c 	ldr	r1, [r0, #12]                                 
300017e8:	e1a0200d 	mov	r2, sp                                        
300017ec:	e5900008 	ldr	r0, [r0, #8]                                  
  rtems_status_code         status;                                   
  rtems_device_name_t      *np;                                       
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop     = iop;                                                 
300017f0:	e58d3000 	str	r3, [sp]                                      
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control(                                          
300017f4:	eb001057 	bl	30005958 <rtems_io_control>                    
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
300017f8:	e3500000 	cmp	r0, #0                                        
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
300017fc:	059d000c 	ldreq	r0, [sp, #12]                               
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
30001800:	1a000001 	bne	3000180c <devFS_ioctl+0x3c>                   
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
}                                                                     
30001804:	e28dd010 	add	sp, sp, #16                                   
30001808:	e8bd8000 	pop	{pc}                                          
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
3000180c:	eb001d4a 	bl	30008d3c <rtems_deviceio_errno>                <== NOT EXECUTED
30001810:	eafffffb 	b	30001804 <devFS_ioctl+0x34>                     <== NOT EXECUTED
                                                                      
30001668 <devFS_mknod>:                                               
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
30001668:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
3000166c:	e1a04000 	mov	r4, r0                                        
   * 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') &&                         
30001670:	e5d00000 	ldrb	r0, [r0]                                     
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
30001674:	e1a05001 	mov	r5, 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') &&                         
30001678:	e3500064 	cmp	r0, #100	; 0x64                               
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
3000167c:	e1a06002 	mov	r6, r2                                        
30001680:	e1a0b003 	mov	fp, r3                                        
   * 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') &&                         
30001684:	0a000035 	beq	30001760 <devFS_mknod+0xf8>                   
      (path[2] == 'v') && (path[3] == '\0'))                          
      return 0;                                                       
                                                                      
  /* must be a character device or a block device */                  
  if (!S_ISBLK(mode) && !S_ISCHR(mode))                               
30001688:	e2053a0f 	and	r3, r5, #61440	; 0xf000                       
3000168c:	e3530a02 	cmp	r3, #8192	; 0x2000                            
30001690:	13530a06 	cmpne	r3, #24576	; 0x6000                         
30001694:	03a03000 	moveq	r3, #0                                      
30001698:	13a03001 	movne	r3, #1                                      
3000169c:	1a000039 	bne	30001788 <devFS_mknod+0x120>                  
    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;    
300016a0:	e59d2024 	ldr	r2, [sp, #36]	; 0x24                          
300016a4:	e5928000 	ldr	r8, [r2]                                      
  if (!device_name_table)                                             
300016a8:	e3580000 	cmp	r8, #0                                        
300016ac:	0a00003f 	beq	300017b0 <devFS_mknod+0x148>                  
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
300016b0:	e59f210c 	ldr	r2, [pc, #268]	; 300017c4 <devFS_mknod+0x15c> 
300016b4:	e592a000 	ldr	sl, [r2]                                      
300016b8:	e35a0000 	cmp	sl, #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 );                   
300016bc:	13e09000 	mvnne	r9, #0                                      
300016c0:	11a07003 	movne	r7, r3                                      
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
300016c4:	1a000007 	bne	300016e8 <devFS_mknod+0x80>                   
300016c8:	ea000033 	b	3000179c <devFS_mknod+0x134>                    <== NOT EXECUTED
      if (device_name_table[i].device_name == NULL)                   
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
300016cc:	eb0026e7 	bl	3000b270 <strcmp>                              <== NOT EXECUTED
300016d0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
300016d4:	0a00001c 	beq	3000174c <devFS_mknod+0xe4>                   <== 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++){           
300016d8:	e2877001 	add	r7, r7, #1                                    <== NOT EXECUTED
300016dc:	e157000a 	cmp	r7, sl                                        <== NOT EXECUTED
300016e0:	e1a03007 	mov	r3, r7                                        <== NOT EXECUTED
300016e4:	2a000009 	bcs	30001710 <devFS_mknod+0xa8>                   <== NOT EXECUTED
      if (device_name_table[i].device_name == NULL)                   
300016e8:	e0833103 	add	r3, r3, r3, lsl #2                            
300016ec:	e7983103 	ldr	r3, [r8, r3, lsl #2]                          
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
300016f0:	e1a00004 	mov	r0, r4                                        
  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)                   
300016f4:	e2531000 	subs	r1, r3, #0                                   
300016f8:	1afffff3 	bne	300016cc <devFS_mknod+0x64>                   
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
300016fc:	e1a09007 	mov	r9, r7                                        
  /* 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++){           
30001700:	e2877001 	add	r7, r7, #1                                    
30001704:	e157000a 	cmp	r7, sl                                        
30001708:	e1a03007 	mov	r3, r7                                        
3000170c:	3afffff5 	bcc	300016e8 <devFS_mknod+0x80>                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
  }                                                                   
                                                                      
  if (slot == -1)                                                     
30001710:	e3790001 	cmn	r9, #1                                        
30001714:	0a000020 	beq	3000179c <devFS_mknod+0x134>                  
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
30001718:	e10f7000 	mrs	r7, CPSR                                      
3000171c:	e3873080 	orr	r3, r7, #128	; 0x80                           
30001720:	e129f003 	msr	CPSR_fc, r3                                   
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
30001724:	e0899109 	add	r9, r9, r9, lsl #2                            
30001728:	e7884109 	str	r4, [r8, r9, lsl #2]                          
  device_name_table[slot].device_name_length = strlen(path);          
3000172c:	e1a00004 	mov	r0, r4                                        
30001730:	eb002796 	bl	3000b590 <strlen>                              
                                                                      
  if (slot == -1)                                                     
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
30001734:	e0888109 	add	r8, r8, r9, lsl #2                            
  device_name_table[slot].device_name_length = strlen(path);          
  device_name_table[slot].major = major;                              
  device_name_table[slot].minor = minor;                              
  device_name_table[slot].mode  = mode;                               
30001738:	e5885010 	str	r5, [r8, #16]                                 
  if (slot == -1)                                                     
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
  device_name_table[slot].device_name_length = strlen(path);          
3000173c:	e9880841 	stmib	r8, {r0, r6, fp}                            
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
30001740:	e129f007 	msr	CPSR_fc, r7                                   
30001744:	e3a00000 	mov	r0, #0                                        
  device_name_table[slot].minor = minor;                              
  device_name_table[slot].mode  = mode;                               
  _ISR_Enable(level);                                                 
                                                                      
  return 0;                                                           
}                                                                     
30001748:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
  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 );         
3000174c:	eb0023f1 	bl	3000a718 <__errno>                             <== NOT EXECUTED
30001750:	e3a03011 	mov	r3, #17                                       <== NOT EXECUTED
30001754:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30001758:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
3000175c:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== 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') &&                         
30001760:	e5d43001 	ldrb	r3, [r4, #1]                                 
30001764:	e3530065 	cmp	r3, #101	; 0x65                               
30001768:	1affffc6 	bne	30001688 <devFS_mknod+0x20>                   
      (path[2] == 'v') && (path[3] == '\0'))                          
3000176c:	e5d43002 	ldrb	r3, [r4, #2]                                 
30001770:	e3530076 	cmp	r3, #118	; 0x76                               
30001774:	1affffc3 	bne	30001688 <devFS_mknod+0x20>                   
30001778:	e5d40003 	ldrb	r0, [r4, #3]                                 
3000177c:	e3500000 	cmp	r0, #0                                        
30001780:	1affffc0 	bne	30001688 <devFS_mknod+0x20>                   
30001784:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
      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 );                   
30001788:	eb0023e2 	bl	3000a718 <__errno>                             <== NOT EXECUTED
3000178c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
30001790:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30001794:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30001798:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== 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 );                 
3000179c:	eb0023dd 	bl	3000a718 <__errno>                             <== NOT EXECUTED
300017a0:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
300017a4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
300017a8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
300017ac:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== 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 );                   
300017b0:	eb0023d8 	bl	3000a718 <__errno>                             <== NOT EXECUTED
300017b4:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
300017b8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
300017bc:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
300017c0:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
300017c4:	3000e294 	.word	0x3000e294                                  
                                                                      
30001854 <devFS_read>:                                                
ssize_t devFS_read(                                                   
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
30001854:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
30001858:	e590c014 	ldr	ip, [r0, #20]                                 <== NOT EXECUTED
ssize_t devFS_read(                                                   
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
3000185c:	e24dd01c 	sub	sp, sp, #28                                   <== NOT EXECUTED
  np               = (rtems_device_name_t *)iop->file_info;           
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
30001860:	e58d2010 	str	r2, [sp, #16]                                 <== NOT EXECUTED
ssize_t devFS_read(                                                   
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
30001864:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
30001868:	e3a02000 	mov	r2, #0                                        <== 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;           
3000186c:	e5900038 	ldr	r0, [r0, #56]	; 0x38                          <== NOT EXECUTED
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
30001870:	e58d2018 	str	r2, [sp, #24]                                 <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
30001874:	e58dc014 	str	ip, [sp, #20]                                 <== NOT EXECUTED
                                                                      
  np               = (rtems_device_name_t *)iop->file_info;           
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
30001878:	e58d100c 	str	r1, [sp, #12]                                 <== NOT EXECUTED
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
3000187c:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
30001880:	e590100c 	ldr	r1, [r0, #12]                                 <== NOT EXECUTED
30001884:	e5900008 	ldr	r0, [r0, #8]                                  <== NOT EXECUTED
  rtems_status_code       status;                                     
  rtems_device_name_t     *np;                                        
                                                                      
  np               = (rtems_device_name_t *)iop->file_info;           
                                                                      
  args.iop         = iop;                                             
30001888:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
  args.offset      = iop->offset;                                     
3000188c:	e283400c 	add	r4, r3, #12                                   <== NOT EXECUTED
30001890:	e8940018 	ldm	r4, {r3, r4}                                  <== NOT EXECUTED
30001894:	e98d0018 	stmib	sp, {r3, r4}                                <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
30001898:	eb00108f 	bl	30005adc <rtems_io_read>                       <== NOT EXECUTED
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
3000189c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
300018a0:	059d0018 	ldreq	r0, [sp, #24]                               <== NOT EXECUTED
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
300018a4:	1a000001 	bne	300018b0 <devFS_read+0x5c>                    <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
300018a8:	e28dd01c 	add	sp, sp, #28                                   <== NOT EXECUTED
300018ac:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
300018b0:	eb001d21 	bl	30008d3c <rtems_deviceio_errno>                <== NOT EXECUTED
300018b4:	eafffffb 	b	300018a8 <devFS_read+0x54>                      <== NOT EXECUTED
                                                                      
300018b8 <devFS_stat>:                                                
  struct stat                      *buf                               
)                                                                     
{                                                                     
  rtems_device_name_t *the_dev;                                       
                                                                      
  the_dev = (rtems_device_name_t *)loc->node_access;                  
300018b8:	e5903000 	ldr	r3, [r0]                                      
                                                                      
int devFS_stat(                                                       
  rtems_filesystem_location_info_t *loc,                              
  struct stat                      *buf                               
)                                                                     
{                                                                     
300018bc:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  rtems_device_name_t *the_dev;                                       
                                                                      
  the_dev = (rtems_device_name_t *)loc->node_access;                  
  if (!the_dev)                                                       
300018c0:	e3530000 	cmp	r3, #0                                        
300018c4:	0a000007 	beq	300018e8 <devFS_stat+0x30>                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  buf->st_rdev  = rtems_filesystem_make_dev_t( the_dev->major, the_dev->minor );
                                                                      
  buf->st_mode = the_dev->mode;                                       
300018c8:	e5930010 	ldr	r0, [r3, #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 );
300018cc:	e593200c 	ldr	r2, [r3, #12]                                 
  rtems_device_minor_number _minor                                    
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.__overlay.major = _major;                                      
300018d0:	e5933008 	ldr	r3, [r3, #8]                                  
                                                                      
  buf->st_mode = the_dev->mode;                                       
300018d4:	e581000c 	str	r0, [r1, #12]                                 
                                                                      
  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 );
300018d8:	e5813018 	str	r3, [r1, #24]                                 
300018dc:	e581201c 	str	r2, [r1, #28]                                 
                                                                      
  buf->st_mode = the_dev->mode;                                       
300018e0:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
}                                                                     
300018e4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
{                                                                     
  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 );                   
300018e8:	eb00238a 	bl	3000a718 <__errno>                             <== NOT EXECUTED
300018ec:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
300018f0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
300018f4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
300018f8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
300018fc <devFS_write>:                                               
ssize_t devFS_write(                                                  
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
300018fc:	e92d4010 	push	{r4, lr}                                     
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
30001900:	e590c014 	ldr	ip, [r0, #20]                                 
ssize_t devFS_write(                                                  
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
30001904:	e24dd01c 	sub	sp, sp, #28                                   
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
30001908:	e58d2010 	str	r2, [sp, #16]                                 
ssize_t devFS_write(                                                  
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
3000190c:	e1a03000 	mov	r3, r0                                        
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
30001910:	e3a02000 	mov	r2, #0                                        
{                                                                     
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  rtems_device_name_t    *np;                                         
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
30001914:	e5900038 	ldr	r0, [r0, #56]	; 0x38                          
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
30001918:	e58d2018 	str	r2, [sp, #24]                                 
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
3000191c:	e58dc014 	str	ip, [sp, #20]                                 
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
30001920:	e58d100c 	str	r1, [sp, #12]                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
30001924:	e1a0200d 	mov	r2, sp                                        
30001928:	e590100c 	ldr	r1, [r0, #12]                                 
3000192c:	e5900008 	ldr	r0, [r0, #8]                                  
  rtems_status_code       status;                                     
  rtems_device_name_t    *np;                                         
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop         = iop;                                             
30001930:	e58d3000 	str	r3, [sp]                                      
  args.offset      = iop->offset;                                     
30001934:	e283400c 	add	r4, r3, #12                                   
30001938:	e8940018 	ldm	r4, {r3, r4}                                  
3000193c:	e98d0018 	stmib	sp, {r3, r4}                                
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
30001940:	eb001079 	bl	30005b2c <rtems_io_write>                      
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
30001944:	e3500000 	cmp	r0, #0                                        
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
30001948:	059d0018 	ldreq	r0, [sp, #24]                               
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
3000194c:	1a000001 	bne	30001958 <devFS_write+0x5c>                   
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
30001950:	e28dd01c 	add	sp, sp, #28                                   
30001954:	e8bd8010 	pop	{r4, pc}                                      
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
30001958:	eb001cf7 	bl	30008d3c <rtems_deviceio_errno>                <== NOT EXECUTED
3000195c:	eafffffb 	b	30001950 <devFS_write+0x54>                     <== NOT EXECUTED
                                                                      
3000ae8c <device_ioctl>:                                              
int device_ioctl(                                                     
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
3000ae8c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  the_jnode = iop->file_info;                                         
3000ae90:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          
int device_ioctl(                                                     
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
3000ae94:	e24dd010 	sub	sp, sp, #16                                   
  rtems_status_code         status;                                   
  IMFS_jnode_t             *the_jnode;                                
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
  args.buffer  = buffer;                                              
3000ae98:	e88d0007 	stm	sp, {r0, r1, r2}                              
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  status = rtems_io_control(                                          
3000ae9c:	e5931054 	ldr	r1, [r3, #84]	; 0x54                          
3000aea0:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          
3000aea4:	e1a0200d 	mov	r2, sp                                        
3000aea8:	eb000470 	bl	3000c070 <rtems_io_control>                    
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
3000aeac:	e3500000 	cmp	r0, #0                                        
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
3000aeb0:	059d000c 	ldreq	r0, [sp, #12]                               
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
3000aeb4:	1a000001 	bne	3000aec0 <device_ioctl+0x34>                  
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
}                                                                     
3000aeb8:	e28dd010 	add	sp, sp, #16                                   
3000aebc:	e8bd8000 	pop	{pc}                                          
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
3000aec0:	eb0005b3 	bl	3000c594 <rtems_deviceio_errno>                <== NOT EXECUTED
3000aec4:	eafffffb 	b	3000aeb8 <device_ioctl+0x2c>                    <== NOT EXECUTED
                                                                      
3000af28 <device_read>:                                               
ssize_t device_read(                                                  
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
3000af28:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
3000af2c:	e280400c 	add	r4, r0, #12                                   <== NOT EXECUTED
3000af30:	e8940018 	ldm	r4, {r3, r4}                                  <== NOT EXECUTED
ssize_t device_read(                                                  
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
3000af34:	e24dd01c 	sub	sp, sp, #28                                   <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
3000af38:	e590c014 	ldr	ip, [r0, #20]                                 <== NOT EXECUTED
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
3000af3c:	e98d0018 	stmib	sp, {r3, r4}                                <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
3000af40:	e58d2010 	str	r2, [sp, #16]                                 <== NOT EXECUTED
{                                                                     
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
3000af44:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          <== NOT EXECUTED
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
3000af48:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
3000af4c:	e58d2018 	str	r2, [sp, #24]                                 <== NOT EXECUTED
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
3000af50:	e58d100c 	str	r1, [sp, #12]                                 <== NOT EXECUTED
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
3000af54:	e58dc014 	str	ip, [sp, #20]                                 <== NOT EXECUTED
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
3000af58:	e58d0000 	str	r0, [sp]                                      <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
3000af5c:	e5931054 	ldr	r1, [r3, #84]	; 0x54                          <== NOT EXECUTED
3000af60:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          <== NOT EXECUTED
3000af64:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
3000af68:	eb000468 	bl	3000c110 <rtems_io_read>                       <== NOT EXECUTED
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
3000af6c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
3000af70:	059d0018 	ldreq	r0, [sp, #24]                               <== NOT EXECUTED
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
3000af74:	1a000001 	bne	3000af80 <device_read+0x58>                   <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
3000af78:	e28dd01c 	add	sp, sp, #28                                   <== NOT EXECUTED
3000af7c:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
3000af80:	eb000583 	bl	3000c594 <rtems_deviceio_errno>                <== NOT EXECUTED
3000af84:	eafffffb 	b	3000af78 <device_read+0x50>                     <== NOT EXECUTED
                                                                      
3000aec8 <device_write>:                                              
ssize_t device_write(                                                 
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
3000aec8:	e92d4010 	push	{r4, lr}                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
3000aecc:	e280400c 	add	r4, r0, #12                                   
3000aed0:	e8940018 	ldm	r4, {r3, r4}                                  
ssize_t device_write(                                                 
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
3000aed4:	e24dd01c 	sub	sp, sp, #28                                   
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
3000aed8:	e590c014 	ldr	ip, [r0, #20]                                 
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
3000aedc:	e98d0018 	stmib	sp, {r3, r4}                                
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
3000aee0:	e58d2010 	str	r2, [sp, #16]                                 
{                                                                     
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
3000aee4:	e5903038 	ldr	r3, [r0, #56]	; 0x38                          
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
3000aee8:	e3a02000 	mov	r2, #0                                        
3000aeec:	e58d2018 	str	r2, [sp, #24]                                 
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
3000aef0:	e58d100c 	str	r1, [sp, #12]                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
3000aef4:	e58dc014 	str	ip, [sp, #20]                                 
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
3000aef8:	e58d0000 	str	r0, [sp]                                      
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
3000aefc:	e5931054 	ldr	r1, [r3, #84]	; 0x54                          
3000af00:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          
3000af04:	e1a0200d 	mov	r2, sp                                        
3000af08:	eb000494 	bl	3000c160 <rtems_io_write>                      
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
3000af0c:	e3500000 	cmp	r0, #0                                        
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
3000af10:	059d0018 	ldreq	r0, [sp, #24]                               
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
3000af14:	1a000001 	bne	3000af20 <device_write+0x58>                  
    return rtems_deviceio_errno(status);                              
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
3000af18:	e28dd01c 	add	sp, sp, #28                                   
3000af1c:	e8bd8010 	pop	{r4, pc}                                      
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
3000af20:	eb00059b 	bl	3000c594 <rtems_deviceio_errno>                <== NOT EXECUTED
3000af24:	eafffffb 	b	3000af18 <device_write+0x50>                    <== NOT EXECUTED
                                                                      
3000370c <drainOutput>:                                               
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {            
3000370c:	e59030b4 	ldr	r3, [r0, #180]	; 0xb4                         
/*                                                                    
 * Drain output queue                                                 
 */                                                                   
static void                                                           
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
30003710:	e92d4030 	push	{r4, r5, lr}                                 
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {            
30003714:	e3530000 	cmp	r3, #0                                        
/*                                                                    
 * Drain output queue                                                 
 */                                                                   
static void                                                           
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
30003718:	e1a04000 	mov	r4, r0                                        
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {            
3000371c:	08bd8030 	popeq	{r4, r5, pc}                                
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
30003720:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
30003724:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
30003728:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
		rtems_interrupt_disable (level);                                    
		while (tty->rawOutBuf.Tail != tty->rawOutBuf.Head) {                
3000372c:	e5901084 	ldr	r1, [r0, #132]	; 0x84                         <== NOT EXECUTED
30003730:	e5902080 	ldr	r2, [r0, #128]	; 0x80                         <== NOT EXECUTED
30003734:	e1510002 	cmp	r1, r2                                        <== NOT EXECUTED
30003738:	0a00000f 	beq	3000377c <drainOutput+0x70>                   <== NOT EXECUTED
			tty->rawOutBufState = rob_wait;                                    
3000373c:	e3a05002 	mov	r5, #2                                        <== NOT EXECUTED
30003740:	e5845094 	str	r5, [r4, #148]	; 0x94                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
30003744:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
			rtems_interrupt_enable (level);                                    
			sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,             
30003748:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
3000374c:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         <== NOT EXECUTED
30003750:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
30003754:	eb00063c 	bl	3000504c <rtems_semaphore_obtain>              <== NOT EXECUTED
							RTEMS_WAIT,                                                    
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
30003758:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
3000375c:	1a000008 	bne	30003784 <drainOutput+0x78>                   <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
30003760:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
30003764:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
30003768:	e129f002 	msr	CPSR_fc, 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) {                
3000376c:	e5941084 	ldr	r1, [r4, #132]	; 0x84                         <== NOT EXECUTED
30003770:	e5942080 	ldr	r2, [r4, #128]	; 0x80                         <== NOT EXECUTED
30003774:	e1510002 	cmp	r1, r2                                        <== NOT EXECUTED
30003778:	1afffff0 	bne	30003740 <drainOutput+0x34>                   <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
3000377c:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
30003780:	e8bd8030 	pop	{r4, r5, pc}                                  <== 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);                                  
30003784:	eb0007cf 	bl	300056c8 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
30002808 <dup2>:                                                      
                                                                      
int dup2(                                                             
  int fildes,                                                         
  int fildes2                                                         
)                                                                     
{                                                                     
30002808:	e92d4070 	push	{r4, r5, r6, lr}                             
3000280c:	e24dd048 	sub	sp, sp, #72	; 0x48                            
30002810:	e1a05001 	mov	r5, r1                                        
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
30002814:	e1a0100d 	mov	r1, sp                                        
                                                                      
int dup2(                                                             
  int fildes,                                                         
  int fildes2                                                         
)                                                                     
{                                                                     
30002818:	e1a06000 	mov	r6, r0                                        
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
3000281c:	eb0001be 	bl	30002f1c <fstat>                               
  if ( status == -1 )                                                 
30002820:	e3700001 	cmn	r0, #1                                        
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
30002824:	e1a0400d 	mov	r4, sp                                        
  if ( status == -1 )                                                 
30002828:	1a000002 	bne	30002838 <dup2+0x30>                          
                                                                      
  /*                                                                  
   *  This fcntl handles everything else.                             
   */                                                                 
                                                                      
  return fcntl( fildes, F_DUPFD, fildes2 );                           
3000282c:	e3e00000 	mvn	r0, #0                                        
}                                                                     
30002830:	e28dd048 	add	sp, sp, #72	; 0x48                            
30002834:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
  /*                                                                  
   *  If fildes2 is not valid, then we should not do anything either. 
   */                                                                 
                                                                      
  status = fstat( fildes2, &buf );                                    
30002838:	e1a0100d 	mov	r1, sp                                        
3000283c:	e1a00005 	mov	r0, r5                                        
30002840:	eb0001b5 	bl	30002f1c <fstat>                               
  if ( status == -1 )                                                 
30002844:	e3700001 	cmn	r0, #1                                        
30002848:	0afffff7 	beq	3000282c <dup2+0x24>                          
                                                                      
  /*                                                                  
   *  This fcntl handles everything else.                             
   */                                                                 
                                                                      
  return fcntl( fildes, F_DUPFD, fildes2 );                           
3000284c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
30002850:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
30002854:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
30002858:	eb00009e 	bl	30002ad8 <fcntl>                               <== NOT EXECUTED
3000285c:	eafffff3 	b	30002830 <dup2+0x28>                            <== NOT EXECUTED
                                                                      
30003180 <echo>:                                                      
/*                                                                    
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
30003180:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
30003184:	e591203c 	ldr	r2, [r1, #60]	; 0x3c                          <== NOT EXECUTED
/*                                                                    
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
30003188:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
3000318c:	e3120c02 	tst	r2, #512	; 0x200                              <== NOT EXECUTED
/*                                                                    
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
30003190:	e1a04001 	mov	r4, r1                                        <== NOT EXECUTED
30003194:	e20000ff 	and	r0, r0, #255	; 0xff                           <== NOT EXECUTED
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
30003198:	0a000007 	beq	300031bc <echo+0x3c>                          <== NOT EXECUTED
3000319c:	e59f2060 	ldr	r2, [pc, #96]	; 30003204 <echo+0x84>          <== NOT EXECUTED
300031a0:	e2503009 	subs	r3, r0, #9                                   <== NOT EXECUTED
300031a4:	13a03001 	movne	r3, #1                                      <== NOT EXECUTED
300031a8:	e5922000 	ldr	r2, [r2]                                      <== NOT EXECUTED
300031ac:	e0822000 	add	r2, r2, r0                                    <== NOT EXECUTED
300031b0:	e5d22001 	ldrb	r2, [r2, #1]                                 <== NOT EXECUTED
300031b4:	e01332a2 	ands	r3, r3, r2, lsr #5                           <== NOT EXECUTED
300031b8:	1a000003 	bne	300031cc <echo+0x4c>                          <== NOT EXECUTED
		echobuf[1] = c ^ 0x40;                                              
		rtems_termios_puts (echobuf, 2, tty);                               
		tty->column += 2;                                                   
	}                                                                    
	else {                                                               
		oproc (c, tty);                                                     
300031bc:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
300031c0:	ebffff92 	bl	30003010 <oproc>                               <== NOT EXECUTED
	}                                                                    
}                                                                     
300031c4:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
300031c8:	e8bd8010 	pop	{r4, pc}                                      <== 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')) {
300031cc:	e350000a 	cmp	r0, #10                                       <== NOT EXECUTED
300031d0:	0afffff9 	beq	300031bc <echo+0x3c>                          <== NOT EXECUTED
		char echobuf[2];                                                    
                                                                      
		echobuf[0] = '^';                                                   
		echobuf[1] = c ^ 0x40;                                              
300031d4:	e2203040 	eor	r3, r0, #64	; 0x40                            <== 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] = '^';                                                   
300031d8:	e3a0c05e 	mov	ip, #94	; 0x5e                                <== NOT EXECUTED
		echobuf[1] = c ^ 0x40;                                              
		rtems_termios_puts (echobuf, 2, tty);                               
300031dc:	e1a0000d 	mov	r0, sp                                        <== NOT EXECUTED
300031e0:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
300031e4:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
{                                                                     
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
		char echobuf[2];                                                    
                                                                      
		echobuf[0] = '^';                                                   
		echobuf[1] = c ^ 0x40;                                              
300031e8:	e5cd3001 	strb	r3, [sp, #1]                                 <== 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] = '^';                                                   
300031ec:	e5cdc000 	strb	ip, [sp]                                     <== NOT EXECUTED
		echobuf[1] = c ^ 0x40;                                              
		rtems_termios_puts (echobuf, 2, tty);                               
300031f0:	ebffff3e 	bl	30002ef0 <rtems_termios_puts>                  <== NOT EXECUTED
		tty->column += 2;                                                   
300031f4:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
300031f8:	e2833002 	add	r3, r3, #2                                    <== NOT EXECUTED
300031fc:	e5843028 	str	r3, [r4, #40]	; 0x28                          <== 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')) {
30003200:	eaffffef 	b	300031c4 <echo+0x44>                            <== NOT EXECUTED
30003204:	30019080 	.word	0x30019080                                  
                                                                      
300258d0 <endgrent>:                                                  
  group_fp = fopen("/etc/group", "r");                                
}                                                                     
                                                                      
void endgrent(void)                                                   
{                                                                     
  if (group_fp != NULL)                                               
300258d0:	e59f300c 	ldr	r3, [pc, #12]	; 300258e4 <endgrent+0x14>      <== NOT EXECUTED
300258d4:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
300258d8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
300258dc:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    fclose(group_fp);                                                 
300258e0:	ea00605a 	b	3003da50 <fclose>                               <== NOT EXECUTED
300258e4:	30065554 	.word	0x30065554                                  
                                                                      
300258e8 <endpwent>:                                                  
  passwd_fp = fopen("/etc/passwd", "r");                              
}                                                                     
                                                                      
void endpwent(void)                                                   
{                                                                     
  if (passwd_fp != NULL)                                              
300258e8:	e59f300c 	ldr	r3, [pc, #12]	; 300258fc <endpwent+0x14>      <== NOT EXECUTED
300258ec:	e5930004 	ldr	r0, [r3, #4]                                  <== NOT EXECUTED
300258f0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
300258f4:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
    fclose(passwd_fp);                                                
300258f8:	ea006054 	b	3003da50 <fclose>                               <== NOT EXECUTED
300258fc:	30065554 	.word	0x30065554                                  
                                                                      
30003208 <erase>:                                                     
 * FIXME: Some of the tests should check for IEXTEN, too.             
 */                                                                   
static void                                                           
erase (struct rtems_termios_tty *tty, int lineFlag)                   
{                                                                     
	if (tty->ccount == 0)                                                
30003208:	e5903020 	ldr	r3, [r0, #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)                   
{                                                                     
3000320c:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 <== NOT EXECUTED
	if (tty->ccount == 0)                                                
30003210:	e3530000 	cmp	r3, #0                                        <== 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)                   
{                                                                     
30003214:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
30003218:	e1a06001 	mov	r6, r1                                        <== NOT EXECUTED
	if (tty->ccount == 0)                                                
3000321c:	08bd85f0 	popeq	{r4, r5, r6, r7, r8, sl, pc}                <== NOT EXECUTED
		return;                                                             
	if (lineFlag) {                                                      
30003220:	e3510000 	cmp	r1, #0                                        <== NOT EXECUTED
30003224:	0590203c 	ldreq	r2, [r0, #60]	; 0x3c                        <== NOT EXECUTED
30003228:	1a000025 	bne	300032c4 <erase+0xbc>                         <== NOT EXECUTED
					rtems_termios_puts ("\b", 1, tty);                               
					tty->column--;                                                   
				}                                                                 
			}                                                                  
			else {                                                             
				if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {            
3000322c:	e59f71d4 	ldr	r7, [pc, #468]	; 30003408 <erase+0x200>       <== NOT EXECUTED
30003230:	ea000007 	b	30003254 <erase+0x4c>                           <== NOT EXECUTED
30003234:	e3120c02 	tst	r2, #512	; 0x200                              <== NOT EXECUTED
30003238:	1a00005a 	bne	300033a8 <erase+0x1a0>                        <== NOT EXECUTED
					if (tty->column)                                                 
						tty->column--;                                                  
				}                                                                 
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
3000323c:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
30003240:	08bd85f0 	popeq	{r4, r5, r6, r7, r8, sl, pc}                <== NOT EXECUTED
			if (tty->termios.c_lflag & ECHOK)                                  
				echo ('\n', tty);                                                 
			return;                                                            
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
30003244:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
30003248:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
3000324c:	08bd85f0 	popeq	{r4, r5, r6, r7, r8, sl, pc}                <== NOT EXECUTED
30003250:	e594203c 	ldr	r2, [r4, #60]	; 0x3c                          <== NOT EXECUTED
		unsigned char c = tty->cbuf[--tty->ccount];                         
30003254:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
30003258:	e594001c 	ldr	r0, [r4, #28]                                 <== NOT EXECUTED
3000325c:	e5843020 	str	r3, [r4, #32]                                 <== NOT EXECUTED
                                                                      
		if (tty->termios.c_lflag & ECHO) {                                  
30003260:	e3120008 	tst	r2, #8                                        <== NOT EXECUTED
				echo ('\n', tty);                                                 
			return;                                                            
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
		unsigned char c = tty->cbuf[--tty->ccount];                         
30003264:	e7d05003 	ldrb	r5, [r0, r3]                                 <== NOT EXECUTED
                                                                      
		if (tty->termios.c_lflag & ECHO) {                                  
30003268:	0afffff3 	beq	3000323c <erase+0x34>                         <== NOT EXECUTED
			if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {                
3000326c:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
30003270:	1a000001 	bne	3000327c <erase+0x74>                         <== NOT EXECUTED
30003274:	e3120010 	tst	r2, #16                                       <== NOT EXECUTED
30003278:	0a000046 	beq	30003398 <erase+0x190>                        <== NOT EXECUTED
				echo (tty->termios.c_cc[VERASE], tty);                            
			}                                                                  
			else if (c == '\t') {                                              
3000327c:	e3550009 	cmp	r5, #9                                        <== NOT EXECUTED
30003280:	0a000020 	beq	30003308 <erase+0x100>                        <== NOT EXECUTED
					rtems_termios_puts ("\b", 1, tty);                               
					tty->column--;                                                   
				}                                                                 
			}                                                                  
			else {                                                             
				if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {            
30003284:	e5973000 	ldr	r3, [r7]                                      <== NOT EXECUTED
30003288:	e2855001 	add	r5, r5, #1                                    <== NOT EXECUTED
3000328c:	e7d33005 	ldrb	r3, [r3, r5]                                 <== NOT EXECUTED
30003290:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
30003294:	1affffe6 	bne	30003234 <erase+0x2c>                         <== 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);                            
30003298:	e59f016c 	ldr	r0, [pc, #364]	; 3000340c <erase+0x204>       <== NOT EXECUTED
3000329c:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
300032a0:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
300032a4:	ebffff11 	bl	30002ef0 <rtems_termios_puts>                  <== NOT EXECUTED
					if (tty->column)                                                 
300032a8:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
300032ac:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
						tty->column--;                                                  
300032b0:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
300032b4:	15843028 	strne	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
				}                                                                 
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
300032b8:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
300032bc:	1affffe0 	bne	30003244 <erase+0x3c>                         <== NOT EXECUTED
300032c0:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
erase (struct rtems_termios_tty *tty, int lineFlag)                   
{                                                                     
	if (tty->ccount == 0)                                                
		return;                                                             
	if (lineFlag) {                                                      
		if (!(tty->termios.c_lflag & ECHO)) {                               
300032c4:	e590203c 	ldr	r2, [r0, #60]	; 0x3c                          <== NOT EXECUTED
300032c8:	e2121008 	ands	r1, r2, #8                                   <== NOT EXECUTED
			tty->ccount = 0;                                                   
300032cc:	05801020 	streq	r1, [r0, #32]                               <== NOT EXECUTED
erase (struct rtems_termios_tty *tty, int lineFlag)                   
{                                                                     
	if (tty->ccount == 0)                                                
		return;                                                             
	if (lineFlag) {                                                      
		if (!(tty->termios.c_lflag & ECHO)) {                               
300032d0:	08bd85f0 	popeq	{r4, r5, r6, r7, r8, sl, pc}                <== NOT EXECUTED
			tty->ccount = 0;                                                   
			return;                                                            
		}                                                                   
		if (!(tty->termios.c_lflag & ECHOE)) {                              
300032d4:	e2121010 	ands	r1, r2, #16                                  <== NOT EXECUTED
300032d8:	1affffd3 	bne	3000322c <erase+0x24>                         <== NOT EXECUTED
			tty->ccount = 0;                                                   
300032dc:	e5801020 	str	r1, [r0, #32]                                 <== NOT EXECUTED
			echo (tty->termios.c_cc[VKILL], tty);                              
300032e0:	e5d00044 	ldrb	r0, [r0, #68]	; 0x44                         <== NOT EXECUTED
300032e4:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
300032e8:	ebffffa4 	bl	30003180 <echo>                                <== NOT EXECUTED
			if (tty->termios.c_lflag & ECHOK)                                  
300032ec:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
300032f0:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
300032f4:	08bd85f0 	popeq	{r4, r5, r6, r7, r8, sl, pc}                <== NOT EXECUTED
				echo ('\n', tty);                                                 
300032f8:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
300032fc:	e3a0000a 	mov	r0, #10                                       <== NOT EXECUTED
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
			break;                                                             
	}                                                                    
}                                                                     
30003300:	e8bd45f0 	pop	{r4, r5, r6, r7, r8, sl, lr}                  <== NOT EXECUTED
		}                                                                   
		if (!(tty->termios.c_lflag & ECHOE)) {                              
			tty->ccount = 0;                                                   
			echo (tty->termios.c_cc[VKILL], tty);                              
			if (tty->termios.c_lflag & ECHOK)                                  
				echo ('\n', tty);                                                 
30003304:	eaffff9d 	b	30003180 <echo>                                 <== NOT EXECUTED
				int i = 0;                                                        
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
30003308:	e3530000 	cmp	r3, #0                                        <== 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;                                 
3000330c:	e594502c 	ldr	r5, [r4, #44]	; 0x2c                          <== NOT EXECUTED
				int i = 0;                                                        
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
30003310:	0a000011 	beq	3000335c <erase+0x154>                        <== NOT EXECUTED
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
30003314:	e5978000 	ldr	r8, [r7]                                      <== NOT EXECUTED
						if (tty->termios.c_lflag & ECHOCTL)                             
30003318:	e202ac02 	and	sl, r2, #512	; 0x200                          <== NOT EXECUTED
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
3000331c:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
30003320:	e7d01002 	ldrb	r1, [r0, r2]                                 <== NOT EXECUTED
30003324:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
					if (c == '\t') {                                                 
30003328:	e3510009 	cmp	r1, #9                                        <== NOT EXECUTED
						col = (col | 7) + 1;                                            
3000332c:	03855007 	orreq	r5, r5, #7                                  <== NOT EXECUTED
					}                                                                
					else if (iscntrl (c)) {                                          
30003330:	e088c001 	add	ip, r8, r1                                    <== NOT EXECUTED
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
						col = (col | 7) + 1;                                            
30003334:	02855001 	addeq	r5, r5, #1                                  <== NOT EXECUTED
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
30003338:	0a000005 	beq	30003354 <erase+0x14c>                        <== NOT EXECUTED
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
3000333c:	e5dc1001 	ldrb	r1, [ip, #1]                                 <== NOT EXECUTED
30003340:	e3110020 	tst	r1, #32                                       <== NOT EXECUTED
						if (tty->termios.c_lflag & ECHOCTL)                             
							col += 2;                                                      
					}                                                                
					else {                                                           
						col++;                                                          
30003344:	02855001 	addeq	r5, r5, #1                                  <== NOT EXECUTED
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
30003348:	0a000001 	beq	30003354 <erase+0x14c>                        <== NOT EXECUTED
						if (tty->termios.c_lflag & ECHOCTL)                             
3000334c:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
							col += 2;                                                      
30003350:	12855002 	addne	r5, r5, #2                                  <== NOT EXECUTED
				int i = 0;                                                        
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
30003354:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
30003358:	1afffff0 	bne	30003320 <erase+0x118>                        <== NOT EXECUTED
				}                                                                 
                                                                      
				/*                                                                
				 * Back up over the tab                                           
				 */                                                               
				while (tty->column > col) {                                       
3000335c:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
30003360:	e1550003 	cmp	r5, r3                                        <== NOT EXECUTED
30003364:	aaffffb4 	bge	3000323c <erase+0x34>                         <== NOT EXECUTED
					rtems_termios_puts ("\b", 1, tty);                               
30003368:	e59f00a0 	ldr	r0, [pc, #160]	; 30003410 <erase+0x208>       <== NOT EXECUTED
3000336c:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
30003370:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
30003374:	ebfffedd 	bl	30002ef0 <rtems_termios_puts>                  <== NOT EXECUTED
					tty->column--;                                                   
30003378:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
3000337c:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
				}                                                                 
                                                                      
				/*                                                                
				 * Back up over the tab                                           
				 */                                                               
				while (tty->column > col) {                                       
30003380:	e1550003 	cmp	r5, r3                                        <== NOT EXECUTED
					rtems_termios_puts ("\b", 1, tty);                               
					tty->column--;                                                   
30003384:	e5843028 	str	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
				}                                                                 
                                                                      
				/*                                                                
				 * Back up over the tab                                           
				 */                                                               
				while (tty->column > col) {                                       
30003388:	bafffff6 	blt	30003368 <erase+0x160>                        <== NOT EXECUTED
					if (tty->column)                                                 
						tty->column--;                                                  
				}                                                                 
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
3000338c:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
30003390:	1affffab 	bne	30003244 <erase+0x3c>                         <== NOT EXECUTED
30003394:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== 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);                            
30003398:	e5d40043 	ldrb	r0, [r4, #67]	; 0x43                         <== NOT EXECUTED
3000339c:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
			break;                                                             
	}                                                                    
}                                                                     
300033a0:	e8bd45f0 	pop	{r4, r5, r6, r7, r8, sl, lr}                  <== 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);                            
300033a4:	eaffff75 	b	30003180 <echo>                                 <== NOT EXECUTED
					tty->column--;                                                   
				}                                                                 
			}                                                                  
			else {                                                             
				if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {            
					rtems_termios_puts ("\b \b", 3, tty);                            
300033a8:	e59f005c 	ldr	r0, [pc, #92]	; 3000340c <erase+0x204>        <== NOT EXECUTED
300033ac:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
300033b0:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
300033b4:	ebfffecd 	bl	30002ef0 <rtems_termios_puts>                  <== NOT EXECUTED
					if (tty->column)                                                 
300033b8:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
300033bc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
						tty->column--;                                                  
300033c0:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
300033c4:	15843028 	strne	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
				}                                                                 
				if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {           
300033c8:	e5973000 	ldr	r3, [r7]                                      <== NOT EXECUTED
300033cc:	e7d33005 	ldrb	r3, [r3, r5]                                 <== NOT EXECUTED
300033d0:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
300033d4:	0affffaf 	beq	30003298 <erase+0x90>                         <== NOT EXECUTED
300033d8:	e594203c 	ldr	r2, [r4, #60]	; 0x3c                          <== NOT EXECUTED
300033dc:	e3120c02 	tst	r2, #512	; 0x200                              <== NOT EXECUTED
300033e0:	0affff95 	beq	3000323c <erase+0x34>                         <== NOT EXECUTED
					rtems_termios_puts ("\b \b", 3, tty);                            
300033e4:	e59f0020 	ldr	r0, [pc, #32]	; 3000340c <erase+0x204>        <== NOT EXECUTED
300033e8:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
300033ec:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
300033f0:	ebfffebe 	bl	30002ef0 <rtems_termios_puts>                  <== NOT EXECUTED
					if (tty->column)                                                 
300033f4:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
300033f8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
						tty->column--;                                                  
300033fc:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
30003400:	15843028 	strne	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
30003404:	eaffffab 	b	300032b8 <erase+0xb0>                           <== NOT EXECUTED
30003408:	30019080 	.word	0x30019080                                  
3000340c:	3001895c 	.word	0x3001895c                                  
30003410:	30018958 	.word	0x30018958                                  
                                                                      
30038004 <fchdir>:                                                    
#include <rtems/seterr.h>                                             
                                                                      
int fchdir(                                                           
  int       fd                                                        
)                                                                     
{                                                                     
30038004:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
  rtems_filesystem_location_info_t loc, saved;                        
                                                                      
  rtems_libio_check_fd( fd );                                         
30038008:	e59f3174 	ldr	r3, [pc, #372]	; 30038184 <fchdir+0x180>      <== NOT EXECUTED
#include <rtems/seterr.h>                                             
                                                                      
int fchdir(                                                           
  int       fd                                                        
)                                                                     
{                                                                     
3003800c:	e24dd02c 	sub	sp, sp, #44	; 0x2c                            <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
  rtems_filesystem_location_info_t loc, saved;                        
                                                                      
  rtems_libio_check_fd( fd );                                         
30038010:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
30038014:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
30038018:	2a000042 	bcs	30038128 <fchdir+0x124>                       <== NOT EXECUTED
  iop = rtems_libio_iop( fd );                                        
3003801c:	e59f3164 	ldr	r3, [pc, #356]	; 30038188 <fchdir+0x184>      <== NOT EXECUTED
30038020:	e5934000 	ldr	r4, [r3]                                      <== NOT EXECUTED
30038024:	e0844300 	add	r4, r4, r0, lsl #6                            <== NOT EXECUTED
  rtems_libio_check_is_open(iop);                                     
30038028:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
3003802c:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
30038030:	0a00003c 	beq	30038128 <fchdir+0x124>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the fchmod().                                       
   */                                                                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
30038034:	e3130002 	tst	r3, #2                                        <== NOT EXECUTED
30038038:	0a000047 	beq	3003815c <fchdir+0x158>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Verify you can change directory into this node.                  
   */                                                                 
                                                                      
  if ( !iop->pathinfo.ops ) {                                         
3003803c:	e5943024 	ldr	r3, [r4, #36]	; 0x24                          <== NOT EXECUTED
30038040:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30038044:	0a000049 	beq	30038170 <fchdir+0x16c>                       <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if ( !iop->pathinfo.ops->node_type_h ) {                            
30038048:	e5933010 	ldr	r3, [r3, #16]                                 <== NOT EXECUTED
3003804c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30038050:	0a000046 	beq	30038170 <fchdir+0x16c>                       <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*iop->pathinfo.ops->node_type_h)( &iop->pathinfo ) !=        
30038054:	e2844018 	add	r4, r4, #24                                   <== NOT EXECUTED
30038058:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
3003805c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30038060:	e12fff13 	bx	r3                                             <== NOT EXECUTED
30038064:	e3500001 	cmp	r0, #1                                        <== NOT EXECUTED
30038068:	e1a0e000 	mov	lr, r0                                        <== NOT EXECUTED
3003806c:	1a000028 	bne	30038114 <fchdir+0x110>                       <== NOT EXECUTED
   *         but note the race condition. Threads who                 
   *         share their rtems_filesystem_current better              
   *         be synchronized!                                         
   */                                                                 
                                                                      
  saved                    = rtems_filesystem_current;                
30038070:	e59f5114 	ldr	r5, [pc, #276]	; 3003818c <fchdir+0x188>      <== NOT EXECUTED
30038074:	e28d8004 	add	r8, sp, #4                                    <== NOT EXECUTED
30038078:	e5957000 	ldr	r7, [r5]                                      <== NOT EXECUTED
3003807c:	e1a0a008 	mov	sl, r8                                        <== NOT EXECUTED
30038080:	e287c004 	add	ip, r7, #4                                    <== NOT EXECUTED
30038084:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         <== NOT EXECUTED
30038088:	e8aa000f 	stmia	sl!, {r0, r1, r2, r3}                       <== NOT EXECUTED
3003808c:	e59c3000 	ldr	r3, [ip]                                      <== NOT EXECUTED
  rtems_filesystem_current = iop->pathinfo;                           
30038090:	e2877004 	add	r7, r7, #4                                    <== NOT EXECUTED
   *         but note the race condition. Threads who                 
   *         share their rtems_filesystem_current better              
   *         be synchronized!                                         
   */                                                                 
                                                                      
  saved                    = rtems_filesystem_current;                
30038094:	e58a3000 	str	r3, [sl]                                      <== NOT EXECUTED
  rtems_filesystem_current = iop->pathinfo;                           
30038098:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         <== NOT EXECUTED
3003809c:	e8a7000f 	stmia	r7!, {r0, r1, r2, r3}                       <== NOT EXECUTED
300380a0:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
                                                                      
  /* clone the current node */                                        
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
300380a4:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
300380a8:	e28d4018 	add	r4, sp, #24                                   <== NOT EXECUTED
   *         share their rtems_filesystem_current better              
   *         be synchronized!                                         
   */                                                                 
                                                                      
  saved                    = rtems_filesystem_current;                
  rtems_filesystem_current = iop->pathinfo;                           
300380ac:	e58c3000 	str	r3, [ip]                                      <== NOT EXECUTED
                                                                      
  /* clone the current node */                                        
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
300380b0:	e1a0100e 	mov	r1, lr                                        <== NOT EXECUTED
300380b4:	e1a02006 	mov	r2, r6                                        <== NOT EXECUTED
300380b8:	e59f00d0 	ldr	r0, [pc, #208]	; 30038190 <fchdir+0x18c>      <== NOT EXECUTED
300380bc:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
300380c0:	e58d6000 	str	r6, [sp]                                      <== NOT EXECUTED
300380c4:	ebff32b4 	bl	30004b9c <rtems_filesystem_evaluate_path>      <== NOT EXECUTED
300380c8:	e1500006 	cmp	r0, r6                                        <== NOT EXECUTED
300380cc:	1a00001a 	bne	3003813c <fchdir+0x138>                       <== NOT EXECUTED
    /* cloning failed; restore original and bail out */               
    rtems_filesystem_current = saved;                                 
	return -1;                                                           
  }                                                                   
  /* release the old one */                                           
  rtems_filesystem_freenode( &saved );                                
300380d0:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
300380d4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300380d8:	0a000004 	beq	300380f0 <fchdir+0xec>                        <== NOT EXECUTED
300380dc:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
300380e0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300380e4:	11a00008 	movne	r0, r8                                      <== NOT EXECUTED
300380e8:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
300380ec:	112fff13 	bxne	r3                                           <== NOT EXECUTED
                                                                      
  rtems_filesystem_current = loc;                                     
300380f0:	e595c000 	ldr	ip, [r5]                                      <== NOT EXECUTED
300380f4:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         <== NOT EXECUTED
300380f8:	e28cc004 	add	ip, ip, #4                                    <== NOT EXECUTED
300380fc:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       <== NOT EXECUTED
30038100:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
30038104:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
30038108:	e58c3000 	str	r3, [ip]                                      <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
3003810c:	e28dd02c 	add	sp, sp, #44	; 0x2c                            <== NOT EXECUTED
30038110:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== 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 );                  
30038114:	eb001600 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30038118:	e3a03014 	mov	r3, #20                                       <== NOT EXECUTED
3003811c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30038120:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30038124:	eafffff8 	b	3003810c <fchdir+0x108>                         <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
  rtems_filesystem_location_info_t loc, saved;                        
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
30038128:	eb0015fb 	bl	3003d91c <__errno>                             <== NOT EXECUTED
3003812c:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
30038130:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30038134:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30038138:	eafffff3 	b	3003810c <fchdir+0x108>                         <== 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;                                 
3003813c:	e595c000 	ldr	ip, [r5]                                      <== NOT EXECUTED
30038140:	e8b8000f 	ldm	r8!, {r0, r1, r2, r3}                         <== NOT EXECUTED
30038144:	e28cc004 	add	ip, ip, #4                                    <== NOT EXECUTED
30038148:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       <== NOT EXECUTED
3003814c:	e59a3000 	ldr	r3, [sl]                                      <== NOT EXECUTED
30038150:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30038154:	e58c3000 	str	r3, [ip]                                      <== NOT EXECUTED
	return -1;                                                           
30038158:	eaffffeb 	b	3003810c <fchdir+0x108>                         <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the fchmod().                                       
   */                                                                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
3003815c:	eb0015ee 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30038160:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
30038164:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30038168:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
3003816c:	eaffffe6 	b	3003810c <fchdir+0x108>                         <== 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 );                  
30038170:	eb0015e9 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30038174:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
30038178:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
3003817c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30038180:	eaffffe1 	b	3003810c <fchdir+0x108>                         <== NOT EXECUTED
30038184:	300617d0 	.word	0x300617d0                                  
30038188:	30065a40 	.word	0x30065a40                                  
3003818c:	30061b08 	.word	0x30061b08                                  
30038190:	3005b258 	.word	0x3005b258                                  
                                                                      
300254d4 <fchmod>:                                                    
  mode_t    mode                                                      
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
300254d4:	e59f308c 	ldr	r3, [pc, #140]	; 30025568 <fchmod+0x94>       <== NOT EXECUTED
                                                                      
int fchmod(                                                           
  int       fd,                                                       
  mode_t    mode                                                      
)                                                                     
{                                                                     
300254d8:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
300254dc:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
300254e0:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
300254e4:	2a000010 	bcs	3002552c <fchmod+0x58>                        <== NOT EXECUTED
  iop = rtems_libio_iop( fd );                                        
300254e8:	e59f307c 	ldr	r3, [pc, #124]	; 3002556c <fchmod+0x98>       <== NOT EXECUTED
300254ec:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
300254f0:	e0833300 	add	r3, r3, r0, lsl #6                            <== NOT EXECUTED
  rtems_libio_check_is_open(iop);                                     
300254f4:	e5932014 	ldr	r2, [r3, #20]                                 <== NOT EXECUTED
300254f8:	e3120c01 	tst	r2, #256	; 0x100                              <== NOT EXECUTED
300254fc:	0a00000a 	beq	3002552c <fchmod+0x58>                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the fchmod().                                       
   */                                                                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
30025500:	e3120004 	tst	r2, #4                                        <== NOT EXECUTED
30025504:	0a00000d 	beq	30025540 <fchmod+0x6c>                        <== NOT EXECUTED
                                                                      
  if ( !iop->handlers->fchmod_h )                                     
30025508:	e593203c 	ldr	r2, [r3, #60]	; 0x3c                          <== NOT EXECUTED
3002550c:	e592201c 	ldr	r2, [r2, #28]                                 <== NOT EXECUTED
30025510:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
30025514:	0a00000e 	beq	30025554 <fchmod+0x80>                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  return (*iop->pathinfo.handlers->fchmod_h)( &iop->pathinfo, mode ); 
30025518:	e2830018 	add	r0, r3, #24                                   <== NOT EXECUTED
3002551c:	e5933020 	ldr	r3, [r3, #32]                                 <== NOT EXECUTED
30025520:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30025524:	e593f01c 	ldr	pc, [r3, #28]                                 <== NOT EXECUTED
}                                                                     
30025528:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
3002552c:	eb0060fa 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30025530:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
30025534:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30025538:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
3002553c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the fchmod().                                       
   */                                                                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
30025540:	eb0060f5 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30025544:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
30025548:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
3002554c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30025550:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
  if ( !iop->handlers->fchmod_h )                                     
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
30025554:	eb0060f0 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30025558:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
3002555c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30025560:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30025564:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
30025568:	300617d0 	.word	0x300617d0                                  
3002556c:	30065a40 	.word	0x30065a40                                  
                                                                      
30025570 <fchown>:                                                    
  gid_t group                                                         
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
30025570:	e59f3098 	ldr	r3, [pc, #152]	; 30025610 <fchown+0xa0>       <== NOT EXECUTED
int fchown(                                                           
  int   fd,                                                           
  uid_t owner,                                                        
  gid_t group                                                         
)                                                                     
{                                                                     
30025574:	e1a01801 	lsl	r1, r1, #16                                   <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
30025578:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
int fchown(                                                           
  int   fd,                                                           
  uid_t owner,                                                        
  gid_t group                                                         
)                                                                     
{                                                                     
3002557c:	e1a02802 	lsl	r2, r2, #16                                   <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
30025580:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
int fchown(                                                           
  int   fd,                                                           
  uid_t owner,                                                        
  gid_t group                                                         
)                                                                     
{                                                                     
30025584:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
30025588:	e1a01821 	lsr	r1, r1, #16                                   <== NOT EXECUTED
3002558c:	e1a02822 	lsr	r2, r2, #16                                   <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
30025590:	2a00000f 	bcs	300255d4 <fchown+0x64>                        <== NOT EXECUTED
  iop = rtems_libio_iop( fd );                                        
30025594:	e59f3078 	ldr	r3, [pc, #120]	; 30025614 <fchown+0xa4>       <== NOT EXECUTED
30025598:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
3002559c:	e0830300 	add	r0, r3, r0, lsl #6                            <== NOT EXECUTED
  rtems_libio_check_is_open(iop);                                     
300255a0:	e5903014 	ldr	r3, [r0, #20]                                 <== NOT EXECUTED
300255a4:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
300255a8:	0a000009 	beq	300255d4 <fchown+0x64>                        <== NOT EXECUTED
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
300255ac:	e3130004 	tst	r3, #4                                        <== NOT EXECUTED
300255b0:	0a00000c 	beq	300255e8 <fchown+0x78>                        <== NOT EXECUTED
                                                                      
  if ( !iop->pathinfo.ops->chown_h )                                  
300255b4:	e5903024 	ldr	r3, [r0, #36]	; 0x24                          <== NOT EXECUTED
300255b8:	e5933018 	ldr	r3, [r3, #24]                                 <== NOT EXECUTED
300255bc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300255c0:	0a00000d 	beq	300255fc <fchown+0x8c>                        <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  return (*iop->pathinfo.ops->chown_h)( &iop->pathinfo, owner, group );
300255c4:	e2800018 	add	r0, r0, #24                                   <== NOT EXECUTED
300255c8:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
300255cc:	e12fff13 	bx	r3                                             <== NOT EXECUTED
}                                                                     
300255d0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
300255d4:	eb0060d0 	bl	3003d91c <__errno>                             <== NOT EXECUTED
300255d8:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
300255dc:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
300255e0:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
300255e4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
300255e8:	eb0060cb 	bl	3003d91c <__errno>                             <== NOT EXECUTED
300255ec:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
300255f0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
300255f4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
300255f8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
  if ( !iop->pathinfo.ops->chown_h )                                  
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
300255fc:	eb0060c6 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30025600:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
30025604:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30025608:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
3002560c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
30025610:	300617d0 	.word	0x300617d0                                  
30025614:	30065a40 	.word	0x30065a40                                  
                                                                      
30038194 <fcntl>:                                                     
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
30038194:	e92d000e 	push	{r1, r2, r3}                                 
30038198:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
3003819c:	e59f31c8 	ldr	r3, [pc, #456]	; 3003836c <fcntl+0x1d8>       
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
300381a0:	e24dd004 	sub	sp, sp, #4                                    
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
300381a4:	e5932000 	ldr	r2, [r3]                                      
  ...                                                                 
)                                                                     
{                                                                     
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
300381a8:	e28d3028 	add	r3, sp, #40	; 0x28                            
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
300381ac:	e1500002 	cmp	r0, r2                                        
  ...                                                                 
)                                                                     
{                                                                     
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
300381b0:	e58d3000 	str	r3, [sp]                                      
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
300381b4:	e59d4024 	ldr	r4, [sp, #36]	; 0x24                          
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
300381b8:	2a00005f 	bcs	3003833c <fcntl+0x1a8>                        
  iop = rtems_libio_iop( fd );                                        
300381bc:	e59f61ac 	ldr	r6, [pc, #428]	; 30038370 <fcntl+0x1dc>       
300381c0:	e5967000 	ldr	r7, [r6]                                      
300381c4:	e0875300 	add	r5, r7, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
300381c8:	e595c014 	ldr	ip, [r5, #20]                                 
300381cc:	e31c0c01 	tst	ip, #256	; 0x100                              
300381d0:	0a000059 	beq	3003833c <fcntl+0x1a8>                        
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
300381d4:	e3540009 	cmp	r4, #9                                        
300381d8:	979ff104 	ldrls	pc, [pc, r4, lsl #2]                        
300381dc:	ea00002a 	b	3003828c <fcntl+0xf8>                           
300381e0:	300382a0 	.word	0x300382a0                                  <== NOT EXECUTED
300381e4:	30038300 	.word	0x30038300                                  <== NOT EXECUTED
300381e8:	3003830c 	.word	0x3003830c                                  <== NOT EXECUTED
300381ec:	3003832c 	.word	0x3003832c                                  <== NOT EXECUTED
300381f0:	3003822c 	.word	0x3003822c                                  <== NOT EXECUTED
300381f4:	30038208 	.word	0x30038208                                  <== NOT EXECUTED
300381f8:	30038208 	.word	0x30038208                                  <== NOT EXECUTED
300381fc:	30038208 	.word	0x30038208                                  <== NOT EXECUTED
30038200:	30038208 	.word	0x30038208                                  <== NOT EXECUTED
30038204:	30038208 	.word	0x30038208                                  <== NOT EXECUTED
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    case F_GETOWN:       /*  for sockets. */                          
      errno = ENOTSUP;                                                
30038208:	eb0015c3 	bl	3003d91c <__errno>                             
3003820c:	e3a03086 	mov	r3, #134	; 0x86                               
30038210:	e5803000 	str	r3, [r0]                                      
30038214:	e3e07000 	mvn	r7, #0                                        
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
30038218:	e1a00007 	mov	r0, r7                                        
3003821c:	e28dd004 	add	sp, sp, #4                                    
30038220:	e8bd47f0 	pop	{r4, r5, r6, r7, r8, r9, sl, lr}              
30038224:	e28dd00c 	add	sp, sp, #12                                   
30038228:	e12fff1e 	bx	lr                                             
    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 ) );           
3003822c:	e5930000 	ldr	r0, [r3]                                      
30038230:	ebff3321 	bl	30004ebc <rtems_libio_fcntl_flags>             
                                                                      
      /*                                                              
       *  XXX If we are turning on append, should we seek to the end? 
       */                                                             
                                                                      
      iop->flags = (iop->flags & ~mask) | (flags & mask);             
30038234:	e5953014 	ldr	r3, [r5, #20]                                 
30038238:	e59f2134 	ldr	r2, [pc, #308]	; 30038374 <fcntl+0x1e0>       
3003823c:	e3c33c02 	bic	r3, r3, #512	; 0x200                          
30038240:	e0002002 	and	r2, r0, r2                                    
30038244:	e3c33001 	bic	r3, r3, #1                                    
30038248:	e1823003 	orr	r3, r2, r3                                    
3003824c:	e5853014 	str	r3, [r5, #20]                                 
30038250:	e3a07000 	mov	r7, #0                                        
   *  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) {                                     
30038254:	e595303c 	ldr	r3, [r5, #60]	; 0x3c                          
30038258:	e5933030 	ldr	r3, [r3, #48]	; 0x30                          
3003825c:	e3530000 	cmp	r3, #0                                        
30038260:	0affffec 	beq	30038218 <fcntl+0x84>                         
      int err = (*iop->handlers->fcntl_h)( cmd, iop );                
30038264:	e1a00004 	mov	r0, r4                                        
30038268:	e1a01005 	mov	r1, r5                                        
3003826c:	e1a0e00f 	mov	lr, pc                                        
30038270:	e12fff13 	bx	r3                                             
      if (err) {                                                      
30038274:	e2504000 	subs	r4, r0, #0                                   
30038278:	0affffe6 	beq	30038218 <fcntl+0x84>                         
        errno = err;                                                  
3003827c:	eb0015a6 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30038280:	e5804000 	str	r4, [r0]                                      <== NOT EXECUTED
30038284:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
30038288:	eaffffe2 	b	30038218 <fcntl+0x84>                           <== NOT EXECUTED
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    default:                                                          
      errno = EINVAL;                                                 
3003828c:	eb0015a2 	bl	3003d91c <__errno>                             
30038290:	e3a03016 	mov	r3, #22                                       
30038294:	e5803000 	str	r3, [r0]                                      
30038298:	e3e07000 	mvn	r7, #0                                        
3003829c:	eaffffdd 	b	30038218 <fcntl+0x84>                           
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
300382a0:	e5938000 	ldr	r8, [r3]                                      
      if ( fd2 )                                                      
300382a4:	e3580000 	cmp	r8, #0                                        
300382a8:	0a000028 	beq	30038350 <fcntl+0x1bc>                        
        diop = rtems_libio_iop( fd2 );                                
300382ac:	e1520008 	cmp	r2, r8                                        <== NOT EXECUTED
300382b0:	93a09000 	movls	r9, #0                                      <== NOT EXECUTED
300382b4:	80878308 	addhi	r8, r7, r8, lsl #6                          <== NOT EXECUTED
300382b8:	91a08009 	movls	r8, r9                                      <== NOT EXECUTED
300382bc:	81a09008 	movhi	r9, r8                                      <== NOT EXECUTED
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
300382c0:	e288a018 	add	sl, r8, #24                                   
300382c4:	e2856018 	add	r6, r5, #24                                   
300382c8:	e8b6000f 	ldm	r6!, {r0, r1, r2, r3}                         
300382cc:	e8aa000f 	stmia	sl!, {r0, r1, r2, r3}                       
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
300382d0:	e595203c 	ldr	r2, [r5, #60]	; 0x3c                          
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
300382d4:	e5961000 	ldr	r1, [r6]                                      
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
300382d8:	e5953038 	ldr	r3, [r5, #56]	; 0x38                          
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
300382dc:	e0677009 	rsb	r7, r7, r9                                    
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
300382e0:	e58a1000 	str	r1, [sl]                                      
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
300382e4:	e588203c 	str	r2, [r8, #60]	; 0x3c                          
      diop->file_info  = iop->file_info;                              
300382e8:	e5883038 	str	r3, [r8, #56]	; 0x38                          
      diop->flags      = iop->flags;                                  
300382ec:	e588c014 	str	ip, [r8, #20]                                 
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
300382f0:	e1a07347 	asr	r7, r7, #6                                    
  /*                                                                  
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
300382f4:	e3570000 	cmp	r7, #0                                        
300382f8:	aaffffd5 	bge	30038254 <fcntl+0xc0>                         
300382fc:	eaffffc5 	b	30038218 <fcntl+0x84>                           <== NOT EXECUTED
      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);          
30038300:	e1a0c5ac 	lsr	ip, ip, #11                                   
30038304:	e20c7001 	and	r7, ip, #1                                    
30038308:	eaffffd1 	b	30038254 <fcntl+0xc0>                           
       *  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 ) )                                        
3003830c:	e5937000 	ldr	r7, [r3]                                      
30038310:	e3570000 	cmp	r7, #0                                        
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
30038314:	138ccb02 	orrne	ip, ip, #2048	; 0x800                       
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
30038318:	03cccb02 	biceq	ip, ip, #2048	; 0x800                       
       *  processes, then we can ignore this one except to make       
       *  F_GETFD work.                                               
       */                                                             
                                                                      
      if ( va_arg( ap, int ) )                                        
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
3003831c:	1585c014 	strne	ip, [r5, #20]                               
30038320:	13a07000 	movne	r7, #0                                      
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
30038324:	0585c014 	streq	ip, [r5, #20]                               
30038328:	eaffffc9 	b	30038254 <fcntl+0xc0>                           
      break;                                                          
                                                                      
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
3003832c:	e1a0000c 	mov	r0, ip                                        
30038330:	ebff32d1 	bl	30004e7c <rtems_libio_to_fcntl_flags>          
30038334:	e1a07000 	mov	r7, r0                                        
30038338:	eaffffed 	b	300382f4 <fcntl+0x160>                          
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
3003833c:	eb001576 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30038340:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
30038344:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30038348:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
3003834c:	eaffffb1 	b	30038218 <fcntl+0x84>                           <== NOT EXECUTED
      fd2 = va_arg( ap, int );                                        
      if ( fd2 )                                                      
        diop = rtems_libio_iop( fd2 );                                
      else {                                                          
        /* allocate a file control block */                           
        diop = rtems_libio_allocate();                                
30038350:	ebff32e6 	bl	30004ef0 <rtems_libio_allocate>                
        if ( diop == 0 ) {                                            
30038354:	e2508000 	subs	r8, r0, #0                                   
30038358:	0affffc9 	beq	30038284 <fcntl+0xf0>                         
3003835c:	e5967000 	ldr	r7, [r6]                                      
30038360:	e595c014 	ldr	ip, [r5, #20]                                 
30038364:	e1a09008 	mov	r9, r8                                        
30038368:	eaffffd4 	b	300382c0 <fcntl+0x12c>                          
3003836c:	300617d0 	.word	0x300617d0                                  
30038370:	30065a40 	.word	0x30065a40                                  
30038374:	00000201 	.word	0x00000201                                  
                                                                      
3000b5a4 <fifo_open>:                                                 
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
3000b5a4:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  if (rtems_semaphore_obtain(rtems_pipe_semaphore,                    
3000b5a8:	e59f53b8 	ldr	r5, [pc, #952]	; 3000b968 <fifo_open+0x3c4>   
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
3000b5ac:	e1a07001 	mov	r7, r1                                        
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  if (rtems_semaphore_obtain(rtems_pipe_semaphore,                    
3000b5b0:	e3a01000 	mov	r1, #0                                        
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
3000b5b4:	e24dd008 	sub	sp, sp, #8                                    
3000b5b8:	e1a04000 	mov	r4, r0                                        
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  if (rtems_semaphore_obtain(rtems_pipe_semaphore,                    
3000b5bc:	e1a02001 	mov	r2, r1                                        
3000b5c0:	e5950000 	ldr	r0, [r5]                                      
3000b5c4:	ebffe6a0 	bl	3000504c <rtems_semaphore_obtain>              
3000b5c8:	e2509000 	subs	r9, r0, #0                                   
3000b5cc:	13e0a003 	mvnne	sl, #3                                      
3000b5d0:	1a00001c 	bne	3000b648 <fifo_open+0xa4>                     
        RTEMS_WAIT, RTEMS_NO_TIMEOUT) != RTEMS_SUCCESSFUL)            
    return -EINTR;                                                    
                                                                      
  pipe = *pipep;                                                      
3000b5d4:	e5946000 	ldr	r6, [r4]                                      <== NOT EXECUTED
  if (pipe == NULL) {                                                 
3000b5d8:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
3000b5dc:	0a00007d 	beq	3000b7d8 <fifo_open+0x234>                    <== NOT EXECUTED
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
3000b5e0:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
3000b5e4:	e5960028 	ldr	r0, [r6, #40]	; 0x28                          <== NOT EXECUTED
3000b5e8:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
3000b5ec:	ebffe696 	bl	3000504c <rtems_semaphore_obtain>              <== NOT EXECUTED
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
3000b5f0:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
3000b5f4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
3000b5f8:	01a0a000 	moveq	sl, r0                                      <== NOT EXECUTED
3000b5fc:	13e0a003 	mvnne	sl, #3                                      <== NOT EXECUTED
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
3000b600:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
3000b604:	0a000038 	beq	3000b6ec <fifo_open+0x148>                    <== NOT EXECUTED
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  rtems_semaphore_release(rtems_pipe_semaphore);                      
3000b608:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
3000b60c:	ebffe6d6 	bl	3000516c <rtems_semaphore_release>             <== NOT EXECUTED
  pipe_control_t *pipe;                                               
  uint prevCounter;                                                   
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
3000b610:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
3000b614:	1a00000b 	bne	3000b648 <fifo_open+0xa4>                     <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
3000b618:	e5972014 	ldr	r2, [r7, #20]                                 <== NOT EXECUTED
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
    return err;                                                       
  pipe = *pipep;                                                      
3000b61c:	e5945000 	ldr	r5, [r4]                                      <== NOT EXECUTED
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
3000b620:	e2023006 	and	r3, r2, #6                                    <== NOT EXECUTED
3000b624:	e3530004 	cmp	r3, #4                                        <== NOT EXECUTED
3000b628:	0a000009 	beq	3000b654 <fifo_open+0xb0>                     <== NOT EXECUTED
3000b62c:	e3530006 	cmp	r3, #6                                        <== NOT EXECUTED
3000b630:	0a000054 	beq	3000b788 <fifo_open+0x1e4>                    <== NOT EXECUTED
3000b634:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
3000b638:	0a000031 	beq	3000b704 <fifo_open+0x160>                    <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
3000b63c:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
3000b640:	ebffe6c9 	bl	3000516c <rtems_semaphore_release>             <== NOT EXECUTED
3000b644:	e3a0a000 	mov	sl, #0                                        <== NOT EXECUTED
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
  return err;                                                         
}                                                                     
3000b648:	e1a0000a 	mov	r0, sl                                        
3000b64c:	e28dd008 	add	sp, sp, #8                                    
3000b650:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
3000b654:	e5953010 	ldr	r3, [r5, #16]                                 <== NOT EXECUTED
3000b658:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
3000b65c:	1a000002 	bne	3000b66c <fifo_open+0xc8>                     <== NOT EXECUTED
3000b660:	e3120001 	tst	r2, #1                                        <== NOT EXECUTED
3000b664:	13e0a005 	mvnne	sl, #5                                      <== NOT EXECUTED
3000b668:	1a00001b 	bne	3000b6dc <fifo_open+0x138>                    <== NOT EXECUTED
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      pipe->writerCounter ++;                                         
      if (pipe->Writers ++ == 0)                                      
3000b66c:	e5952014 	ldr	r2, [r5, #20]                                 <== NOT EXECUTED
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      pipe->writerCounter ++;                                         
3000b670:	e5951024 	ldr	r1, [r5, #36]	; 0x24                          <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
3000b674:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      pipe->writerCounter ++;                                         
3000b678:	e2811001 	add	r1, r1, #1                                    <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
3000b67c:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      pipe->writerCounter ++;                                         
3000b680:	e5851024 	str	r1, [r5, #36]	; 0x24                          <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
3000b684:	e5852014 	str	r2, [r5, #20]                                 <== NOT EXECUTED
3000b688:	0a0000a4 	beq	3000b920 <fifo_open+0x37c>                    <== NOT EXECUTED
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0) {                                       
3000b68c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
3000b690:	1affffe9 	bne	3000b63c <fifo_open+0x98>                     <== NOT EXECUTED
        prevCounter = pipe->readerCounter;                            
3000b694:	e5956020 	ldr	r6, [r5, #32]                                 <== NOT EXECUTED
3000b698:	ea000006 	b	3000b6b8 <fifo_open+0x114>                      <== NOT EXECUTED
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
3000b69c:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
3000b6a0:	ebffe669 	bl	3000504c <rtems_semaphore_obtain>              <== NOT EXECUTED
3000b6a4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
3000b6a8:	1a00000a 	bne	3000b6d8 <fifo_open+0x134>                    <== NOT EXECUTED
            goto out_error;                                           
        } while (prevCounter == pipe->readerCounter);                 
3000b6ac:	e5953020 	ldr	r3, [r5, #32]                                 <== NOT EXECUTED
3000b6b0:	e1530006 	cmp	r3, r6                                        <== NOT EXECUTED
3000b6b4:	1affffe0 	bne	3000b63c <fifo_open+0x98>                     <== NOT EXECUTED
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
3000b6b8:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
3000b6bc:	ebffe6aa 	bl	3000516c <rtems_semaphore_release>             <== NOT EXECUTED
          if (! PIPE_WRITEWAIT(pipe))                                 
3000b6c0:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
3000b6c4:	e5950030 	ldr	r0, [r5, #48]	; 0x30                          <== NOT EXECUTED
3000b6c8:	eb0001e0 	bl	3000be50 <rtems_barrier_wait>                  <== NOT EXECUTED
3000b6cc:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
3000b6d0:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
3000b6d4:	0afffff0 	beq	3000b69c <fifo_open+0xf8>                     <== NOT EXECUTED
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  return 0;                                                           
3000b6d8:	e3e0a003 	mvn	sl, #3                                        <== NOT EXECUTED
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
3000b6dc:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
3000b6e0:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
3000b6e4:	ebffff68 	bl	3000b48c <pipe_release>                        <== NOT EXECUTED
  return err;                                                         
3000b6e8:	eaffffd6 	b	3000b648 <fifo_open+0xa4>                       <== NOT EXECUTED
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
    if (err)                                                          
3000b6ec:	e35a0000 	cmp	sl, #0                                        <== NOT EXECUTED
3000b6f0:	1a00008f 	bne	3000b934 <fifo_open+0x390>                    <== NOT EXECUTED
      pipe_free(pipe);                                                
    else                                                              
      *pipep = pipe;                                                  
3000b6f4:	e5846000 	str	r6, [r4]                                      <== NOT EXECUTED
  }                                                                   
                                                                      
out:                                                                  
  rtems_semaphore_release(rtems_pipe_semaphore);                      
3000b6f8:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
3000b6fc:	ebffe69a 	bl	3000516c <rtems_semaphore_release>             <== NOT EXECUTED
3000b700:	eaffffc4 	b	3000b618 <fifo_open+0x74>                       <== NOT EXECUTED
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
3000b704:	e5953010 	ldr	r3, [r5, #16]                                 <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
3000b708:	e5952020 	ldr	r2, [r5, #32]                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
3000b70c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
3000b710:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
3000b714:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
3000b718:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
3000b71c:	e5853010 	str	r3, [r5, #16]                                 <== NOT EXECUTED
3000b720:	0a00007a 	beq	3000b910 <fifo_open+0x36c>                    <== NOT EXECUTED
        PIPE_WAKEUPWRITERS(pipe);                                     
                                                                      
      if (pipe->Writers == 0) {                                       
3000b724:	e5953014 	ldr	r3, [r5, #20]                                 <== NOT EXECUTED
3000b728:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
3000b72c:	1affffc2 	bne	3000b63c <fifo_open+0x98>                     <== NOT EXECUTED
        /* Not an error */                                            
        if (LIBIO_NODELAY(iop))                                       
3000b730:	e5973014 	ldr	r3, [r7, #20]                                 <== NOT EXECUTED
3000b734:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
3000b738:	1affffbf 	bne	3000b63c <fifo_open+0x98>                     <== NOT EXECUTED
          break;                                                      
                                                                      
        prevCounter = pipe->writerCounter;                            
3000b73c:	e5956024 	ldr	r6, [r5, #36]	; 0x24                          <== NOT EXECUTED
3000b740:	ea000006 	b	3000b760 <fifo_open+0x1bc>                      <== NOT EXECUTED
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_READWAIT(pipe))                                  
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
3000b744:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
3000b748:	ebffe63f 	bl	3000504c <rtems_semaphore_obtain>              <== NOT EXECUTED
3000b74c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
3000b750:	1affffe0 	bne	3000b6d8 <fifo_open+0x134>                    <== NOT EXECUTED
            goto out_error;                                           
        } while (prevCounter == pipe->writerCounter);                 
3000b754:	e5953024 	ldr	r3, [r5, #36]	; 0x24                          <== NOT EXECUTED
3000b758:	e1530006 	cmp	r3, r6                                        <== NOT EXECUTED
3000b75c:	1affffb6 	bne	3000b63c <fifo_open+0x98>                     <== NOT EXECUTED
                                                                      
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
3000b760:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
3000b764:	ebffe680 	bl	3000516c <rtems_semaphore_release>             <== NOT EXECUTED
          if (! PIPE_READWAIT(pipe))                                  
3000b768:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
3000b76c:	e595002c 	ldr	r0, [r5, #44]	; 0x2c                          <== NOT EXECUTED
3000b770:	eb0001b6 	bl	3000be50 <rtems_barrier_wait>                  <== NOT EXECUTED
3000b774:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
3000b778:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_READWAIT(pipe))                                  
3000b77c:	0afffff0 	beq	3000b744 <fifo_open+0x1a0>                    <== NOT EXECUTED
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  return 0;                                                           
3000b780:	e3e0a003 	mvn	sl, #3                                        <== NOT EXECUTED
3000b784:	eaffffd4 	b	3000b6dc <fifo_open+0x138>                      <== NOT EXECUTED
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
3000b788:	e5953010 	ldr	r3, [r5, #16]                                 <== NOT EXECUTED
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
3000b78c:	e5952020 	ldr	r2, [r5, #32]                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
3000b790:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
3000b794:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
3000b798:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
3000b79c:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
3000b7a0:	e5853010 	str	r3, [r5, #16]                                 <== NOT EXECUTED
3000b7a4:	0a000055 	beq	3000b900 <fifo_open+0x35c>                    <== NOT EXECUTED
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
      if (pipe->Writers ++ == 0)                                      
3000b7a8:	e5953014 	ldr	r3, [r5, #20]                                 <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
3000b7ac:	e5952024 	ldr	r2, [r5, #36]	; 0x24                          <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
3000b7b0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
3000b7b4:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
3000b7b8:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
3000b7bc:	e5852024 	str	r2, [r5, #36]	; 0x24                          <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
3000b7c0:	e5853014 	str	r3, [r5, #20]                                 <== NOT EXECUTED
3000b7c4:	1affff9c 	bne	3000b63c <fifo_open+0x98>                     <== NOT EXECUTED
        PIPE_WAKEUPREADERS(pipe);                                     
3000b7c8:	e595002c 	ldr	r0, [r5, #44]	; 0x2c                          <== NOT EXECUTED
3000b7cc:	e28d1004 	add	r1, sp, #4                                    <== NOT EXECUTED
3000b7d0:	eb000185 	bl	3000bdec <rtems_barrier_release>               <== NOT EXECUTED
3000b7d4:	eaffff98 	b	3000b63c <fifo_open+0x98>                       <== NOT EXECUTED
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
3000b7d8:	e3a00034 	mov	r0, #52	; 0x34                                <== NOT EXECUTED
3000b7dc:	ebffd99f 	bl	30001e60 <malloc>                              <== NOT EXECUTED
  if (pipe == NULL)                                                   
3000b7e0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
3000b7e4:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
3000b7e8:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
  if (pipe == NULL)                                                   
3000b7ec:	03e0a00b 	mvneq	sl, #11                                     <== NOT EXECUTED
3000b7f0:	0affff84 	beq	3000b608 <fifo_open+0x64>                     <== NOT EXECUTED
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
3000b7f4:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
3000b7f8:	e4839004 	str	r9, [r3], #4                                  <== NOT EXECUTED
3000b7fc:	e2833004 	add	r3, r3, #4                                    <== NOT EXECUTED
3000b800:	e4839004 	str	r9, [r3], #4                                  <== NOT EXECUTED
3000b804:	e4839004 	str	r9, [r3], #4                                  <== NOT EXECUTED
3000b808:	e4839004 	str	r9, [r3], #4                                  <== NOT EXECUTED
3000b80c:	e4839004 	str	r9, [r3], #4                                  <== NOT EXECUTED
3000b810:	e4839004 	str	r9, [r3], #4                                  <== NOT EXECUTED
3000b814:	e4839004 	str	r9, [r3], #4                                  <== NOT EXECUTED
3000b818:	e4839004 	str	r9, [r3], #4                                  <== NOT EXECUTED
3000b81c:	e4839004 	str	r9, [r3], #4                                  <== NOT EXECUTED
3000b820:	e4839004 	str	r9, [r3], #4                                  <== NOT EXECUTED
                                                                      
  pipe->Size = PIPE_BUF;                                              
3000b824:	e3a02c02 	mov	r2, #512	; 0x200                              <== NOT EXECUTED
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
  if (pipe == NULL)                                                   
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
3000b828:	e4839004 	str	r9, [r3], #4                                  <== NOT EXECUTED
3000b82c:	e5839000 	str	r9, [r3]                                      <== NOT EXECUTED
                                                                      
  pipe->Size = PIPE_BUF;                                              
  pipe->Buffer = malloc(pipe->Size);                                  
3000b830:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
  pipe = malloc(sizeof(pipe_control_t));                              
  if (pipe == NULL)                                                   
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
                                                                      
  pipe->Size = PIPE_BUF;                                              
3000b834:	e5882004 	str	r2, [r8, #4]                                  <== NOT EXECUTED
  pipe->Buffer = malloc(pipe->Size);                                  
3000b838:	ebffd988 	bl	30001e60 <malloc>                              <== NOT EXECUTED
  if (! pipe->Buffer)                                                 
3000b83c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
  if (pipe == NULL)                                                   
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
                                                                      
  pipe->Size = PIPE_BUF;                                              
  pipe->Buffer = malloc(pipe->Size);                                  
3000b840:	e5880000 	str	r0, [r8]                                      <== NOT EXECUTED
  if (! pipe->Buffer)                                                 
3000b844:	03e0a00b 	mvneq	sl, #11                                     <== NOT EXECUTED
3000b848:	0a000029 	beq	3000b8f4 <fifo_open+0x350>                    <== NOT EXECUTED
    goto err_buf;                                                     
                                                                      
  err = -EINTR;                                                       
  if (rtems_barrier_create(                                           
3000b84c:	e59fa118 	ldr	sl, [pc, #280]	; 3000b96c <fifo_open+0x3c8>   <== NOT EXECUTED
3000b850:	e59f0118 	ldr	r0, [pc, #280]	; 3000b970 <fifo_open+0x3cc>   <== NOT EXECUTED
3000b854:	e5da3000 	ldrb	r3, [sl]                                     <== NOT EXECUTED
3000b858:	e1a01009 	mov	r1, r9                                        <== NOT EXECUTED
3000b85c:	e1830000 	orr	r0, r3, r0                                    <== NOT EXECUTED
3000b860:	e1a02009 	mov	r2, r9                                        <== NOT EXECUTED
3000b864:	e288302c 	add	r3, r8, #44	; 0x2c                            <== NOT EXECUTED
3000b868:	eb000114 	bl	3000bcc0 <rtems_barrier_create>                <== NOT EXECUTED
3000b86c:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
3000b870:	1a00001c 	bne	3000b8e8 <fifo_open+0x344>                    <== 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(                                           
3000b874:	e5da3000 	ldrb	r3, [sl]                                     <== NOT EXECUTED
3000b878:	e59f00f4 	ldr	r0, [pc, #244]	; 3000b974 <fifo_open+0x3d0>   <== NOT EXECUTED
3000b87c:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
3000b880:	e1830000 	orr	r0, r3, r0                                    <== NOT EXECUTED
3000b884:	e2883030 	add	r3, r8, #48	; 0x30                            <== NOT EXECUTED
3000b888:	eb00010c 	bl	3000bcc0 <rtems_barrier_create>                <== NOT EXECUTED
3000b88c:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
3000b890:	1a000012 	bne	3000b8e0 <fifo_open+0x33c>                    <== 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(                                         
3000b894:	e5da2000 	ldrb	r2, [sl]                                     <== NOT EXECUTED
3000b898:	e59f00d8 	ldr	r0, [pc, #216]	; 3000b978 <fifo_open+0x3d4>   <== NOT EXECUTED
3000b89c:	e288c028 	add	ip, r8, #40	; 0x28                            <== NOT EXECUTED
3000b8a0:	e1820000 	orr	r0, r2, r0                                    <== NOT EXECUTED
3000b8a4:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
3000b8a8:	e3a02010 	mov	r2, #16                                       <== NOT EXECUTED
3000b8ac:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
3000b8b0:	ebffe54a 	bl	30004de0 <rtems_semaphore_create>              <== NOT EXECUTED
3000b8b4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
3000b8b8:	1a000006 	bne	3000b8d8 <fifo_open+0x334>                    <== NOT EXECUTED
#ifdef RTEMS_POSIX_API                                                
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
3000b8bc:	e5da3000 	ldrb	r3, [sl]                                     <== NOT EXECUTED
3000b8c0:	e353007a 	cmp	r3, #122	; 0x7a                               <== NOT EXECUTED
3000b8c4:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
3000b8c8:	e5ca3000 	strb	r3, [sl]                                     <== NOT EXECUTED
    c = 'a';                                                          
3000b8cc:	03a03061 	moveq	r3, #97	; 0x61                              <== NOT EXECUTED
3000b8d0:	05ca3000 	strbeq	r3, [sl]                                   <== NOT EXECUTED
3000b8d4:	eaffff41 	b	3000b5e0 <fifo_open+0x3c>                       <== NOT EXECUTED
  return 0;                                                           
                                                                      
err_sem:                                                              
  rtems_barrier_delete(pipe->writeBarrier);                           
3000b8d8:	e5980030 	ldr	r0, [r8, #48]	; 0x30                          <== NOT EXECUTED
3000b8dc:	eb000128 	bl	3000bd84 <rtems_barrier_delete>                <== NOT EXECUTED
err_wbar:                                                             
  rtems_barrier_delete(pipe->readBarrier);                            
3000b8e0:	e598002c 	ldr	r0, [r8, #44]	; 0x2c                          <== NOT EXECUTED
3000b8e4:	eb000126 	bl	3000bd84 <rtems_barrier_delete>                <== NOT EXECUTED
err_rbar:                                                             
  free(pipe->Buffer);                                                 
3000b8e8:	e5980000 	ldr	r0, [r8]                                      <== NOT EXECUTED
3000b8ec:	ebffd8a0 	bl	30001b74 <free>                                <== NOT EXECUTED
3000b8f0:	e3e0a003 	mvn	sl, #3                                        <== NOT EXECUTED
err_buf:                                                              
  free(pipe);                                                         
3000b8f4:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
3000b8f8:	ebffd89d 	bl	30001b74 <free>                                <== NOT EXECUTED
3000b8fc:	eaffff41 	b	3000b608 <fifo_open+0x64>                       <== NOT EXECUTED
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
3000b900:	e5950030 	ldr	r0, [r5, #48]	; 0x30                          <== NOT EXECUTED
3000b904:	e28d1004 	add	r1, sp, #4                                    <== NOT EXECUTED
3000b908:	eb000137 	bl	3000bdec <rtems_barrier_release>               <== NOT EXECUTED
3000b90c:	eaffffa5 	b	3000b7a8 <fifo_open+0x204>                      <== NOT EXECUTED
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
3000b910:	e5950030 	ldr	r0, [r5, #48]	; 0x30                          <== NOT EXECUTED
3000b914:	e28d1004 	add	r1, sp, #4                                    <== NOT EXECUTED
3000b918:	eb000133 	bl	3000bdec <rtems_barrier_release>               <== NOT EXECUTED
3000b91c:	eaffff80 	b	3000b724 <fifo_open+0x180>                      <== NOT EXECUTED
        goto out_error;                                               
      }                                                               
                                                                      
      pipe->writerCounter ++;                                         
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
3000b920:	e595002c 	ldr	r0, [r5, #44]	; 0x2c                          <== NOT EXECUTED
3000b924:	e28d1004 	add	r1, sp, #4                                    <== NOT EXECUTED
3000b928:	eb00012f 	bl	3000bdec <rtems_barrier_release>               <== NOT EXECUTED
3000b92c:	e5953010 	ldr	r3, [r5, #16]                                 <== NOT EXECUTED
3000b930:	eaffff55 	b	3000b68c <fifo_open+0xe8>                       <== NOT EXECUTED
/* Called with rtems_pipe_semaphore held. */                          
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
3000b934:	e596002c 	ldr	r0, [r6, #44]	; 0x2c                          <== NOT EXECUTED
3000b938:	eb000111 	bl	3000bd84 <rtems_barrier_delete>                <== NOT EXECUTED
  rtems_barrier_delete(pipe->writeBarrier);                           
3000b93c:	e5960030 	ldr	r0, [r6, #48]	; 0x30                          <== NOT EXECUTED
3000b940:	eb00010f 	bl	3000bd84 <rtems_barrier_delete>                <== NOT EXECUTED
  rtems_semaphore_delete(pipe->Semaphore);                            
3000b944:	e5960028 	ldr	r0, [r6, #40]	; 0x28                          <== NOT EXECUTED
3000b948:	ebffe596 	bl	30004fa8 <rtems_semaphore_delete>              <== NOT EXECUTED
  free(pipe->Buffer);                                                 
3000b94c:	e5960000 	ldr	r0, [r6]                                      <== NOT EXECUTED
3000b950:	ebffd887 	bl	30001b74 <free>                                <== NOT EXECUTED
  free(pipe);                                                         
3000b954:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
3000b958:	ebffd885 	bl	30001b74 <free>                                <== NOT EXECUTED
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  rtems_semaphore_release(rtems_pipe_semaphore);                      
3000b95c:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
3000b960:	ebffe601 	bl	3000516c <rtems_semaphore_release>             <== NOT EXECUTED
3000b964:	eaffff37 	b	3000b648 <fifo_open+0xa4>                       <== NOT EXECUTED
3000b968:	300196cc 	.word	0x300196cc                                  
3000b96c:	3001906c 	.word	0x3001906c                                  
3000b970:	50497200 	.word	0x50497200                                  
3000b974:	50497700 	.word	0x50497700                                  
3000b978:	50497300 	.word	0x50497300                                  
                                                                      
30027348 <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;        
30027348:	e59f3044 	ldr	r3, [pc, #68]	; 30027394 <file_systems_below_this_mountpoint+0x4c><== NOT EXECUTED
3002734c:	e4932004 	ldr	r2, [r3], #4                                  <== NOT EXECUTED
30027350:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
30027354:	0a00000a 	beq	30027384 <file_systems_below_this_mountpoint+0x3c><== 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 ) {
30027358:	e5910010 	ldr	r0, [r1, #16]                                 <== NOT EXECUTED
3002735c:	e5921018 	ldr	r1, [r2, #24]                                 <== NOT EXECUTED
30027360:	e1510000 	cmp	r1, r0                                        <== NOT EXECUTED
30027364:	1a000003 	bne	30027378 <file_systems_below_this_mountpoint+0x30><== NOT EXECUTED
30027368:	ea000007 	b	3002738c <file_systems_below_this_mountpoint+0x44><== NOT EXECUTED
3002736c:	e5921018 	ldr	r1, [r2, #24]                                 <== NOT EXECUTED
30027370:	e1510000 	cmp	r1, r0                                        <== NOT EXECUTED
30027374:	0a000004 	beq	3002738c <file_systems_below_this_mountpoint+0x44><== 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 ) {                                 
30027378:	e5922000 	ldr	r2, [r2]                                      <== NOT EXECUTED
  /*                                                                  
   * Search the mount table for any mount entries referencing this    
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
3002737c:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
30027380:	1afffff9 	bne	3002736c <file_systems_below_this_mountpoint+0x24><== NOT EXECUTED
30027384:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
        return true;                                                  
     }                                                                
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
30027388:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
  /*                                                                  
   * Search the mount table for any mount entries referencing this    
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
3002738c:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
30027390:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
30027394:	30065a84 	.word	0x30065a84                                  
                                                                      
30002d60 <fpathconf>:                                                 
{                                                                     
  long                                    return_value;               
  rtems_libio_t                          *iop;                        
  rtems_filesystem_limits_and_options_t  *the_limits;                 
                                                                      
  rtems_libio_check_fd(fd);                                           
30002d60:	e59f3108 	ldr	r3, [pc, #264]	; 30002e70 <fpathconf+0x110>   
                                                                      
long fpathconf(                                                       
  int   fd,                                                           
  int   name                                                          
)                                                                     
{                                                                     
30002d64:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  long                                    return_value;               
  rtems_libio_t                          *iop;                        
  rtems_filesystem_limits_and_options_t  *the_limits;                 
                                                                      
  rtems_libio_check_fd(fd);                                           
30002d68:	e5933000 	ldr	r3, [r3]                                      
30002d6c:	e1500003 	cmp	r0, r3                                        
30002d70:	2a000034 	bcs	30002e48 <fpathconf+0xe8>                     
  iop = rtems_libio_iop(fd);                                          
30002d74:	e59f30f8 	ldr	r3, [pc, #248]	; 30002e74 <fpathconf+0x114>   
30002d78:	e5933000 	ldr	r3, [r3]                                      
30002d7c:	e0830300 	add	r0, r3, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
30002d80:	e5903014 	ldr	r3, [r0, #20]                                 
30002d84:	e3130c01 	tst	r3, #256	; 0x100                              
30002d88:	0a00002e 	beq	30002e48 <fpathconf+0xe8>                     
  rtems_libio_check_permissions(iop, LIBIO_FLAGS_READ);               
30002d8c:	e3130002 	tst	r3, #2                                        
30002d90:	0a000031 	beq	30002e5c <fpathconf+0xfc>                     
                                                                      
  /*                                                                  
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
30002d94:	e5903028 	ldr	r3, [r0, #40]	; 0x28                          
                                                                      
  switch ( name ) {                                                   
30002d98:	e351000b 	cmp	r1, #11                                       
30002d9c:	979ff101 	ldrls	pc, [pc, r1, lsl #2]                        
30002da0:	ea00000d 	b	30002ddc <fpathconf+0x7c>                       
30002da4:	30002df0 	.word	0x30002df0                                  <== NOT EXECUTED
30002da8:	30002df8 	.word	0x30002df8                                  <== NOT EXECUTED
30002dac:	30002e00 	.word	0x30002e00                                  <== NOT EXECUTED
30002db0:	30002e08 	.word	0x30002e08                                  <== NOT EXECUTED
30002db4:	30002e10 	.word	0x30002e10                                  <== NOT EXECUTED
30002db8:	30002e18 	.word	0x30002e18                                  <== NOT EXECUTED
30002dbc:	30002e20 	.word	0x30002e20                                  <== NOT EXECUTED
30002dc0:	30002e28 	.word	0x30002e28                                  <== NOT EXECUTED
30002dc4:	30002e30 	.word	0x30002e30                                  <== NOT EXECUTED
30002dc8:	30002e38 	.word	0x30002e38                                  <== NOT EXECUTED
30002dcc:	30002e40 	.word	0x30002e40                                  <== NOT EXECUTED
30002dd0:	30002dd4 	.word	0x30002dd4                                  <== NOT EXECUTED
      break;                                                          
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
      break;                                                          
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
30002dd4:	e5930060 	ldr	r0, [r3, #96]	; 0x60                          
      break;                                                          
30002dd8:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
30002ddc:	eb00311f 	bl	3000f260 <__errno>                             
30002de0:	e3a03016 	mov	r3, #22                                       
30002de4:	e5803000 	str	r3, [r0]                                      
30002de8:	e3e00000 	mvn	r0, #0                                        
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
30002dec:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
                                                                      
  switch ( name ) {                                                   
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
30002df0:	e5930038 	ldr	r0, [r3, #56]	; 0x38                          
      break;                                                          
30002df4:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
30002df8:	e593003c 	ldr	r0, [r3, #60]	; 0x3c                          
      break;                                                          
30002dfc:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
30002e00:	e5930040 	ldr	r0, [r3, #64]	; 0x40                          
      break;                                                          
30002e04:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
30002e08:	e5930044 	ldr	r0, [r3, #68]	; 0x44                          
      break;                                                          
30002e0c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
30002e10:	e5930048 	ldr	r0, [r3, #72]	; 0x48                          
      break;                                                          
30002e14:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
30002e18:	e593004c 	ldr	r0, [r3, #76]	; 0x4c                          
      break;                                                          
30002e1c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
30002e20:	e5930054 	ldr	r0, [r3, #84]	; 0x54                          
      break;                                                          
30002e24:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
30002e28:	e5930058 	ldr	r0, [r3, #88]	; 0x58                          
      break;                                                          
30002e2c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
30002e30:	e5930064 	ldr	r0, [r3, #100]	; 0x64                         
      break;                                                          
30002e34:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
30002e38:	e5930050 	ldr	r0, [r3, #80]	; 0x50                          
      break;                                                          
30002e3c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
30002e40:	e593005c 	ldr	r0, [r3, #92]	; 0x5c                          
      break;                                                          
30002e44:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
  rtems_libio_t                          *iop;                        
  rtems_filesystem_limits_and_options_t  *the_limits;                 
                                                                      
  rtems_libio_check_fd(fd);                                           
  iop = rtems_libio_iop(fd);                                          
  rtems_libio_check_is_open(iop);                                     
30002e48:	eb003104 	bl	3000f260 <__errno>                             
30002e4c:	e3a03009 	mov	r3, #9                                        
30002e50:	e5803000 	str	r3, [r0]                                      
30002e54:	e3e00000 	mvn	r0, #0                                        
30002e58:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
  rtems_libio_check_permissions(iop, LIBIO_FLAGS_READ);               
30002e5c:	eb0030ff 	bl	3000f260 <__errno>                             <== NOT EXECUTED
30002e60:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
30002e64:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30002e68:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30002e6c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
30002e70:	3001ce3c 	.word	0x3001ce3c                                  
30002e74:	3001d970 	.word	0x3001d970                                  
                                                                      
30001b74 <free>:                                                      
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
  MSBUMP(free_calls, 1);                                              
30001b74:	e59f3088 	ldr	r3, [pc, #136]	; 30001c04 <free+0x90>         
30001b78:	e92d4030 	push	{r4, r5, lr}                                 
30001b7c:	e593200c 	ldr	r2, [r3, #12]                                 
                                                                      
  if ( !ptr )                                                         
30001b80:	e2504000 	subs	r4, r0, #0                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
  MSBUMP(free_calls, 1);                                              
30001b84:	e2822001 	add	r2, r2, #1                                    
30001b88:	e583200c 	str	r2, [r3, #12]                                 
                                                                      
  if ( !ptr )                                                         
30001b8c:	08bd8030 	popeq	{r4, r5, pc}                                
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
                                                                      
  if ( _System_state_Is_up(_System_state_Get()) &&                    
30001b90:	e59f3070 	ldr	r3, [pc, #112]	; 30001c08 <free+0x94>         
30001b94:	e5933000 	ldr	r3, [r3]                                      
30001b98:	e3530003 	cmp	r3, #3                                        
30001b9c:	0a000012 	beq	30001bec <free+0x78>                          
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
30001ba0:	e59f3064 	ldr	r3, [pc, #100]	; 30001c0c <free+0x98>         
30001ba4:	e5933000 	ldr	r3, [r3]                                      
30001ba8:	e3530000 	cmp	r3, #0                                        
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
30001bac:	11a00004 	movne	r0, r4                                      
30001bb0:	11a0e00f 	movne	lr, pc                                      
30001bb4:	1593f008 	ldrne	pc, [r3, #8]                                
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
30001bb8:	e59f5050 	ldr	r5, [pc, #80]	; 30001c10 <free+0x9c>          
30001bbc:	e1a01004 	mov	r1, r4                                        
30001bc0:	e5950000 	ldr	r0, [r5]                                      
30001bc4:	eb0013a3 	bl	30006a58 <_Protected_heap_Free>                
30001bc8:	e3500000 	cmp	r0, #0                                        
30001bcc:	18bd8030 	popne	{r4, r5, pc}                                
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
      ptr,                                                            
      RTEMS_Malloc_Heap->area_begin,                                  
30001bd0:	e5952000 	ldr	r2, [r5]                                      <== 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",
30001bd4:	e59f0038 	ldr	r0, [pc, #56]	; 30001c14 <free+0xa0>          <== NOT EXECUTED
30001bd8:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
30001bdc:	e5922018 	ldr	r2, [r2, #24]                                 <== NOT EXECUTED
30001be0:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
30001be4:	e8bd4030 	pop	{r4, r5, lr}                                  <== 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",
30001be8:	ea00033c 	b	300028e0 <printk>                               <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
                                                                      
  if ( _System_state_Is_up(_System_state_Get()) &&                    
30001bec:	eb00003f 	bl	30001cf0 <malloc_is_system_state_OK>           
30001bf0:	e3500000 	cmp	r0, #0                                        
30001bf4:	1affffe9 	bne	30001ba0 <free+0x2c>                          
       !malloc_is_system_state_OK() ) {                               
      malloc_deferred_free(ptr);                                      
30001bf8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
30001bfc:	e8bd4030 	pop	{r4, r5, lr}                                  <== NOT EXECUTED
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
                                                                      
  if ( _System_state_Is_up(_System_state_Get()) &&                    
       !malloc_is_system_state_OK() ) {                               
      malloc_deferred_free(ptr);                                      
30001c00:	ea00004d 	b	30001d3c <malloc_deferred_free>                 <== NOT EXECUTED
30001c04:	30019968 	.word	0x30019968                                  
30001c08:	30019c70 	.word	0x30019c70                                  
30001c0c:	300195a0 	.word	0x300195a0                                  
30001c10:	30018e30 	.word	0x30018e30                                  
30001c14:	30018910 	.word	0x30018910                                  
                                                                      
300269c0 <free_user_env>:                                             
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
	if (env != &rtems_global_user_env                                    
300269c0:	e59f3058 	ldr	r3, [pc, #88]	; 30026a20 <free_user_env+0x60> <== NOT EXECUTED
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
300269c4:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
	if (env != &rtems_global_user_env                                    
300269c8:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
300269cc:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
	if (env != &rtems_global_user_env                                    
300269d0:	08bd8010 	popeq	{r4, pc}                                    <== NOT EXECUTED
#ifdef HAVE_USERENV_REFCNT                                            
		&& --env->refcnt <= 0                                               
#endif                                                                
		) {                                                                 
		rtems_filesystem_freenode( &env->current_directory);                
300269d4:	e5903010 	ldr	r3, [r0, #16]                                 <== NOT EXECUTED
300269d8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300269dc:	0a000004 	beq	300269f4 <free_user_env+0x34>                 <== NOT EXECUTED
300269e0:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
300269e4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300269e8:	12800004 	addne	r0, r0, #4                                  <== NOT EXECUTED
300269ec:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
300269f0:	112fff13 	bxne	r3                                           <== NOT EXECUTED
		rtems_filesystem_freenode( &env->root_directory);                   
300269f4:	e5943024 	ldr	r3, [r4, #36]	; 0x24                          <== NOT EXECUTED
300269f8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300269fc:	0a000004 	beq	30026a14 <free_user_env+0x54>                 <== NOT EXECUTED
30026a00:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
30026a04:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30026a08:	12840018 	addne	r0, r4, #24                                 <== NOT EXECUTED
30026a0c:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
30026a10:	112fff13 	bxne	r3                                           <== NOT EXECUTED
		free(env);                                                          
30026a14:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
	}                                                                    
}                                                                     
30026a18:	e8bd4010 	pop	{r4, lr}                                      <== NOT EXECUTED
		&& --env->refcnt <= 0                                               
#endif                                                                
		) {                                                                 
		rtems_filesystem_freenode( &env->current_directory);                
		rtems_filesystem_freenode( &env->root_directory);                   
		free(env);                                                          
30026a1c:	eaff788f 	b	30004c60 <free>                                 <== NOT EXECUTED
30026a20:	30065a9c 	.word	0x30065a9c                                  
                                                                      
300175dc <fstat>:                                                     
                                                                      
int fstat(                                                            
  int          fd,                                                    
  struct stat *sbuf                                                   
)                                                                     
{                                                                     
300175dc:	e92d4030 	push	{r4, r5, lr}                                 
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !sbuf )                                                        
300175e0:	e2515000 	subs	r5, r1, #0                                   
300175e4:	0a000023 	beq	30017678 <fstat+0x9c>                         
                                                                      
  /*                                                                  
   *  Now process the stat() request.                                 
   */                                                                 
                                                                      
  iop = rtems_libio_iop( fd );                                        
300175e8:	e59f309c 	ldr	r3, [pc, #156]	; 3001768c <fstat+0xb0>        
300175ec:	e5933000 	ldr	r3, [r3]                                      
300175f0:	e1500003 	cmp	r0, r3                                        
300175f4:	2a000015 	bcs	30017650 <fstat+0x74>                         
300175f8:	e59f3090 	ldr	r3, [pc, #144]	; 30017690 <fstat+0xb4>        
300175fc:	e5934000 	ldr	r4, [r3]                                      
30017600:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_fd( fd );                                         
  rtems_libio_check_is_open(iop);                                     
30017604:	e5943014 	ldr	r3, [r4, #20]                                 
30017608:	e3130c01 	tst	r3, #256	; 0x100                              
3001760c:	0a00000f 	beq	30017650 <fstat+0x74>                         
                                                                      
  if ( !iop->handlers )                                               
30017610:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
30017614:	e3530000 	cmp	r3, #0                                        
30017618:	0a00000c 	beq	30017650 <fstat+0x74>                         
    rtems_set_errno_and_return_minus_one( EBADF );                    
                                                                      
  if ( !iop->handlers->fstat_h )                                      
3001761c:	e5933018 	ldr	r3, [r3, #24]                                 
30017620:	e3530000 	cmp	r3, #0                                        
30017624:	0a00000e 	beq	30017664 <fstat+0x88>                         
                                                                      
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
30017628:	e3a01000 	mov	r1, #0                                        
3001762c:	e3a02048 	mov	r2, #72	; 0x48                                
30017630:	e1a00005 	mov	r0, r5                                        
30017634:	ebffd703 	bl	3000d248 <memset>                              
                                                                      
  return (*iop->handlers->fstat_h)( &iop->pathinfo, sbuf );           
30017638:	e2840018 	add	r0, r4, #24                                   
3001763c:	e1a01005 	mov	r1, r5                                        
30017640:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
30017644:	e1a0e00f 	mov	lr, pc                                        
30017648:	e593f018 	ldr	pc, [r3, #24]                                 
}                                                                     
3001764c:	e8bd8030 	pop	{r4, r5, pc}                                  
  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 );                    
30017650:	ebffd4b2 	bl	3000c920 <__errno>                             
30017654:	e3a03009 	mov	r3, #9                                        
30017658:	e5803000 	str	r3, [r0]                                      
3001765c:	e3e00000 	mvn	r0, #0                                        
30017660:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
  if ( !iop->handlers->fstat_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
30017664:	ebffd4ad 	bl	3000c920 <__errno>                             <== NOT EXECUTED
30017668:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
3001766c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30017670:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30017674:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !sbuf )                                                        
    rtems_set_errno_and_return_minus_one( EFAULT );                   
30017678:	ebffd4a8 	bl	3000c920 <__errno>                             
3001767c:	e3a0300e 	mov	r3, #14                                       
30017680:	e5803000 	str	r3, [r0]                                      
30017684:	e3e00000 	mvn	r0, #0                                        
30017688:	e8bd8030 	pop	{r4, r5, pc}                                  
3001768c:	30018e24 	.word	0x30018e24                                  
30017690:	30019950 	.word	0x30019950                                  
                                                                      
300256dc <fsync>:                                                     
  int     fd                                                          
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
300256dc:	e59f308c 	ldr	r3, [pc, #140]	; 30025770 <fsync+0x94>        
#include <rtems/seterr.h>                                             
                                                                      
int fsync(                                                            
  int     fd                                                          
)                                                                     
{                                                                     
300256e0:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
300256e4:	e5933000 	ldr	r3, [r3]                                      
300256e8:	e1500003 	cmp	r0, r3                                        
300256ec:	2a000010 	bcs	30025734 <fsync+0x58>                         
  iop = rtems_libio_iop( fd );                                        
300256f0:	e59f307c 	ldr	r3, [pc, #124]	; 30025774 <fsync+0x98>        
300256f4:	e5933000 	ldr	r3, [r3]                                      
300256f8:	e0830300 	add	r0, r3, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
300256fc:	e5903014 	ldr	r3, [r0, #20]                                 
30025700:	e3130c01 	tst	r3, #256	; 0x100                              
30025704:	0a00000a 	beq	30025734 <fsync+0x58>                         
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
30025708:	e3130004 	tst	r3, #4                                        
3002570c:	0a00000d 	beq	30025748 <fsync+0x6c>                         
                                                                      
  /*                                                                  
   *  Now process the fsync().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
30025710:	e590303c 	ldr	r3, [r0, #60]	; 0x3c                          
30025714:	e3530000 	cmp	r3, #0                                        
30025718:	0a000005 	beq	30025734 <fsync+0x58>                         
    rtems_set_errno_and_return_minus_one( EBADF );                    
                                                                      
  if ( !iop->handlers->fsync_h )                                      
3002571c:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          
30025720:	e3530000 	cmp	r3, #0                                        
30025724:	0a00000c 	beq	3002575c <fsync+0x80>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  return (*iop->handlers->fsync_h)( iop );                            
30025728:	e1a0e00f 	mov	lr, pc                                        
3002572c:	e12fff13 	bx	r3                                             
}                                                                     
30025730:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
  /*                                                                  
   *  Now process the fsync().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
    rtems_set_errno_and_return_minus_one( EBADF );                    
30025734:	eb006078 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30025738:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
3002573c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30025740:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30025744:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
  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 );            
30025748:	eb006073 	bl	3003d91c <__errno>                             
3002574c:	e3a03016 	mov	r3, #22                                       
30025750:	e5803000 	str	r3, [r0]                                      
30025754:	e3e00000 	mvn	r0, #0                                        
30025758:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
                                                                      
  if ( !iop->handlers )                                               
    rtems_set_errno_and_return_minus_one( EBADF );                    
                                                                      
  if ( !iop->handlers->fsync_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
3002575c:	eb00606e 	bl	3003d91c <__errno>                             
30025760:	e3a03086 	mov	r3, #134	; 0x86                               
30025764:	e5803000 	str	r3, [r0]                                      
30025768:	e3e00000 	mvn	r0, #0                                        
3002576c:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
30025770:	300617d0 	.word	0x300617d0                                  
30025774:	30065a40 	.word	0x30065a40                                  
                                                                      
30009990 <ftruncate>:                                                 
                                                                      
int ftruncate(                                                        
  int     fd,                                                         
  off_t   length                                                      
)                                                                     
{                                                                     
30009990:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
30009994:	e59f30f0 	ldr	r3, [pc, #240]	; 30009a8c <ftruncate+0xfc>    
                                                                      
int ftruncate(                                                        
  int     fd,                                                         
  off_t   length                                                      
)                                                                     
{                                                                     
30009998:	e24dd014 	sub	sp, sp, #20                                   
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
3000999c:	e5933000 	ldr	r3, [r3]                                      
                                                                      
int ftruncate(                                                        
  int     fd,                                                         
  off_t   length                                                      
)                                                                     
{                                                                     
300099a0:	e1a05001 	mov	r5, r1                                        
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
300099a4:	e1500003 	cmp	r0, r3                                        
                                                                      
int ftruncate(                                                        
  int     fd,                                                         
  off_t   length                                                      
)                                                                     
{                                                                     
300099a8:	e1a06002 	mov	r6, r2                                        
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
300099ac:	2a000022 	bcs	30009a3c <ftruncate+0xac>                     
  iop = rtems_libio_iop( fd );                                        
300099b0:	e59f30d8 	ldr	r3, [pc, #216]	; 30009a90 <ftruncate+0x100>   
300099b4:	e5934000 	ldr	r4, [r3]                                      
300099b8:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
300099bc:	e5943014 	ldr	r3, [r4, #20]                                 
300099c0:	e3130c01 	tst	r3, #256	; 0x100                              
300099c4:	0a00001c 	beq	30009a3c <ftruncate+0xac>                     
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
300099c8:	e284c018 	add	ip, r4, #24                                   
300099cc:	e1a0700d 	mov	r7, sp                                        
300099d0:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
300099d4:	e8a7000f 	stmia	r7!, {r0, r1, r2, r3}                       
  if ( !loc.ops->node_type_h )                                        
300099d8:	e59d100c 	ldr	r1, [sp, #12]                                 
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
300099dc:	e59c2000 	ldr	r2, [ip]                                      
  if ( !loc.ops->node_type_h )                                        
300099e0:	e591c010 	ldr	ip, [r1, #16]                                 
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
300099e4:	e5872000 	str	r2, [r7]                                      
  if ( !loc.ops->node_type_h )                                        
300099e8:	e35c0000 	cmp	ip, #0                                        
300099ec:	0a00001c 	beq	30009a64 <ftruncate+0xd4>                     
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY )
300099f0:	e1a0000d 	mov	r0, sp                                        
300099f4:	e1a0e00f 	mov	lr, pc                                        
300099f8:	e12fff1c 	bx	ip                                             
300099fc:	e3500001 	cmp	r0, #1                                        
30009a00:	0a00001c 	beq	30009a78 <ftruncate+0xe8>                     
    rtems_set_errno_and_return_minus_one( EISDIR );                   
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
30009a04:	e5943014 	ldr	r3, [r4, #20]                                 
30009a08:	e3130004 	tst	r3, #4                                        
30009a0c:	0a00000f 	beq	30009a50 <ftruncate+0xc0>                     
                                                                      
  if ( !iop->handlers->ftruncate_h )                                  
30009a10:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
30009a14:	e5933020 	ldr	r3, [r3, #32]                                 
30009a18:	e3530000 	cmp	r3, #0                                        
30009a1c:	0a000010 	beq	30009a64 <ftruncate+0xd4>                     
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  return (*iop->handlers->ftruncate_h)( iop, length );                
30009a20:	e1a00004 	mov	r0, r4                                        
30009a24:	e1a01005 	mov	r1, r5                                        
30009a28:	e1a02006 	mov	r2, r6                                        
30009a2c:	e1a0e00f 	mov	lr, pc                                        
30009a30:	e12fff13 	bx	r3                                             
}                                                                     
30009a34:	e28dd014 	add	sp, sp, #20                                   
30009a38:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
30009a3c:	eb000bb7 	bl	3000c920 <__errno>                             <== NOT EXECUTED
30009a40:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
30009a44:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30009a48:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30009a4c:	eafffff8 	b	30009a34 <ftruncate+0xa4>                       <== NOT EXECUTED
    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 );            
30009a50:	eb000bb2 	bl	3000c920 <__errno>                             <== NOT EXECUTED
30009a54:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
30009a58:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30009a5c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30009a60:	eafffff3 	b	30009a34 <ftruncate+0xa4>                       <== NOT EXECUTED
                                                                      
  if ( !iop->handlers->ftruncate_h )                                  
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
30009a64:	eb000bad 	bl	3000c920 <__errno>                             <== NOT EXECUTED
30009a68:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
30009a6c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30009a70:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30009a74:	eaffffee 	b	30009a34 <ftruncate+0xa4>                       <== 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 );                   
30009a78:	eb000ba8 	bl	3000c920 <__errno>                             
30009a7c:	e3a03015 	mov	r3, #21                                       
30009a80:	e5803000 	str	r3, [r0]                                      
30009a84:	e3e00000 	mvn	r0, #0                                        
30009a88:	eaffffe9 	b	30009a34 <ftruncate+0xa4>                       
30009a8c:	30018e24 	.word	0x30018e24                                  
30009a90:	30019950 	.word	0x30019950                                  
                                                                      
30057234 <getdents>:                                                  
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
30057234:	e59f30b4 	ldr	r3, [pc, #180]	; 300572f0 <getdents+0xbc>     
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
30057238:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
3005723c:	e5933000 	ldr	r3, [r3]                                      
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
30057240:	e24dd014 	sub	sp, sp, #20                                   
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
30057244:	e1500003 	cmp	r0, r3                                        
30057248:	359f30a4 	ldrcc	r3, [pc, #164]	; 300572f4 <getdents+0xc0>   
3005724c:	23a04000 	movcs	r4, #0                                      
30057250:	35934000 	ldrcc	r4, [r3]                                    
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
30057254:	e1a0700d 	mov	r7, sp                                        
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
30057258:	30844300 	addcc	r4, r4, r0, lsl #6                          
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
3005725c:	e284c018 	add	ip, r4, #24                                   
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
30057260:	e1a06001 	mov	r6, r1                                        
30057264:	e1a05002 	mov	r5, r2                                        
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
30057268:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
3005726c:	e8a7000f 	stmia	r7!, {r0, r1, r2, r3}                       
  if ( !loc.ops->node_type_h )                                        
30057270:	e59d100c 	ldr	r1, [sp, #12]                                 
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
30057274:	e59c2000 	ldr	r2, [ip]                                      
  if ( !loc.ops->node_type_h )                                        
30057278:	e591c010 	ldr	ip, [r1, #16]                                 
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
3005727c:	e5872000 	str	r2, [r7]                                      
  if ( !loc.ops->node_type_h )                                        
30057280:	e35c0000 	cmp	ip, #0                                        
30057284:	0a000014 	beq	300572dc <getdents+0xa8>                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
30057288:	e1a0000d 	mov	r0, sp                                        
3005728c:	e1a0e00f 	mov	lr, pc                                        
30057290:	e12fff1c 	bx	ip                                             
30057294:	e3500001 	cmp	r0, #1                                        
30057298:	1a00000a 	bne	300572c8 <getdents+0x94>                      
  /*                                                                  
   *  Return the number of bytes that were actually transfered as a result
   *  of the read attempt.                                            
   */                                                                 
                                                                      
  if ( !iop->handlers->read_h )                                       
3005729c:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
300572a0:	e5933008 	ldr	r3, [r3, #8]                                  
300572a4:	e3530000 	cmp	r3, #0                                        
300572a8:	0a00000b 	beq	300572dc <getdents+0xa8>                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  return (*iop->handlers->read_h)( iop, dd_buf, dd_len  );            
300572ac:	e1a00004 	mov	r0, r4                                        
300572b0:	e1a01006 	mov	r1, r6                                        
300572b4:	e1a02005 	mov	r2, r5                                        
300572b8:	e1a0e00f 	mov	lr, pc                                        
300572bc:	e12fff13 	bx	r3                                             
}                                                                     
300572c0:	e28dd014 	add	sp, sp, #20                                   
300572c4:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
  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 );                  
300572c8:	ebff9993 	bl	3003d91c <__errno>                             
300572cc:	e3a03014 	mov	r3, #20                                       
300572d0:	e5803000 	str	r3, [r0]                                      
300572d4:	e3e00000 	mvn	r0, #0                                        
300572d8:	eafffff8 	b	300572c0 <getdents+0x8c>                        
   *  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 );                  
300572dc:	ebff998e 	bl	3003d91c <__errno>                             <== NOT EXECUTED
300572e0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
300572e4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
300572e8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
300572ec:	eafffff3 	b	300572c0 <getdents+0x8c>                        <== NOT EXECUTED
300572f0:	300617d0 	.word	0x300617d0                                  
300572f4:	30065a40 	.word	0x30065a40                                  
                                                                      
300258a4 <getgid>:                                                    
 *  4.2.1 Get Real User, Effective User, Ral Group, and Effective Group IDs,
 *        P1003.1b-1993, p. 84                                        
 */                                                                   
                                                                      
gid_t getgid( void )                                                  
{                                                                     
300258a4:	e59f3008 	ldr	r3, [pc, #8]	; 300258b4 <getgid+0x10>         <== NOT EXECUTED
300258a8:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
  return _POSIX_types_Gid;                                            
}                                                                     
300258ac:	e1d303b4 	ldrh	r0, [r3, #52]	; 0x34                         <== NOT EXECUTED
300258b0:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
300258b4:	30061b08 	.word	0x30061b08                                  
                                                                      
30025f00 <getgr_r>:                                                   
  struct group   *grp,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct group  **result                                              
)                                                                     
{                                                                     
30025f00:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
30025f04:	e59d801c 	ldr	r8, [sp, #28]                                 
30025f08:	e1a05000 	mov	r5, r0                                        
30025f0c:	e1a0a001 	mov	sl, r1                                        
30025f10:	e1a04002 	mov	r4, r2                                        
30025f14:	e1a07003 	mov	r7, r3                                        
  FILE *fp;                                                           
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
30025f18:	ebffffb2 	bl	30025de8 <init_etc_passwd_group>               
                                                                      
  if ((fp = fopen("/etc/group", "r")) == NULL) {                      
30025f1c:	e59f00b0 	ldr	r0, [pc, #176]	; 30025fd4 <getgr_r+0xd4>      
30025f20:	e59f10b0 	ldr	r1, [pc, #176]	; 30025fd8 <getgr_r+0xd8>      
30025f24:	eb0060ec 	bl	3003e2dc <fopen>                               
30025f28:	e2506000 	subs	r6, r0, #0                                   
30025f2c:	1a000006 	bne	30025f4c <getgr_r+0x4c>                       
30025f30:	ea000022 	b	30025fc0 <getgr_r+0xc0>                         <== NOT EXECUTED
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
      match = (strcmp(grp->gr_name, name) == 0);                      
30025f34:	e5940000 	ldr	r0, [r4]                                      
30025f38:	eb007689 	bl	30043964 <strcmp>                              
30025f3c:	e2700001 	rsbs	r0, r0, #1                                   
30025f40:	33a00000 	movcc	r0, #0                                      
    }                                                                 
    else {                                                            
      match = (grp->gr_gid == gid);                                   
    }                                                                 
    if (match) {                                                      
30025f44:	e3500000 	cmp	r0, #0                                        
30025f48:	1a00000f 	bne	30025f8c <getgr_r+0x8c>                       
  if ((fp = fopen("/etc/group", "r")) == NULL) {                      
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize)) {                          
30025f4c:	e1a01004 	mov	r1, r4                                        
30025f50:	e1a02007 	mov	r2, r7                                        
30025f54:	e1a03008 	mov	r3, r8                                        
30025f58:	e1a00006 	mov	r0, r6                                        
30025f5c:	ebfffee1 	bl	30025ae8 <scangr>                              
30025f60:	e3500000 	cmp	r0, #0                                        
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
      match = (strcmp(grp->gr_name, name) == 0);                      
30025f64:	e1a01005 	mov	r1, r5                                        
  if ((fp = fopen("/etc/group", "r")) == NULL) {                      
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize)) {                          
30025f68:	0a00000d 	beq	30025fa4 <getgr_r+0xa4>                       
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
30025f6c:	e3550000 	cmp	r5, #0                                        
30025f70:	1affffef 	bne	30025f34 <getgr_r+0x34>                       
      match = (strcmp(grp->gr_name, name) == 0);                      
    }                                                                 
    else {                                                            
      match = (grp->gr_gid == gid);                                   
30025f74:	e1d400b8 	ldrh	r0, [r4, #8]                                 <== NOT EXECUTED
30025f78:	e150000a 	cmp	r0, sl                                        <== NOT EXECUTED
30025f7c:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
30025f80:	03a00001 	moveq	r0, #1                                      <== NOT EXECUTED
    }                                                                 
    if (match) {                                                      
30025f84:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
30025f88:	0affffef 	beq	30025f4c <getgr_r+0x4c>                       <== NOT EXECUTED
      fclose(fp);                                                     
30025f8c:	e1a00006 	mov	r0, r6                                        
30025f90:	eb005eae 	bl	3003da50 <fclose>                              
      *result = grp;                                                  
30025f94:	e59d3020 	ldr	r3, [sp, #32]                                 
30025f98:	e3a00000 	mov	r0, #0                                        
30025f9c:	e5834000 	str	r4, [r3]                                      
    }                                                                 
  }                                                                   
  fclose(fp);                                                         
  errno = EINVAL;                                                     
  return -1;                                                          
}                                                                     
30025fa0:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize)) {                          
      errno = EINVAL;                                                 
30025fa4:	eb005e5c 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30025fa8:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
30025fac:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
      fclose(fp);                                                     
30025fb0:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
30025fb4:	eb005ea5 	bl	3003da50 <fclose>                              <== NOT EXECUTED
30025fb8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
      return -1;                                                      
30025fbc:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
                                                                      
  if ((fp = fopen("/etc/group", "r")) == NULL) {                      
    errno = EINVAL;                                                   
30025fc0:	eb005e55 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30025fc4:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
30025fc8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30025fcc:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    return -1;                                                        
30025fd0:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
30025fd4:	3005a5f0 	.word	0x3005a5f0                                  
30025fd8:	3005fd80 	.word	0x3005fd80                                  
                                                                      
30025c3c <getgrent>:                                                  
    return NULL;                                                      
  return p;                                                           
}                                                                     
                                                                      
struct group *getgrent(void)                                          
{                                                                     
30025c3c:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  if (group_fp == NULL)                                               
30025c40:	e59f4030 	ldr	r4, [pc, #48]	; 30025c78 <getgrent+0x3c>      <== NOT EXECUTED
30025c44:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
30025c48:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
30025c4c:	1a000001 	bne	30025c58 <getgrent+0x1c>                      <== NOT EXECUTED
    return NULL;                                                      
  if (!scangr(group_fp, &grent, grbuf, sizeof grbuf))                 
30025c50:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
    return NULL;                                                      
  return &grent;                                                      
}                                                                     
30025c54:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
struct group *getgrent(void)                                          
{                                                                     
  if (group_fp == NULL)                                               
    return NULL;                                                      
  if (!scangr(group_fp, &grent, grbuf, sizeof grbuf))                 
30025c58:	e2841008 	add	r1, r4, #8                                    <== NOT EXECUTED
30025c5c:	e2842018 	add	r2, r4, #24                                   <== NOT EXECUTED
30025c60:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
30025c64:	ebffff9f 	bl	30025ae8 <scangr>                              <== NOT EXECUTED
30025c68:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
30025c6c:	12840008 	addne	r0, r4, #8                                  <== NOT EXECUTED
30025c70:	18bd8010 	popne	{r4, pc}                                    <== NOT EXECUTED
30025c74:	eafffff5 	b	30025c50 <getgrent+0x14>                        <== NOT EXECUTED
30025c78:	30065554 	.word	0x30065554                                  
                                                                      
30026018 <getgrgid>:                                                  
                                                                      
struct group *getgrgid(                                               
  gid_t gid                                                           
)                                                                     
{                                                                     
30026018:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  struct group *p;                                                    
                                                                      
  if(getgrgid_r(gid, &grent, grbuf, sizeof grbuf, &p))                
3002601c:	e59f1030 	ldr	r1, [pc, #48]	; 30026054 <getgrgid+0x3c>      <== NOT EXECUTED
}                                                                     
                                                                      
struct group *getgrgid(                                               
  gid_t gid                                                           
)                                                                     
{                                                                     
30026020:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
30026024:	e1a00800 	lsl	r0, r0, #16                                   <== NOT EXECUTED
  struct group *p;                                                    
                                                                      
  if(getgrgid_r(gid, &grent, grbuf, sizeof grbuf, &p))                
30026028:	e28dc004 	add	ip, sp, #4                                    <== NOT EXECUTED
3002602c:	e2812010 	add	r2, r1, #16                                   <== NOT EXECUTED
30026030:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
30026034:	e1a00820 	lsr	r0, r0, #16                                   <== NOT EXECUTED
30026038:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
3002603c:	ebffffe6 	bl	30025fdc <getgrgid_r>                          <== NOT EXECUTED
30026040:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
30026044:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
    return NULL;                                                      
  return p;                                                           
30026048:	059d0004 	ldreq	r0, [sp, #4]                                <== NOT EXECUTED
}                                                                     
3002604c:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
30026050:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
30026054:	3006555c 	.word	0x3006555c                                  
                                                                      
30025fdc <getgrgid_r>:                                                
  struct group   *grp,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct group  **result                                              
)                                                                     
{                                                                     
30025fdc:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
30025fe0:	e1a0c002 	mov	ip, r2                                        <== NOT EXECUTED
30025fe4:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
30025fe8:	e1a0e001 	mov	lr, r1                                        <== NOT EXECUTED
  return getgr_r(NULL, gid, grp, buffer, bufsize, result);            
30025fec:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
  struct group   *grp,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct group  **result                                              
)                                                                     
{                                                                     
30025ff0:	e1a01800 	lsl	r1, r0, #16                                   <== NOT EXECUTED
  return getgr_r(NULL, gid, grp, buffer, bufsize, result);            
30025ff4:	e1a0300c 	mov	r3, ip                                        <== NOT EXECUTED
30025ff8:	e59dc00c 	ldr	ip, [sp, #12]                                 <== NOT EXECUTED
30025ffc:	e1a01821 	lsr	r1, r1, #16                                   <== NOT EXECUTED
30026000:	e1a0200e 	mov	r2, lr                                        <== NOT EXECUTED
30026004:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
30026008:	e58dc004 	str	ip, [sp, #4]                                  <== NOT EXECUTED
3002600c:	ebffffbb 	bl	30025f00 <getgr_r>                             <== NOT EXECUTED
}                                                                     
30026010:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
30026014:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
                                                                      
30021b88 <getpid>:                                                    
 */                                                                   
                                                                      
pid_t getpid( void )                                                  
{                                                                     
  return _Objects_Local_node;                                         
}                                                                     
30021b88:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
30021b8c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
300260f8 <getpw_r>:                                                   
  struct passwd  *pwd,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct passwd **result                                              
)                                                                     
{                                                                     
300260f8:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
300260fc:	e59d801c 	ldr	r8, [sp, #28]                                 
30026100:	e1a05000 	mov	r5, r0                                        
30026104:	e1a0a001 	mov	sl, r1                                        
30026108:	e1a04002 	mov	r4, r2                                        
3002610c:	e1a07003 	mov	r7, r3                                        
  FILE *fp;                                                           
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
30026110:	ebffff34 	bl	30025de8 <init_etc_passwd_group>               
                                                                      
  if ((fp = fopen("/etc/passwd", "r")) == NULL) {                     
30026114:	e59f00b0 	ldr	r0, [pc, #176]	; 300261cc <getpw_r+0xd4>      
30026118:	e59f10b0 	ldr	r1, [pc, #176]	; 300261d0 <getpw_r+0xd8>      
3002611c:	eb00606e 	bl	3003e2dc <fopen>                               
30026120:	e2506000 	subs	r6, r0, #0                                   
30026124:	1a000006 	bne	30026144 <getpw_r+0x4c>                       
30026128:	ea000022 	b	300261b8 <getpw_r+0xc0>                         <== NOT EXECUTED
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
      match = (strcmp(pwd->pw_name, name) == 0);                      
3002612c:	e5940000 	ldr	r0, [r4]                                      
30026130:	eb00760b 	bl	30043964 <strcmp>                              
30026134:	e2700001 	rsbs	r0, r0, #1                                   
30026138:	33a00000 	movcc	r0, #0                                      
    }                                                                 
    else {                                                            
      match = (pwd->pw_uid == uid);                                   
    }                                                                 
    if (match) {                                                      
3002613c:	e3500000 	cmp	r0, #0                                        
30026140:	1a00000f 	bne	30026184 <getpw_r+0x8c>                       
  if ((fp = fopen("/etc/passwd", "r")) == NULL) {                     
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize)) {                          
30026144:	e1a01004 	mov	r1, r4                                        
30026148:	e1a02007 	mov	r2, r7                                        
3002614c:	e1a03008 	mov	r3, r8                                        
30026150:	e1a00006 	mov	r0, r6                                        
30026154:	ebfffec8 	bl	30025c7c <scanpw>                              
30026158:	e3500000 	cmp	r0, #0                                        
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
      match = (strcmp(pwd->pw_name, name) == 0);                      
3002615c:	e1a01005 	mov	r1, r5                                        
  if ((fp = fopen("/etc/passwd", "r")) == NULL) {                     
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize)) {                          
30026160:	0a00000d 	beq	3002619c <getpw_r+0xa4>                       
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
30026164:	e3550000 	cmp	r5, #0                                        
30026168:	1affffef 	bne	3002612c <getpw_r+0x34>                       
      match = (strcmp(pwd->pw_name, name) == 0);                      
    }                                                                 
    else {                                                            
      match = (pwd->pw_uid == uid);                                   
3002616c:	e1d400b8 	ldrh	r0, [r4, #8]                                 <== NOT EXECUTED
30026170:	e150000a 	cmp	r0, sl                                        <== NOT EXECUTED
30026174:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
30026178:	03a00001 	moveq	r0, #1                                      <== NOT EXECUTED
    }                                                                 
    if (match) {                                                      
3002617c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
30026180:	0affffef 	beq	30026144 <getpw_r+0x4c>                       <== NOT EXECUTED
      fclose(fp);                                                     
30026184:	e1a00006 	mov	r0, r6                                        
30026188:	eb005e30 	bl	3003da50 <fclose>                              
      *result = pwd;                                                  
3002618c:	e59d3020 	ldr	r3, [sp, #32]                                 
30026190:	e3a00000 	mov	r0, #0                                        
30026194:	e5834000 	str	r4, [r3]                                      
    }                                                                 
  }                                                                   
  fclose(fp);                                                         
  errno = EINVAL;                                                     
  return -1;                                                          
}                                                                     
30026198:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize)) {                          
      errno = EINVAL;                                                 
3002619c:	eb005dde 	bl	3003d91c <__errno>                             <== NOT EXECUTED
300261a0:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
300261a4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
      fclose(fp);                                                     
300261a8:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
300261ac:	eb005e27 	bl	3003da50 <fclose>                              <== NOT EXECUTED
300261b0:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
      return -1;                                                      
300261b4:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
                                                                      
  if ((fp = fopen("/etc/passwd", "r")) == NULL) {                     
    errno = EINVAL;                                                   
300261b8:	eb005dd7 	bl	3003d91c <__errno>                             <== NOT EXECUTED
300261bc:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
300261c0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
300261c4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    return -1;                                                        
300261c8:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
300261cc:	3005a540 	.word	0x3005a540                                  
300261d0:	3005fd80 	.word	0x3005fd80                                  
                                                                      
30025da8 <getpwent>:                                                  
    return NULL;                                                      
  return p;                                                           
}                                                                     
                                                                      
struct passwd *getpwent(void)                                         
{                                                                     
30025da8:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  if (passwd_fp == NULL)                                              
30025dac:	e59f4030 	ldr	r4, [pc, #48]	; 30025de4 <getpwent+0x3c>      <== NOT EXECUTED
30025db0:	e5940004 	ldr	r0, [r4, #4]                                  <== NOT EXECUTED
30025db4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
30025db8:	1a000001 	bne	30025dc4 <getpwent+0x1c>                      <== NOT EXECUTED
    return NULL;                                                      
  if (!scanpw(passwd_fp, &pwent, pwbuf, sizeof pwbuf))                
30025dbc:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
    return NULL;                                                      
  return &pwent;                                                      
}                                                                     
30025dc0:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
struct passwd *getpwent(void)                                         
{                                                                     
  if (passwd_fp == NULL)                                              
    return NULL;                                                      
  if (!scanpw(passwd_fp, &pwent, pwbuf, sizeof pwbuf))                
30025dc4:	e28410e0 	add	r1, r4, #224	; 0xe0                           <== NOT EXECUTED
30025dc8:	e28420fc 	add	r2, r4, #252	; 0xfc                           <== NOT EXECUTED
30025dcc:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
30025dd0:	ebffffa9 	bl	30025c7c <scanpw>                              <== NOT EXECUTED
30025dd4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
30025dd8:	128400e0 	addne	r0, r4, #224	; 0xe0                         <== NOT EXECUTED
30025ddc:	18bd8010 	popne	{r4, pc}                                    <== NOT EXECUTED
30025de0:	eafffff5 	b	30025dbc <getpwent+0x14>                        <== NOT EXECUTED
30025de4:	30065554 	.word	0x30065554                                  
                                                                      
30026210 <getpwuid>:                                                  
                                                                      
struct passwd *getpwuid(                                              
  uid_t uid                                                           
)                                                                     
{                                                                     
30026210:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  struct passwd *p;                                                   
                                                                      
  if(getpwuid_r(uid, &pwent, pwbuf, sizeof pwbuf, &p))                
30026214:	e59f1030 	ldr	r1, [pc, #48]	; 3002624c <getpwuid+0x3c>      <== NOT EXECUTED
}                                                                     
                                                                      
struct passwd *getpwuid(                                              
  uid_t uid                                                           
)                                                                     
{                                                                     
30026218:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
3002621c:	e1a00800 	lsl	r0, r0, #16                                   <== NOT EXECUTED
  struct passwd *p;                                                   
                                                                      
  if(getpwuid_r(uid, &pwent, pwbuf, sizeof pwbuf, &p))                
30026220:	e28dc004 	add	ip, sp, #4                                    <== NOT EXECUTED
30026224:	e281201c 	add	r2, r1, #28                                   <== NOT EXECUTED
30026228:	e3a030c8 	mov	r3, #200	; 0xc8                               <== NOT EXECUTED
3002622c:	e1a00820 	lsr	r0, r0, #16                                   <== NOT EXECUTED
30026230:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
30026234:	ebffffe6 	bl	300261d4 <getpwuid_r>                          <== NOT EXECUTED
30026238:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
3002623c:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
    return NULL;                                                      
  return p;                                                           
30026240:	059d0004 	ldreq	r0, [sp, #4]                                <== NOT EXECUTED
}                                                                     
30026244:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
30026248:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
3002624c:	30065634 	.word	0x30065634                                  
                                                                      
300261d4 <getpwuid_r>:                                                
  struct passwd  *pwd,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct passwd **result                                              
)                                                                     
{                                                                     
300261d4:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
300261d8:	e1a0c002 	mov	ip, r2                                        <== NOT EXECUTED
300261dc:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
300261e0:	e1a0e001 	mov	lr, r1                                        <== NOT EXECUTED
  return getpw_r(NULL, uid, pwd, buffer, bufsize, result);            
300261e4:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
  struct passwd  *pwd,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct passwd **result                                              
)                                                                     
{                                                                     
300261e8:	e1a01800 	lsl	r1, r0, #16                                   <== NOT EXECUTED
  return getpw_r(NULL, uid, pwd, buffer, bufsize, result);            
300261ec:	e1a0300c 	mov	r3, ip                                        <== NOT EXECUTED
300261f0:	e59dc00c 	ldr	ip, [sp, #12]                                 <== NOT EXECUTED
300261f4:	e1a01821 	lsr	r1, r1, #16                                   <== NOT EXECUTED
300261f8:	e1a0200e 	mov	r2, lr                                        <== NOT EXECUTED
300261fc:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
30026200:	e58dc004 	str	ip, [sp, #4]                                  <== NOT EXECUTED
30026204:	ebffffbb 	bl	300260f8 <getpw_r>                             <== NOT EXECUTED
}                                                                     
30026208:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
3002620c:	e8bd8000 	pop	{pc}                                          <== NOT EXECUTED
                                                                      
30009a94 <gettimeofday>:                                              
 */                                                                   
int gettimeofday(                                                     
  struct timeval  *tp,                                                
  void * __tz __attribute__((unused))                                 
)                                                                     
{                                                                     
30009a94:	e92d4030 	push	{r4, r5, lr}                                 
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp ) {                                                        
30009a98:	e2504000 	subs	r4, r0, #0                                   
 */                                                                   
int gettimeofday(                                                     
  struct timeval  *tp,                                                
  void * __tz __attribute__((unused))                                 
)                                                                     
{                                                                     
30009a9c:	e24dd008 	sub	sp, sp, #8                                    
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp ) {                                                        
30009aa0:	0a00000e 	beq	30009ae0 <gettimeofday+0x4c>                  
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
30009aa4:	e10f5000 	mrs	r5, CPSR                                      
30009aa8:	e3853080 	orr	r3, r5, #128	; 0x80                           
30009aac:	e129f003 	msr	CPSR_fc, r3                                   
  ISR_Level       level;                                              
  struct timespec now;                                                
  suseconds_t     useconds;                                           
                                                                      
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
30009ab0:	e1a0000d 	mov	r0, sp                                        
30009ab4:	eb000298 	bl	3000a51c <_TOD_Get>                            
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
30009ab8:	e129f005 	msr	CPSR_fc, r5                                   
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
                                                                      
  time->tv_sec  = now.tv_sec;                                         
  time->tv_usec = useconds;                                           
30009abc:	e59f0030 	ldr	r0, [pc, #48]	; 30009af4 <gettimeofday+0x60>  
                                                                      
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
30009ac0:	e89d000c 	ldm	sp, {r2, r3}                                  
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
                                                                      
  time->tv_sec  = now.tv_sec;                                         
  time->tv_usec = useconds;                                           
30009ac4:	e0c1c390 	smull	ip, r1, r0, r3                              
30009ac8:	e1a03fc3 	asr	r3, r3, #31                                   
30009acc:	e0633341 	rsb	r3, r3, r1, asr #6                            
30009ad0:	e884000c 	stm	r4, {r2, r3}                                  
30009ad4:	e3a00000 	mov	r0, #0                                        
   *  with Eric Norum, this is how GNU/Linux, Solaris, and MacOS X    
   *  do it.  This puts us in good company.                           
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
30009ad8:	e28dd008 	add	sp, sp, #8                                    
30009adc:	e8bd8030 	pop	{r4, r5, pc}                                  
  void * __tz __attribute__((unused))                                 
)                                                                     
{                                                                     
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp ) {                                                        
    errno = EFAULT;                                                   
30009ae0:	eb000b8e 	bl	3000c920 <__errno>                             <== NOT EXECUTED
30009ae4:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
30009ae8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30009aec:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
    return -1;                                                        
30009af0:	eafffff8 	b	30009ad8 <gettimeofday+0x44>                    <== NOT EXECUTED
30009af4:	10624dd3 	.word	0x10624dd3                                  
                                                                      
30004d78 <getuid>:                                                    
 *  4.2.1 Get Real User, Effective User, Ral Group, and Effective Group IDs,
 *        P1003.1b-1993, p. 84                                        
 */                                                                   
                                                                      
uid_t getuid( void )                                                  
{                                                                     
30004d78:	e59f3008 	ldr	r3, [pc, #8]	; 30004d88 <getuid+0x10>         <== NOT EXECUTED
30004d7c:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
  return _POSIX_types_Uid;                                            
}                                                                     
30004d80:	e1d303b2 	ldrh	r0, [r3, #50]	; 0x32                         <== NOT EXECUTED
30004d84:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
30004d88:	30061b08 	.word	0x30061b08                                  
                                                                      
3000596c <ioctl>:                                                     
int ioctl(                                                            
  int  fd,                                                            
  ioctl_command_t  command,                                           
  ...                                                                 
)                                                                     
{                                                                     
3000596c:	e92d000e 	push	{r1, r2, r3}                                 
  va_list            ap;                                              
  rtems_status_code  rc;                                              
  rtems_libio_t     *iop;                                             
  void              *buffer;                                          
                                                                      
  rtems_libio_check_fd( fd );                                         
30005970:	e59f3090 	ldr	r3, [pc, #144]	; 30005a08 <ioctl+0x9c>        
int ioctl(                                                            
  int  fd,                                                            
  ioctl_command_t  command,                                           
  ...                                                                 
)                                                                     
{                                                                     
30005974:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  va_list            ap;                                              
  rtems_status_code  rc;                                              
  rtems_libio_t     *iop;                                             
  void              *buffer;                                          
                                                                      
  rtems_libio_check_fd( fd );                                         
30005978:	e5933000 	ldr	r3, [r3]                                      
int ioctl(                                                            
  int  fd,                                                            
  ioctl_command_t  command,                                           
  ...                                                                 
)                                                                     
{                                                                     
3000597c:	e24dd004 	sub	sp, sp, #4                                    
  va_list            ap;                                              
  rtems_status_code  rc;                                              
  rtems_libio_t     *iop;                                             
  void              *buffer;                                          
                                                                      
  rtems_libio_check_fd( fd );                                         
30005980:	e1500003 	cmp	r0, r3                                        
30005984:	2a000015 	bcs	300059e0 <ioctl+0x74>                         
  iop = rtems_libio_iop( fd );                                        
30005988:	e59f307c 	ldr	r3, [pc, #124]	; 30005a0c <ioctl+0xa0>        
3000598c:	e5933000 	ldr	r3, [r3]                                      
30005990:	e0830300 	add	r0, r3, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
30005994:	e5903014 	ldr	r3, [r0, #20]                                 
30005998:	e3130c01 	tst	r3, #256	; 0x100                              
3000599c:	0a00000f 	beq	300059e0 <ioctl+0x74>                         
                                                                      
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
300059a0:	e590303c 	ldr	r3, [r0, #60]	; 0x3c                          
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
                                                                      
  va_start(ap, command);                                              
                                                                      
  buffer = va_arg(ap, void *);                                        
300059a4:	e28d2010 	add	r2, sp, #16                                   
                                                                      
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
300059a8:	e3530000 	cmp	r3, #0                                        
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
                                                                      
  va_start(ap, command);                                              
                                                                      
  buffer = va_arg(ap, void *);                                        
300059ac:	e58d2000 	str	r2, [sp]                                      
300059b0:	e59d200c 	ldr	r2, [sp, #12]                                 
                                                                      
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
300059b4:	0a000009 	beq	300059e0 <ioctl+0x74>                         
    rtems_set_errno_and_return_minus_one( EBADF );                    
                                                                      
  if ( !iop->handlers->ioctl_h )                                      
300059b8:	e5933010 	ldr	r3, [r3, #16]                                 
300059bc:	e3530000 	cmp	r3, #0                                        
300059c0:	0a00000b 	beq	300059f4 <ioctl+0x88>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  rc = (*iop->handlers->ioctl_h)( iop, command, buffer );             
300059c4:	e59d1008 	ldr	r1, [sp, #8]                                  
300059c8:	e1a0e00f 	mov	lr, pc                                        
300059cc:	e12fff13 	bx	r3                                             
                                                                      
  return rc;                                                          
}                                                                     
300059d0:	e28dd004 	add	sp, sp, #4                                    
300059d4:	e49de004 	pop	{lr}		; (ldr lr, [sp], #4)                    
300059d8:	e28dd00c 	add	sp, sp, #12                                   
300059dc:	e12fff1e 	bx	lr                                             
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
    rtems_set_errno_and_return_minus_one( EBADF );                    
300059e0:	eb003365 	bl	3001277c <__errno>                             
300059e4:	e3a03009 	mov	r3, #9                                        
300059e8:	e5803000 	str	r3, [r0]                                      
300059ec:	e3e00000 	mvn	r0, #0                                        
300059f0:	eafffff6 	b	300059d0 <ioctl+0x64>                           
                                                                      
  if ( !iop->handlers->ioctl_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
300059f4:	eb003360 	bl	3001277c <__errno>                             <== NOT EXECUTED
300059f8:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
300059fc:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30005a00:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30005a04:	eafffff1 	b	300059d0 <ioctl+0x64>                           <== NOT EXECUTED
30005a08:	3001f5bc 	.word	0x3001f5bc                                  
30005a0c:	300201b8 	.word	0x300201b8                                  
                                                                      
30003414 <iproc>:                                                     
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
	if (tty->termios.c_iflag & ISTRIP)                                   
30003414:	e5913030 	ldr	r3, [r1, #48]	; 0x30                          <== NOT EXECUTED
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
30003418:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
	if (tty->termios.c_iflag & ISTRIP)                                   
3000341c:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
30003420:	e20040ff 	and	r4, r0, #255	; 0xff                           <== NOT EXECUTED
	if (tty->termios.c_iflag & ISTRIP)                                   
		c &= 0x7f;                                                          
30003424:	1200407f 	andne	r4, r0, #127	; 0x7f                         <== NOT EXECUTED
	if (tty->termios.c_iflag & IUCLC)                                    
30003428:	e3130c02 	tst	r3, #512	; 0x200                              <== NOT EXECUTED
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
3000342c:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
	if (tty->termios.c_iflag & ISTRIP)                                   
		c &= 0x7f;                                                          
	if (tty->termios.c_iflag & IUCLC)                                    
30003430:	0a000007 	beq	30003454 <iproc+0x40>                         <== NOT EXECUTED
		c = tolower (c);                                                    
30003434:	e59f2198 	ldr	r2, [pc, #408]	; 300035d4 <iproc+0x1c0>       <== NOT EXECUTED
30003438:	e5922000 	ldr	r2, [r2]                                      <== NOT EXECUTED
3000343c:	e0822004 	add	r2, r2, r4                                    <== NOT EXECUTED
30003440:	e5d22001 	ldrb	r2, [r2, #1]                                 <== NOT EXECUTED
30003444:	e2022003 	and	r2, r2, #3                                    <== NOT EXECUTED
30003448:	e3520001 	cmp	r2, #1                                        <== NOT EXECUTED
3000344c:	02844020 	addeq	r4, r4, #32                                 <== NOT EXECUTED
30003450:	e20440ff 	and	r4, r4, #255	; 0xff                           <== NOT EXECUTED
	if (c == '\r') {                                                     
30003454:	e354000d 	cmp	r4, #13                                       <== NOT EXECUTED
30003458:	0a000012 	beq	300034a8 <iproc+0x94>                         <== 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)) {            
3000345c:	e354000a 	cmp	r4, #10                                       <== NOT EXECUTED
30003460:	0a000034 	beq	30003538 <iproc+0x124>                        <== NOT EXECUTED
		c = '\r';                                                           
	}                                                                    
	if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {                
30003464:	e3540000 	cmp	r4, #0                                        <== NOT EXECUTED
30003468:	1a000015 	bne	300034c4 <iproc+0xb0>                         <== NOT EXECUTED
	}                                                                    
                                                                      
	/*                                                                   
	 * FIXME: Should do IMAXBEL handling somehow                         
	 */                                                                  
	if (tty->ccount < (CBUFSIZE-1)) {                                    
3000346c:	e59f2164 	ldr	r2, [pc, #356]	; 300035d8 <iproc+0x1c4>       <== NOT EXECUTED
30003470:	e5953020 	ldr	r3, [r5, #32]                                 <== NOT EXECUTED
30003474:	e5922000 	ldr	r2, [r2]                                      <== NOT EXECUTED
30003478:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
3000347c:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
30003480:	aa00000a 	bge	300034b0 <iproc+0x9c>                         <== NOT EXECUTED
		if (tty->termios.c_lflag & ECHO)                                    
30003484:	e595203c 	ldr	r2, [r5, #60]	; 0x3c                          <== NOT EXECUTED
30003488:	e3120008 	tst	r2, #8                                        <== NOT EXECUTED
3000348c:	1a00002c 	bne	30003544 <iproc+0x130>                        <== NOT EXECUTED
			echo (c, tty);                                                     
		tty->cbuf[tty->ccount++] = c;                                       
30003490:	e595101c 	ldr	r1, [r5, #28]                                 <== NOT EXECUTED
30003494:	e2832001 	add	r2, r3, #1                                    <== NOT EXECUTED
30003498:	e7c14003 	strb	r4, [r1, r3]                                 <== NOT EXECUTED
3000349c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
300034a0:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
300034a4:	e8bd8030 	pop	{r4, r5, pc}                                  <== 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)                                   
300034a8:	e3130080 	tst	r3, #128	; 0x80                               <== NOT EXECUTED
300034ac:	0a000001 	beq	300034b8 <iproc+0xa4>                         <== 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;                                       
300034b0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
	}                                                                    
	return 0;                                                            
}                                                                     
300034b4:	e8bd8030 	pop	{r4, r5, pc}                                  <== 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)                                   
300034b8:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
300034bc:	03a0400d 	moveq	r4, #13                                     <== NOT EXECUTED
300034c0:	13a0400a 	movne	r4, #10                                     <== NOT EXECUTED
			c = '\n';                                                          
	}                                                                    
	else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {            
		c = '\r';                                                           
	}                                                                    
	if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {                
300034c4:	e595303c 	ldr	r3, [r5, #60]	; 0x3c                          <== NOT EXECUTED
300034c8:	e3130002 	tst	r3, #2                                        <== NOT EXECUTED
300034cc:	0affffe6 	beq	3000346c <iproc+0x58>                         <== NOT EXECUTED
		if (c == tty->termios.c_cc[VERASE]) {                               
300034d0:	e5d52043 	ldrb	r2, [r5, #67]	; 0x43                         <== NOT EXECUTED
300034d4:	e1520004 	cmp	r2, r4                                        <== NOT EXECUTED
300034d8:	0a000038 	beq	300035c0 <iproc+0x1ac>                        <== NOT EXECUTED
			erase (tty, 0);                                                    
			return 0;                                                          
		}                                                                   
		else if (c == tty->termios.c_cc[VKILL]) {                           
300034dc:	e5d52044 	ldrb	r2, [r5, #68]	; 0x44                         <== NOT EXECUTED
300034e0:	e1520004 	cmp	r2, r4                                        <== NOT EXECUTED
300034e4:	0a000030 	beq	300035ac <iproc+0x198>                        <== NOT EXECUTED
			erase (tty, 1);                                                    
			return 0;                                                          
		}                                                                   
		else if (c == tty->termios.c_cc[VEOF]) {                            
300034e8:	e5d52045 	ldrb	r2, [r5, #69]	; 0x45                         <== NOT EXECUTED
300034ec:	e1520004 	cmp	r2, r4                                        <== NOT EXECUTED
300034f0:	0a000027 	beq	30003594 <iproc+0x180>                        <== NOT EXECUTED
			return 1;                                                          
		}                                                                   
		else if (c == '\n') {                                               
300034f4:	e354000a 	cmp	r4, #10                                       <== NOT EXECUTED
300034f8:	0a00001b 	beq	3000356c <iproc+0x158>                        <== 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])                             
300034fc:	e5d5204c 	ldrb	r2, [r5, #76]	; 0x4c                         <== NOT EXECUTED
30003500:	e1520004 	cmp	r2, r4                                        <== NOT EXECUTED
30003504:	0a000002 	beq	30003514 <iproc+0x100>                        <== NOT EXECUTED
		      || (c == tty->termios.c_cc[VEOL2])) {                         
30003508:	e5d52051 	ldrb	r2, [r5, #81]	; 0x51                         <== NOT EXECUTED
3000350c:	e1520004 	cmp	r2, r4                                        <== NOT EXECUTED
30003510:	1affffd5 	bne	3000346c <iproc+0x58>                         <== NOT EXECUTED
			if (tty->termios.c_lflag & ECHO)                                   
30003514:	e3130008 	tst	r3, #8                                        <== NOT EXECUTED
30003518:	1a00001f 	bne	3000359c <iproc+0x188>                        <== NOT EXECUTED
				echo (c, tty);                                                    
			tty->cbuf[tty->ccount++] = c;                                      
3000351c:	e5953020 	ldr	r3, [r5, #32]                                 <== NOT EXECUTED
30003520:	e595101c 	ldr	r1, [r5, #28]                                 <== NOT EXECUTED
30003524:	e2832001 	add	r2, r3, #1                                    <== NOT EXECUTED
30003528:	e7c14003 	strb	r4, [r1, r3]                                 <== NOT EXECUTED
3000352c:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
30003530:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
			return 1;                                                          
30003534:	e8bd8030 	pop	{r4, r5, pc}                                  <== 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)) {            
30003538:	e3130040 	tst	r3, #64	; 0x40                                <== NOT EXECUTED
3000353c:	13a0400d 	movne	r4, #13                                     <== NOT EXECUTED
30003540:	eaffffdf 	b	300034c4 <iproc+0xb0>                           <== NOT EXECUTED
	/*                                                                   
	 * FIXME: Should do IMAXBEL handling somehow                         
	 */                                                                  
	if (tty->ccount < (CBUFSIZE-1)) {                                    
		if (tty->termios.c_lflag & ECHO)                                    
			echo (c, tty);                                                     
30003544:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
30003548:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
3000354c:	ebffff0b 	bl	30003180 <echo>                                <== NOT EXECUTED
30003550:	e5953020 	ldr	r3, [r5, #32]                                 <== NOT EXECUTED
		tty->cbuf[tty->ccount++] = c;                                       
30003554:	e595101c 	ldr	r1, [r5, #28]                                 <== NOT EXECUTED
30003558:	e2832001 	add	r2, r3, #1                                    <== NOT EXECUTED
3000355c:	e7c14003 	strb	r4, [r1, r3]                                 <== NOT EXECUTED
30003560:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
30003564:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
30003568:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
		}                                                                   
		else if (c == tty->termios.c_cc[VEOF]) {                            
			return 1;                                                          
		}                                                                   
		else if (c == '\n') {                                               
			if (tty->termios.c_lflag & (ECHO | ECHONL))                        
3000356c:	e3130048 	tst	r3, #72	; 0x48                                <== NOT EXECUTED
				echo (c, tty);                                                    
30003570:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
30003574:	11a01005 	movne	r1, r5                                      <== NOT EXECUTED
30003578:	1bffff00 	blne	30003180 <echo>                              <== NOT EXECUTED
			tty->cbuf[tty->ccount++] = c;                                      
3000357c:	e5953020 	ldr	r3, [r5, #32]                                 <== NOT EXECUTED
30003580:	e595101c 	ldr	r1, [r5, #28]                                 <== NOT EXECUTED
30003584:	e2832001 	add	r2, r3, #1                                    <== NOT EXECUTED
30003588:	e3a0000a 	mov	r0, #10                                       <== NOT EXECUTED
3000358c:	e7c10003 	strb	r0, [r1, r3]                                 <== NOT EXECUTED
30003590:	e5852020 	str	r2, [r5, #32]                                 <== NOT EXECUTED
30003594:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
			return 1;                                                          
30003598:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
		}                                                                   
		else if ((c == tty->termios.c_cc[VEOL])                             
		      || (c == tty->termios.c_cc[VEOL2])) {                         
			if (tty->termios.c_lflag & ECHO)                                   
				echo (c, tty);                                                    
3000359c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
300035a0:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
300035a4:	ebfffef5 	bl	30003180 <echo>                                <== NOT EXECUTED
300035a8:	eaffffdb 	b	3000351c <iproc+0x108>                          <== 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);                                                    
300035ac:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
300035b0:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
300035b4:	ebffff13 	bl	30003208 <erase>                               <== NOT EXECUTED
300035b8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
			return 0;                                                          
300035bc:	e8bd8030 	pop	{r4, r5, pc}                                  <== 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);                                                    
300035c0:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
300035c4:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
300035c8:	ebffff0e 	bl	30003208 <erase>                               <== NOT EXECUTED
300035cc:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
			return 0;                                                          
300035d0:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
300035d4:	30019080 	.word	0x30019080                                  
300035d8:	30019008 	.word	0x30019008                                  
                                                                      
30021ba0 <kill>:                                                      
                                                                      
#if !defined(RTEMS_POSIX_API)                                         
int kill( pid_t pid, int sig )                                        
{                                                                     
  return 0;                                                           
}                                                                     
30021ba0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
30021ba4:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
3002635c <link>:                                                      
                                                                      
int link(                                                             
  const char *existing,                                               
  const char *new                                                     
)                                                                     
{                                                                     
3002635c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
30026360:	e24dd030 	sub	sp, sp, #48	; 0x30                            
30026364:	e1a06001 	mov	r6, r1                                        
30026368:	e1a04000 	mov	r4, r0                                        
                                                                      
  /*                                                                  
   * Get the node we are linking to.                                  
   */                                                                 
                                                                      
  result = rtems_filesystem_evaluate_path( existing, strlen( existing ),
3002636c:	eb0077e4 	bl	30044304 <strlen>                              
30026370:	e28d5018 	add	r5, sp, #24                                   
30026374:	e1a01000 	mov	r1, r0                                        
30026378:	e3a0c001 	mov	ip, #1                                        
3002637c:	e1a00004 	mov	r0, r4                                        
30026380:	e3a02000 	mov	r2, #0                                        
30026384:	e1a03005 	mov	r3, r5                                        
30026388:	e58dc000 	str	ip, [sp]                                      
3002638c:	ebff7a02 	bl	30004b9c <rtems_filesystem_evaluate_path>      
                                           0, &existing_loc, true );  
  if ( result != 0 )                                                  
30026390:	e3500000 	cmp	r0, #0                                        
30026394:	1a00004d 	bne	300264d0 <link+0x174>                         
                                                                      
  /*                                                                  
   * Get the parent of the node we are creating.                      
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &parent_loc );             
30026398:	e5d63000 	ldrb	r3, [r6]                                     
3002639c:	e353002f 	cmp	r3, #47	; 0x2f                                
300263a0:	1353005c 	cmpne	r3, #92	; 0x5c                              
300263a4:	13a0e000 	movne	lr, #0                                      
300263a8:	03a0e001 	moveq	lr, #1                                      
300263ac:	1a000035 	bne	30026488 <link+0x12c>                         
300263b0:	e59f31fc 	ldr	r3, [pc, #508]	; 300265b4 <link+0x258>        
300263b4:	e28d4004 	add	r4, sp, #4                                    
300263b8:	e593c000 	ldr	ip, [r3]                                      
300263bc:	e3a0e001 	mov	lr, #1                                        
300263c0:	e28cc018 	add	ip, ip, #24                                   
300263c4:	e1a07004 	mov	r7, r4                                        
300263c8:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
300263cc:	e8a7000f 	stmia	r7!, {r0, r1, r2, r3}                       
                                                                      
  if ( !parent_loc.ops->evalformake_h ) {                             
300263d0:	e59d3010 	ldr	r3, [sp, #16]                                 
                                                                      
  /*                                                                  
   * Get the parent of the node we are creating.                      
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &parent_loc );             
300263d4:	e59c2000 	ldr	r2, [ip]                                      
                                                                      
  if ( !parent_loc.ops->evalformake_h ) {                             
300263d8:	e5933004 	ldr	r3, [r3, #4]                                  
                                                                      
  /*                                                                  
   * Get the parent of the node we are creating.                      
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &parent_loc );             
300263dc:	e5872000 	str	r2, [r7]                                      
                                                                      
  if ( !parent_loc.ops->evalformake_h ) {                             
300263e0:	e3530000 	cmp	r3, #0                                        
300263e4:	0a00002e 	beq	300264a4 <link+0x148>                         
    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 );
300263e8:	e086000e 	add	r0, r6, lr                                    
300263ec:	e1a01004 	mov	r1, r4                                        
300263f0:	e28d202c 	add	r2, sp, #44	; 0x2c                            
300263f4:	e1a0e00f 	mov	lr, pc                                        
300263f8:	e12fff13 	bx	r3                                             
  if ( result != 0 ) {                                                
300263fc:	e2506000 	subs	r6, r0, #0                                   
30026400:	1a000049 	bne	3002652c <link+0x1d0>                         
  /*                                                                  
   *  Check to see if the caller is trying to link across file system 
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( parent_loc.mt_entry != existing_loc.mt_entry ) {               
30026404:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
30026408:	e59d2014 	ldr	r2, [sp, #20]                                 
3002640c:	e1520003 	cmp	r2, r3                                        
30026410:	1a000030 	bne	300264d8 <link+0x17c>                         
    rtems_filesystem_freenode( &existing_loc );                       
    rtems_filesystem_freenode( &parent_loc );                         
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  }                                                                   
                                                                      
  if ( !parent_loc.ops->link_h ) {                                    
30026414:	e59d2010 	ldr	r2, [sp, #16]                                 
30026418:	e5923008 	ldr	r3, [r2, #8]                                  
3002641c:	e3530000 	cmp	r3, #0                                        
30026420:	0a00004d 	beq	3002655c <link+0x200>                         
    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 );
30026424:	e1a00005 	mov	r0, r5                                        
30026428:	e1a01004 	mov	r1, r4                                        
3002642c:	e59d202c 	ldr	r2, [sp, #44]	; 0x2c                          
30026430:	e1a0e00f 	mov	lr, pc                                        
30026434:	e12fff13 	bx	r3                                             
                                                                      
  rtems_filesystem_freenode( &existing_loc );                         
30026438:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
    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 );
3002643c:	e1a06000 	mov	r6, r0                                        
                                                                      
  rtems_filesystem_freenode( &existing_loc );                         
30026440:	e3530000 	cmp	r3, #0                                        
30026444:	0a000004 	beq	3002645c <link+0x100>                         
30026448:	e593301c 	ldr	r3, [r3, #28]                                 
3002644c:	e3530000 	cmp	r3, #0                                        
30026450:	11a00005 	movne	r0, r5                                      
30026454:	11a0e00f 	movne	lr, pc                                      
30026458:	112fff13 	bxne	r3                                           
  rtems_filesystem_freenode( &parent_loc );                           
3002645c:	e59d3010 	ldr	r3, [sp, #16]                                 
30026460:	e3530000 	cmp	r3, #0                                        
30026464:	0a000004 	beq	3002647c <link+0x120>                         
30026468:	e593301c 	ldr	r3, [r3, #28]                                 
3002646c:	e3530000 	cmp	r3, #0                                        
30026470:	11a00004 	movne	r0, r4                                      
30026474:	11a0e00f 	movne	lr, pc                                      
30026478:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
3002647c:	e1a00006 	mov	r0, r6                                        
30026480:	e28dd030 	add	sp, sp, #48	; 0x30                            
30026484:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                                                      
  /*                                                                  
   * Get the parent of the node we are creating.                      
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &parent_loc );             
30026488:	e3530000 	cmp	r3, #0                                        
3002648c:	0affffc7 	beq	300263b0 <link+0x54>                          
30026490:	e59f311c 	ldr	r3, [pc, #284]	; 300265b4 <link+0x258>        
30026494:	e28d4004 	add	r4, sp, #4                                    
30026498:	e593c000 	ldr	ip, [r3]                                      
3002649c:	e28cc004 	add	ip, ip, #4                                    
300264a0:	eaffffc7 	b	300263c4 <link+0x68>                            
                                                                      
  if ( !parent_loc.ops->evalformake_h ) {                             
    rtems_filesystem_freenode( &existing_loc );                       
300264a4:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
300264a8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300264ac:	0a000004 	beq	300264c4 <link+0x168>                         <== NOT EXECUTED
300264b0:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
300264b4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300264b8:	11a00005 	movne	r0, r5                                      <== NOT EXECUTED
300264bc:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
300264c0:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
300264c4:	eb005d14 	bl	3003d91c <__errno>                             <== NOT EXECUTED
300264c8:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
300264cc:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
300264d0:	e3e06000 	mvn	r6, #0                                        
300264d4:	eaffffe8 	b	3002647c <link+0x120>                           
   *  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 );                       
300264d8:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
300264dc:	e3530000 	cmp	r3, #0                                        
300264e0:	0a000004 	beq	300264f8 <link+0x19c>                         
300264e4:	e593301c 	ldr	r3, [r3, #28]                                 
300264e8:	e3530000 	cmp	r3, #0                                        
300264ec:	11a00005 	movne	r0, r5                                      
300264f0:	11a0e00f 	movne	lr, pc                                      
300264f4:	112fff13 	bxne	r3                                           
    rtems_filesystem_freenode( &parent_loc );                         
300264f8:	e59d3010 	ldr	r3, [sp, #16]                                 
300264fc:	e3530000 	cmp	r3, #0                                        
30026500:	0a000004 	beq	30026518 <link+0x1bc>                         
30026504:	e593301c 	ldr	r3, [r3, #28]                                 
30026508:	e3530000 	cmp	r3, #0                                        
3002650c:	11a00004 	movne	r0, r4                                      
30026510:	11a0e00f 	movne	lr, pc                                      
30026514:	112fff13 	bxne	r3                                           
    rtems_set_errno_and_return_minus_one( EXDEV );                    
30026518:	eb005cff 	bl	3003d91c <__errno>                             
3002651c:	e3a03012 	mov	r3, #18                                       
30026520:	e5803000 	str	r3, [r0]                                      
30026524:	e3e06000 	mvn	r6, #0                                        
30026528:	eaffffd3 	b	3002647c <link+0x120>                           
    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 );                       
3002652c:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
30026530:	e3530000 	cmp	r3, #0                                        
30026534:	0a000004 	beq	3002654c <link+0x1f0>                         
30026538:	e593301c 	ldr	r3, [r3, #28]                                 
3002653c:	e3530000 	cmp	r3, #0                                        
30026540:	11a00005 	movne	r0, r5                                      
30026544:	11a0e00f 	movne	lr, pc                                      
30026548:	112fff13 	bxne	r3                                           
    rtems_set_errno_and_return_minus_one( result );                   
3002654c:	eb005cf2 	bl	3003d91c <__errno>                             
30026550:	e5806000 	str	r6, [r0]                                      
30026554:	e3e06000 	mvn	r6, #0                                        
30026558:	eaffffc7 	b	3002647c <link+0x120>                           
    rtems_filesystem_freenode( &parent_loc );                         
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  }                                                                   
                                                                      
  if ( !parent_loc.ops->link_h ) {                                    
    rtems_filesystem_freenode( &existing_loc );                       
3002655c:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
30026560:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30026564:	0a000006 	beq	30026584 <link+0x228>                         <== NOT EXECUTED
30026568:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
3002656c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30026570:	0a000003 	beq	30026584 <link+0x228>                         <== NOT EXECUTED
30026574:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
30026578:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
3002657c:	e12fff13 	bx	r3                                             <== NOT EXECUTED
30026580:	e59d2010 	ldr	r2, [sp, #16]                                 <== NOT EXECUTED
    rtems_filesystem_freenode( &parent_loc );                         
30026584:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
30026588:	0a000004 	beq	300265a0 <link+0x244>                         <== NOT EXECUTED
3002658c:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
30026590:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30026594:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
30026598:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
3002659c:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
300265a0:	eb005cdd 	bl	3003d91c <__errno>                             <== NOT EXECUTED
300265a4:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
300265a8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
300265ac:	e3e06000 	mvn	r6, #0                                        <== NOT EXECUTED
300265b0:	eaffffb1 	b	3002647c <link+0x120>                           <== NOT EXECUTED
300265b4:	30061b08 	.word	0x30061b08                                  
                                                                      
300176a8 <lseek>:                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
300176a8:	e59fc134 	ldr	ip, [pc, #308]	; 300177e4 <lseek+0x13c>       
off_t lseek(                                                          
  int     fd,                                                         
  off_t   offset,                                                     
  int     whence                                                      
)                                                                     
{                                                                     
300176ac:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
300176b0:	e59cc000 	ldr	ip, [ip]                                      
300176b4:	e150000c 	cmp	r0, ip                                        
300176b8:	2a00003d 	bcs	300177b4 <lseek+0x10c>                        
  iop = rtems_libio_iop( fd );                                        
300176bc:	e59fc124 	ldr	ip, [pc, #292]	; 300177e8 <lseek+0x140>       
300176c0:	e59c4000 	ldr	r4, [ip]                                      
300176c4:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_is_open(iop);                                     
300176c8:	e5940014 	ldr	r0, [r4, #20]                                 
300176cc:	e3100c01 	tst	r0, #256	; 0x100                              
300176d0:	0a000037 	beq	300177b4 <lseek+0x10c>                        
                                                                      
  /*                                                                  
   *  Check as many errors as possible before touching iop->offset.   
   */                                                                 
                                                                      
  if ( !iop->handlers->lseek_h )                                      
300176d4:	e594c03c 	ldr	ip, [r4, #60]	; 0x3c                          
300176d8:	e59c0014 	ldr	r0, [ip, #20]                                 
300176dc:	e3500000 	cmp	r0, #0                                        
300176e0:	0a000039 	beq	300177cc <lseek+0x124>                        
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
  switch ( whence ) {                                                 
300176e4:	e3530001 	cmp	r3, #1                                        
                                                                      
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
300176e8:	e284600c 	add	r6, r4, #12                                   
300176ec:	e8960060 	ldm	r6, {r5, r6}                                  
  switch ( whence ) {                                                 
300176f0:	0a000022 	beq	30017780 <lseek+0xd8>                         
300176f4:	e3530002 	cmp	r3, #2                                        
300176f8:	0a00000d 	beq	30017734 <lseek+0x8c>                         
300176fc:	e3530000 	cmp	r3, #0                                        
30017700:	1a000023 	bne	30017794 <lseek+0xec>                         
    case SEEK_SET:                                                    
      iop->offset = offset;                                           
30017704:	e584100c 	str	r1, [r4, #12]                                 
30017708:	e5842010 	str	r2, [r4, #16]                                 
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->handlers->lseek_h)( iop, offset, whence );          
3001770c:	e1a00004 	mov	r0, r4                                        
30017710:	e1a0e00f 	mov	lr, pc                                        
30017714:	e59cf014 	ldr	pc, [ip, #20]                                 
  if ( status == (off_t) -1 )                                         
30017718:	e3700001 	cmn	r0, #1                                        
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->handlers->lseek_h)( iop, offset, whence );          
3001771c:	e1a02000 	mov	r2, r0                                        
30017720:	e1a03001 	mov	r3, r1                                        
  if ( status == (off_t) -1 )                                         
30017724:	0a00000e 	beq	30017764 <lseek+0xbc>                         
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
30017728:	e1a01003 	mov	r1, r3                                        
3001772c:	e1a00002 	mov	r0, r2                                        
30017730:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
    case SEEK_CUR:                                                    
      iop->offset += offset;                                          
      break;                                                          
                                                                      
    case SEEK_END:                                                    
      iop->offset = iop->size + offset;                               
30017734:	e9940180 	ldmib	r4, {r7, r8}                                
30017738:	e0977001 	adds	r7, r7, r1                                   
3001773c:	e0a88002 	adc	r8, r8, r2                                    
30017740:	e584700c 	str	r7, [r4, #12]                                 
30017744:	e5848010 	str	r8, [r4, #16]                                 
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->handlers->lseek_h)( iop, offset, whence );          
30017748:	e1a00004 	mov	r0, r4                                        
3001774c:	e1a0e00f 	mov	lr, pc                                        
30017750:	e59cf014 	ldr	pc, [ip, #20]                                 
  if ( status == (off_t) -1 )                                         
30017754:	e3700001 	cmn	r0, #1                                        
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->handlers->lseek_h)( iop, offset, whence );          
30017758:	e1a02000 	mov	r2, r0                                        
3001775c:	e1a03001 	mov	r3, r1                                        
  if ( status == (off_t) -1 )                                         
30017760:	1afffff0 	bne	30017728 <lseek+0x80>                         
30017764:	e3710001 	cmn	r1, #1                                        
30017768:	1affffee 	bne	30017728 <lseek+0x80>                         
    iop->offset = old_offset;                                         
3001776c:	e584500c 	str	r5, [r4, #12]                                 
30017770:	e5846010 	str	r6, [r4, #16]                                 
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
30017774:	e1a01003 	mov	r1, r3                                        
30017778:	e1a00002 	mov	r0, r2                                        
3001777c:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
    case SEEK_SET:                                                    
      iop->offset = offset;                                           
      break;                                                          
                                                                      
    case SEEK_CUR:                                                    
      iop->offset += offset;                                          
30017780:	e0917005 	adds	r7, r1, r5                                   
30017784:	e0a28006 	adc	r8, r2, r6                                    
30017788:	e584700c 	str	r7, [r4, #12]                                 
3001778c:	e5848010 	str	r8, [r4, #16]                                 
      break;                                                          
30017790:	eaffffdd 	b	3001770c <lseek+0x64>                           
    case SEEK_END:                                                    
      iop->offset = iop->size + offset;                               
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
30017794:	ebffd461 	bl	3000c920 <__errno>                             
30017798:	e3a03016 	mov	r3, #22                                       
3001779c:	e5803000 	str	r3, [r0]                                      
300177a0:	e3e02000 	mvn	r2, #0                                        
300177a4:	e3e03000 	mvn	r3, #0                                        
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
300177a8:	e1a01003 	mov	r1, r3                                        
300177ac:	e1a00002 	mov	r0, r2                                        
300177b0:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
300177b4:	ebffd459 	bl	3000c920 <__errno>                             <== NOT EXECUTED
300177b8:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
300177bc:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
300177c0:	e3e02000 	mvn	r2, #0                                        <== NOT EXECUTED
300177c4:	e3e03000 	mvn	r3, #0                                        <== NOT EXECUTED
300177c8:	eaffffd6 	b	30017728 <lseek+0x80>                           <== NOT EXECUTED
  /*                                                                  
   *  Check as many errors as possible before touching iop->offset.   
   */                                                                 
                                                                      
  if ( !iop->handlers->lseek_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
300177cc:	ebffd453 	bl	3000c920 <__errno>                             <== NOT EXECUTED
300177d0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
300177d4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
300177d8:	e3e02000 	mvn	r2, #0                                        <== NOT EXECUTED
300177dc:	e3e03000 	mvn	r3, #0                                        <== NOT EXECUTED
300177e0:	eaffffd0 	b	30017728 <lseek+0x80>                           <== NOT EXECUTED
300177e4:	30018e24 	.word	0x30018e24                                  
300177e8:	30019950 	.word	0x30019950                                  
                                                                      
3002671c <lstat>:                                                     
                                                                      
int _STAT_NAME(                                                       
  const char  *path,                                                  
  struct stat *buf                                                    
)                                                                     
{                                                                     
3002671c:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
30026720:	e2515000 	subs	r5, r1, #0                                   <== NOT EXECUTED
                                                                      
int _STAT_NAME(                                                       
  const char  *path,                                                  
  struct stat *buf                                                    
)                                                                     
{                                                                     
30026724:	e24dd018 	sub	sp, sp, #24                                   <== NOT EXECUTED
30026728:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
3002672c:	0a00002f 	beq	300267f0 <lstat+0xd4>                         <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ),      
30026730:	eb0076f3 	bl	30044304 <strlen>                              <== NOT EXECUTED
30026734:	e28d4004 	add	r4, sp, #4                                    <== NOT EXECUTED
30026738:	e3a0c000 	mov	ip, #0                                        <== NOT EXECUTED
3002673c:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
30026740:	e1a0200c 	mov	r2, ip                                        <== NOT EXECUTED
30026744:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
30026748:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
3002674c:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
30026750:	ebff7911 	bl	30004b9c <rtems_filesystem_evaluate_path>      <== NOT EXECUTED
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
30026754:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
30026758:	1a000022 	bne	300267e8 <lstat+0xcc>                         <== NOT EXECUTED
    return -1;                                                        
                                                                      
  if ( !loc.handlers->fstat_h ){                                      
3002675c:	e59d300c 	ldr	r3, [sp, #12]                                 <== NOT EXECUTED
30026760:	e5933018 	ldr	r3, [r3, #24]                                 <== NOT EXECUTED
30026764:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30026768:	0a000013 	beq	300267bc <lstat+0xa0>                         <== NOT EXECUTED
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
3002676c:	e3a02048 	mov	r2, #72	; 0x48                                <== NOT EXECUTED
30026770:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
30026774:	eb006920 	bl	30040bfc <memset>                              <== NOT EXECUTED
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
30026778:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
3002677c:	e59d300c 	ldr	r3, [sp, #12]                                 <== NOT EXECUTED
30026780:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
30026784:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30026788:	e593f018 	ldr	pc, [r3, #24]                                 <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
3002678c:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
30026790:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
30026794:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30026798:	0a000004 	beq	300267b0 <lstat+0x94>                         <== NOT EXECUTED
3002679c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
300267a0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300267a4:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
300267a8:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
300267ac:	112fff13 	bxne	r3                                           <== NOT EXECUTED
                                                                      
  return status;                                                      
}                                                                     
300267b0:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
300267b4:	e28dd018 	add	sp, sp, #24                                   <== NOT EXECUTED
300267b8:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
    return -1;                                                        
                                                                      
  if ( !loc.handlers->fstat_h ){                                      
    rtems_filesystem_freenode( &loc );                                
300267bc:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
300267c0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300267c4:	0a000004 	beq	300267dc <lstat+0xc0>                         <== NOT EXECUTED
300267c8:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
300267cc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300267d0:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
300267d4:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
300267d8:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
300267dc:	eb005c4e 	bl	3003d91c <__errno>                             <== NOT EXECUTED
300267e0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
300267e4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
300267e8:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
300267ec:	eaffffef 	b	300267b0 <lstat+0x94>                           <== NOT EXECUTED
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
    rtems_set_errno_and_return_minus_one( EFAULT );                   
300267f0:	eb005c49 	bl	3003d91c <__errno>                             <== NOT EXECUTED
300267f4:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
300267f8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
300267fc:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
30026800:	eaffffea 	b	300267b0 <lstat+0x94>                           <== NOT EXECUTED
                                                                      
30001e60 <malloc>:                                                    
  size_t  size                                                        
)                                                                     
{                                                                     
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
30001e60:	e59f30dc 	ldr	r3, [pc, #220]	; 30001f44 <malloc+0xe4>       
30001e64:	e92d4070 	push	{r4, r5, r6, lr}                             
30001e68:	e5932004 	ldr	r2, [r3, #4]                                  
30001e6c:	e1a04000 	mov	r4, r0                                        
30001e70:	e2822001 	add	r2, r2, #1                                    
30001e74:	e5832004 	str	r2, [r3, #4]                                  
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
30001e78:	ebffffb3 	bl	30001d4c <malloc_deferred_frees_process>       
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
30001e7c:	e3540000 	cmp	r4, #0                                        
30001e80:	0a00001f 	beq	30001f04 <malloc+0xa4>                        
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
30001e84:	e59f30bc 	ldr	r3, [pc, #188]	; 30001f48 <malloc+0xe8>       
30001e88:	e5933000 	ldr	r3, [r3]                                      
30001e8c:	e3530003 	cmp	r3, #3                                        
30001e90:	0a000018 	beq	30001ef8 <malloc+0x98>                        
RTEMS_INLINE_ROUTINE void *_Protected_heap_Allocate(                  
  Heap_Control *heap,                                                 
  uintptr_t size                                                      
)                                                                     
{                                                                     
  return _Protected_heap_Allocate_aligned_with_boundary( heap, size, 0, 0 );
30001e94:	e59f30b0 	ldr	r3, [pc, #176]	; 30001f4c <malloc+0xec>       
30001e98:	e3a02000 	mov	r2, #0                                        
30001e9c:	e5930000 	ldr	r0, [r3]                                      
30001ea0:	e1a01004 	mov	r1, r4                                        
30001ea4:	e1a03002 	mov	r3, r2                                        
30001ea8:	eb0012d7 	bl	30006a0c <_Protected_heap_Allocate_aligned_with_boundary>
   * If this fails then return a NULL pointer.                        
   */                                                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
                                                                      
  if ( !return_this ) {                                               
30001eac:	e2506000 	subs	r6, r0, #0                                   
    if (rtems_malloc_sbrk_helpers)                                    
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
    if ( !return_this ) {                                             
      errno = ENOMEM;                                                 
      return (void *) 0;                                              
30001eb0:	11a05006 	movne	r5, r6                                      
   * If this fails then return a NULL pointer.                        
   */                                                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
                                                                      
  if ( !return_this ) {                                               
30001eb4:	0a000015 	beq	30001f10 <malloc+0xb0>                        
  }                                                                   
                                                                      
  /*                                                                  
   *  If the user wants us to dirty the allocated memory, then do it. 
   */                                                                 
  if ( rtems_malloc_dirty_helper )                                    
30001eb8:	e59f3090 	ldr	r3, [pc, #144]	; 30001f50 <malloc+0xf0>       
30001ebc:	e5933000 	ldr	r3, [r3]                                      
30001ec0:	e3530000 	cmp	r3, #0                                        
    (*rtems_malloc_dirty_helper)( return_this, size );                
30001ec4:	11a01004 	movne	r1, r4                                      
30001ec8:	11a00005 	movne	r0, r5                                      
30001ecc:	11a0e00f 	movne	lr, pc                                      
30001ed0:	1593f000 	ldrne	pc, [r3]                                    
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
30001ed4:	e59f3078 	ldr	r3, [pc, #120]	; 30001f54 <malloc+0xf4>       
30001ed8:	e5933000 	ldr	r3, [r3]                                      
30001edc:	e3530000 	cmp	r3, #0                                        
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
30001ee0:	11a00005 	movne	r0, r5                                      
30001ee4:	11a0e00f 	movne	lr, pc                                      
30001ee8:	1593f004 	ldrne	pc, [r3, #4]                                
30001eec:	e1a06005 	mov	r6, r5                                        
    if (rtems_malloc_boundary_helpers)                                
      (*rtems_malloc_boundary_helpers->at_malloc)(return_this, size); 
  #endif                                                              
                                                                      
  return return_this;                                                 
}                                                                     
30001ef0:	e1a00006 	mov	r0, r6                                        
30001ef4:	e8bd8070 	pop	{r4, r5, r6, pc}                              
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
30001ef8:	ebffff7c 	bl	30001cf0 <malloc_is_system_state_OK>           
30001efc:	e3500000 	cmp	r0, #0                                        
30001f00:	1affffe3 	bne	30001e94 <malloc+0x34>                        
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
30001f04:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
    if (rtems_malloc_boundary_helpers)                                
      (*rtems_malloc_boundary_helpers->at_malloc)(return_this, size); 
  #endif                                                              
                                                                      
  return return_this;                                                 
}                                                                     
30001f08:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
30001f0c:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
   */                                                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
                                                                      
  if ( !return_this ) {                                               
    if (rtems_malloc_sbrk_helpers)                                    
30001f10:	e59f3040 	ldr	r3, [pc, #64]	; 30001f58 <malloc+0xf8>        
30001f14:	e5933000 	ldr	r3, [r3]                                      
30001f18:	e3530000 	cmp	r3, #0                                        
30001f1c:	0a000004 	beq	30001f34 <malloc+0xd4>                        
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
30001f20:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
30001f24:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30001f28:	e593f004 	ldr	pc, [r3, #4]                                  <== NOT EXECUTED
    if ( !return_this ) {                                             
30001f2c:	e2505000 	subs	r5, r0, #0                                   <== NOT EXECUTED
30001f30:	1affffe0 	bne	30001eb8 <malloc+0x58>                        <== NOT EXECUTED
      errno = ENOMEM;                                                 
30001f34:	eb002a79 	bl	3000c920 <__errno>                             
30001f38:	e3a0300c 	mov	r3, #12                                       
30001f3c:	e5803000 	str	r3, [r0]                                      
      return (void *) 0;                                              
30001f40:	eaffffea 	b	30001ef0 <malloc+0x90>                          
30001f44:	30019968 	.word	0x30019968                                  
30001f48:	30019c70 	.word	0x30019c70                                  
30001f4c:	30018e30 	.word	0x30018e30                                  
30001f50:	300195a8 	.word	0x300195a8                                  
30001f54:	300195a0 	.word	0x300195a0                                  
30001f58:	300195a4 	.word	0x300195a4                                  
                                                                      
30001d3c <malloc_deferred_free>:                                      
}                                                                     
                                                                      
void malloc_deferred_free(                                            
  void *pointer                                                       
)                                                                     
{                                                                     
30001d3c:	e1a01000 	mov	r1, r0                                        <== 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 );                               
30001d40:	e59f0000 	ldr	r0, [pc, #0]	; 30001d48 <malloc_deferred_free+0xc><== NOT EXECUTED
30001d44:	ea000f15 	b	300059a0 <_Chain_Append>                        <== NOT EXECUTED
30001d48:	3001995c 	.word	0x3001995c                                  
                                                                      
30001d4c <malloc_deferred_frees_process>:                             
{                                                                     
  rtems_chain_initialize_empty(&RTEMS_Malloc_GC_list);                
}                                                                     
                                                                      
void malloc_deferred_frees_process(void)                              
{                                                                     
30001d4c:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  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)
30001d50:	ea000000 	b	30001d58 <malloc_deferred_frees_process+0xc>    
    free(to_be_freed);                                                
30001d54:	ebffff86 	bl	30001b74 <free>                                <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
30001d58:	e59f000c 	ldr	r0, [pc, #12]	; 30001d6c <malloc_deferred_frees_process+0x20>
30001d5c:	eb000f1a 	bl	300059cc <_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)
30001d60:	e3500000 	cmp	r0, #0                                        
30001d64:	1afffffa 	bne	30001d54 <malloc_deferred_frees_process+0x8>  
    free(to_be_freed);                                                
}                                                                     
30001d68:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    
30001d6c:	3001995c 	.word	0x3001995c                                  
                                                                      
30010b44 <memfile_free_blocks_in_table>:                              
                                                                      
void memfile_free_blocks_in_table(                                    
  block_p **block_table,                                              
  int       entries                                                   
)                                                                     
{                                                                     
30010b44:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( block_table );                                              
30010b48:	e2504000 	subs	r4, r0, #0                                   
                                                                      
void memfile_free_blocks_in_table(                                    
  block_p **block_table,                                              
  int       entries                                                   
)                                                                     
{                                                                     
30010b4c:	e1a08001 	mov	r8, r1                                        
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( block_table );                                              
30010b50:	0a000014 	beq	30010ba8 <memfile_free_blocks_in_table+0x64>  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
                                                                      
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
30010b54:	e3510000 	cmp	r1, #0                                        
                                                                      
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
                                                                      
  b = *block_table;                                                   
30010b58:	e5947000 	ldr	r7, [r4]                                      
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
30010b5c:	da00000c 	ble	30010b94 <memfile_free_blocks_in_table+0x50>  
30010b60:	e3a05000 	mov	r5, #0                                        
30010b64:	e1a06005 	mov	r6, r5                                        
    if ( b[i] ) {                                                     
      memfile_free_block( b[i] );                                     
      b[i] = 0;                                                       
30010b68:	e1a0a005 	mov	sl, r5                                        
   */                                                                 
                                                                      
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
    if ( b[i] ) {                                                     
30010b6c:	e7970005 	ldr	r0, [r7, r5]                                  
30010b70:	e3500000 	cmp	r0, #0                                        
30010b74:	0a000001 	beq	30010b80 <memfile_free_blocks_in_table+0x3c>  
      memfile_free_block( b[i] );                                     
30010b78:	ebffff4b 	bl	300108ac <memfile_free_block>                  
      b[i] = 0;                                                       
30010b7c:	e787a005 	str	sl, [r7, r5]                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
                                                                      
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
30010b80:	e2866001 	add	r6, r6, #1                                    
30010b84:	e1580006 	cmp	r8, r6                                        
30010b88:	e2855004 	add	r5, r5, #4                                    
30010b8c:	cafffff6 	bgt	30010b6c <memfile_free_blocks_in_table+0x28>  
30010b90:	e5947000 	ldr	r7, [r4]                                      
  /*                                                                  
   *  Now that all the blocks in the block table are free, we can     
   *  free the block table itself.                                    
   */                                                                 
                                                                      
  memfile_free_block( *block_table );                                 
30010b94:	e1a00007 	mov	r0, r7                                        
30010b98:	ebffff43 	bl	300108ac <memfile_free_block>                  
  *block_table = 0;                                                   
30010b9c:	e3a03000 	mov	r3, #0                                        
30010ba0:	e5843000 	str	r3, [r4]                                      
}                                                                     
30010ba4:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( block_table );                                              
30010ba8:	e59f000c 	ldr	r0, [pc, #12]	; 30010bbc <memfile_free_blocks_in_table+0x78><== NOT EXECUTED
30010bac:	e59f100c 	ldr	r1, [pc, #12]	; 30010bc0 <memfile_free_blocks_in_table+0x7c><== NOT EXECUTED
30010bb0:	e59f200c 	ldr	r2, [pc, #12]	; 30010bc4 <memfile_free_blocks_in_table+0x80><== NOT EXECUTED
30010bb4:	e59f300c 	ldr	r3, [pc, #12]	; 30010bc8 <memfile_free_blocks_in_table+0x84><== NOT EXECUTED
30010bb8:	ebfff826 	bl	3000ec58 <__assert_func>                       <== NOT EXECUTED
30010bbc:	3001ee28 	.word	0x3001ee28                                  
30010bc0:	000001b3 	.word	0x000001b3                                  
30010bc4:	3001e518 	.word	0x3001e518                                  
30010bc8:	3001eea0 	.word	0x3001eea0                                  
                                                                      
3001109c <memfile_ftruncate>:                                         
                                                                      
int memfile_ftruncate(                                                
  rtems_libio_t        *iop,                                          
  rtems_off64_t         length                                        
)                                                                     
{                                                                     
3001109c:	e92d4010 	push	{r4, lr}                                     
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
300110a0:	e5904038 	ldr	r4, [r0, #56]	; 0x38                          
                                                                      
int memfile_ftruncate(                                                
  rtems_libio_t        *iop,                                          
  rtems_off64_t         length                                        
)                                                                     
{                                                                     
300110a4:	e24dd008 	sub	sp, sp, #8                                    
   *  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 )                           
300110a8:	e5943054 	ldr	r3, [r4, #84]	; 0x54                          
300110ac:	e1530002 	cmp	r3, r2                                        
300110b0:	aa000003 	bge	300110c4 <memfile_ftruncate+0x28>             
    return IMFS_memfile_extend( the_jnode, length );                  
300110b4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
300110b8:	ebffff96 	bl	30010f18 <IMFS_memfile_extend>                 <== NOT EXECUTED
  iop->size = the_jnode->info.file.size;                              
                                                                      
  IMFS_update_atime( the_jnode );                                     
                                                                      
  return 0;                                                           
}                                                                     
300110bc:	e28dd008 	add	sp, sp, #8                                    
300110c0:	e8bd8010 	pop	{r4, pc}                                      
   *  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 )                           
300110c4:	0a000009 	beq	300110f0 <memfile_ftruncate+0x54>             
   *  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;                                 
300110c8:	e5841050 	str	r1, [r4, #80]	; 0x50                          
300110cc:	e5842054 	str	r2, [r4, #84]	; 0x54                          
  iop->size = the_jnode->info.file.size;                              
300110d0:	e9800006 	stmib	r0, {r1, r2}                                
                                                                      
  IMFS_update_atime( the_jnode );                                     
300110d4:	e3a01000 	mov	r1, #0                                        
300110d8:	e1a0000d 	mov	r0, sp                                        
300110dc:	ebffc8c9 	bl	30003408 <gettimeofday>                        
300110e0:	e59d3000 	ldr	r3, [sp]                                      
300110e4:	e3a00000 	mov	r0, #0                                        
300110e8:	e5843040 	str	r3, [r4, #64]	; 0x40                          
                                                                      
  return 0;                                                           
300110ec:	eafffff2 	b	300110bc <memfile_ftruncate+0x20>               
   *  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 )                           
300110f0:	e5943050 	ldr	r3, [r4, #80]	; 0x50                          
300110f4:	e1530001 	cmp	r3, r1                                        
300110f8:	2afffff2 	bcs	300110c8 <memfile_ftruncate+0x2c>             
300110fc:	eaffffec 	b	300110b4 <memfile_ftruncate+0x18>               <== NOT EXECUTED
                                                                      
30011100 <memfile_lseek>:                                             
rtems_off64_t memfile_lseek(                                          
  rtems_libio_t   *iop,                                               
  rtems_off64_t    offset,                                            
  int              whence                                             
)                                                                     
{                                                                     
30011100:	e92d4030 	push	{r4, r5, lr}                                 
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
30011104:	e5905038 	ldr	r5, [r0, #56]	; 0x38                          
rtems_off64_t memfile_lseek(                                          
  rtems_libio_t   *iop,                                               
  rtems_off64_t    offset,                                            
  int              whence                                             
)                                                                     
{                                                                     
30011108:	e1a04000 	mov	r4, r0                                        
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
3001110c:	e595304c 	ldr	r3, [r5, #76]	; 0x4c                          
30011110:	e3530006 	cmp	r3, #6                                        
30011114:	0a00000d 	beq	30011150 <memfile_lseek+0x50>                 
    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 ))                
30011118:	e1a00005 	mov	r0, r5                                        
3001111c:	e284200c 	add	r2, r4, #12                                   
30011120:	e8920006 	ldm	r2, {r1, r2}                                  
30011124:	ebffff7b 	bl	30010f18 <IMFS_memfile_extend>                 
30011128:	e3500000 	cmp	r0, #0                                        
3001112c:	1a00001a 	bne	3001119c <memfile_lseek+0x9c>                 
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
30011130:	e2853050 	add	r3, r5, #80	; 0x50                            
30011134:	e893000c 	ldm	r3, {r2, r3}                                  
30011138:	e984000c 	stmib	r4, {r2, r3}                                
3001113c:	e284300c 	add	r3, r4, #12                                   
30011140:	e893000c 	ldm	r3, {r2, r3}                                  
  }                                                                   
  return iop->offset;                                                 
}                                                                     
30011144:	e1a01003 	mov	r1, r3                                        
30011148:	e1a00002 	mov	r0, r2                                        
3001114c:	e8bd8030 	pop	{r4, r5, pc}                                  
  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)                
30011150:	e5901010 	ldr	r1, [r0, #16]                                 <== NOT EXECUTED
30011154:	e2853050 	add	r3, r5, #80	; 0x50                            <== NOT EXECUTED
30011158:	e893000c 	ldm	r3, {r2, r3}                                  <== NOT EXECUTED
3001115c:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
30011160:	e590000c 	ldr	r0, [r0, #12]                                 <== NOT EXECUTED
30011164:	ca000007 	bgt	30011188 <memfile_lseek+0x88>                 <== NOT EXECUTED
30011168:	0a000004 	beq	30011180 <memfile_lseek+0x80>                 <== NOT EXECUTED
3001116c:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
30011170:	e1a03001 	mov	r3, r1                                        <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
  }                                                                   
  return iop->offset;                                                 
}                                                                     
30011174:	e1a01003 	mov	r1, r3                                        <== NOT EXECUTED
30011178:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
3001117c:	e8bd8030 	pop	{r4, r5, pc}                                  <== 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)                
30011180:	e1500002 	cmp	r0, r2                                        <== NOT EXECUTED
30011184:	9afffff8 	bls	3001116c <memfile_lseek+0x6c>                 <== NOT EXECUTED
      iop->offset = the_jnode->info.linearfile.size;                  
30011188:	e584200c 	str	r2, [r4, #12]                                 <== NOT EXECUTED
3001118c:	e5843010 	str	r3, [r4, #16]                                 <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
  }                                                                   
  return iop->offset;                                                 
}                                                                     
30011190:	e1a01003 	mov	r1, r3                                        <== NOT EXECUTED
30011194:	e1a00002 	mov	r0, r2                                        <== NOT EXECUTED
30011198:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
    if (iop->offset > the_jnode->info.linearfile.size)                
      iop->offset = the_jnode->info.linearfile.size;                  
  }                                                                   
  else {  /* Must be a block file (IMFS_MEMORY_FILE). */              
    if (IMFS_memfile_extend( the_jnode, iop->offset ))                
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
3001119c:	eb00047f 	bl	300123a0 <__errno>                             <== NOT EXECUTED
300111a0:	e3a0301c 	mov	r3, #28                                       <== NOT EXECUTED
300111a4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
300111a8:	e3e02000 	mvn	r2, #0                                        <== NOT EXECUTED
300111ac:	e3e03000 	mvn	r3, #0                                        <== NOT EXECUTED
300111b0:	eaffffe3 	b	30011144 <memfile_lseek+0x44>                   <== NOT EXECUTED
                                                                      
3001146c <memfile_open>:                                              
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
3001146c:	e92d4830 	push	{r4, r5, fp, lr}                             
  the_jnode = iop->file_info;                                         
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
30011470:	e5903014 	ldr	r3, [r0, #20]                                 
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
30011474:	e24dd004 	sub	sp, sp, #4                                    
  the_jnode = iop->file_info;                                         
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
30011478:	e3130f81 	tst	r3, #516	; 0x204                              
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
3001147c:	e1a04000 	mov	r4, r0                                        
  IMFS_jnode_t  *the_jnode;                                           
                                                                      
  the_jnode = iop->file_info;                                         
30011480:	e5905038 	ldr	r5, [r0, #56]	; 0x38                          
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
30011484:	0a000002 	beq	30011494 <memfile_open+0x28>                  
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
30011488:	e595204c 	ldr	r2, [r5, #76]	; 0x4c                          
3001148c:	e3520006 	cmp	r2, #6                                        
30011490:	0a00000b 	beq	300114c4 <memfile_open+0x58>                  
    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)                                                  
30011494:	e5952050 	ldr	r2, [r5, #80]	; 0x50                          
30011498:	e5951054 	ldr	r1, [r5, #84]	; 0x54                          
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
3001149c:	e3130c02 	tst	r3, #512	; 0x200                              
    iop->offset = the_jnode->info.file.size;                          
300114a0:	1584200c 	strne	r2, [r4, #12]                               
300114a4:	15841010 	strne	r1, [r4, #16]                               
300114a8:	15951054 	ldrne	r1, [r5, #84]	; 0x54                        
300114ac:	15952050 	ldrne	r2, [r5, #80]	; 0x50                        
                                                                      
  iop->size = the_jnode->info.file.size;                              
300114b0:	e3a00000 	mov	r0, #0                                        
300114b4:	e5841008 	str	r1, [r4, #8]                                  
300114b8:	e5842004 	str	r2, [r4, #4]                                  
  return 0;                                                           
}                                                                     
300114bc:	e28dd004 	add	sp, sp, #4                                    
300114c0:	e8bd8830 	pop	{r4, r5, fp, pc}                              
  /*                                                                  
   * 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;               
300114c4:	e595c050 	ldr	ip, [r5, #80]	; 0x50                          <== NOT EXECUTED
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
300114c8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
    uint32_t   count = the_jnode->info.linearfile.size;               
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
300114cc:	e3a03005 	mov	r3, #5                                        <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
300114d0:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
300114d4:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
300114d8:	e15c0000 	cmp	ip, r0                                        <== NOT EXECUTED
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
    uint32_t   count = the_jnode->info.linearfile.size;               
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
300114dc:	e585304c 	str	r3, [r5, #76]	; 0x4c                          <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
300114e0:	e5850060 	str	r0, [r5, #96]	; 0x60                          <== 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;  
300114e4:	e5953058 	ldr	r3, [r5, #88]	; 0x58                          <== NOT EXECUTED
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
300114e8:	e5851050 	str	r1, [r5, #80]	; 0x50                          <== NOT EXECUTED
300114ec:	e5852054 	str	r2, [r5, #84]	; 0x54                          <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
300114f0:	e585005c 	str	r0, [r5, #92]	; 0x5c                          <== 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;                         
300114f4:	e5850058 	str	r0, [r5, #88]	; 0x58                          <== NOT EXECUTED
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
300114f8:	1a000004 	bne	30011510 <memfile_open+0xa4>                  <== NOT EXECUTED
300114fc:	e1a0b001 	mov	fp, r1                                        <== NOT EXECUTED
30011500:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
30011504:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
30011508:	e1a0200b 	mov	r2, fp                                        <== NOT EXECUTED
3001150c:	eaffffe2 	b	3001149c <memfile_open+0x30>                    <== NOT EXECUTED
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
30011510:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
30011514:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
30011518:	ebffff25 	bl	300111b4 <IMFS_memfile_write>                  <== 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)                                                  
3001151c:	e3700001 	cmn	r0, #1                                        <== NOT EXECUTED
30011520:	0affffe5 	beq	300114bc <memfile_open+0x50>                  <== NOT EXECUTED
30011524:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
30011528:	eaffffd9 	b	30011494 <memfile_open+0x28>                    <== NOT EXECUTED
                                                                      
30001f6c <mknod>:                                                     
int mknod(                                                            
  const char *pathname,                                               
  mode_t      mode,                                                   
  dev_t       dev                                                     
)                                                                     
{                                                                     
30001f6c:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
  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) ) )                 
30001f70:	e3110a0f 	tst	r1, #61440	; 0xf000                           
int mknod(                                                            
  const char *pathname,                                               
  mode_t      mode,                                                   
  dev_t       dev                                                     
)                                                                     
{                                                                     
30001f74:	e24dd01c 	sub	sp, sp, #28                                   
30001f78:	e1a05001 	mov	r5, r1                                        
30001f7c:	e1a0e000 	mov	lr, r0                                        
30001f80:	e1a07002 	mov	r7, r2                                        
30001f84:	e1a08003 	mov	r8, r3                                        
  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) ) )                 
30001f88:	0a000042 	beq	30002098 <mknod+0x12c>                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, &temp_loc );          
30001f8c:	e5d03000 	ldrb	r3, [r0]                                     
30001f90:	e353002f 	cmp	r3, #47	; 0x2f                                
30001f94:	1353005c 	cmpne	r3, #92	; 0x5c                              
30001f98:	13a06000 	movne	r6, #0                                      
30001f9c:	03a06001 	moveq	r6, #1                                      
30001fa0:	1a00002b 	bne	30002054 <mknod+0xe8>                         
30001fa4:	e59f3100 	ldr	r3, [pc, #256]	; 300020ac <mknod+0x140>       
30001fa8:	e28d4004 	add	r4, sp, #4                                    
30001fac:	e593c000 	ldr	ip, [r3]                                      
30001fb0:	e3a06001 	mov	r6, #1                                        
30001fb4:	e28cc018 	add	ip, ip, #24                                   
30001fb8:	e1a0a004 	mov	sl, r4                                        
30001fbc:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
30001fc0:	e8aa000f 	stmia	sl!, {r0, r1, r2, r3}                       
                                                                      
  if ( !temp_loc.ops->evalformake_h ) {                               
30001fc4:	e59d3010 	ldr	r3, [sp, #16]                                 
  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 );          
30001fc8:	e59c2000 	ldr	r2, [ip]                                      
                                                                      
  if ( !temp_loc.ops->evalformake_h ) {                               
30001fcc:	e5933004 	ldr	r3, [r3, #4]                                  
  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 );          
30001fd0:	e58a2000 	str	r2, [sl]                                      
                                                                      
  if ( !temp_loc.ops->evalformake_h ) {                               
30001fd4:	e3530000 	cmp	r3, #0                                        
30001fd8:	0a000029 	beq	30002084 <mknod+0x118>                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*temp_loc.ops->evalformake_h)(                            
30001fdc:	e08e0006 	add	r0, lr, r6                                    
30001fe0:	e1a01004 	mov	r1, r4                                        
30001fe4:	e28d2018 	add	r2, sp, #24                                   
30001fe8:	e1a0e00f 	mov	lr, pc                                        
30001fec:	e12fff13 	bx	r3                                             
    &pathname[i],                                                     
    &temp_loc,                                                        
    &name_start                                                       
  );                                                                  
  if ( result != 0 )                                                  
30001ff0:	e3500000 	cmp	r0, #0                                        
30001ff4:	1a000025 	bne	30002090 <mknod+0x124>                        
    return -1;                                                        
                                                                      
  if ( !temp_loc.ops->mknod_h ) {                                     
30001ff8:	e59d3010 	ldr	r3, [sp, #16]                                 
30001ffc:	e593c014 	ldr	ip, [r3, #20]                                 
30002000:	e35c0000 	cmp	ip, #0                                        
30002004:	0a000019 	beq	30002070 <mknod+0x104>                        
    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 );
30002008:	e1a01005 	mov	r1, r5                                        
3000200c:	e1a03008 	mov	r3, r8                                        
30002010:	e58d4000 	str	r4, [sp]                                      
30002014:	e59d0018 	ldr	r0, [sp, #24]                                 
30002018:	e1a02007 	mov	r2, r7                                        
3000201c:	e1a0e00f 	mov	lr, pc                                        
30002020:	e12fff1c 	bx	ip                                             
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
30002024:	e59d3010 	ldr	r3, [sp, #16]                                 
  if ( !temp_loc.ops->mknod_h ) {                                     
    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 );
30002028:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
3000202c:	e3530000 	cmp	r3, #0                                        
30002030:	0a000004 	beq	30002048 <mknod+0xdc>                         
30002034:	e593301c 	ldr	r3, [r3, #28]                                 
30002038:	e3530000 	cmp	r3, #0                                        
3000203c:	11a00004 	movne	r0, r4                                      
30002040:	11a0e00f 	movne	lr, pc                                      
30002044:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
30002048:	e1a00005 	mov	r0, r5                                        
3000204c:	e28dd01c 	add	sp, sp, #28                                   
30002050:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
  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 );          
30002054:	e3530000 	cmp	r3, #0                                        
30002058:	0affffd1 	beq	30001fa4 <mknod+0x38>                         
3000205c:	e59f3048 	ldr	r3, [pc, #72]	; 300020ac <mknod+0x140>        
30002060:	e28d4004 	add	r4, sp, #4                                    
30002064:	e593c000 	ldr	ip, [r3]                                      
30002068:	e28cc004 	add	ip, ip, #4                                    
3000206c:	eaffffd1 	b	30001fb8 <mknod+0x4c>                           
  );                                                                  
  if ( result != 0 )                                                  
    return -1;                                                        
                                                                      
  if ( !temp_loc.ops->mknod_h ) {                                     
    rtems_filesystem_freenode( &temp_loc );                           
30002070:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
30002074:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30002078:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
3000207c:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
30002080:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
30002084:	eb002a25 	bl	3000c920 <__errno>                             <== NOT EXECUTED
30002088:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
3000208c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30002090:	e3e05000 	mvn	r5, #0                                        
30002094:	eaffffeb 	b	30002048 <mknod+0xdc>                           
  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 );                   
30002098:	eb002a20 	bl	3000c920 <__errno>                             <== NOT EXECUTED
3000209c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
300020a0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
300020a4:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
300020a8:	eaffffe6 	b	30002048 <mknod+0xdc>                           <== NOT EXECUTED
300020ac:	3001901c 	.word	0x3001901c                                  
                                                                      
300020cc <mount>:                                                     
  const rtems_filesystem_operations_table  *fs_ops,                   
  rtems_filesystem_options_t                options,                  
  const char                               *device,                   
  const char                               *mount_point               
)                                                                     
{                                                                     
300020cc:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
                                                                      
  /*                                                                  
   *  Is there a file system operations table?                        
   */                                                                 
                                                                      
  if ( fs_ops == NULL ) {                                             
300020d0:	e2516000 	subs	r6, r1, #0                                   
  const rtems_filesystem_operations_table  *fs_ops,                   
  rtems_filesystem_options_t                options,                  
  const char                               *device,                   
  const char                               *mount_point               
)                                                                     
{                                                                     
300020d4:	e24dd018 	sub	sp, sp, #24                                   
300020d8:	e1a07000 	mov	r7, r0                                        
300020dc:	e1a05002 	mov	r5, r2                                        
300020e0:	e1a09003 	mov	r9, r3                                        
300020e4:	e59da038 	ldr	sl, [sp, #56]	; 0x38                          
                                                                      
  /*                                                                  
   *  Is there a file system operations table?                        
   */                                                                 
                                                                      
  if ( fs_ops == NULL ) {                                             
300020e8:	0a000083 	beq	300022fc <mount+0x230>                        
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
300020ec:	e3520001 	cmp	r2, #1                                        
300020f0:	8a000081 	bhi	300022fc <mount+0x230>                        
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
                                                                      
  /* Do they support being mounted at all ? */                        
  if ( !fs_ops->fsmount_me_h ) {                                      
300020f4:	e5968024 	ldr	r8, [r6, #36]	; 0x24                          
300020f8:	e3580000 	cmp	r8, #0                                        
300020fc:	0a000089 	beq	30002328 <mount+0x25c>                        
  /*                                                                  
   * Allocate a mount table entry                                     
   */                                                                 
                                                                      
   size = sizeof(rtems_filesystem_mount_table_entry_t);               
   if ( device )                                                      
30002100:	e3530000 	cmp	r3, #0                                        
30002104:	03a0006c 	moveq	r0, #108	; 0x6c                             
30002108:	0a000002 	beq	30002118 <mount+0x4c>                         
     size += strlen( device ) + 1;                                    
3000210c:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
30002110:	eb002df3 	bl	3000d8e4 <strlen>                              <== NOT EXECUTED
30002114:	e280006d 	add	r0, r0, #109	; 0x6d                           <== NOT EXECUTED
   temp_mt_entry = malloc( size );                                    
30002118:	ebffff50 	bl	30001e60 <malloc>                              
                                                                      
   if ( !temp_mt_entry ) {                                            
3000211c:	e3500000 	cmp	r0, #0                                        
   */                                                                 
                                                                      
   size = sizeof(rtems_filesystem_mount_table_entry_t);               
   if ( device )                                                      
     size += strlen( device ) + 1;                                    
   temp_mt_entry = malloc( size );                                    
30002120:	e1a04000 	mov	r4, r0                                        
30002124:	e1a08000 	mov	r8, r0                                        
                                                                      
   if ( !temp_mt_entry ) {                                            
30002128:	0a000089 	beq	30002354 <mount+0x288>                        
     return -1;                                                       
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
   temp_mt_entry->options = options;                                  
   if ( device ) {                                                    
3000212c:	e3590000 	cmp	r9, #0                                        
     errno = ENOMEM;                                                  
     return -1;                                                       
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
   temp_mt_entry->options = options;                                  
30002130:	e5805030 	str	r5, [r0, #48]	; 0x30                          
   if ( !temp_mt_entry ) {                                            
     errno = ENOMEM;                                                  
     return -1;                                                       
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
30002134:	e584002c 	str	r0, [r4, #44]	; 0x2c                          
   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;                                          
30002138:	05809068 	streq	r9, [r0, #104]	; 0x68                       
     return -1;                                                       
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
   temp_mt_entry->options = options;                                  
   if ( device ) {                                                    
3000213c:	0a000004 	beq	30002154 <mount+0x88>                         
     temp_mt_entry->dev =                                             
       (char *)temp_mt_entry + sizeof( rtems_filesystem_mount_table_entry_t );
30002140:	e280306c 	add	r3, r0, #108	; 0x6c                           <== NOT EXECUTED
     strcpy( temp_mt_entry->dev, device );                            
30002144:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
30002148:	e1a01009 	mov	r1, r9                                        <== NOT EXECUTED
   }                                                                  
                                                                      
   temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;                
   temp_mt_entry->options = options;                                  
   if ( device ) {                                                    
     temp_mt_entry->dev =                                             
3000214c:	e5843068 	str	r3, [r4, #104]	; 0x68                         <== NOT EXECUTED
       (char *)temp_mt_entry + sizeof( rtems_filesystem_mount_table_entry_t );
     strcpy( temp_mt_entry->dev, device );                            
30002150:	eb002da7 	bl	3000d7f4 <strcpy>                              <== NOT EXECUTED
  /*                                                                  
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( mount_point ) {                                                
30002154:	e35a0000 	cmp	sl, #0                                        
30002158:	0a00004a 	beq	30002288 <mount+0x1bc>                        
                                                                      
    if ( rtems_filesystem_evaluate_path(                              
           mount_point, strlen( mount_point ), RTEMS_LIBIO_PERMS_RWX, &loc, true ) == -1 )
3000215c:	e1a0000a 	mov	r0, sl                                        
30002160:	eb002ddf 	bl	3000d8e4 <strlen>                              
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( mount_point ) {                                                
                                                                      
    if ( rtems_filesystem_evaluate_path(                              
30002164:	e28d5004 	add	r5, sp, #4                                    
           mount_point, strlen( mount_point ), RTEMS_LIBIO_PERMS_RWX, &loc, true ) == -1 )
30002168:	e1a01000 	mov	r1, r0                                        
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( mount_point ) {                                                
                                                                      
    if ( rtems_filesystem_evaluate_path(                              
3000216c:	e3a0c001 	mov	ip, #1                                        
30002170:	e1a0000a 	mov	r0, sl                                        
30002174:	e3a02007 	mov	r2, #7                                        
30002178:	e1a03005 	mov	r3, r5                                        
3000217c:	e58dc000 	str	ip, [sp]                                      
30002180:	ebfffe4a 	bl	30001ab0 <rtems_filesystem_evaluate_path>      
30002184:	e3700001 	cmn	r0, #1                                        
30002188:	0a000069 	beq	30002334 <mount+0x268>                        
                                                                      
    /*                                                                
     * Test for node_type_h                                           
     */                                                               
                                                                      
    if (!loc.ops->node_type_h) {                                      
3000218c:	e59d3010 	ldr	r3, [sp, #16]                                 
30002190:	e5933010 	ldr	r3, [r3, #16]                                 
30002194:	e3530000 	cmp	r3, #0                                        
30002198:	0a000069 	beq	30002344 <mount+0x278>                        
                                                                      
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
3000219c:	e1a00005 	mov	r0, r5                                        
300021a0:	e1a0e00f 	mov	lr, pc                                        
300021a4:	e12fff13 	bx	r3                                             
300021a8:	e3500001 	cmp	r0, #1                                        
300021ac:	1a000059 	bne	30002318 <mount+0x24c>                        
                                                                      
  /*                                                                  
   * For each mount table entry                                       
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
300021b0:	e59f11b0 	ldr	r1, [pc, #432]	; 30002368 <mount+0x29c>       
300021b4:	e4913004 	ldr	r3, [r1], #4                                  
300021b8:	e1530001 	cmp	r3, r1                                        
300021bc:	0a000053 	beq	30002310 <mount+0x244>                        
        !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 )
300021c0:	e59d0004 	ldr	r0, [sp, #4]                                  
300021c4:	e593201c 	ldr	r2, [r3, #28]                                 
300021c8:	e1520000 	cmp	r2, r0                                        
300021cc:	1a000003 	bne	300021e0 <mount+0x114>                        
300021d0:	ea000022 	b	30002260 <mount+0x194>                          <== NOT EXECUTED
300021d4:	e593201c 	ldr	r2, [r3, #28]                                 
300021d8:	e1520000 	cmp	r2, r0                                        
300021dc:	0a00001f 	beq	30002260 <mount+0x194>                        
   * 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 ) {                                 
300021e0:	e5933000 	ldr	r3, [r3]                                      
                                                                      
  /*                                                                  
   * For each mount table entry                                       
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
300021e4:	e1530001 	cmp	r3, r1                                        
300021e8:	1afffff9 	bne	300021d4 <mount+0x108>                        
     *  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;                       
300021ec:	e59d2010 	ldr	r2, [sp, #16]                                 
     *  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;             
300021f0:	e59d100c 	ldr	r1, [sp, #12]                                 
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( !loc.ops->mount_h ){                                         
300021f4:	e5923020 	ldr	r3, [r2, #32]                                 
     *  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;             
300021f8:	e5841010 	str	r1, [r4, #16]                                 
    temp_mt_entry->mt_point_node.ops = loc.ops;                       
    temp_mt_entry->mt_point_node.mt_entry = loc.mt_entry;             
300021fc:	e59d1014 	ldr	r1, [sp, #20]                                 
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( !loc.ops->mount_h ){                                         
30002200:	e3530000 	cmp	r3, #0                                        
     *  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;       
30002204:	e5840008 	str	r0, [r4, #8]                                  
    temp_mt_entry->mt_point_node.handlers = loc.handlers;             
    temp_mt_entry->mt_point_node.ops = loc.ops;                       
    temp_mt_entry->mt_point_node.mt_entry = loc.mt_entry;             
30002208:	e5841018 	str	r1, [r4, #24]                                 
     *  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;                       
3000220c:	e5842014 	str	r2, [r4, #20]                                 
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( !loc.ops->mount_h ){                                         
30002210:	0a00004b 	beq	30002344 <mount+0x278>                        
      errno = ENOTSUP;                                                
      goto cleanup_and_bail;                                          
    }                                                                 
                                                                      
    if ( loc.ops->mount_h( temp_mt_entry ) ) {                        
30002214:	e1a00004 	mov	r0, r4                                        
30002218:	e1a0e00f 	mov	lr, pc                                        
3000221c:	e12fff13 	bx	r3                                             
30002220:	e3500000 	cmp	r0, #0                                        
30002224:	1a000010 	bne	3000226c <mount+0x1a0>                        
    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 ) ) {                      
30002228:	e1a00004 	mov	r0, r4                                        
3000222c:	e1a0e00f 	mov	lr, pc                                        
30002230:	e596f024 	ldr	pc, [r6, #36]	; 0x24                          
30002234:	e2506000 	subs	r6, r0, #0                                   
30002238:	1a00001b 	bne	300022ac <mount+0x1e0>                        
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
3000223c:	e59f0124 	ldr	r0, [pc, #292]	; 30002368 <mount+0x29c>       
30002240:	e1a01004 	mov	r1, r4                                        
30002244:	eb000dd5 	bl	300059a0 <_Chain_Append>                       
   */                                                                 
                                                                      
  rtems_chain_append( &rtems_filesystem_mount_table_control,          
                      &temp_mt_entry->Node );                         
                                                                      
  if ( mt_entry )                                                     
30002248:	e3570000 	cmp	r7, #0                                        
3000224c:	01a00007 	moveq	r0, r7                                      
    *mt_entry = temp_mt_entry;                                        
30002250:	15874000 	strne	r4, [r7]                                    
30002254:	11a00006 	movne	r0, r6                                      
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
}                                                                     
30002258:	e28dd018 	add	sp, sp, #24                                   
3000225c:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
    /*                                                                
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( Is_node_fs_root(  &loc ) ){                                  
      errno = EBUSY;                                                  
30002260:	eb0029ae 	bl	3000c920 <__errno>                             
30002264:	e3a03010 	mov	r3, #16                                       
30002268:	e5803000 	str	r3, [r0]                                      
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( temp_mt_entry );                                              
3000226c:	e1a00004 	mov	r0, r4                                        
30002270:	ebfffe3f 	bl	30001b74 <free>                                
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
30002274:	e595300c 	ldr	r3, [r5, #12]                                 
30002278:	e3530000 	cmp	r3, #0                                        
3000227c:	1a000016 	bne	300022dc <mount+0x210>                        
30002280:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30002284:	eafffff3 	b	30002258 <mount+0x18c>                          <== NOT EXECUTED
     *  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;                     
30002288:	e584a01c 	str	sl, [r4, #28]                                 
    temp_mt_entry->mt_fs_root.handlers = NULL;                        
3000228c:	e584a024 	str	sl, [r4, #36]	; 0x24                          
    temp_mt_entry->mt_fs_root.ops = NULL;                             
30002290:	e584a028 	str	sl, [r4, #40]	; 0x28                          
                                                                      
    temp_mt_entry->mt_point_node.node_access = NULL;                  
30002294:	e584a008 	str	sl, [r4, #8]                                  
    temp_mt_entry->mt_point_node.handlers = NULL;                     
30002298:	e584a010 	str	sl, [r4, #16]                                 
    temp_mt_entry->mt_point_node.ops = NULL;                          
3000229c:	e584a014 	str	sl, [r4, #20]                                 
    temp_mt_entry->mt_point_node.mt_entry = NULL;                     
300022a0:	e584a018 	str	sl, [r4, #24]                                 
300022a4:	e1a0500a 	mov	r5, sl                                        
300022a8:	eaffffde 	b	30002228 <mount+0x15c>                          
  }                                                                   
                                                                      
  if ( fs_ops->fsmount_me_h( temp_mt_entry ) ) {                      
	/* try to undo the mount operation */                                
	if ( loc.ops->unmount_h ) {                                          
300022ac:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
300022b0:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          <== NOT EXECUTED
300022b4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
		loc.ops->unmount_h( temp_mt_entry );                                
300022b8:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
300022bc:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
300022c0:	112fff13 	bxne	r3                                           <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( temp_mt_entry );                                              
300022c4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
300022c8:	ebfffe29 	bl	30001b74 <free>                                <== NOT EXECUTED
                                                                      
  if ( loc_to_free )                                                  
300022cc:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
300022d0:	1affffe7 	bne	30002274 <mount+0x1a8>                        <== NOT EXECUTED
    rtems_filesystem_freenode( loc_to_free );                         
300022d4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
300022d8:	eaffffde 	b	30002258 <mount+0x18c>                          <== NOT EXECUTED
300022dc:	e593301c 	ldr	r3, [r3, #28]                                 
300022e0:	e3530000 	cmp	r3, #0                                        
300022e4:	0affffe5 	beq	30002280 <mount+0x1b4>                        
300022e8:	e1a00005 	mov	r0, r5                                        
300022ec:	e1a0e00f 	mov	lr, pc                                        
300022f0:	e12fff13 	bx	r3                                             
300022f4:	e3e00000 	mvn	r0, #0                                        
300022f8:	eaffffd6 	b	30002258 <mount+0x18c>                          
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
       options != RTEMS_FILESYSTEM_READ_WRITE ) {                     
    errno = EINVAL;                                                   
300022fc:	eb002987 	bl	3000c920 <__errno>                             
30002300:	e3a03016 	mov	r3, #22                                       
30002304:	e5803000 	str	r3, [r0]                                      
30002308:	e3e00000 	mvn	r0, #0                                        
    return -1;                                                        
3000230c:	eaffffd1 	b	30002258 <mount+0x18c>                          
cleanup_and_bail:                                                     
                                                                      
  free( temp_mt_entry );                                              
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
30002310:	e59d0004 	ldr	r0, [sp, #4]                                  <== NOT EXECUTED
30002314:	eaffffb4 	b	300021ec <mount+0x120>                          <== NOT EXECUTED
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
      errno = ENOTDIR;                                                
30002318:	eb002980 	bl	3000c920 <__errno>                             
3000231c:	e3a03014 	mov	r3, #20                                       
30002320:	e5803000 	str	r3, [r0]                                      
      goto cleanup_and_bail;                                          
30002324:	eaffffd0 	b	3000226c <mount+0x1a0>                          
    return -1;                                                        
  }                                                                   
                                                                      
  /* Do they support being mounted at all ? */                        
  if ( !fs_ops->fsmount_me_h ) {                                      
    errno = ENOTSUP;                                                  
30002328:	eb00297c 	bl	3000c920 <__errno>                             <== NOT EXECUTED
3000232c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
30002330:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( temp_mt_entry );                                              
30002334:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
30002338:	ebfffe0d 	bl	30001b74 <free>                                <== NOT EXECUTED
3000233c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30002340:	eaffffc4 	b	30002258 <mount+0x18c>                          <== NOT EXECUTED
     *  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;                                                
30002344:	eb002975 	bl	3000c920 <__errno>                             <== NOT EXECUTED
30002348:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
3000234c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
      goto cleanup_and_bail;                                          
30002350:	eaffffc5 	b	3000226c <mount+0x1a0>                          <== NOT EXECUTED
   if ( device )                                                      
     size += strlen( device ) + 1;                                    
   temp_mt_entry = malloc( size );                                    
                                                                      
   if ( !temp_mt_entry ) {                                            
     errno = ENOMEM;                                                  
30002354:	eb002971 	bl	3000c920 <__errno>                             <== NOT EXECUTED
30002358:	e3a0300c 	mov	r3, #12                                       <== NOT EXECUTED
3000235c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30002360:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
     return -1;                                                       
30002364:	eaffffbb 	b	30002258 <mount+0x18c>                          <== NOT EXECUTED
30002368:	30019994 	.word	0x30019994                                  
                                                                      
300023dc <newlib_free_buffers>:                                       
 */                                                                   
                                                                      
int newlib_free_buffers(                                              
  FILE *fp                                                            
)                                                                     
{                                                                     
300023dc:	e92d4010 	push	{r4, lr}                                     
300023e0:	e1a04000 	mov	r4, r0                                        
  switch ( fileno(fp) ) {                                             
300023e4:	eb002a4c 	bl	3000cd1c <fileno>                              
300023e8:	e3500002 	cmp	r0, #2                                        
300023ec:	9a000003 	bls	30002400 <newlib_free_buffers+0x24>           
        fp->_flags &= ~__SMBF;                                        
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
      }                                                               
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
300023f0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
300023f4:	eb002996 	bl	3000ca54 <fclose>                              <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
300023f8:	e3a00000 	mov	r0, #0                                        
300023fc:	e8bd8010 	pop	{r4, pc}                                      
{                                                                     
  switch ( fileno(fp) ) {                                             
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
30002400:	e1d430bc 	ldrh	r3, [r4, #12]                                
30002404:	e3130080 	tst	r3, #128	; 0x80                               
30002408:	0afffffa 	beq	300023f8 <newlib_free_buffers+0x1c>           
        free( fp->_bf._base );                                        
3000240c:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
30002410:	ebfffdd7 	bl	30001b74 <free>                                <== NOT EXECUTED
        fp->_flags &= ~__SMBF;                                        
30002414:	e1d420bc 	ldrh	r2, [r4, #12]                                <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
30002418:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
3000241c:	e3c22080 	bic	r2, r2, #128	; 0x80                           <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
30002420:	e5843010 	str	r3, [r4, #16]                                 <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
30002424:	e1c420bc 	strh	r2, [r4, #12]                                <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
30002428:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
3000242c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
30002430:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
                                                                      
300025a0 <null_initialize>:                                           
rtems_device_driver null_initialize(                                  
  rtems_device_major_number major,                                    
  rtems_device_minor_number minor __attribute__((unused)),            
  void *pargp __attribute__((unused))                                 
)                                                                     
{                                                                     
300025a0:	e92d4010 	push	{r4, lr}                                     
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
300025a4:	e59f3044 	ldr	r3, [pc, #68]	; 300025f0 <null_initialize+0x50>
rtems_device_driver null_initialize(                                  
  rtems_device_major_number major,                                    
  rtems_device_minor_number minor __attribute__((unused)),            
  void *pargp __attribute__((unused))                                 
)                                                                     
{                                                                     
300025a8:	e1a04000 	mov	r4, r0                                        
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
300025ac:	e5d32000 	ldrb	r2, [r3]                                     
300025b0:	e3520000 	cmp	r2, #0                                        
300025b4:	0a000001 	beq	300025c0 <null_initialize+0x20>               
                                                                      
    NULL_major = major;                                               
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
300025b8:	e3a00000 	mov	r0, #0                                        
300025bc:	e8bd8010 	pop	{r4, pc}                                      
)                                                                     
{                                                                     
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
    initialized = 1;                                                  
300025c0:	e3a0c001 	mov	ip, #1                                        
                                                                      
    status = rtems_io_register_name(                                  
300025c4:	e59f0028 	ldr	r0, [pc, #40]	; 300025f4 <null_initialize+0x54>
300025c8:	e1a01004 	mov	r1, r4                                        
)                                                                     
{                                                                     
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
    initialized = 1;                                                  
300025cc:	e5c3c000 	strb	ip, [r3]                                     
                                                                      
    status = rtems_io_register_name(                                  
300025d0:	eb000051 	bl	3000271c <rtems_io_register_name>              
      "/dev/null",                                                    
      major,                                                          
      (rtems_device_minor_number) 0                                   
    );                                                                
                                                                      
    if (status != RTEMS_SUCCESSFUL)                                   
300025d4:	e3500000 	cmp	r0, #0                                        
300025d8:	1a000003 	bne	300025ec <null_initialize+0x4c>               
      rtems_fatal_error_occurred(status);                             
                                                                      
    NULL_major = major;                                               
300025dc:	e59f3014 	ldr	r3, [pc, #20]	; 300025f8 <null_initialize+0x58>
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
300025e0:	e3a00000 	mov	r0, #0                                        
    );                                                                
                                                                      
    if (status != RTEMS_SUCCESSFUL)                                   
      rtems_fatal_error_occurred(status);                             
                                                                      
    NULL_major = major;                                               
300025e4:	e5834000 	str	r4, [r3]                                      
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
300025e8:	e8bd8010 	pop	{r4, pc}                                      
      major,                                                          
      (rtems_device_minor_number) 0                                   
    );                                                                
                                                                      
    if (status != RTEMS_SUCCESSFUL)                                   
      rtems_fatal_error_occurred(status);                             
300025ec:	eb0010ae 	bl	300068ac <rtems_fatal_error_occurred>          <== NOT EXECUTED
300025f0:	3001e740 	.word	0x3001e740                                  
300025f4:	3001d088 	.word	0x3001d088                                  
300025f8:	3001eaf4 	.word	0x3001eaf4                                  
                                                                      
30002674 <open>:                                                      
int open(                                                             
  const char   *pathname,                                             
  int           flags,                                                
  ...                                                                 
)                                                                     
{                                                                     
30002674:	e92d000e 	push	{r1, r2, r3}                                 
30002678:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
3000267c:	e24dd01c 	sub	sp, sp, #28                                   
30002680:	e59d503c 	ldr	r5, [sp, #60]	; 0x3c                          
30002684:	e1a06000 	mov	r6, r0                                        
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
                                                                      
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
30002688:	e2853001 	add	r3, r5, #1                                    
  if ( ( status & _FREAD ) == _FREAD )                                
3000268c:	e2138001 	ands	r8, r3, #1                                   
30002690:	13a08004 	movne	r8, #4                                      
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
  if ( ( status & _FWRITE ) == _FWRITE )                              
30002694:	e3130002 	tst	r3, #2                                        
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
                                                                      
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
30002698:	e28d3044 	add	r3, sp, #68	; 0x44                            
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
  if ( ( status & _FREAD ) == _FREAD )                                
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
  if ( ( status & _FWRITE ) == _FWRITE )                              
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
3000269c:	13888002 	orrne	r8, r8, #2                                  
                                                                      
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
300026a0:	e58d3018 	str	r3, [sp, #24]                                 
300026a4:	e59da040 	ldr	sl, [sp, #64]	; 0x40                          
   *             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();                                       
300026a8:	eb001d33 	bl	30009b7c <rtems_libio_allocate>                
  if ( iop == 0 ) {                                                   
300026ac:	e2504000 	subs	r4, r0, #0                                   
300026b0:	03a06017 	moveq	r6, #23                                     
300026b4:	0a00005d 	beq	30002830 <open+0x1bc>                         
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
                                                                      
  status = rtems_filesystem_evaluate_path(                            
    pathname, strlen( pathname ), eval_flags, &loc, true );           
300026b8:	e1a00006 	mov	r0, r6                                        
300026bc:	eb002c88 	bl	3000d8e4 <strlen>                              
                                                                      
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
                                                                      
  status = rtems_filesystem_evaluate_path(                            
300026c0:	e28d7004 	add	r7, sp, #4                                    
    pathname, strlen( pathname ), eval_flags, &loc, true );           
300026c4:	e1a01000 	mov	r1, r0                                        
                                                                      
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
                                                                      
  status = rtems_filesystem_evaluate_path(                            
300026c8:	e1a02008 	mov	r2, r8                                        
300026cc:	e1a00006 	mov	r0, r6                                        
300026d0:	e3a08001 	mov	r8, #1                                        
300026d4:	e1a03007 	mov	r3, r7                                        
300026d8:	e58d8000 	str	r8, [sp]                                      
300026dc:	ebfffcf3 	bl	30001ab0 <rtems_filesystem_evaluate_path>      
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
300026e0:	e3700001 	cmn	r0, #1                                        
300026e4:	0a000055 	beq	30002840 <open+0x1cc>                         
    if ( status != 0 ) {   /* The file did not exist */               
      rc = EACCES;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
300026e8:	e2053c0a 	and	r3, r5, #2560	; 0xa00                         
300026ec:	e3530c0a 	cmp	r3, #2560	; 0xa00                             
300026f0:	03a06011 	moveq	r6, #17                                     
300026f4:	0a000040 	beq	300027fc <open+0x188>                         
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
300026f8:	e59d300c 	ldr	r3, [sp, #12]                                 
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
300026fc:	e1a00005 	mov	r0, r5                                        
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
30002700:	e584303c 	str	r3, [r4, #60]	; 0x3c                          
  iop->file_info  = loc.node_access;                                  
30002704:	e59d3004 	ldr	r3, [sp, #4]                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
30002708:	e5948014 	ldr	r8, [r4, #20]                                 
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
3000270c:	e5843038 	str	r3, [r4, #56]	; 0x38                          
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
30002710:	eb001d0c 	bl	30009b48 <rtems_libio_fcntl_flags>             
  iop->pathinfo   = loc;                                              
30002714:	e284c018 	add	ip, r4, #24                                   
30002718:	e1a0e007 	mov	lr, r7                                        
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
3000271c:	e1808008 	orr	r8, r0, r8                                    
  iop->pathinfo   = loc;                                              
30002720:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
30002724:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
                                                                      
  if ( !iop->handlers || !iop->handlers->open_h ) {                   
30002728:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
  iop->pathinfo   = loc;                                              
3000272c:	e59e2000 	ldr	r2, [lr]                                      
                                                                      
  if ( !iop->handlers || !iop->handlers->open_h ) {                   
30002730:	e3530000 	cmp	r3, #0                                        
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
  iop->pathinfo   = loc;                                              
30002734:	e58c2000 	str	r2, [ip]                                      
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
30002738:	e5848014 	str	r8, [r4, #20]                                 
  iop->pathinfo   = loc;                                              
                                                                      
  if ( !iop->handlers || !iop->handlers->open_h ) {                   
3000273c:	0a00002d 	beq	300027f8 <open+0x184>                         
30002740:	e593c000 	ldr	ip, [r3]                                      
30002744:	e35c0000 	cmp	ip, #0                                        
30002748:	0a00002a 	beq	300027f8 <open+0x184>                         
    rc = ENOTSUP;                                                     
    goto done;                                                        
  }                                                                   
                                                                      
  rc = (*iop->handlers->open_h)( iop, pathname, flags, mode );        
3000274c:	e1a01006 	mov	r1, r6                                        
30002750:	e1a0300a 	mov	r3, sl                                        
30002754:	e1a00004 	mov	r0, r4                                        
30002758:	e1a02005 	mov	r2, r5                                        
3000275c:	e1a0e00f 	mov	lr, pc                                        
30002760:	e12fff1c 	bx	ip                                             
  if ( rc ) {                                                         
30002764:	e3500000 	cmp	r0, #0                                        
30002768:	1a000009 	bne	30002794 <open+0x120>                         
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
                                                                      
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
3000276c:	e3150b01 	tst	r5, #1024	; 0x400                             
30002770:	1a00000c 	bne	300027a8 <open+0x134>                         
30002774:	e59f5150 	ldr	r5, [pc, #336]	; 300028cc <open+0x258>        
    if ( loc_to_free )                                                
      rtems_filesystem_freenode( loc_to_free );                       
    rtems_set_errno_and_return_minus_one( rc );                       
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
30002778:	e5950000 	ldr	r0, [r5]                                      
3000277c:	e0604004 	rsb	r4, r0, r4                                    
30002780:	e1a00344 	asr	r0, r4, #6                                    
}                                                                     
30002784:	e28dd01c 	add	sp, sp, #28                                   
30002788:	e8bd47f0 	pop	{r4, r5, r6, r7, r8, r9, sl, lr}              
3000278c:	e28dd00c 	add	sp, sp, #12                                   
30002790:	e12fff1e 	bx	lr                                             
    goto done;                                                        
  }                                                                   
                                                                      
  rc = (*iop->handlers->open_h)( iop, pathname, flags, mode );        
  if ( rc ) {                                                         
    rc = errno;                                                       
30002794:	eb002861 	bl	3000c920 <__errno>                             
30002798:	e5906000 	ldr	r6, [r0]                                      
   */                                                                 
                                                                      
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
3000279c:	e3560000 	cmp	r6, #0                                        
300027a0:	0afffff3 	beq	30002774 <open+0x100>                         
300027a4:	ea000014 	b	300027fc <open+0x188>                           
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
                                                                      
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
300027a8:	e59f511c 	ldr	r5, [pc, #284]	; 300028cc <open+0x258>        
300027ac:	e3a01000 	mov	r1, #0                                        
300027b0:	e5950000 	ldr	r0, [r5]                                      
300027b4:	e3a02000 	mov	r2, #0                                        
300027b8:	e0600004 	rsb	r0, r0, r4                                    
300027bc:	e1a00340 	asr	r0, r0, #6                                    
300027c0:	eb001c72 	bl	30009990 <ftruncate>                           
    if ( rc ) {                                                       
300027c4:	e2506000 	subs	r6, r0, #0                                   
300027c8:	0affffea 	beq	30002778 <open+0x104>                         
      if(errno) rc = errno;                                           
300027cc:	eb002853 	bl	3000c920 <__errno>                             <== NOT EXECUTED
300027d0:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
300027d4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300027d8:	1a000038 	bne	300028c0 <open+0x24c>                         <== NOT EXECUTED
      close( iop - rtems_libio_iops );                                
300027dc:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
300027e0:	e0600004 	rsb	r0, r0, r4                                    <== NOT EXECUTED
300027e4:	e1a00340 	asr	r0, r0, #6                                    <== NOT EXECUTED
300027e8:	e3a04000 	mov	r4, #0                                        <== NOT EXECUTED
300027ec:	eb001c3e 	bl	300098ec <close>                               <== NOT EXECUTED
300027f0:	e1a07004 	mov	r7, r4                                        <== NOT EXECUTED
300027f4:	eaffffe8 	b	3000279c <open+0x128>                           <== NOT EXECUTED
    if ( loc_to_free )                                                
      rtems_filesystem_freenode( loc_to_free );                       
    rtems_set_errno_and_return_minus_one( rc );                       
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
300027f8:	e3a06086 	mov	r6, #134	; 0x86                               <== NOT EXECUTED
                                                                      
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
    if ( iop )                                                        
300027fc:	e3540000 	cmp	r4, #0                                        
      rtems_libio_free( iop );                                        
30002800:	11a00004 	movne	r0, r4                                      
30002804:	1b001d30 	blne	30009ccc <rtems_libio_free>                  
    if ( loc_to_free )                                                
30002808:	e3570000 	cmp	r7, #0                                        
3000280c:	0a000007 	beq	30002830 <open+0x1bc>                         
      rtems_filesystem_freenode( loc_to_free );                       
30002810:	e597300c 	ldr	r3, [r7, #12]                                 
30002814:	e3530000 	cmp	r3, #0                                        
30002818:	0a000004 	beq	30002830 <open+0x1bc>                         
3000281c:	e593301c 	ldr	r3, [r3, #28]                                 
30002820:	e3530000 	cmp	r3, #0                                        
30002824:	11a00007 	movne	r0, r7                                      
30002828:	11a0e00f 	movne	lr, pc                                      
3000282c:	112fff13 	bxne	r3                                           
    rtems_set_errno_and_return_minus_one( rc );                       
30002830:	eb00283a 	bl	3000c920 <__errno>                             
30002834:	e5806000 	str	r6, [r0]                                      
30002838:	e3e00000 	mvn	r0, #0                                        
3000283c:	eaffffd0 	b	30002784 <open+0x110>                           
                                                                      
  status = rtems_filesystem_evaluate_path(                            
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
    if ( errno != ENOENT ) {                                          
30002840:	eb002836 	bl	3000c920 <__errno>                             
30002844:	e5903000 	ldr	r3, [r0]                                      
30002848:	e3530002 	cmp	r3, #2                                        
3000284c:	0a000003 	beq	30002860 <open+0x1ec>                         
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
    if ( rc ) {                                                       
      rc = errno;                                                     
30002850:	eb002832 	bl	3000c920 <__errno>                             
30002854:	e3a07000 	mov	r7, #0                                        
30002858:	e5906000 	ldr	r6, [r0]                                      
      goto done;                                                      
3000285c:	eaffffce 	b	3000279c <open+0x128>                           
      rc = errno;                                                     
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
30002860:	e2159c02 	ands	r9, r5, #512	; 0x200                         
30002864:	01a07009 	moveq	r7, r9                                      
30002868:	01a06003 	moveq	r6, r3                                      
3000286c:	0affffe2 	beq	300027fc <open+0x188>                         
      rc = ENOENT;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
30002870:	e1a00006 	mov	r0, r6                                        
30002874:	e38a1902 	orr	r1, sl, #32768	; 0x8000                       
30002878:	e3a02000 	mov	r2, #0                                        
3000287c:	e3a03000 	mov	r3, #0                                        
30002880:	ebfffdb9 	bl	30001f6c <mknod>                               
    if ( rc ) {                                                       
30002884:	e2509000 	subs	r9, r0, #0                                   
30002888:	1afffff0 	bne	30002850 <open+0x1dc>                         
      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 );
3000288c:	e1a00006 	mov	r0, r6                                        
30002890:	eb002c13 	bl	3000d8e4 <strlen>                              
30002894:	e1a03007 	mov	r3, r7                                        
30002898:	e1a01000 	mov	r1, r0                                        
3000289c:	e1a02009 	mov	r2, r9                                        
300028a0:	e1a00006 	mov	r0, r6                                        
300028a4:	e58d8000 	str	r8, [sp]                                      
300028a8:	ebfffc80 	bl	30001ab0 <rtems_filesystem_evaluate_path>      
    if ( status != 0 ) {   /* The file did not exist */               
300028ac:	e3500000 	cmp	r0, #0                                        
300028b0:	11a07009 	movne	r7, r9                                      
300028b4:	13a0600d 	movne	r6, #13                                     
300028b8:	1affffcf 	bne	300027fc <open+0x188>                         
300028bc:	eaffff8d 	b	300026f8 <open+0x84>                            
   */                                                                 
                                                                      
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
    if ( rc ) {                                                       
      if(errno) rc = errno;                                           
300028c0:	eb002816 	bl	3000c920 <__errno>                             <== NOT EXECUTED
300028c4:	e5906000 	ldr	r6, [r0]                                      <== NOT EXECUTED
300028c8:	eaffffc3 	b	300027dc <open+0x168>                           <== NOT EXECUTED
300028cc:	30019950 	.word	0x30019950                                  
                                                                      
3000260c <open_dev_console>:                                          
  int      stderr_fd;                                                 
                                                                      
  /*                                                                  
   * Attempt to open /dev/console.                                    
   */                                                                 
  if ((stdin_fd = open("/dev/console", O_RDONLY, 0)) == -1) {         
3000260c:	e3a01000 	mov	r1, #0                                        
                                                                      
/*                                                                    
 *  This is a replaceable stub which opens the console, if present.   
 */                                                                   
void open_dev_console(void)                                           
{                                                                     
30002610:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  int      stderr_fd;                                                 
                                                                      
  /*                                                                  
   * Attempt to open /dev/console.                                    
   */                                                                 
  if ((stdin_fd = open("/dev/console", O_RDONLY, 0)) == -1) {         
30002614:	e59f004c 	ldr	r0, [pc, #76]	; 30002668 <open_dev_console+0x5c>
30002618:	e1a02001 	mov	r2, r1                                        
3000261c:	eb000014 	bl	30002674 <open>                                
30002620:	e3700001 	cmn	r0, #1                                        
30002624:	049df004 	popeq	{pc}		; (ldreq pc, [sp], #4)                
                                                                      
  /*                                                                  
   *  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)          
30002628:	e59f0038 	ldr	r0, [pc, #56]	; 30002668 <open_dev_console+0x5c>
3000262c:	e3a01001 	mov	r1, #1                                        
30002630:	e3a02000 	mov	r2, #0                                        
30002634:	eb00000e 	bl	30002674 <open>                                
30002638:	e3700001 	cmn	r0, #1                                        
3000263c:	0a000007 	beq	30002660 <open_dev_console+0x54>              
    rtems_fatal_error_occurred( 0x55544431 );  /* error STD1 */       
                                                                      
  if ((stderr_fd = open("/dev/console", O_WRONLY, 0)) == -1)          
30002640:	e59f0020 	ldr	r0, [pc, #32]	; 30002668 <open_dev_console+0x5c>
30002644:	e3a01001 	mov	r1, #1                                        
30002648:	e3a02000 	mov	r2, #0                                        
3000264c:	eb000008 	bl	30002674 <open>                                
30002650:	e3700001 	cmn	r0, #1                                        
30002654:	149df004 	popne	{pc}		; (ldrne pc, [sp], #4)                
    rtems_fatal_error_occurred( 0x55544432 );  /* error STD2 */       
30002658:	e59f000c 	ldr	r0, [pc, #12]	; 3000266c <open_dev_console+0x60><== NOT EXECUTED
3000265c:	eb000c19 	bl	300056c8 <rtems_fatal_error_occurred>          <== NOT EXECUTED
  /*                                                                  
   *  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 */       
30002660:	e59f0008 	ldr	r0, [pc, #8]	; 30002670 <open_dev_console+0x64><== NOT EXECUTED
30002664:	eb000c17 	bl	300056c8 <rtems_fatal_error_occurred>          <== NOT EXECUTED
30002668:	30018898 	.word	0x30018898                                  
3000266c:	55544432 	.word	0x55544432                                  
30002670:	55544431 	.word	0x55544431                                  
                                                                      
30003010 <oproc>:                                                     
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
30003010:	e92d4010 	push	{r4, lr}                                     
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
30003014:	e5913034 	ldr	r3, [r1, #52]	; 0x34                          
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
30003018:	e24dd004 	sub	sp, sp, #4                                    
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
3000301c:	e3130001 	tst	r3, #1                                        
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
30003020:	e1a04001 	mov	r4, r1                                        
30003024:	e5cd0000 	strb	r0, [sp]                                     
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
30003028:	0a000014 	beq	30003080 <oproc+0x70>                         
		switch (c) {                                                        
3000302c:	e5dd1000 	ldrb	r1, [sp]                                     
30003030:	e2412008 	sub	r2, r1, #8                                    
30003034:	e3520005 	cmp	r2, #5                                        
30003038:	979ff102 	ldrls	pc, [pc, r2, lsl #2]                        
3000303c:	ea000005 	b	30003058 <oproc+0x48>                           
30003040:	300030f0 	.word	0x300030f0                                  <== NOT EXECUTED
30003044:	300030cc 	.word	0x300030cc                                  <== NOT EXECUTED
30003048:	30003104 	.word	0x30003104                                  <== NOT EXECUTED
3000304c:	30003058 	.word	0x30003058                                  <== NOT EXECUTED
30003050:	30003058 	.word	0x30003058                                  <== NOT EXECUTED
30003054:	30003098 	.word	0x30003098                                  <== NOT EXECUTED
			if (tty->column > 0)                                               
				tty->column--;                                                    
			break;                                                             
                                                                      
		default:                                                            
			if (tty->termios.c_oflag & OLCUC)                                  
30003058:	e3130002 	tst	r3, #2                                        
3000305c:	1a000034 	bne	30003134 <oproc+0x124>                        
30003060:	e59f310c 	ldr	r3, [pc, #268]	; 30003174 <oproc+0x164>       
30003064:	e5933000 	ldr	r3, [r3]                                      
				c = toupper(c);                                                   
			if (!iscntrl(c))                                                   
30003068:	e0831001 	add	r1, r3, r1                                    
3000306c:	e5d13001 	ldrb	r3, [r1, #1]                                 
30003070:	e3130020 	tst	r3, #32                                       
				tty->column++;                                                    
30003074:	05943028 	ldreq	r3, [r4, #40]	; 0x28                        
30003078:	02833001 	addeq	r3, r3, #1                                  
3000307c:	05843028 	streq	r3, [r4, #40]	; 0x28                        
			break;                                                             
		}                                                                   
	}                                                                    
	rtems_termios_puts (&c, 1, tty);                                     
30003080:	e1a02004 	mov	r2, r4                                        
30003084:	e1a0000d 	mov	r0, sp                                        
30003088:	e3a01001 	mov	r1, #1                                        
3000308c:	ebffff97 	bl	30002ef0 <rtems_termios_puts>                  
}                                                                     
30003090:	e28dd004 	add	sp, sp, #4                                    
30003094:	e8bd8010 	pop	{r4, pc}                                      
				tty->column = 0;                                                  
			}                                                                  
			break;                                                             
                                                                      
		case '\r':                                                          
			if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))          
30003098:	e3130010 	tst	r3, #16                                       <== NOT EXECUTED
3000309c:	0a000002 	beq	300030ac <oproc+0x9c>                         <== NOT EXECUTED
300030a0:	e5942028 	ldr	r2, [r4, #40]	; 0x28                          <== NOT EXECUTED
300030a4:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
300030a8:	0afffff8 	beq	30003090 <oproc+0x80>                         <== NOT EXECUTED
				return;                                                           
			if (tty->termios.c_oflag & OCRNL) {                                
300030ac:	e2132008 	ands	r2, r3, #8                                   <== NOT EXECUTED
300030b0:	0a00000c 	beq	300030e8 <oproc+0xd8>                         <== NOT EXECUTED
				c = '\n';                                                         
				if (tty->termios.c_oflag & ONLRET)                                
300030b4:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
                                                                      
		case '\r':                                                          
			if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))          
				return;                                                           
			if (tty->termios.c_oflag & OCRNL) {                                
				c = '\n';                                                         
300030b8:	e3a0300a 	mov	r3, #10                                       <== NOT EXECUTED
300030bc:	e5cd3000 	strb	r3, [sp]                                     <== NOT EXECUTED
				if (tty->termios.c_oflag & ONLRET)                                
					tty->column = 0;                                                 
300030c0:	13a03000 	movne	r3, #0                                      <== NOT EXECUTED
300030c4:	15843028 	strne	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
300030c8:	eaffffec 	b	30003080 <oproc+0x70>                           <== NOT EXECUTED
			}                                                                  
			tty->column = 0;                                                   
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
300030cc:	e5942028 	ldr	r2, [r4, #40]	; 0x28                          
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
300030d0:	e2033b06 	and	r3, r3, #6144	; 0x1800                        
			}                                                                  
			tty->column = 0;                                                   
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
300030d4:	e2021007 	and	r1, r2, #7                                    
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
300030d8:	e3530b06 	cmp	r3, #6144	; 0x1800                            
			}                                                                  
			tty->column = 0;                                                   
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
300030dc:	e2611008 	rsb	r1, r1, #8                                    
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
				tty->column += i;                                                 
				rtems_termios_puts ( "        ",  i, tty);                        
				return;                                                           
			}                                                                  
			tty->column += i;                                                  
300030e0:	10812002 	addne	r2, r1, r2                                  
			tty->column = 0;                                                   
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
300030e4:	0a00001c 	beq	3000315c <oproc+0x14c>                        
				tty->column += i;                                                 
				rtems_termios_puts ( "        ",  i, tty);                        
				return;                                                           
			}                                                                  
			tty->column += i;                                                  
300030e8:	e5842028 	str	r2, [r4, #40]	; 0x28                          <== NOT EXECUTED
			break;                                                             
300030ec:	eaffffe3 	b	30003080 <oproc+0x70>                           <== NOT EXECUTED
                                                                      
		case '\b':                                                          
			if (tty->column > 0)                                               
300030f0:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          <== NOT EXECUTED
300030f4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
				tty->column--;                                                    
300030f8:	c2433001 	subgt	r3, r3, #1                                  <== NOT EXECUTED
300030fc:	c5843028 	strgt	r3, [r4, #40]	; 0x28                        <== NOT EXECUTED
30003100:	eaffffde 	b	30003080 <oproc+0x70>                           <== NOT EXECUTED
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
		switch (c) {                                                        
		case '\n':                                                          
			if (tty->termios.c_oflag & ONLRET)                                 
30003104:	e3130020 	tst	r3, #32                                       
				tty->column = 0;                                                  
30003108:	13a02000 	movne	r2, #0                                      
3000310c:	15842028 	strne	r2, [r4, #40]	; 0x28                        
			if (tty->termios.c_oflag & ONLCR) {                                
30003110:	e3130004 	tst	r3, #4                                        
30003114:	0affffd9 	beq	30003080 <oproc+0x70>                         
				rtems_termios_puts ("\r", 1, tty);                                
30003118:	e59f0058 	ldr	r0, [pc, #88]	; 30003178 <oproc+0x168>        
3000311c:	e3a01001 	mov	r1, #1                                        
30003120:	e1a02004 	mov	r2, r4                                        
30003124:	ebffff71 	bl	30002ef0 <rtems_termios_puts>                  
				tty->column = 0;                                                  
30003128:	e3a03000 	mov	r3, #0                                        
3000312c:	e5843028 	str	r3, [r4, #40]	; 0x28                          
30003130:	eaffffd2 	b	30003080 <oproc+0x70>                           
				tty->column--;                                                    
			break;                                                             
                                                                      
		default:                                                            
			if (tty->termios.c_oflag & OLCUC)                                  
				c = toupper(c);                                                   
30003134:	e59f3038 	ldr	r3, [pc, #56]	; 30003174 <oproc+0x164>        <== NOT EXECUTED
30003138:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
3000313c:	e0832001 	add	r2, r3, r1                                    <== NOT EXECUTED
30003140:	e5d22001 	ldrb	r2, [r2, #1]                                 <== NOT EXECUTED
30003144:	e2022003 	and	r2, r2, #3                                    <== NOT EXECUTED
30003148:	e3520002 	cmp	r2, #2                                        <== NOT EXECUTED
3000314c:	02411020 	subeq	r1, r1, #32                                 <== NOT EXECUTED
30003150:	e20110ff 	and	r1, r1, #255	; 0xff                           <== NOT EXECUTED
30003154:	e5cd1000 	strb	r1, [sp]                                     <== NOT EXECUTED
30003158:	eaffffc2 	b	30003068 <oproc+0x58>                           <== NOT EXECUTED
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
				tty->column += i;                                                 
3000315c:	e0812002 	add	r2, r1, r2                                    
30003160:	e5842028 	str	r2, [r4, #40]	; 0x28                          
				rtems_termios_puts ( "        ",  i, tty);                        
30003164:	e59f0010 	ldr	r0, [pc, #16]	; 3000317c <oproc+0x16c>        
30003168:	e1a02004 	mov	r2, r4                                        
3000316c:	ebffff5f 	bl	30002ef0 <rtems_termios_puts>                  
				return;                                                           
30003170:	eaffffc6 	b	30003090 <oproc+0x80>                           
30003174:	30019080 	.word	0x30019080                                  
30003178:	30018a1c 	.word	0x30018a1c                                  
3000317c:	3001894c 	.word	0x3001894c                                  
                                                                      
3000c408 <pipe_create>:                                               
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
3000c408:	e92d4070 	push	{r4, r5, r6, lr}                             
3000c40c:	e24dd028 	sub	sp, sp, #40	; 0x28                            
  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)
3000c410:	e28d4004 	add	r4, sp, #4                                    
3000c414:	e3a0c001 	mov	ip, #1                                        
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
3000c418:	e1a05000 	mov	r5, r0                                        
  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)
3000c41c:	e3a01003 	mov	r1, #3                                        
3000c420:	e59f0150 	ldr	r0, [pc, #336]	; 3000c578 <pipe_create+0x170> 
3000c424:	e3a02007 	mov	r2, #7                                        
3000c428:	e1a03004 	mov	r3, r4                                        
3000c42c:	e58dc000 	str	ip, [sp]                                      
3000c430:	ebffd59e 	bl	30001ab0 <rtems_filesystem_evaluate_path>      
3000c434:	e3500000 	cmp	r0, #0                                        
3000c438:	1a00003a 	bne	3000c528 <pipe_create+0x120>                  
      return -1;                                                      
    if (mkdir("/tmp", S_IRWXU|S_IRWXG|S_IRWXO|S_ISVTX) != 0)          
      return -1;                                                      
  }                                                                   
  else                                                                
    rtems_filesystem_freenode(&loc);                                  
3000c43c:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
3000c440:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
3000c444:	0a000004 	beq	3000c45c <pipe_create+0x54>                   <== NOT EXECUTED
3000c448:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
3000c44c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
3000c450:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
3000c454:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
3000c458:	112fff13 	bxne	r3                                           <== NOT EXECUTED
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
3000c45c:	e28d4018 	add	r4, sp, #24                                   
3000c460:	e59f2114 	ldr	r2, [pc, #276]	; 3000c57c <pipe_create+0x174> 
3000c464:	e1a0c004 	mov	ip, r4                                        
3000c468:	e8920007 	ldm	r2, {r0, r1, r2}                              
3000c46c:	e8ac0003 	stmia	ip!, {r0, r1}                               
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
3000c470:	e59f3108 	ldr	r3, [pc, #264]	; 3000c580 <pipe_create+0x178> 
  else                                                                
    rtems_filesystem_freenode(&loc);                                  
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
3000c474:	e1a0100c 	mov	r1, ip                                        
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
3000c478:	e1d3c0b0 	ldrh	ip, [r3]                                     
  else                                                                
    rtems_filesystem_freenode(&loc);                                  
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
3000c47c:	e1c120b0 	strh	r2, [r1]                                     
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
3000c480:	e1a0200c 	mov	r2, ip                                        
3000c484:	e28cc001 	add	ip, ip, #1                                    
3000c488:	e59f10f4 	ldr	r1, [pc, #244]	; 3000c584 <pipe_create+0x17c> 
3000c48c:	e1c3c0b0 	strh	ip, [r3]                                     
3000c490:	e284000a 	add	r0, r4, #10                                   
3000c494:	eb0003d5 	bl	3000d3f0 <sprintf>                             
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
3000c498:	e1a00004 	mov	r0, r4                                        
3000c49c:	e3a01d06 	mov	r1, #384	; 0x180                              
3000c4a0:	eb00004b 	bl	3000c5d4 <mkfifo>                              
3000c4a4:	e2506000 	subs	r6, r0, #0                                   
3000c4a8:	1a00001c 	bne	3000c520 <pipe_create+0x118>                  
    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);                 
3000c4ac:	e1a00004 	mov	r0, r4                                        
3000c4b0:	e3a01901 	mov	r1, #16384	; 0x4000                           
3000c4b4:	ebffd86e 	bl	30002674 <open>                                
  if (filsdes[0] < 0) {                                               
3000c4b8:	e3500000 	cmp	r0, #0                                        
    return -1;                                                        
    sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                 
  }                                                                   
                                                                      
  /* Non-blocking open to avoid waiting for writers */                
  filsdes[0] = open(fifopath, O_RDONLY | O_NONBLOCK);                 
3000c4bc:	e5850000 	str	r0, [r5]                                      
  if (filsdes[0] < 0) {                                               
3000c4c0:	ba000022 	blt	3000c550 <pipe_create+0x148>                  
     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]);                                
3000c4c4:	e59f30bc 	ldr	r3, [pc, #188]	; 3000c588 <pipe_create+0x180> <== NOT EXECUTED
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
3000c4c8:	e3a01001 	mov	r1, #1                                        <== 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]);                                
3000c4cc:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
3000c4d0:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
3000c4d4:	359f30b0 	ldrcc	r3, [pc, #176]	; 3000c58c <pipe_create+0x184><== NOT EXECUTED
3000c4d8:	35936000 	ldrcc	r6, [r3]                                    <== NOT EXECUTED
3000c4dc:	30866300 	addcc	r6, r6, r0, lsl #6                          <== NOT EXECUTED
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
3000c4e0:	e5963014 	ldr	r3, [r6, #20]                                 <== NOT EXECUTED
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
3000c4e4:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
    unlink(fifopath);                                                 
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
3000c4e8:	e3c33001 	bic	r3, r3, #1                                    <== NOT EXECUTED
3000c4ec:	e5863014 	str	r3, [r6, #20]                                 <== NOT EXECUTED
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
3000c4f0:	ebffd85f 	bl	30002674 <open>                                <== NOT EXECUTED
                                                                      
    if (filsdes[1] < 0) {                                             
3000c4f4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
3000c4f8:	e5850004 	str	r0, [r5, #4]                                  <== NOT EXECUTED
                                                                      
    if (filsdes[1] < 0) {                                             
3000c4fc:	a3a06000 	movge	r6, #0                                      <== NOT EXECUTED
3000c500:	ba000017 	blt	3000c564 <pipe_create+0x15c>                  <== NOT EXECUTED
    err = errno;                                                      
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
3000c504:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
3000c508:	eb000035 	bl	3000c5e4 <unlink>                              <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one(err);                          
3000c50c:	eb000103 	bl	3000c920 <__errno>                             
3000c510:	e5806000 	str	r6, [r0]                                      
}                                                                     
3000c514:	e3e00000 	mvn	r0, #0                                        
3000c518:	e28dd028 	add	sp, sp, #40	; 0x28                            
3000c51c:	e8bd8070 	pop	{r4, r5, r6, pc}                              
  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){                                             
3000c520:	eb0000fe 	bl	3000c920 <__errno>                             <== NOT EXECUTED
3000c524:	eafffffa 	b	3000c514 <pipe_create+0x10c>                    <== NOT EXECUTED
  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)                                              
3000c528:	eb0000fc 	bl	3000c920 <__errno>                             
3000c52c:	e5903000 	ldr	r3, [r0]                                      
3000c530:	e3530002 	cmp	r3, #2                                        
3000c534:	1afffff6 	bne	3000c514 <pipe_create+0x10c>                  
      return -1;                                                      
    if (mkdir("/tmp", S_IRWXU|S_IRWXG|S_IRWXO|S_ISVTX) != 0)          
3000c538:	e59f0038 	ldr	r0, [pc, #56]	; 3000c578 <pipe_create+0x170>  
3000c53c:	e59f104c 	ldr	r1, [pc, #76]	; 3000c590 <pipe_create+0x188>  
3000c540:	ebffd685 	bl	30001f5c <mkdir>                               
3000c544:	e3500000 	cmp	r0, #0                                        
3000c548:	0affffc3 	beq	3000c45c <pipe_create+0x54>                   
3000c54c:	eafffff0 	b	3000c514 <pipe_create+0x10c>                    <== NOT EXECUTED
  }                                                                   
                                                                      
  /* Non-blocking open to avoid waiting for writers */                
  filsdes[0] = open(fifopath, O_RDONLY | O_NONBLOCK);                 
  if (filsdes[0] < 0) {                                               
    err = errno;                                                      
3000c550:	eb0000f2 	bl	3000c920 <__errno>                             
3000c554:	e5906000 	ldr	r6, [r0]                                      
    /* 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);                                                 
3000c558:	e1a00004 	mov	r0, r4                                        
3000c55c:	eb000020 	bl	3000c5e4 <unlink>                              
3000c560:	eaffffe9 	b	3000c50c <pipe_create+0x104>                    
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
                                                                      
    if (filsdes[1] < 0) {                                             
    err = errno;                                                      
3000c564:	eb0000ed 	bl	3000c920 <__errno>                             <== NOT EXECUTED
3000c568:	e5906000 	ldr	r6, [r0]                                      <== NOT EXECUTED
    close(filsdes[0]);                                                
3000c56c:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
3000c570:	ebfff4dd 	bl	300098ec <close>                               <== NOT EXECUTED
3000c574:	eaffffe2 	b	3000c504 <pipe_create+0xfc>                     <== NOT EXECUTED
3000c578:	30018bc0 	.word	0x30018bc0                                  
3000c57c:	30018bc8 	.word	0x30018bc8                                  
3000c580:	300196d2 	.word	0x300196d2                                  
3000c584:	30018bd4 	.word	0x30018bd4                                  
3000c588:	30018e24 	.word	0x30018e24                                  
3000c58c:	30019950 	.word	0x30019950                                  
3000c590:	000003ff 	.word	0x000003ff                                  
                                                                      
3000b074 <pipe_ioctl>:                                                
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  if (cmd == FIONREAD) {                                              
3000b074:	e59f3054 	ldr	r3, [pc, #84]	; 3000b0d0 <pipe_ioctl+0x5c>    <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
3000b078:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  if (cmd == FIONREAD) {                                              
3000b07c:	e1510003 	cmp	r1, r3                                        <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
3000b080:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
3000b084:	e1a04002 	mov	r4, r2                                        <== NOT EXECUTED
  if (cmd == FIONREAD) {                                              
3000b088:	13e00015 	mvnne	r0, #21                                     <== NOT EXECUTED
3000b08c:	18bd8070 	popne	{r4, r5, r6, pc}                            <== NOT EXECUTED
    if (buffer == NULL)                                               
3000b090:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
3000b094:	03e0000d 	mvneq	r0, #13                                     <== NOT EXECUTED
3000b098:	08bd8070 	popeq	{r4, r5, r6, pc}                            <== NOT EXECUTED
      return -EFAULT;                                                 
                                                                      
    if (! PIPE_LOCK(pipe))                                            
3000b09c:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
3000b0a0:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
3000b0a4:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
3000b0a8:	ebffe7e7 	bl	3000504c <rtems_semaphore_obtain>              <== NOT EXECUTED
3000b0ac:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
3000b0b0:	13e00003 	mvnne	r0, #3                                      <== NOT EXECUTED
3000b0b4:	18bd8070 	popne	{r4, r5, r6, pc}                            <== NOT EXECUTED
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(uint *)buffer = pipe->Length;                                   
3000b0b8:	e595300c 	ldr	r3, [r5, #12]                                 <== NOT EXECUTED
    PIPE_UNLOCK(pipe);                                                
3000b0bc:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
                                                                      
    if (! PIPE_LOCK(pipe))                                            
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(uint *)buffer = pipe->Length;                                   
3000b0c0:	e5843000 	str	r3, [r4]                                      <== NOT EXECUTED
    PIPE_UNLOCK(pipe);                                                
3000b0c4:	ebffe828 	bl	3000516c <rtems_semaphore_release>             <== NOT EXECUTED
3000b0c8:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
}                                                                     
3000b0cc:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
3000b0d0:	4004667f 	.word	0x4004667f                                  
                                                                      
3000affc <pipe_lseek>:                                                
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  /* Seek on pipe is not supported */                                 
  return -ESPIPE;                                                     
}                                                                     
3000affc:	e3e0001c 	mvn	r0, #28                                       <== NOT EXECUTED
3000b000:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
3000b2d4 <pipe_read>:                                                 
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
3000b2d4:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         <== NOT EXECUTED
3000b2d8:	e1a09001 	mov	r9, r1                                        <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
3000b2dc:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
3000b2e0:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
3000b2e4:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
3000b2e8:	e1a05002 	mov	r5, r2                                        <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
3000b2ec:	e5900028 	ldr	r0, [r0, #40]	; 0x28                          <== NOT EXECUTED
3000b2f0:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
3000b2f4:	e1a08003 	mov	r8, r3                                        <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
3000b2f8:	ebffe753 	bl	3000504c <rtems_semaphore_obtain>              <== NOT EXECUTED
3000b2fc:	e250a000 	subs	sl, r0, #0                                   <== NOT EXECUTED
3000b300:	13e07003 	mvnne	r7, #3                                      <== NOT EXECUTED
3000b304:	1a000027 	bne	3000b3a8 <pipe_read+0xd4>                     <== NOT EXECUTED
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
3000b308:	e3550000 	cmp	r5, #0                                        <== NOT EXECUTED
3000b30c:	01a07005 	moveq	r7, r5                                      <== NOT EXECUTED
3000b310:	01a06007 	moveq	r6, r7                                      <== NOT EXECUTED
3000b314:	0a00001f 	beq	3000b398 <pipe_read+0xc4>                     <== NOT EXECUTED
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
      if (ret != 0)                                                   
3000b318:	e1a0700a 	mov	r7, sl                                        <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
      PIPE_WAKEUPWRITERS(pipe);                                       
3000b31c:	e28db004 	add	fp, sp, #4                                    <== NOT EXECUTED
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
3000b320:	e594200c 	ldr	r2, [r4, #12]                                 <== NOT EXECUTED
3000b324:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
3000b328:	1a000021 	bne	3000b3b4 <pipe_read+0xe0>                     <== NOT EXECUTED
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
3000b32c:	e5943014 	ldr	r3, [r4, #20]                                 <== NOT EXECUTED
3000b330:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
3000b334:	0a00003d 	beq	3000b430 <pipe_read+0x15c>                    <== NOT EXECUTED
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
3000b338:	e5986014 	ldr	r6, [r8, #20]                                 <== NOT EXECUTED
3000b33c:	e2166001 	ands	r6, r6, #1                                   <== NOT EXECUTED
3000b340:	1a00003c 	bne	3000b438 <pipe_read+0x164>                    <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
3000b344:	e5943018 	ldr	r3, [r4, #24]                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
3000b348:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
3000b34c:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
3000b350:	e5843018 	str	r3, [r4, #24]                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
3000b354:	ebffe784 	bl	3000516c <rtems_semaphore_release>             <== NOT EXECUTED
      if (! PIPE_READWAIT(pipe))                                      
3000b358:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
3000b35c:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          <== NOT EXECUTED
3000b360:	eb0002ba 	bl	3000be50 <rtems_barrier_wait>                  <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
3000b364:	e1a01006 	mov	r1, r6                                        <== NOT EXECUTED
3000b368:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
3000b36c:	e2506000 	subs	r6, r0, #0                                   <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
3000b370:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
3000b374:	13e06003 	mvnne	r6, #3                                      <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
3000b378:	ebffe733 	bl	3000504c <rtems_semaphore_obtain>              <== NOT EXECUTED
3000b37c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
3000b380:	1a00002e 	bne	3000b440 <pipe_read+0x16c>                    <== NOT EXECUTED
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
3000b384:	e5943018 	ldr	r3, [r4, #24]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
3000b388:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
3000b38c:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
3000b390:	e5843018 	str	r3, [r4, #24]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
3000b394:	0affffe1 	beq	3000b320 <pipe_read+0x4c>                     <== NOT EXECUTED
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
3000b398:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
3000b39c:	ebffe772 	bl	3000516c <rtems_semaphore_release>             <== NOT EXECUTED
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
3000b3a0:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
3000b3a4:	d1a07006 	movle	r7, r6                                      <== NOT EXECUTED
    return read;                                                      
  return ret;                                                         
}                                                                     
3000b3a8:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
3000b3ac:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
3000b3b0:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
    chunk1 = pipe->Size - pipe->Start;                                
3000b3b4:	e5941008 	ldr	r1, [r4, #8]                                  <== NOT EXECUTED
3000b3b8:	e5943004 	ldr	r3, [r4, #4]                                  <== NOT EXECUTED
      if (ret != 0)                                                   
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
3000b3bc:	e06a6005 	rsb	r6, sl, r5                                    <== NOT EXECUTED
3000b3c0:	e1520006 	cmp	r2, r6                                        <== NOT EXECUTED
3000b3c4:	31a06002 	movcc	r6, r2                                      <== NOT EXECUTED
    chunk1 = pipe->Size - pipe->Start;                                
3000b3c8:	e0613003 	rsb	r3, r1, r3                                    <== NOT EXECUTED
    if (chunk > chunk1) {                                             
3000b3cc:	e1560003 	cmp	r6, r3                                        <== NOT EXECUTED
3000b3d0:	ca00001c 	bgt	3000b448 <pipe_read+0x174>                    <== NOT EXECUTED
      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);       
3000b3d4:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
3000b3d8:	e089000a 	add	r0, r9, sl                                    <== NOT EXECUTED
3000b3dc:	e0831001 	add	r1, r3, r1                                    <== NOT EXECUTED
3000b3e0:	e1a02006 	mov	r2, r6                                        <== NOT EXECUTED
3000b3e4:	eb00075b 	bl	3000d158 <memcpy>                              <== NOT EXECUTED
                                                                      
    pipe->Start += chunk;                                             
3000b3e8:	e5940008 	ldr	r0, [r4, #8]                                  <== NOT EXECUTED
    pipe->Start %= pipe->Size;                                        
3000b3ec:	e5941004 	ldr	r1, [r4, #4]                                  <== NOT EXECUTED
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
3000b3f0:	e0860000 	add	r0, r6, r0                                    <== NOT EXECUTED
3000b3f4:	e5840008 	str	r0, [r4, #8]                                  <== NOT EXECUTED
    pipe->Start %= pipe->Size;                                        
3000b3f8:	eb002aff 	bl	30015ffc <__umodsi3>                           <== NOT EXECUTED
    pipe->Length -= chunk;                                            
3000b3fc:	e594300c 	ldr	r3, [r4, #12]                                 <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
3000b400:	e5840008 	str	r0, [r4, #8]                                  <== NOT EXECUTED
    pipe->Length -= chunk;                                            
3000b404:	e0663003 	rsb	r3, r6, r3                                    <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
3000b408:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
      pipe->Start = 0;                                                
3000b40c:	05843008 	streq	r3, [r4, #8]                                <== NOT EXECUTED
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
    pipe->Length -= chunk;                                            
3000b410:	e584300c 	str	r3, [r4, #12]                                 <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
3000b414:	e594301c 	ldr	r3, [r4, #28]                                 <== NOT EXECUTED
3000b418:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
3000b41c:	1a000016 	bne	3000b47c <pipe_read+0x1a8>                    <== NOT EXECUTED
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
3000b420:	e0877006 	add	r7, r7, r6                                    <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
3000b424:	e1570005 	cmp	r7, r5                                        <== NOT EXECUTED
3000b428:	e1a0a007 	mov	sl, r7                                        <== NOT EXECUTED
3000b42c:	3affffbb 	bcc	3000b320 <pipe_read+0x4c>                     <== NOT EXECUTED
3000b430:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
3000b434:	eaffffd7 	b	3000b398 <pipe_read+0xc4>                       <== NOT EXECUTED
    while (PIPE_EMPTY(pipe)) {                                        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
3000b438:	e3e0600a 	mvn	r6, #10                                       <== NOT EXECUTED
3000b43c:	eaffffd5 	b	3000b398 <pipe_read+0xc4>                       <== 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)) {                                        
3000b440:	e3e06003 	mvn	r6, #3                                        <== NOT EXECUTED
3000b444:	eaffffd5 	b	3000b3a0 <pipe_read+0xcc>                       <== NOT EXECUTED
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
    chunk1 = pipe->Size - pipe->Start;                                
    if (chunk > chunk1) {                                             
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
3000b448:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
3000b44c:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
3000b450:	e0801001 	add	r1, r0, r1                                    <== NOT EXECUTED
3000b454:	e089000a 	add	r0, r9, sl                                    <== NOT EXECUTED
3000b458:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
3000b45c:	eb00073d 	bl	3000d158 <memcpy>                              <== NOT EXECUTED
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
3000b460:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
3000b464:	e5941000 	ldr	r1, [r4]                                      <== NOT EXECUTED
3000b468:	e08a0003 	add	r0, sl, r3                                    <== NOT EXECUTED
3000b46c:	e0890000 	add	r0, r9, r0                                    <== NOT EXECUTED
3000b470:	e0632006 	rsb	r2, r3, r6                                    <== NOT EXECUTED
3000b474:	eb000737 	bl	3000d158 <memcpy>                              <== NOT EXECUTED
3000b478:	eaffffda 	b	3000b3e8 <pipe_read+0x114>                      <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
      PIPE_WAKEUPWRITERS(pipe);                                       
3000b47c:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          <== NOT EXECUTED
3000b480:	e1a0100b 	mov	r1, fp                                        <== NOT EXECUTED
3000b484:	eb000258 	bl	3000bdec <rtems_barrier_release>               <== NOT EXECUTED
3000b488:	eaffffe4 	b	3000b420 <pipe_read+0x14c>                      <== NOT EXECUTED
                                                                      
3000b48c <pipe_release>:                                              
 */                                                                   
int pipe_release(                                                     
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
3000b48c:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     <== NOT EXECUTED
  pipe_control_t *pipe = *pipep;                                      
3000b490:	e5904000 	ldr	r4, [r0]                                      <== NOT EXECUTED
 */                                                                   
int pipe_release(                                                     
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
3000b494:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
  pipe_control_t *pipe = *pipep;                                      
  uint32_t mode;                                                      
                                                                      
  rtems_status_code sc;                                               
  sc = rtems_semaphore_obtain(pipe->Semaphore,                        
3000b498:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
 */                                                                   
int pipe_release(                                                     
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
3000b49c:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
3000b4a0:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
  pipe_control_t *pipe = *pipep;                                      
  uint32_t mode;                                                      
                                                                      
  rtems_status_code sc;                                               
  sc = rtems_semaphore_obtain(pipe->Semaphore,                        
3000b4a4:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
3000b4a8:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
3000b4ac:	ebffe6e6 	bl	3000504c <rtems_semaphore_obtain>              <== NOT EXECUTED
                              RTEMS_WAIT, RTEMS_NO_TIMEOUT);          
  /* WARN pipe not released! */                                       
  if(sc != RTEMS_SUCCESSFUL)                                          
3000b4b0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
3000b4b4:	1a000038 	bne	3000b59c <pipe_release+0x110>                 <== NOT EXECUTED
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
3000b4b8:	e5956014 	ldr	r6, [r5, #20]                                 <== NOT EXECUTED
  if (mode & LIBIO_FLAGS_READ)                                        
     pipe->Readers --;                                                
  if (mode & LIBIO_FLAGS_WRITE)                                       
     pipe->Writers --;                                                
                                                                      
  sc = rtems_semaphore_obtain(rtems_pipe_semaphore,                   
3000b4bc:	e59f50dc 	ldr	r5, [pc, #220]	; 3000b5a0 <pipe_release+0x114><== NOT EXECUTED
  /* WARN pipe not released! */                                       
  if(sc != RTEMS_SUCCESSFUL)                                          
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
  if (mode & LIBIO_FLAGS_READ)                                        
3000b4c0:	e3160002 	tst	r6, #2                                        <== NOT EXECUTED
     pipe->Readers --;                                                
3000b4c4:	15943010 	ldrne	r3, [r4, #16]                               <== NOT EXECUTED
                              RTEMS_WAIT, RTEMS_NO_TIMEOUT);          
  /* WARN pipe not released! */                                       
  if(sc != RTEMS_SUCCESSFUL)                                          
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
3000b4c8:	e2066006 	and	r6, r6, #6                                    <== NOT EXECUTED
  if (mode & LIBIO_FLAGS_READ)                                        
     pipe->Readers --;                                                
3000b4cc:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
3000b4d0:	15843010 	strne	r3, [r4, #16]                               <== NOT EXECUTED
  if (mode & LIBIO_FLAGS_WRITE)                                       
3000b4d4:	e3160004 	tst	r6, #4                                        <== NOT EXECUTED
     pipe->Writers --;                                                
3000b4d8:	15943014 	ldrne	r3, [r4, #20]                               <== NOT EXECUTED
                                                                      
  sc = rtems_semaphore_obtain(rtems_pipe_semaphore,                   
3000b4dc:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
  if (mode & LIBIO_FLAGS_READ)                                        
     pipe->Readers --;                                                
  if (mode & LIBIO_FLAGS_WRITE)                                       
     pipe->Writers --;                                                
3000b4e0:	12433001 	subne	r3, r3, #1                                  <== NOT EXECUTED
3000b4e4:	15843014 	strne	r3, [r4, #20]                               <== NOT EXECUTED
                                                                      
  sc = rtems_semaphore_obtain(rtems_pipe_semaphore,                   
3000b4e8:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
3000b4ec:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
3000b4f0:	ebffe6d5 	bl	3000504c <rtems_semaphore_obtain>              <== NOT EXECUTED
                              RTEMS_WAIT, RTEMS_NO_TIMEOUT);          
  /* WARN pipe not freed and pipep not set to NULL! */                
  if(sc != RTEMS_SUCCESSFUL)                                          
3000b4f4:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
3000b4f8:	1a000027 	bne	3000b59c <pipe_release+0x110>                 <== NOT EXECUTED
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
3000b4fc:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
3000b500:	ebffe719 	bl	3000516c <rtems_semaphore_release>             <== NOT EXECUTED
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
3000b504:	e5943010 	ldr	r3, [r4, #16]                                 <== NOT EXECUTED
3000b508:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
3000b50c:	0a00000d 	beq	3000b548 <pipe_release+0xbc>                  <== 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)            
3000b510:	e5942014 	ldr	r2, [r4, #20]                                 <== NOT EXECUTED
3000b514:	e2723001 	rsbs	r3, r2, #1                                   <== NOT EXECUTED
3000b518:	33a03000 	movcc	r3, #0                                      <== NOT EXECUTED
3000b51c:	e3560002 	cmp	r6, #2                                        <== NOT EXECUTED
3000b520:	03a03000 	moveq	r3, #0                                      <== NOT EXECUTED
3000b524:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
    PIPE_WAKEUPREADERS(pipe);                                         
3000b528:	1594002c 	ldrne	r0, [r4, #44]	; 0x2c                        <== NOT EXECUTED
3000b52c:	11a0100d 	movne	r1, sp                                      <== NOT EXECUTED
3000b530:	1b00022d 	blne	3000bdec <rtems_barrier_release>             <== NOT EXECUTED
                                                                      
  rtems_semaphore_release(rtems_pipe_semaphore);                      
3000b534:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
3000b538:	ebffe70b 	bl	3000516c <rtems_semaphore_release>             <== NOT EXECUTED
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return -errno;                                                    
#endif                                                                
                                                                      
  return 0;                                                           
}                                                                     
3000b53c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
3000b540:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
3000b544:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
  if(sc != RTEMS_SUCCESSFUL)                                          
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
3000b548:	e5948014 	ldr	r8, [r4, #20]                                 <== NOT EXECUTED
3000b54c:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
3000b550:	0a000005 	beq	3000b56c <pipe_release+0xe0>                  <== NOT EXECUTED
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
3000b554:	e3560004 	cmp	r6, #4                                        <== NOT EXECUTED
3000b558:	0afffff5 	beq	3000b534 <pipe_release+0xa8>                  <== NOT EXECUTED
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
3000b55c:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          <== NOT EXECUTED
3000b560:	e1a0100d 	mov	r1, sp                                        <== NOT EXECUTED
3000b564:	eb000220 	bl	3000bdec <rtems_barrier_release>               <== NOT EXECUTED
3000b568:	eafffff1 	b	3000b534 <pipe_release+0xa8>                    <== NOT EXECUTED
/* Called with rtems_pipe_semaphore held. */                          
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
3000b56c:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          <== NOT EXECUTED
3000b570:	eb000203 	bl	3000bd84 <rtems_barrier_delete>                <== NOT EXECUTED
  rtems_barrier_delete(pipe->writeBarrier);                           
3000b574:	e5940030 	ldr	r0, [r4, #48]	; 0x30                          <== NOT EXECUTED
3000b578:	eb000201 	bl	3000bd84 <rtems_barrier_delete>                <== NOT EXECUTED
  rtems_semaphore_delete(pipe->Semaphore);                            
3000b57c:	e5940028 	ldr	r0, [r4, #40]	; 0x28                          <== NOT EXECUTED
3000b580:	ebffe688 	bl	30004fa8 <rtems_semaphore_delete>              <== NOT EXECUTED
  free(pipe->Buffer);                                                 
3000b584:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
3000b588:	ebffd979 	bl	30001b74 <free>                                <== NOT EXECUTED
  free(pipe);                                                         
3000b58c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
3000b590:	ebffd977 	bl	30001b74 <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;                                                    
3000b594:	e5878000 	str	r8, [r7]                                      <== NOT EXECUTED
  if(sc != RTEMS_SUCCESSFUL)                                          
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
3000b598:	eaffffe5 	b	3000b534 <pipe_release+0xa8>                    <== 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);                                   
3000b59c:	ebffe849 	bl	300056c8 <rtems_fatal_error_occurred>          <== NOT EXECUTED
3000b5a0:	300196cc 	.word	0x300196cc                                  
                                                                      
3000b0d4 <pipe_write>:                                                
  pipe_control_t *pipe,                                               
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
3000b0d4:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         <== NOT EXECUTED
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
3000b0d8:	e2524000 	subs	r4, r2, #0                                   <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
3000b0dc:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
3000b0e0:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
3000b0e4:	e1a06001 	mov	r6, r1                                        <== NOT EXECUTED
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
3000b0e8:	01a07004 	moveq	r7, r4                                      <== NOT EXECUTED
3000b0ec:	1a000002 	bne	3000b0fc <pipe_write+0x28>                    <== NOT EXECUTED
#endif                                                                
                                                                      
  if (written > 0)                                                    
    return written;                                                   
  return ret;                                                         
}                                                                     
3000b0f0:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
3000b0f4:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
3000b0f8:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
3000b0fc:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
3000b100:	e5900028 	ldr	r0, [r0, #40]	; 0x28                          <== NOT EXECUTED
3000b104:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
3000b108:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
3000b10c:	ebffe7ce 	bl	3000504c <rtems_semaphore_obtain>              <== NOT EXECUTED
3000b110:	e2509000 	subs	r9, r0, #0                                   <== NOT EXECUTED
3000b114:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
3000b118:	13e07003 	mvnne	r7, #3                                      <== NOT EXECUTED
3000b11c:	1afffff3 	bne	3000b0f0 <pipe_write+0x1c>                    <== NOT EXECUTED
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
3000b120:	e5957010 	ldr	r7, [r5, #16]                                 <== NOT EXECUTED
3000b124:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
3000b128:	0a00004f 	beq	3000b26c <pipe_write+0x198>                   <== NOT EXECUTED
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
3000b12c:	e5958004 	ldr	r8, [r5, #4]                                  <== NOT EXECUTED
      }                                                               
      pipe->waitingWriters --;                                        
      if (ret != 0)                                                   
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
3000b130:	e1a07009 	mov	r7, r9                                        <== NOT EXECUTED
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
3000b134:	e1540008 	cmp	r4, r8                                        <== NOT EXECUTED
3000b138:	91a0a004 	movls	sl, r4                                      <== NOT EXECUTED
3000b13c:	83a0a001 	movhi	sl, #1                                      <== NOT EXECUTED
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
3000b140:	e28db004 	add	fp, sp, #4                                    <== 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) {                                
3000b144:	e595100c 	ldr	r1, [r5, #12]                                 <== NOT EXECUTED
3000b148:	e0612008 	rsb	r2, r1, r8                                    <== NOT EXECUTED
3000b14c:	e152000a 	cmp	r2, sl                                        <== NOT EXECUTED
3000b150:	2a000021 	bcs	3000b1dc <pipe_write+0x108>                   <== NOT EXECUTED
      if (LIBIO_NODELAY(iop)) {                                       
3000b154:	e5938014 	ldr	r8, [r3, #20]                                 <== NOT EXECUTED
3000b158:	e2188001 	ands	r8, r8, #1                                   <== NOT EXECUTED
3000b15c:	1a00004a 	bne	3000b28c <pipe_write+0x1b8>                   <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
3000b160:	e595201c 	ldr	r2, [r5, #28]                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
3000b164:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
3000b168:	e2822001 	add	r2, r2, #1                                    <== NOT EXECUTED
3000b16c:	e585201c 	str	r2, [r5, #28]                                 <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
3000b170:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
3000b174:	ebffe7fc 	bl	3000516c <rtems_semaphore_release>             <== NOT EXECUTED
      if (! PIPE_WRITEWAIT(pipe))                                     
3000b178:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
3000b17c:	e5950030 	ldr	r0, [r5, #48]	; 0x30                          <== NOT EXECUTED
3000b180:	eb000332 	bl	3000be50 <rtems_barrier_wait>                  <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
3000b184:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
3000b188:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
3000b18c:	e2508000 	subs	r8, r0, #0                                   <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
3000b190:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
3000b194:	13e08003 	mvnne	r8, #3                                      <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
3000b198:	ebffe7ab 	bl	3000504c <rtems_semaphore_obtain>              <== NOT EXECUTED
3000b19c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
3000b1a0:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
3000b1a4:	1a000036 	bne	3000b284 <pipe_write+0x1b0>                   <== NOT EXECUTED
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
3000b1a8:	e595201c 	ldr	r2, [r5, #28]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
3000b1ac:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
3000b1b0:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
3000b1b4:	e585201c 	str	r2, [r5, #28]                                 <== NOT EXECUTED
      if (ret != 0)                                                   
3000b1b8:	1a00002c 	bne	3000b270 <pipe_write+0x19c>                   <== NOT EXECUTED
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
3000b1bc:	e5952010 	ldr	r2, [r5, #16]                                 <== NOT EXECUTED
3000b1c0:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
3000b1c4:	0a000028 	beq	3000b26c <pipe_write+0x198>                   <== NOT EXECUTED
3000b1c8:	e5958004 	ldr	r8, [r5, #4]                                  <== 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) {                                
3000b1cc:	e595100c 	ldr	r1, [r5, #12]                                 <== NOT EXECUTED
3000b1d0:	e0612008 	rsb	r2, r1, r8                                    <== NOT EXECUTED
3000b1d4:	e152000a 	cmp	r2, sl                                        <== NOT EXECUTED
3000b1d8:	3affffdd 	bcc	3000b154 <pipe_write+0x80>                    <== NOT EXECUTED
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
3000b1dc:	e5950008 	ldr	r0, [r5, #8]                                  <== NOT EXECUTED
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
3000b1e0:	e069a004 	rsb	sl, r9, r4                                    <== NOT EXECUTED
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
3000b1e4:	e0810000 	add	r0, r1, r0                                    <== NOT EXECUTED
3000b1e8:	e1a01008 	mov	r1, r8                                        <== NOT EXECUTED
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
3000b1ec:	e152000a 	cmp	r2, sl                                        <== NOT EXECUTED
3000b1f0:	31a0a002 	movcc	sl, r2                                      <== NOT EXECUTED
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
3000b1f4:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
3000b1f8:	eb002b7f 	bl	30015ffc <__umodsi3>                           <== NOT EXECUTED
3000b1fc:	e0608008 	rsb	r8, r0, r8                                    <== NOT EXECUTED
    if (chunk > chunk1) {                                             
3000b200:	e15a0008 	cmp	sl, r8                                        <== NOT EXECUTED
3000b204:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
3000b208:	da000021 	ble	3000b294 <pipe_write+0x1c0>                   <== NOT EXECUTED
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
3000b20c:	e5952000 	ldr	r2, [r5]                                      <== NOT EXECUTED
3000b210:	e0861009 	add	r1, r6, r9                                    <== NOT EXECUTED
3000b214:	e0820000 	add	r0, r2, r0                                    <== NOT EXECUTED
3000b218:	e1a02008 	mov	r2, r8                                        <== NOT EXECUTED
3000b21c:	eb0007cd 	bl	3000d158 <memcpy>                              <== NOT EXECUTED
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
3000b220:	e0881009 	add	r1, r8, r9                                    <== NOT EXECUTED
3000b224:	e0861001 	add	r1, r6, r1                                    <== NOT EXECUTED
3000b228:	e068200a 	rsb	r2, r8, sl                                    <== NOT EXECUTED
3000b22c:	e5950000 	ldr	r0, [r5]                                      <== NOT EXECUTED
3000b230:	eb0007c8 	bl	3000d158 <memcpy>                              <== NOT EXECUTED
3000b234:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
3000b238:	e595200c 	ldr	r2, [r5, #12]                                 <== NOT EXECUTED
    if (pipe->waitingReaders > 0)                                     
3000b23c:	e5951018 	ldr	r1, [r5, #24]                                 <== NOT EXECUTED
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
3000b240:	e082200a 	add	r2, r2, sl                                    <== NOT EXECUTED
    if (pipe->waitingReaders > 0)                                     
3000b244:	e3510000 	cmp	r1, #0                                        <== NOT EXECUTED
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
3000b248:	e585200c 	str	r2, [r5, #12]                                 <== NOT EXECUTED
    if (pipe->waitingReaders > 0)                                     
3000b24c:	1a000018 	bne	3000b2b4 <pipe_write+0x1e0>                   <== NOT EXECUTED
      PIPE_WAKEUPREADERS(pipe);                                       
    written += chunk;                                                 
3000b250:	e087700a 	add	r7, r7, sl                                    <== NOT EXECUTED
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
3000b254:	e1540007 	cmp	r4, r7                                        <== NOT EXECUTED
3000b258:	e1a09007 	mov	r9, r7                                        <== NOT EXECUTED
3000b25c:	9a00001a 	bls	3000b2cc <pipe_write+0x1f8>                   <== NOT EXECUTED
3000b260:	e5958004 	ldr	r8, [r5, #4]                                  <== NOT EXECUTED
3000b264:	e3a0a001 	mov	sl, #1                                        <== NOT EXECUTED
3000b268:	eaffffb5 	b	3000b144 <pipe_write+0x70>                      <== NOT EXECUTED
3000b26c:	e3e0801f 	mvn	r8, #31                                       <== NOT EXECUTED
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
3000b270:	e5950028 	ldr	r0, [r5, #40]	; 0x28                          <== NOT EXECUTED
3000b274:	ebffe7bc 	bl	3000516c <rtems_semaphore_release>             <== NOT EXECUTED
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
3000b278:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
3000b27c:	d1a07008 	movle	r7, r8                                      <== NOT EXECUTED
3000b280:	eaffff9a 	b	3000b0f0 <pipe_write+0x1c>                      <== 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)) {                                        
3000b284:	e3e08003 	mvn	r8, #3                                        <== NOT EXECUTED
3000b288:	eafffffa 	b	3000b278 <pipe_write+0x1a4>                     <== 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)) {                                       
3000b28c:	e3e0800a 	mvn	r8, #10                                       <== NOT EXECUTED
3000b290:	eafffff6 	b	3000b270 <pipe_write+0x19c>                     <== 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);
3000b294:	e5952000 	ldr	r2, [r5]                                      <== NOT EXECUTED
3000b298:	e0861009 	add	r1, r6, r9                                    <== NOT EXECUTED
3000b29c:	e0820000 	add	r0, r2, r0                                    <== NOT EXECUTED
3000b2a0:	e1a0200a 	mov	r2, sl                                        <== NOT EXECUTED
3000b2a4:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
3000b2a8:	eb0007aa 	bl	3000d158 <memcpy>                              <== NOT EXECUTED
3000b2ac:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
3000b2b0:	eaffffe0 	b	3000b238 <pipe_write+0x164>                     <== NOT EXECUTED
                                                                      
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
3000b2b4:	e595002c 	ldr	r0, [r5, #44]	; 0x2c                          <== NOT EXECUTED
3000b2b8:	e1a0100b 	mov	r1, fp                                        <== NOT EXECUTED
3000b2bc:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
3000b2c0:	eb0002c9 	bl	3000bdec <rtems_barrier_release>               <== NOT EXECUTED
3000b2c4:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
3000b2c8:	eaffffe0 	b	3000b250 <pipe_write+0x17c>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
3000b2cc:	e3a08000 	mov	r8, #0                                        <== NOT EXECUTED
3000b2d0:	eaffffe6 	b	3000b270 <pipe_write+0x19c>                     <== NOT EXECUTED
                                                                      
3001788c <read>:                                                      
)                                                                     
{                                                                     
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
3001788c:	e59f30bc 	ldr	r3, [pc, #188]	; 30017950 <read+0xc4>         
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
30017890:	e92d4810 	push	{r4, fp, lr}                                 
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
30017894:	e5933000 	ldr	r3, [r3]                                      
30017898:	e1500003 	cmp	r0, r3                                        
3001789c:	2a00001c 	bcs	30017914 <read+0x88>                          
  iop = rtems_libio_iop( fd );                                        
300178a0:	e59f40ac 	ldr	r4, [pc, #172]	; 30017954 <read+0xc8>         
300178a4:	e5944000 	ldr	r4, [r4]                                      
300178a8:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_is_open( iop );                                   
300178ac:	e5940014 	ldr	r0, [r4, #20]                                 
300178b0:	e3100c01 	tst	r0, #256	; 0x100                              
300178b4:	0a000016 	beq	30017914 <read+0x88>                          
  rtems_libio_check_buffer( buffer );                                 
300178b8:	e3510000 	cmp	r1, #0                                        
300178bc:	0a000019 	beq	30017928 <read+0x9c>                          
  rtems_libio_check_count( count );                                   
300178c0:	e3520000 	cmp	r2, #0                                        
300178c4:	01a00002 	moveq	r0, r2                                      
300178c8:	08bd8810 	popeq	{r4, fp, pc}                                
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
300178cc:	e3100002 	tst	r0, #2                                        
300178d0:	0a000014 	beq	30017928 <read+0x9c>                          
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
                                                                      
  if ( !iop->handlers->read_h )                                       
300178d4:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
300178d8:	e5933008 	ldr	r3, [r3, #8]                                  
300178dc:	e3530000 	cmp	r3, #0                                        
300178e0:	0a000015 	beq	3001793c <read+0xb0>                          
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  rc = (*iop->handlers->read_h)( iop, buffer, count );                
300178e4:	e1a00004 	mov	r0, r4                                        
300178e8:	e1a0e00f 	mov	lr, pc                                        
300178ec:	e12fff13 	bx	r3                                             
                                                                      
  if ( rc > 0 )                                                       
300178f0:	e3500000 	cmp	r0, #0                                        
300178f4:	d8bd8810 	pople	{r4, fp, pc}                                
    iop->offset += rc;                                                
300178f8:	e284c00c 	add	ip, r4, #12                                   
300178fc:	e89c1800 	ldm	ip, {fp, ip}                                  
30017900:	e09b2000 	adds	r2, fp, r0                                   
30017904:	e0ac3fc0 	adc	r3, ip, r0, asr #31                           
30017908:	e584200c 	str	r2, [r4, #12]                                 
3001790c:	e5843010 	str	r3, [r4, #16]                                 
                                                                      
  return rc;                                                          
}                                                                     
30017910:	e8bd8810 	pop	{r4, fp, pc}                                  
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
30017914:	ebffd401 	bl	3000c920 <__errno>                             
30017918:	e3a03009 	mov	r3, #9                                        
3001791c:	e5803000 	str	r3, [r0]                                      
30017920:	e3e00000 	mvn	r0, #0                                        
30017924:	e8bd8810 	pop	{r4, fp, pc}                                  
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
30017928:	ebffd3fc 	bl	3000c920 <__errno>                             <== NOT EXECUTED
3001792c:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
30017930:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30017934:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30017938:	e8bd8810 	pop	{r4, fp, pc}                                  <== NOT EXECUTED
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
                                                                      
  if ( !iop->handlers->read_h )                                       
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
3001793c:	ebffd3f7 	bl	3000c920 <__errno>                             <== NOT EXECUTED
30017940:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
30017944:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30017948:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
3001794c:	e8bd8810 	pop	{r4, fp, pc}                                  <== NOT EXECUTED
30017950:	30018e24 	.word	0x30018e24                                  
30017954:	30019950 	.word	0x30019950                                  
                                                                      
30026c0c <readlink>:                                                  
ssize_t readlink(                                                     
  const char *pathname,                                               
  char       *buf,                                                    
  size_t      bufsize                                                 
)                                                                     
{                                                                     
30026c0c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
30026c10:	e2516000 	subs	r6, r1, #0                                   
ssize_t readlink(                                                     
  const char *pathname,                                               
  char       *buf,                                                    
  size_t      bufsize                                                 
)                                                                     
{                                                                     
30026c14:	e24dd018 	sub	sp, sp, #24                                   
30026c18:	e1a05002 	mov	r5, r2                                        
30026c1c:	e1a07000 	mov	r7, r0                                        
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
30026c20:	0a000032 	beq	30026cf0 <readlink+0xe4>                      
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
30026c24:	eb0075b6 	bl	30044304 <strlen>                              
30026c28:	e28d4004 	add	r4, sp, #4                                    
30026c2c:	e3a0c000 	mov	ip, #0                                        
30026c30:	e1a01000 	mov	r1, r0                                        
30026c34:	e1a0200c 	mov	r2, ip                                        
30026c38:	e1a00007 	mov	r0, r7                                        
30026c3c:	e1a03004 	mov	r3, r4                                        
30026c40:	e58dc000 	str	ip, [sp]                                      
30026c44:	ebff77d4 	bl	30004b9c <rtems_filesystem_evaluate_path>      
                                           0, &loc, false );          
  if ( result != 0 )                                                  
30026c48:	e3500000 	cmp	r0, #0                                        
30026c4c:	1a000025 	bne	30026ce8 <readlink+0xdc>                      
     return -1;                                                       
                                                                      
  if ( !loc.ops->node_type_h ){                                       
30026c50:	e59d2010 	ldr	r2, [sp, #16]                                 
30026c54:	e5923010 	ldr	r3, [r2, #16]                                 
30026c58:	e3530000 	cmp	r3, #0                                        
30026c5c:	0a000019 	beq	30026cc8 <readlink+0xbc>                      
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
30026c60:	e1a00004 	mov	r0, r4                                        
30026c64:	e1a0e00f 	mov	lr, pc                                        
30026c68:	e12fff13 	bx	r3                                             
30026c6c:	e3500004 	cmp	r0, #4                                        
30026c70:	1a000023 	bne	30026d04 <readlink+0xf8>                      
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  if ( !loc.ops->readlink_h ){                                        
30026c74:	e59d2010 	ldr	r2, [sp, #16]                                 
30026c78:	e592303c 	ldr	r3, [r2, #60]	; 0x3c                          
30026c7c:	e3530000 	cmp	r3, #0                                        
30026c80:	0a00002c 	beq	30026d38 <readlink+0x12c>                     
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
30026c84:	e1a02005 	mov	r2, r5                                        
30026c88:	e1a01006 	mov	r1, r6                                        
30026c8c:	e1a00004 	mov	r0, r4                                        
30026c90:	e1a0e00f 	mov	lr, pc                                        
30026c94:	e12fff13 	bx	r3                                             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
30026c98:	e59d3010 	ldr	r3, [sp, #16]                                 
  if ( !loc.ops->readlink_h ){                                        
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
30026c9c:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
30026ca0:	e3530000 	cmp	r3, #0                                        
30026ca4:	0a000004 	beq	30026cbc <readlink+0xb0>                      
30026ca8:	e593301c 	ldr	r3, [r3, #28]                                 
30026cac:	e3530000 	cmp	r3, #0                                        
30026cb0:	11a00004 	movne	r0, r4                                      
30026cb4:	11a0e00f 	movne	lr, pc                                      
30026cb8:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
30026cbc:	e1a00005 	mov	r0, r5                                        
30026cc0:	e28dd018 	add	sp, sp, #24                                   
30026cc4:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
                                           0, &loc, false );          
  if ( result != 0 )                                                  
     return -1;                                                       
                                                                      
  if ( !loc.ops->node_type_h ){                                       
    rtems_filesystem_freenode( &loc );                                
30026cc8:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
30026ccc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30026cd0:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
30026cd4:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
30026cd8:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
30026cdc:	eb005b0e 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30026ce0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
30026ce4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30026ce8:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
30026cec:	eafffff2 	b	30026cbc <readlink+0xb0>                        <== NOT EXECUTED
{                                                                     
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
    rtems_set_errno_and_return_minus_one( EFAULT );                   
30026cf0:	eb005b09 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30026cf4:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
30026cf8:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30026cfc:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
30026d00:	eaffffed 	b	30026cbc <readlink+0xb0>                        <== 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 );                                
30026d04:	e59d3010 	ldr	r3, [sp, #16]                                 
30026d08:	e3530000 	cmp	r3, #0                                        
30026d0c:	0a000004 	beq	30026d24 <readlink+0x118>                     
30026d10:	e593301c 	ldr	r3, [r3, #28]                                 
30026d14:	e3530000 	cmp	r3, #0                                        
30026d18:	11a00004 	movne	r0, r4                                      
30026d1c:	11a0e00f 	movne	lr, pc                                      
30026d20:	112fff13 	bxne	r3                                           
    rtems_set_errno_and_return_minus_one( EINVAL );                   
30026d24:	eb005afc 	bl	3003d91c <__errno>                             
30026d28:	e3a03016 	mov	r3, #22                                       
30026d2c:	e5803000 	str	r3, [r0]                                      
30026d30:	e3e05000 	mvn	r5, #0                                        
30026d34:	eaffffe0 	b	30026cbc <readlink+0xb0>                        
  }                                                                   
                                                                      
  if ( !loc.ops->readlink_h ){                                        
    rtems_filesystem_freenode( &loc );                                
30026d38:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
30026d3c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30026d40:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
30026d44:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
30026d48:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
30026d4c:	eb005af2 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30026d50:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
30026d54:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30026d58:	e3e05000 	mvn	r5, #0                                        <== NOT EXECUTED
30026d5c:	eaffffd6 	b	30026cbc <readlink+0xb0>                        <== NOT EXECUTED
                                                                      
30003ccc <readv>:                                                     
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
30003ccc:	e59f3160 	ldr	r3, [pc, #352]	; 30003e34 <readv+0x168>       
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
30003cd0:	e92d49f0 	push	{r4, r5, r6, r7, r8, fp, lr}                 
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
30003cd4:	e5933000 	ldr	r3, [r3]                                      
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
30003cd8:	e1a04002 	mov	r4, r2                                        
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
30003cdc:	e1500003 	cmp	r0, r3                                        
30003ce0:	2a000049 	bcs	30003e0c <readv+0x140>                        
  iop = rtems_libio_iop( fd );                                        
30003ce4:	e59f314c 	ldr	r3, [pc, #332]	; 30003e38 <readv+0x16c>       
30003ce8:	e5936000 	ldr	r6, [r3]                                      
30003cec:	e0866300 	add	r6, r6, r0, lsl #6                            
  rtems_libio_check_is_open( iop );                                   
30003cf0:	e5963014 	ldr	r3, [r6, #20]                                 
30003cf4:	e3130c01 	tst	r3, #256	; 0x100                              
30003cf8:	0a000043 	beq	30003e0c <readv+0x140>                        
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
30003cfc:	e3130002 	tst	r3, #2                                        
30003d00:	0a00003b 	beq	30003df4 <readv+0x128>                        
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
30003d04:	e3510000 	cmp	r1, #0                                        
30003d08:	0a000039 	beq	30003df4 <readv+0x128>                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
30003d0c:	e3520000 	cmp	r2, #0                                        
30003d10:	da000037 	ble	30003df4 <readv+0x128>                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
30003d14:	e3520b01 	cmp	r2, #1024	; 0x400                             
30003d18:	ca000035 	bgt	30003df4 <readv+0x128>                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !iop->handlers->read_h )                                       
30003d1c:	e596303c 	ldr	r3, [r6, #60]	; 0x3c                          
30003d20:	e5933008 	ldr	r3, [r3, #8]                                  
30003d24:	e3530000 	cmp	r3, #0                                        
30003d28:	0a00003c 	beq	30003e20 <readv+0x154>                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
30003d2c:	e1a05001 	mov	r5, r1                                        
30003d30:	e3a01000 	mov	r1, #0                                        
30003d34:	e1a02005 	mov	r2, r5                                        
30003d38:	e3a07001 	mov	r7, #1                                        
30003d3c:	e1a00001 	mov	r0, r1                                        
30003d40:	ea000000 	b	30003d48 <readv+0x7c>                           
   *  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++ ) {                           
30003d44:	e1a00008 	mov	r0, r8                                        
    ssize_t old;                                                      
                                                                      
    if ( !iov[v].iov_base )                                           
30003d48:	e592c000 	ldr	ip, [r2]                                      
   *  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++ ) {                           
30003d4c:	e2811001 	add	r1, r1, #1                                    
    ssize_t old;                                                      
                                                                      
    if ( !iov[v].iov_base )                                           
30003d50:	e35c0000 	cmp	ip, #0                                        
30003d54:	0a000026 	beq	30003df4 <readv+0x128>                        
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
30003d58:	e592c004 	ldr	ip, [r2, #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++ ) {                           
30003d5c:	e2822008 	add	r2, r2, #8                                    
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
30003d60:	e080800c 	add	r8, r0, ip                                    
    if ( total < old )                                                
30003d64:	e1580000 	cmp	r8, r0                                        
30003d68:	ba000021 	blt	30003df4 <readv+0x128>                        
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
30003d6c:	e35c0000 	cmp	ip, #0                                        
30003d70:	13a07000 	movne	r7, #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++ ) {                           
30003d74:	e1540001 	cmp	r4, r1                                        
30003d78:	cafffff1 	bgt	30003d44 <readv+0x78>                         
  /*                                                                  
   *  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 ) {                                          
30003d7c:	e3570000 	cmp	r7, #0                                        
30003d80:	13a08000 	movne	r8, #0                                      
30003d84:	1a00001e 	bne	30003e04 <readv+0x138>                        
30003d88:	e1a08007 	mov	r8, r7                                        
30003d8c:	ea00000f 	b	30003dd0 <readv+0x104>                          
    bytes = (*iop->handlers->read_h)( iop, iov[v].iov_base, iov[v].iov_len );
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
30003d90:	0a000006 	beq	30003db0 <readv+0xe4>                         
      iop->offset += bytes;                                           
30003d94:	e286c00c 	add	ip, r6, #12                                   
30003d98:	e89c1800 	ldm	ip, {fp, ip}                                  
30003d9c:	e09b2000 	adds	r2, fp, r0                                   
30003da0:	e0ac3fc0 	adc	r3, ip, r0, asr #31                           
30003da4:	e586200c 	str	r2, [r6, #12]                                 
30003da8:	e5863010 	str	r3, [r6, #16]                                 
      total       += bytes;                                           
30003dac:	e0888000 	add	r8, r8, r0                                    
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
30003db0:	e5953004 	ldr	r3, [r5, #4]                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
30003db4:	e2855008 	add	r5, r5, #8                                    
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
30003db8:	e1500003 	cmp	r0, r3                                        
30003dbc:	1a000010 	bne	30003e04 <readv+0x138>                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
30003dc0:	e1540007 	cmp	r4, r7                                        
30003dc4:	da00000e 	ble	30003e04 <readv+0x138>                        
30003dc8:	e596303c 	ldr	r3, [r6, #60]	; 0x3c                          
30003dcc:	e5933008 	ldr	r3, [r3, #8]                                  
    bytes = (*iop->handlers->read_h)( iop, iov[v].iov_base, iov[v].iov_len );
30003dd0:	e8950006 	ldm	r5, {r1, r2}                                  
30003dd4:	e1a00006 	mov	r0, r6                                        
30003dd8:	e1a0e00f 	mov	lr, pc                                        
30003ddc:	e12fff13 	bx	r3                                             
                                                                      
    if ( bytes < 0 )                                                  
30003de0:	e3500000 	cmp	r0, #0                                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
30003de4:	e2877001 	add	r7, r7, #1                                    
    bytes = (*iop->handlers->read_h)( iop, iov[v].iov_base, iov[v].iov_len );
                                                                      
    if ( bytes < 0 )                                                  
30003de8:	aaffffe8 	bge	30003d90 <readv+0xc4>                         
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
30003dec:	e3e08000 	mvn	r8, #0                                        <== NOT EXECUTED
30003df0:	ea000003 	b	30003e04 <readv+0x138>                          <== NOT EXECUTED
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old )                                                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
30003df4:	eb002c9a 	bl	3000f064 <__errno>                             
30003df8:	e3a03016 	mov	r3, #22                                       
30003dfc:	e5803000 	str	r3, [r0]                                      
30003e00:	e3e08000 	mvn	r8, #0                                        
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
30003e04:	e1a00008 	mov	r0, r8                                        
30003e08:	e8bd89f0 	pop	{r4, r5, r6, r7, r8, fp, pc}                  
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
30003e0c:	eb002c94 	bl	3000f064 <__errno>                             <== NOT EXECUTED
30003e10:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
30003e14:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30003e18:	e3e08000 	mvn	r8, #0                                        <== NOT EXECUTED
30003e1c:	eafffff8 	b	30003e04 <readv+0x138>                          <== 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 );                  
30003e20:	eb002c8f 	bl	3000f064 <__errno>                             <== NOT EXECUTED
30003e24:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
30003e28:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30003e2c:	e3e08000 	mvn	r8, #0                                        <== NOT EXECUTED
30003e30:	eafffff3 	b	30003e04 <readv+0x138>                          <== NOT EXECUTED
30003e34:	3001da3c 	.word	0x3001da3c                                  
30003e38:	3001ed3c 	.word	0x3001ed3c                                  
                                                                      
300179b0 <realloc>:                                                   
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
  uintptr_t resize;                                                   
                                                                      
  MSBUMP(realloc_calls, 1);                                           
300179b0:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
300179b4:	e59f2118 	ldr	r2, [pc, #280]	; 30017ad4 <realloc+0x124>     
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
  uintptr_t resize;                                                   
                                                                      
  MSBUMP(realloc_calls, 1);                                           
300179b8:	e59f5118 	ldr	r5, [pc, #280]	; 30017ad8 <realloc+0x128>     
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
300179bc:	e5922000 	ldr	r2, [r2]                                      
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
  uintptr_t resize;                                                   
                                                                      
  MSBUMP(realloc_calls, 1);                                           
300179c0:	e5953010 	ldr	r3, [r5, #16]                                 
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
300179c4:	e3520003 	cmp	r2, #3                                        
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
  uintptr_t resize;                                                   
                                                                      
  MSBUMP(realloc_calls, 1);                                           
300179c8:	e2833001 	add	r3, r3, #1                                    
300179cc:	e24dd004 	sub	sp, sp, #4                                    
300179d0:	e5853010 	str	r3, [r5, #16]                                 
300179d4:	e1a04000 	mov	r4, r0                                        
300179d8:	e1a06001 	mov	r6, r1                                        
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
300179dc:	0a000020 	beq	30017a64 <realloc+0xb4>                       
  }                                                                   
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
300179e0:	e3540000 	cmp	r4, #0                                        
300179e4:	0a00001a 	beq	30017a54 <realloc+0xa4>                       
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
300179e8:	e3560000 	cmp	r6, #0                                        
300179ec:	0a00000f 	beq	30017a30 <realloc+0x80>                       
    free( ptr );                                                      
    return (void *) 0;                                                
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
300179f0:	e59f70e4 	ldr	r7, [pc, #228]	; 30017adc <realloc+0x12c>     
300179f4:	e1a01004 	mov	r1, r4                                        
300179f8:	e5970000 	ldr	r0, [r7]                                      
300179fc:	e1a0200d 	mov	r2, sp                                        
30017a00:	eb00006b 	bl	30017bb4 <_Protected_heap_Get_block_size>      
30017a04:	e2508000 	subs	r8, r0, #0                                   
30017a08:	0a00000c 	beq	30017a40 <realloc+0x90>                       
  #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 ) ) {
30017a0c:	e5970000 	ldr	r0, [r7]                                      
30017a10:	e1a01004 	mov	r1, r4                                        
30017a14:	e1a02006 	mov	r2, r6                                        
30017a18:	eb000076 	bl	30017bf8 <_Protected_heap_Resize_block>        
30017a1c:	e3500000 	cmp	r0, #0                                        
30017a20:	0a00001b 	beq	30017a94 <realloc+0xe4>                       
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
30017a24:	e1a00004 	mov	r0, r4                                        
30017a28:	e28dd004 	add	sp, sp, #4                                    
30017a2c:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
    free( ptr );                                                      
30017a30:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
30017a34:	ebffa84e 	bl	30001b74 <free>                                <== NOT EXECUTED
30017a38:	e1a04006 	mov	r4, r6                                        <== NOT EXECUTED
    return (void *) 0;                                                
30017a3c:	eafffff8 	b	30017a24 <realloc+0x74>                         <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
    errno = EINVAL;                                                   
30017a40:	ebffd3b6 	bl	3000c920 <__errno>                             
30017a44:	e3a03016 	mov	r3, #22                                       
30017a48:	e5803000 	str	r3, [r0]                                      
30017a4c:	e1a04008 	mov	r4, r8                                        
    return (void *) 0;                                                
30017a50:	eafffff3 	b	30017a24 <realloc+0x74>                         
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
30017a54:	e1a00006 	mov	r0, r6                                        
30017a58:	ebffa900 	bl	30001e60 <malloc>                              
30017a5c:	e1a04000 	mov	r4, r0                                        
30017a60:	eaffffef 	b	30017a24 <realloc+0x74>                         
  /*                                                                  
   *  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)                           
30017a64:	e59f3074 	ldr	r3, [pc, #116]	; 30017ae0 <realloc+0x130>     
30017a68:	e5933000 	ldr	r3, [r3]                                      
30017a6c:	e3530000 	cmp	r3, #0                                        
30017a70:	0a000001 	beq	30017a7c <realloc+0xcc>                       
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
30017a74:	e3a04000 	mov	r4, #0                                        
30017a78:	eaffffe9 	b	30017a24 <realloc+0x74>                         
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
    if (_Thread_Dispatch_disable_level > 0)                           
      return (void *) 0;                                              
                                                                      
    if (_ISR_Nest_level > 0)                                          
30017a7c:	e59f3060 	ldr	r3, [pc, #96]	; 30017ae4 <realloc+0x134>      
30017a80:	e5933000 	ldr	r3, [r3]                                      
30017a84:	e3530000 	cmp	r3, #0                                        
30017a88:	0affffd4 	beq	300179e0 <realloc+0x30>                       
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
30017a8c:	e3a04000 	mov	r4, #0                                        <== NOT EXECUTED
30017a90:	eaffffe3 	b	30017a24 <realloc+0x74>                         <== NOT EXECUTED
   *  There used to be a free on this error case but it is wrong to   
   *  free the memory per OpenGroup Single UNIX Specification V2      
   *  and the C Standard.                                             
   */                                                                 
                                                                      
  new_area = malloc( size );                                          
30017a94:	e1a00006 	mov	r0, r6                                        
30017a98:	ebffa8f0 	bl	30001e60 <malloc>                              
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
30017a9c:	e5953004 	ldr	r3, [r5, #4]                                  
                                                                      
  if ( !new_area ) {                                                  
30017aa0:	e2507000 	subs	r7, r0, #0                                   
   *  and the C Standard.                                             
   */                                                                 
                                                                      
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
30017aa4:	e2433001 	sub	r3, r3, #1                                    
30017aa8:	e5853004 	str	r3, [r5, #4]                                  
                                                                      
  if ( !new_area ) {                                                  
30017aac:	0afffff0 	beq	30017a74 <realloc+0xc4>                       
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
30017ab0:	e59d2000 	ldr	r2, [sp]                                      
30017ab4:	e1a01004 	mov	r1, r4                                        
30017ab8:	e1560002 	cmp	r6, r2                                        
30017abc:	31a02006 	movcc	r2, r6                                      
30017ac0:	ebffd5a4 	bl	3000d158 <memcpy>                              
  free( ptr );                                                        
30017ac4:	e1a00004 	mov	r0, r4                                        
30017ac8:	ebffa829 	bl	30001b74 <free>                                
30017acc:	e1a04007 	mov	r4, r7                                        
                                                                      
  return new_area;                                                    
30017ad0:	eaffffd3 	b	30017a24 <realloc+0x74>                         
30017ad4:	30019c70 	.word	0x30019c70                                  
30017ad8:	30019968 	.word	0x30019968                                  
30017adc:	30018e30 	.word	0x30018e30                                  
30017ae0:	30019acc 	.word	0x30019acc                                  
30017ae4:	30019b5c 	.word	0x30019b5c                                  
                                                                      
30026d60 <rmdir>:                                                     
#include <rtems/seterr.h>                                             
                                                                      
int rmdir(                                                            
  const char *pathname                                                
)                                                                     
{                                                                     
30026d60:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
30026d64:	e24dd02c 	sub	sp, sp, #44	; 0x2c                            
30026d68:	e1a05000 	mov	r5, r0                                        
                                                                      
  /*                                                                  
   *  Get the parent node of the node we wish to remove. Find the parent path.
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
30026d6c:	ebff7734 	bl	30004a44 <rtems_filesystem_dirname>            
                                                                      
  if ( parentpathlen == 0 )                                           
30026d70:	e2507000 	subs	r7, r0, #0                                   
30026d74:	1a00007b 	bne	30026f68 <rmdir+0x208>                        
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
30026d78:	e5d53000 	ldrb	r3, [r5]                                     
30026d7c:	e353002f 	cmp	r3, #47	; 0x2f                                
30026d80:	1353005c 	cmpne	r3, #92	; 0x5c                              
30026d84:	1a000049 	bne	30026eb0 <rmdir+0x150>                        
30026d88:	e59f3278 	ldr	r3, [pc, #632]	; 30027008 <rmdir+0x2a8>       
30026d8c:	e28d4018 	add	r4, sp, #24                                   
30026d90:	e593c000 	ldr	ip, [r3]                                      
30026d94:	e3a06000 	mov	r6, #0                                        
30026d98:	e28cc018 	add	ip, ip, #24                                   
30026d9c:	e1a0e004 	mov	lr, r4                                        
30026da0:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
30026da4:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
30026da8:	e59c2000 	ldr	r2, [ip]                                      
30026dac:	e58e2000 	str	r2, [lr]                                      
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
30026db0:	e28dc004 	add	ip, sp, #4                                    
30026db4:	e1a0e004 	mov	lr, r4                                        
30026db8:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
30026dbc:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
30026dc0:	e59e3000 	ldr	r3, [lr]                                      
  name = pathname + parentpathlen;                                    
30026dc4:	e0855007 	add	r5, r5, r7                                    
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
30026dc8:	e58c3000 	str	r3, [ip]                                      
  name = pathname + parentpathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
30026dcc:	e1a00005 	mov	r0, r5                                        
30026dd0:	eb00754b 	bl	30044304 <strlen>                              
30026dd4:	e1a01000 	mov	r1, r0                                        
30026dd8:	e1a00005 	mov	r0, r5                                        
30026ddc:	ebff7704 	bl	300049f4 <rtems_filesystem_prefix_separators>  
30026de0:	e0857000 	add	r7, r5, r0                                    
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
30026de4:	e1a00007 	mov	r0, r7                                        
30026de8:	eb007545 	bl	30044304 <strlen>                              
30026dec:	e28d5004 	add	r5, sp, #4                                    
30026df0:	e3a0c000 	mov	ip, #0                                        
30026df4:	e1a01000 	mov	r1, r0                                        
30026df8:	e1a0200c 	mov	r2, ip                                        
30026dfc:	e1a00007 	mov	r0, r7                                        
30026e00:	e1a03005 	mov	r3, r5                                        
30026e04:	e58dc000 	str	ip, [sp]                                      
30026e08:	ebff7727 	bl	30004aac <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
30026e0c:	e3500000 	cmp	r0, #0                                        
30026e10:	1a000045 	bne	30026f2c <rmdir+0x1cc>                        
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
                                                                      
  if ( !loc.ops->node_type_h ){                                       
30026e14:	e59d2010 	ldr	r2, [sp, #16]                                 
30026e18:	e5923010 	ldr	r3, [r2, #16]                                 
30026e1c:	e3530000 	cmp	r3, #0                                        
30026e20:	0a000074 	beq	30026ff8 <rmdir+0x298>                        
    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 ){
30026e24:	e1a00005 	mov	r0, r5                                        
30026e28:	e1a0e00f 	mov	lr, pc                                        
30026e2c:	e12fff13 	bx	r3                                             
30026e30:	e3500001 	cmp	r0, #1                                        
30026e34:	1a000025 	bne	30026ed0 <rmdir+0x170>                        
                                                                      
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  if ( !loc.handlers->rmnod_h ){                                      
30026e38:	e59d300c 	ldr	r3, [sp, #12]                                 
30026e3c:	e5933034 	ldr	r3, [r3, #52]	; 0x34                          
30026e40:	e3530000 	cmp	r3, #0                                        
30026e44:	0a000053 	beq	30026f98 <rmdir+0x238>                        
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
30026e48:	e1a00004 	mov	r0, r4                                        
30026e4c:	e1a01005 	mov	r1, r5                                        
30026e50:	e1a0e00f 	mov	lr, pc                                        
30026e54:	e12fff13 	bx	r3                                             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
30026e58:	e59d3010 	ldr	r3, [sp, #16]                                 
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
30026e5c:	e1a07000 	mov	r7, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
30026e60:	e3530000 	cmp	r3, #0                                        
30026e64:	0a000004 	beq	30026e7c <rmdir+0x11c>                        
30026e68:	e593301c 	ldr	r3, [r3, #28]                                 
30026e6c:	e3530000 	cmp	r3, #0                                        
30026e70:	11a00005 	movne	r0, r5                                      
30026e74:	11a0e00f 	movne	lr, pc                                      
30026e78:	112fff13 	bxne	r3                                           
  if ( free_parentloc )                                               
30026e7c:	e3560000 	cmp	r6, #0                                        
30026e80:	0a000007 	beq	30026ea4 <rmdir+0x144>                        
    rtems_filesystem_freenode( &parentloc );                          
30026e84:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
30026e88:	e3530000 	cmp	r3, #0                                        
30026e8c:	0a000004 	beq	30026ea4 <rmdir+0x144>                        
30026e90:	e593301c 	ldr	r3, [r3, #28]                                 
30026e94:	e3530000 	cmp	r3, #0                                        
30026e98:	11a00004 	movne	r0, r4                                      
30026e9c:	11a0e00f 	movne	lr, pc                                      
30026ea0:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
30026ea4:	e1a00007 	mov	r0, r7                                        
30026ea8:	e28dd02c 	add	sp, sp, #44	; 0x2c                            
30026eac:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
30026eb0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30026eb4:	0affffb3 	beq	30026d88 <rmdir+0x28>                         <== NOT EXECUTED
30026eb8:	e59f3148 	ldr	r3, [pc, #328]	; 30027008 <rmdir+0x2a8>       <== NOT EXECUTED
30026ebc:	e28d4018 	add	r4, sp, #24                                   <== NOT EXECUTED
30026ec0:	e593c000 	ldr	ip, [r3]                                      <== NOT EXECUTED
30026ec4:	e1a06007 	mov	r6, r7                                        <== NOT EXECUTED
30026ec8:	e28cc004 	add	ip, ip, #4                                    <== NOT EXECUTED
30026ecc:	eaffffb2 	b	30026d9c <rmdir+0x3c>                           <== 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 );                                
30026ed0:	e59d3010 	ldr	r3, [sp, #16]                                 
30026ed4:	e3530000 	cmp	r3, #0                                        
30026ed8:	0a000004 	beq	30026ef0 <rmdir+0x190>                        
30026edc:	e593301c 	ldr	r3, [r3, #28]                                 
30026ee0:	e3530000 	cmp	r3, #0                                        
30026ee4:	11a00005 	movne	r0, r5                                      
30026ee8:	11a0e00f 	movne	lr, pc                                      
30026eec:	112fff13 	bxne	r3                                           
    if ( free_parentloc )                                             
30026ef0:	e3560000 	cmp	r6, #0                                        
30026ef4:	0a000007 	beq	30026f18 <rmdir+0x1b8>                        
      rtems_filesystem_freenode( &parentloc );                        
30026ef8:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
30026efc:	e3530000 	cmp	r3, #0                                        
30026f00:	0a000004 	beq	30026f18 <rmdir+0x1b8>                        
30026f04:	e593301c 	ldr	r3, [r3, #28]                                 
30026f08:	e3530000 	cmp	r3, #0                                        
30026f0c:	11a00004 	movne	r0, r4                                      
30026f10:	11a0e00f 	movne	lr, pc                                      
30026f14:	112fff13 	bxne	r3                                           
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
30026f18:	eb005a7f 	bl	3003d91c <__errno>                             
30026f1c:	e3a03014 	mov	r3, #20                                       
30026f20:	e5803000 	str	r3, [r0]                                      
30026f24:	e3e07000 	mvn	r7, #0                                        
30026f28:	eaffffdd 	b	30026ea4 <rmdir+0x144>                          
  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 )                                             
30026f2c:	e3560000 	cmp	r6, #0                                        
30026f30:	1a000001 	bne	30026f3c <rmdir+0x1dc>                        
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
30026f34:	e3e07000 	mvn	r7, #0                                        
30026f38:	eaffffd9 	b	30026ea4 <rmdir+0x144>                          
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
30026f3c:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
30026f40:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30026f44:	0afffffa 	beq	30026f34 <rmdir+0x1d4>                        <== NOT EXECUTED
30026f48:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
30026f4c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30026f50:	0afffff7 	beq	30026f34 <rmdir+0x1d4>                        <== NOT EXECUTED
30026f54:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
30026f58:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30026f5c:	e12fff13 	bx	r3                                             <== NOT EXECUTED
30026f60:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
30026f64:	eaffffce 	b	30026ea4 <rmdir+0x144>                          <== 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,  
30026f68:	e28d4018 	add	r4, sp, #24                                   
30026f6c:	e3a0c000 	mov	ip, #0                                        
30026f70:	e1a00005 	mov	r0, r5                                        
30026f74:	e1a01007 	mov	r1, r7                                        
30026f78:	e3a02002 	mov	r2, #2                                        
30026f7c:	e1a03004 	mov	r3, r4                                        
30026f80:	e58dc000 	str	ip, [sp]                                      
30026f84:	ebff7704 	bl	30004b9c <rtems_filesystem_evaluate_path>      
                                            RTEMS_LIBIO_PERMS_WRITE,  
                                            &parentloc,               
                                            false );                  
    if ( result != 0 )                                                
30026f88:	e3500000 	cmp	r0, #0                                        
30026f8c:	1affffe8 	bne	30026f34 <rmdir+0x1d4>                        
30026f90:	e3a06001 	mov	r6, #1                                        
30026f94:	eaffff85 	b	30026db0 <rmdir+0x50>                           
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  if ( !loc.handlers->rmnod_h ){                                      
    rtems_filesystem_freenode( &loc );                                
30026f98:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
30026f9c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30026fa0:	0a000005 	beq	30026fbc <rmdir+0x25c>                        <== NOT EXECUTED
30026fa4:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
30026fa8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30026fac:	0a000002 	beq	30026fbc <rmdir+0x25c>                        <== NOT EXECUTED
30026fb0:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
30026fb4:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30026fb8:	e12fff13 	bx	r3                                             <== NOT EXECUTED
    if ( free_parentloc )                                             
30026fbc:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
30026fc0:	0a000007 	beq	30026fe4 <rmdir+0x284>                        <== NOT EXECUTED
      rtems_filesystem_freenode( &parentloc );                        
30026fc4:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
30026fc8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30026fcc:	0a000004 	beq	30026fe4 <rmdir+0x284>                        <== NOT EXECUTED
30026fd0:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
30026fd4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30026fd8:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
30026fdc:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
30026fe0:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
30026fe4:	eb005a4c 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30026fe8:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
30026fec:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30026ff0:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
30026ff4:	eaffffaa 	b	30026ea4 <rmdir+0x144>                          <== NOT EXECUTED
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
                                                                      
  if ( !loc.ops->node_type_h ){                                       
    rtems_filesystem_freenode( &loc );                                
30026ff8:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
30026ffc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30027000:	1affffea 	bne	30026fb0 <rmdir+0x250>                        <== NOT EXECUTED
30027004:	eaffffec 	b	30026fbc <rmdir+0x25c>                          <== NOT EXECUTED
30027008:	30061b08 	.word	0x30061b08                                  
                                                                      
30013194 <rtems_assoc_name_bad>:                                      
    sprintf(bad_buffer, "< %" PRId32 "[0x%" PRIx32 " ] >", bad_value, bad_value);
#else                                                                 
    static char bad_buffer[40] = "<assocnamebad.c: : BAD NAME>";      
#endif                                                                
    return bad_buffer;                                                
}                                                                     
30013194:	e59f0000 	ldr	r0, [pc, #0]	; 3001319c <rtems_assoc_name_bad+0x8><== NOT EXECUTED
30013198:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
3001319c:	3002451c 	.word	0x3002451c                                  
                                                                      
3001010c <rtems_assoc_name_by_local>:                                 
                                                                      
const char *rtems_assoc_name_by_local(                                
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
3001010c:	e92d4010 	push	{r4, lr}                                     
30010110:	e1a04001 	mov	r4, r1                                        
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
30010114:	eb000006 	bl	30010134 <rtems_assoc_ptr_by_local>            
  if (nap)                                                            
30010118:	e3500000 	cmp	r0, #0                                        
3001011c:	0a000001 	beq	30010128 <rtems_assoc_name_by_local+0x1c>     
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(local_value);                           
}                                                                     
30010120:	e5900000 	ldr	r0, [r0]                                      
30010124:	e8bd8010 	pop	{r4, pc}                                      
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
  if (nap)                                                            
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(local_value);                           
30010128:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
}                                                                     
3001012c:	e8bd4010 	pop	{r4, lr}                                      <== NOT EXECUTED
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
  if (nap)                                                            
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(local_value);                           
30010130:	ea000c17 	b	30013194 <rtems_assoc_name_bad>                 <== NOT EXECUTED
                                                                      
3000c888 <rtems_assoc_ptr_by_local>:                                  
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_local(                        
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
3000c888:	e92d4030 	push	{r4, r5, lr}                                 
3000c88c:	e1a04000 	mov	r4, r0                                        
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
3000c890:	e5900000 	ldr	r0, [r0]                                      
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_local(                        
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
3000c894:	e1a05001 	mov	r5, r1                                        
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
3000c898:	e3500000 	cmp	r0, #0                                        
3000c89c:	01a04000 	moveq	r4, r0                                      
3000c8a0:	0a000013 	beq	3000c8f4 <rtems_assoc_ptr_by_local+0x6c>      
3000c8a4:	e59f105c 	ldr	r1, [pc, #92]	; 3000c908 <rtems_assoc_ptr_by_local+0x80>
3000c8a8:	eb000345 	bl	3000d5c4 <strcmp>                              
3000c8ac:	e3500000 	cmp	r0, #0                                        
3000c8b0:	13a02000 	movne	r2, #0                                      
3000c8b4:	1a00000b 	bne	3000c8e8 <rtems_assoc_ptr_by_local+0x60>      
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
3000c8b8:	e594200c 	ldr	r2, [r4, #12]                                 <== NOT EXECUTED
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
3000c8bc:	e284300c 	add	r3, r4, #12                                   <== NOT EXECUTED
                                                                      
  for ( ; ap->name; ap++)                                             
3000c8c0:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
3000c8c4:	0a00000a 	beq	3000c8f4 <rtems_assoc_ptr_by_local+0x6c>      <== NOT EXECUTED
3000c8c8:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
3000c8cc:	e1a04003 	mov	r4, r3                                        <== NOT EXECUTED
    if (ap->local_value == local_value)                               
3000c8d0:	e5943004 	ldr	r3, [r4, #4]                                  <== NOT EXECUTED
3000c8d4:	e1530005 	cmp	r3, r5                                        <== NOT EXECUTED
3000c8d8:	0a000005 	beq	3000c8f4 <rtems_assoc_ptr_by_local+0x6c>      <== NOT EXECUTED
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
3000c8dc:	e5b4300c 	ldr	r3, [r4, #12]!                                
3000c8e0:	e3530000 	cmp	r3, #0                                        
3000c8e4:	0a000004 	beq	3000c8fc <rtems_assoc_ptr_by_local+0x74>      
    if (ap->local_value == local_value)                               
3000c8e8:	e5943004 	ldr	r3, [r4, #4]                                  
3000c8ec:	e1530005 	cmp	r3, r5                                        
3000c8f0:	1afffff9 	bne	3000c8dc <rtems_assoc_ptr_by_local+0x54>      
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
3000c8f4:	e1a00004 	mov	r0, r4                                        
3000c8f8:	e8bd8030 	pop	{r4, r5, pc}                                  
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
3000c8fc:	e1a04002 	mov	r4, r2                                        
    if (ap->local_value == local_value)                               
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
3000c900:	e1a00004 	mov	r0, r4                                        
3000c904:	e8bd8030 	pop	{r4, r5, pc}                                  
3000c908:	30018bb4 	.word	0x30018bb4                                  
                                                                      
3000bc3c <rtems_assoc_ptr_by_remote>:                                 
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_remote(                       
  const rtems_assoc_t *ap,                                            
  uint32_t       remote_value                                         
)                                                                     
{                                                                     
3000bc3c:	e92d4030 	push	{r4, r5, lr}                                 
3000bc40:	e1a04000 	mov	r4, r0                                        
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
3000bc44:	e5900000 	ldr	r0, [r0]                                      
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_remote(                       
  const rtems_assoc_t *ap,                                            
  uint32_t       remote_value                                         
)                                                                     
{                                                                     
3000bc48:	e1a05001 	mov	r5, r1                                        
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
3000bc4c:	e3500000 	cmp	r0, #0                                        
3000bc50:	01a04000 	moveq	r4, r0                                      
3000bc54:	0a000013 	beq	3000bca8 <rtems_assoc_ptr_by_remote+0x6c>     
3000bc58:	e59f105c 	ldr	r1, [pc, #92]	; 3000bcbc <rtems_assoc_ptr_by_remote+0x80>
3000bc5c:	eb000658 	bl	3000d5c4 <strcmp>                              
3000bc60:	e3500000 	cmp	r0, #0                                        
3000bc64:	13a02000 	movne	r2, #0                                      
3000bc68:	1a00000b 	bne	3000bc9c <rtems_assoc_ptr_by_remote+0x60>     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
3000bc6c:	e594200c 	ldr	r2, [r4, #12]                                 <== NOT EXECUTED
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
3000bc70:	e284300c 	add	r3, r4, #12                                   <== NOT EXECUTED
                                                                      
  for ( ; ap->name; ap++)                                             
3000bc74:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
3000bc78:	0a00000a 	beq	3000bca8 <rtems_assoc_ptr_by_remote+0x6c>     <== NOT EXECUTED
3000bc7c:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
3000bc80:	e1a04003 	mov	r4, r3                                        <== NOT EXECUTED
    if (ap->remote_value == remote_value)                             
3000bc84:	e5943008 	ldr	r3, [r4, #8]                                  <== NOT EXECUTED
3000bc88:	e1530005 	cmp	r3, r5                                        <== NOT EXECUTED
3000bc8c:	0a000005 	beq	3000bca8 <rtems_assoc_ptr_by_remote+0x6c>     <== NOT EXECUTED
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
3000bc90:	e5b4300c 	ldr	r3, [r4, #12]!                                
3000bc94:	e3530000 	cmp	r3, #0                                        
3000bc98:	0a000004 	beq	3000bcb0 <rtems_assoc_ptr_by_remote+0x74>     
    if (ap->remote_value == remote_value)                             
3000bc9c:	e5943008 	ldr	r3, [r4, #8]                                  
3000bca0:	e1530005 	cmp	r3, r5                                        
3000bca4:	1afffff9 	bne	3000bc90 <rtems_assoc_ptr_by_remote+0x54>     
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
3000bca8:	e1a00004 	mov	r0, r4                                        
3000bcac:	e8bd8030 	pop	{r4, r5, pc}                                  
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
3000bcb0:	e1a04002 	mov	r4, r2                                        
    if (ap->remote_value == remote_value)                             
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
3000bcb4:	e1a00004 	mov	r0, r4                                        
3000bcb8:	e8bd8030 	pop	{r4, r5, pc}                                  
3000bcbc:	30018bb4 	.word	0x30018bb4                                  
                                                                      
3000c5c0 <rtems_assoc_remote_by_local>:                               
                                                                      
uint32_t rtems_assoc_remote_by_local(                                 
  const rtems_assoc_t *ap,                                            
  uint32_t       local_value                                          
)                                                                     
{                                                                     
3000c5c0:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
3000c5c4:	eb0000af 	bl	3000c888 <rtems_assoc_ptr_by_local>            <== NOT EXECUTED
  if (nap)                                                            
3000c5c8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    return nap->remote_value;                                         
3000c5cc:	15900008 	ldrne	r0, [r0, #8]                                <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
3000c5d0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
3000c594 <rtems_deviceio_errno>:                                      
    { 0, 0, 0 },                                                      
};                                                                    
                                                                      
int                                                                   
rtems_deviceio_errno(rtems_status_code code)                          
{                                                                     
3000c594:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
3000c598:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
    int rc;                                                           
                                                                      
    if ((rc = rtems_assoc_remote_by_local(errno_assoc, (uint32_t  ) code)))
3000c59c:	e59f0018 	ldr	r0, [pc, #24]	; 3000c5bc <rtems_deviceio_errno+0x28><== NOT EXECUTED
3000c5a0:	eb000006 	bl	3000c5c0 <rtems_assoc_remote_by_local>         <== NOT EXECUTED
3000c5a4:	e2504000 	subs	r4, r0, #0                                   <== NOT EXECUTED
3000c5a8:	0a000001 	beq	3000c5b4 <rtems_deviceio_errno+0x20>          <== NOT EXECUTED
    {                                                                 
        errno = rc;                                                   
3000c5ac:	eb0000db 	bl	3000c920 <__errno>                             <== NOT EXECUTED
3000c5b0:	e5804000 	str	r4, [r0]                                      <== NOT EXECUTED
        return -1;                                                    
    }                                                                 
    return -1;                                                        
}                                                                     
3000c5b4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
3000c5b8:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
3000c5bc:	30018440 	.word	0x30018440                                  
                                                                      
30006c50 <rtems_error>:                                               
int rtems_error(                                                      
    rtems_error_code_t error_flag,                                    
    const char *printf_format,                                        
    ...                                                               
  )                                                                   
{                                                                     
30006c50:	e92d000e 	push	{r1, r2, r3}                                 <== NOT EXECUTED
30006c54:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
30006c58:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
    va_list arglist;                                                  
    int chars_written;                                                
                                                                      
    va_start(arglist, printf_format);                                 
30006c5c:	e28d300c 	add	r3, sp, #12                                   <== NOT EXECUTED
    chars_written = rtems_verror(error_flag, printf_format, arglist); 
30006c60:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
30006c64:	e59d1008 	ldr	r1, [sp, #8]                                  <== NOT EXECUTED
  )                                                                   
{                                                                     
    va_list arglist;                                                  
    int chars_written;                                                
                                                                      
    va_start(arglist, printf_format);                                 
30006c68:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
    chars_written = rtems_verror(error_flag, printf_format, arglist); 
30006c6c:	ebffff81 	bl	30006a78 <rtems_verror>                        <== NOT EXECUTED
    va_end(arglist);                                                  
                                                                      
    return chars_written;                                             
}                                                                     
30006c70:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
30006c74:	e49de004 	pop	{lr}		; (ldr lr, [sp], #4)                    <== NOT EXECUTED
30006c78:	e28dd00c 	add	sp, sp, #12                                   <== NOT EXECUTED
30006c7c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
30001958 <rtems_filesystem_dirname>:                                  
}                                                                     
                                                                      
int rtems_filesystem_dirname(                                         
  const char  *pathname                                               
)                                                                     
{                                                                     
30001958:	e92d4010 	push	{r4, lr}                                     
3000195c:	e1a04000 	mov	r4, r0                                        
  int len = strlen( pathname );                                       
30001960:	eb002fdf 	bl	3000d8e4 <strlen>                              
                                                                      
  while ( len ) {                                                     
30001964:	e3500000 	cmp	r0, #0                                        
                                                                      
int rtems_filesystem_dirname(                                         
  const char  *pathname                                               
)                                                                     
{                                                                     
  int len = strlen( pathname );                                       
30001968:	e1a02000 	mov	r2, r0                                        
                                                                      
  while ( len ) {                                                     
3000196c:	08bd8010 	popeq	{r4, pc}                                    
    len--;                                                            
30001970:	e2400001 	sub	r0, r0, #1                                    
    if ( rtems_filesystem_is_separator( pathname[len] ) )             
30001974:	e7d43000 	ldrb	r3, [r4, r0]                                 
30001978:	e353002f 	cmp	r3, #47	; 0x2f                                
3000197c:	1353005c 	cmpne	r3, #92	; 0x5c                              
30001980:	08bd8010 	popeq	{r4, pc}                                    
30001984:	e3530000 	cmp	r3, #0                                        
30001988:	10844002 	addne	r4, r4, r2                                  
3000198c:	1a000008 	bne	300019b4 <rtems_filesystem_dirname+0x5c>      
30001990:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
30001994:	e5543002 	ldrb	r3, [r4, #-2]                                
)                                                                     
{                                                                     
  int len = strlen( pathname );                                       
                                                                      
  while ( len ) {                                                     
    len--;                                                            
30001998:	e2400001 	sub	r0, r0, #1                                    
    if ( rtems_filesystem_is_separator( pathname[len] ) )             
3000199c:	e353002f 	cmp	r3, #47	; 0x2f                                
300019a0:	1353005c 	cmpne	r3, #92	; 0x5c                              
300019a4:	08bd8010 	popeq	{r4, pc}                                    
300019a8:	e3530000 	cmp	r3, #0                                        
300019ac:	e2444001 	sub	r4, r4, #1                                    
300019b0:	08bd8010 	popeq	{r4, pc}                                    
  const char  *pathname                                               
)                                                                     
{                                                                     
  int len = strlen( pathname );                                       
                                                                      
  while ( len ) {                                                     
300019b4:	e3500000 	cmp	r0, #0                                        
300019b8:	1afffff5 	bne	30001994 <rtems_filesystem_dirname+0x3c>      
    if ( rtems_filesystem_is_separator( pathname[len] ) )             
      break;                                                          
  }                                                                   
                                                                      
  return len;                                                         
}                                                                     
300019bc:	e8bd8010 	pop	{r4, pc}                                      
                                                                      
30001ab0 <rtems_filesystem_evaluate_path>:                            
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc,                         
  int                                follow_link                      
)                                                                     
{                                                                     
30001ab0:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
30001ab4:	e2505000 	subs	r5, r0, #0                                   
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc,                         
  int                                follow_link                      
)                                                                     
{                                                                     
30001ab8:	e1a08001 	mov	r8, r1                                        
30001abc:	e1a07002 	mov	r7, r2                                        
30001ac0:	e1a0c003 	mov	ip, r3                                        
30001ac4:	e59d9024 	ldr	r9, [sp, #36]	; 0x24                          
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
30001ac8:	0a000024 	beq	30001b60 <rtems_filesystem_evaluate_path+0xb0>
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  if ( !pathloc )                                                     
30001acc:	e3530000 	cmp	r3, #0                                        
30001ad0:	0a00001d 	beq	30001b4c <rtems_filesystem_evaluate_path+0x9c>
                                                                      
  /*                                                                  
   * Evaluate the path using the optable evalpath.                    
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, pathloc );            
30001ad4:	e5d53000 	ldrb	r3, [r5]                                     
30001ad8:	e353002f 	cmp	r3, #47	; 0x2f                                
30001adc:	1353005c 	cmpne	r3, #92	; 0x5c                              
30001ae0:	13a06000 	movne	r6, #0                                      
30001ae4:	03a06001 	moveq	r6, #1                                      
30001ae8:	1a000010 	bne	30001b30 <rtems_filesystem_evaluate_path+0x80>
30001aec:	e59f307c 	ldr	r3, [pc, #124]	; 30001b70 <rtems_filesystem_evaluate_path+0xc0>
30001af0:	e3a06001 	mov	r6, #1                                        
30001af4:	e5934000 	ldr	r4, [r3]                                      
30001af8:	e1a0a006 	mov	sl, r6                                        
30001afc:	e2844018 	add	r4, r4, #24                                   
30001b00:	e1a0b00c 	mov	fp, ip                                        
30001b04:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
30001b08:	e8ab000f 	stmia	fp!, {r0, r1, r2, r3}                       
30001b0c:	e5942000 	ldr	r2, [r4]                                      
                                                                      
  /*                                                                  
   * We evaluation the path relative to the start location we get got.
   */                                                                 
  return rtems_filesystem_evaluate_relative_path( &pathname[i],       
30001b10:	e0850006 	add	r0, r5, r6                                    
                                                                      
  /*                                                                  
   * Evaluate the path using the optable evalpath.                    
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, pathloc );            
30001b14:	e58b2000 	str	r2, [fp]                                      
                                                                      
  /*                                                                  
   * We evaluation the path relative to the start location we get got.
   */                                                                 
  return rtems_filesystem_evaluate_relative_path( &pathname[i],       
30001b18:	e06a1008 	rsb	r1, sl, r8                                    
30001b1c:	e1a02007 	mov	r2, r7                                        
30001b20:	e1a0300c 	mov	r3, ip                                        
30001b24:	e58d9024 	str	r9, [sp, #36]	; 0x24                          
                                                  pathnamelen - i,    
                                                  flags,              
                                                  pathloc,            
                                                  follow_link );      
}                                                                     
30001b28:	e8bd4ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, lr}          
  rtems_filesystem_get_start_loc( pathname, &i, pathloc );            
                                                                      
  /*                                                                  
   * We evaluation the path relative to the start location we get got.
   */                                                                 
  return rtems_filesystem_evaluate_relative_path( &pathname[i],       
30001b2c:	eaffffa3 	b	300019c0 <rtems_filesystem_evaluate_relative_path>
                                                                      
  /*                                                                  
   * Evaluate the path using the optable evalpath.                    
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, pathloc );            
30001b30:	e3530000 	cmp	r3, #0                                        
30001b34:	0affffec 	beq	30001aec <rtems_filesystem_evaluate_path+0x3c>
30001b38:	e59f3030 	ldr	r3, [pc, #48]	; 30001b70 <rtems_filesystem_evaluate_path+0xc0>
30001b3c:	e1a0a006 	mov	sl, r6                                        
30001b40:	e5934000 	ldr	r4, [r3]                                      
30001b44:	e2844004 	add	r4, r4, #4                                    
30001b48:	eaffffec 	b	30001b00 <rtems_filesystem_evaluate_path+0x50>  
                                                                      
  if ( !pathname )                                                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  if ( !pathloc )                                                     
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
30001b4c:	eb002b73 	bl	3000c920 <__errno>                             <== NOT EXECUTED
30001b50:	e3a03005 	mov	r3, #5                                        <== NOT EXECUTED
30001b54:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
  return rtems_filesystem_evaluate_relative_path( &pathname[i],       
                                                  pathnamelen - i,    
                                                  flags,              
                                                  pathloc,            
                                                  follow_link );      
}                                                                     
30001b58:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30001b5c:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
30001b60:	eb002b6e 	bl	3000c920 <__errno>                             <== NOT EXECUTED
30001b64:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
30001b68:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30001b6c:	eafffff9 	b	30001b58 <rtems_filesystem_evaluate_path+0xa8>  <== NOT EXECUTED
30001b70:	3001901c 	.word	0x3001901c                                  
                                                                      
300019c0 <rtems_filesystem_evaluate_relative_path>:                   
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
300019c0:	e3500000 	cmp	r0, #0                                        
  int                                pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc,                         
  int                                follow_link                      
)                                                                     
{                                                                     
300019c4:	e92d4030 	push	{r4, r5, lr}                                 
300019c8:	e1a05002 	mov	r5, r2                                        
300019cc:	e1a04003 	mov	r4, r3                                        
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
300019d0:	0a00002c 	beq	30001a88 <rtems_filesystem_evaluate_relative_path+0xc8>
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  if ( !pathloc )                                                     
300019d4:	e3530000 	cmp	r3, #0                                        
300019d8:	0a00002f 	beq	30001a9c <rtems_filesystem_evaluate_relative_path+0xdc>
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
                                                                      
  if ( !pathloc->ops->evalpath_h )                                    
300019dc:	e593c00c 	ldr	ip, [r3, #12]                                 
300019e0:	e59cc000 	ldr	ip, [ip]                                      
300019e4:	e35c0000 	cmp	ip, #0                                        
300019e8:	0a000021 	beq	30001a74 <rtems_filesystem_evaluate_relative_path+0xb4>
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  result = (*pathloc->ops->evalpath_h)( pathname, pathnamelen, flags, pathloc );
300019ec:	e1a0e00f 	mov	lr, pc                                        
300019f0:	e12fff1c 	bx	ip                                             
  /*                                                                  
   * Get the Node type and determine if you need to follow the link or
   * not.                                                             
   */                                                                 
                                                                      
  if ( (result == 0) && follow_link ) {                               
300019f4:	e59d200c 	ldr	r2, [sp, #12]                                 
300019f8:	e2703001 	rsbs	r3, r0, #1                                   
300019fc:	33a03000 	movcc	r3, #0                                      
30001a00:	e3520000 	cmp	r2, #0                                        
30001a04:	03a03000 	moveq	r3, #0                                      
30001a08:	e3530000 	cmp	r3, #0                                        
30001a0c:	08bd8030 	popeq	{r4, r5, pc}                                
                                                                      
    if ( !pathloc->ops->node_type_h ){                                
30001a10:	e594200c 	ldr	r2, [r4, #12]                                 
30001a14:	e5923010 	ldr	r3, [r2, #16]                                 
30001a18:	e3530000 	cmp	r3, #0                                        
30001a1c:	0a00000f 	beq	30001a60 <rtems_filesystem_evaluate_relative_path+0xa0>
      rtems_filesystem_freenode( pathloc );                           
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
    }                                                                 
                                                                      
    type = (*pathloc->ops->node_type_h)( pathloc );                   
30001a20:	e1a00004 	mov	r0, r4                                        
30001a24:	e1a0e00f 	mov	lr, pc                                        
30001a28:	e12fff13 	bx	r3                                             
                                                                      
    if ( ( type == RTEMS_FILESYSTEM_HARD_LINK ) ||                    
30001a2c:	e2400003 	sub	r0, r0, #3                                    
30001a30:	e3500001 	cmp	r0, #1                                        
30001a34:	83a00000 	movhi	r0, #0                                      
30001a38:	88bd8030 	pophi	{r4, r5, pc}                                
         ( type == RTEMS_FILESYSTEM_SYM_LINK ) ) {                    
                                                                      
        if ( !pathloc->ops->eval_link_h ){                            
30001a3c:	e594200c 	ldr	r2, [r4, #12]                                 
30001a40:	e5923034 	ldr	r3, [r2, #52]	; 0x34                          
30001a44:	e3530000 	cmp	r3, #0                                        
30001a48:	0a000004 	beq	30001a60 <rtems_filesystem_evaluate_relative_path+0xa0>
         *    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 );     
30001a4c:	e1a00004 	mov	r0, r4                                        
30001a50:	e1a01005 	mov	r1, r5                                        
30001a54:	e1a0e00f 	mov	lr, pc                                        
30001a58:	e12fff13 	bx	r3                                             
    }                                                                 
  }                                                                   
                                                                      
  return result;                                                      
}                                                                     
30001a5c:	e8bd8030 	pop	{r4, r5, pc}                                  
                                                                      
    if ( ( type == RTEMS_FILESYSTEM_HARD_LINK ) ||                    
         ( type == RTEMS_FILESYSTEM_SYM_LINK ) ) {                    
                                                                      
        if ( !pathloc->ops->eval_link_h ){                            
          rtems_filesystem_freenode( pathloc );                       
30001a60:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
30001a64:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30001a68:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
30001a6c:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
30001a70:	112fff13 	bxne	r3                                           <== NOT EXECUTED
          rtems_set_errno_and_return_minus_one( ENOTSUP );            
30001a74:	eb002ba9 	bl	3000c920 <__errno>                             <== NOT EXECUTED
30001a78:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
30001a7c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30001a80:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30001a84:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
30001a88:	eb002ba4 	bl	3000c920 <__errno>                             <== NOT EXECUTED
30001a8c:	e3a0300e 	mov	r3, #14                                       <== NOT EXECUTED
30001a90:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30001a94:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30001a98:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      
  if ( !pathloc )                                                     
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
30001a9c:	eb002b9f 	bl	3000c920 <__errno>                             <== NOT EXECUTED
30001aa0:	e3a03005 	mov	r3, #5                                        <== NOT EXECUTED
30001aa4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30001aa8:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30001aac:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
                                                                      
300017d4 <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 )                              
{                                                                     
300017d4:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
300017d8:	e59f6104 	ldr	r6, [pc, #260]	; 300018e4 <rtems_filesystem_initialize+0x110>
300017dc:	e3a02012 	mov	r2, #18                                       
300017e0:	e5963000 	ldr	r3, [r6]                                      
 *  configuration is a single instantiation of the IMFS or miniIMFS with
 *  a single "/dev" directory in it.                                  
 */                                                                   
                                                                      
void rtems_filesystem_initialize( void )                              
{                                                                     
300017e4:	e24dd01c 	sub	sp, sp, #28                                   
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
300017e8:	e583202c 	str	r2, [r3, #44]	; 0x2c                          
                                                                      
                                                                      
  init_fs_mount_table();                                              
300017ec:	eb00022f 	bl	300020b0 <init_fs_mount_table>                 
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
300017f0:	e59f30f0 	ldr	r3, [pc, #240]	; 300018e8 <rtems_filesystem_initialize+0x114>
300017f4:	e5933000 	ldr	r3, [r3]                                      
300017f8:	e3530000 	cmp	r3, #0                                        
300017fc:	0a000032 	beq	300018cc <rtems_filesystem_initialize+0xf8>   
    rtems_fatal_error_occurred( 0xABCD0001 );                         
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
30001800:	e59f30e4 	ldr	r3, [pc, #228]	; 300018ec <rtems_filesystem_initialize+0x118>
                                                                      
  status = mount(                                                     
30001804:	e28d0018 	add	r0, sp, #24                                   
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
    rtems_fatal_error_occurred( 0xABCD0001 );                         
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
30001808:	e593c000 	ldr	ip, [r3]                                      
                                                                      
  status = mount(                                                     
3000180c:	e89c100e 	ldm	ip, {r1, r2, r3, ip}                          
30001810:	e58dc000 	str	ip, [sp]                                      
30001814:	eb00022c 	bl	300020cc <mount>                               
     &entry, mt->fs_ops, mt->fsoptions, mt->device, mt->mount_point );
                                                                      
  if ( status == -1 )                                                 
30001818:	e3700001 	cmn	r0, #1                                        
3000181c:	0a00002e 	beq	300018dc <rtems_filesystem_initialize+0x108>  
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
30001820:	e5967000 	ldr	r7, [r6]                                      
   *       set_private_env() - but then: that's                       
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
30001824:	e59de018 	ldr	lr, [sp, #24]                                 
30001828:	e287c018 	add	ip, r7, #24                                   
3000182c:	e28ee01c 	add	lr, lr, #28                                   
30001830:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
30001834:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
30001838:	e59e3000 	ldr	r3, [lr]                                      
     &entry, mt->fs_ops, mt->fsoptions, mt->device, mt->mount_point );
                                                                      
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
3000183c:	e3a05000 	mov	r5, #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);                 
30001840:	e28d4004 	add	r4, sp, #4                                    
   *       set_private_env() - but then: that's                       
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
30001844:	e58c3000 	str	r3, [ip]                                      
     &entry, mt->fs_ops, mt->fsoptions, mt->device, mt->mount_point );
                                                                      
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
30001848:	e1c753b0 	strh	r5, [r7, #48]	; 0x30                         
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  rtems_filesystem_root        = entry->mt_fs_root;                   
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
3000184c:	e1a03004 	mov	r3, r4                                        
30001850:	e3a01001 	mov	r1, #1                                        
30001854:	e1a02005 	mov	r2, r5                                        
30001858:	e59f0090 	ldr	r0, [pc, #144]	; 300018f0 <rtems_filesystem_initialize+0x11c>
3000185c:	e58d5000 	str	r5, [sp]                                      
30001860:	eb000092 	bl	30001ab0 <rtems_filesystem_evaluate_path>      
  rtems_filesystem_root        = loc;                                 
30001864:	e596c000 	ldr	ip, [r6]                                      
30001868:	e1a07004 	mov	r7, r4                                        
3000186c:	e28cc018 	add	ip, ip, #24                                   
30001870:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
30001874:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
30001878:	e5973000 	ldr	r3, [r7]                                      
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
3000187c:	e1a02005 	mov	r2, r5                                        
   *       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;                                 
30001880:	e58c3000 	str	r3, [ip]                                      
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
30001884:	e3a01001 	mov	r1, #1                                        
30001888:	e1a03004 	mov	r3, r4                                        
3000188c:	e59f005c 	ldr	r0, [pc, #92]	; 300018f0 <rtems_filesystem_initialize+0x11c>
30001890:	e58d5000 	str	r5, [sp]                                      
30001894:	eb000085 	bl	30001ab0 <rtems_filesystem_evaluate_path>      
  rtems_filesystem_current     = loc;                                 
30001898:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
3000189c:	e596c000 	ldr	ip, [r6]                                      
300018a0:	e28cc004 	add	ip, ip, #4                                    
300018a4:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
300018a8:	e5973000 	ldr	r3, [r7]                                      
   *                                                                  
   *  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);                                      
300018ac:	e59f0040 	ldr	r0, [pc, #64]	; 300018f4 <rtems_filesystem_initialize+0x120>
  /* 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;                                 
300018b0:	e58c3000 	str	r3, [ip]                                      
   *                                                                  
   *  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);                                      
300018b4:	e59f103c 	ldr	r1, [pc, #60]	; 300018f8 <rtems_filesystem_initialize+0x124>
300018b8:	eb0001a7 	bl	30001f5c <mkdir>                               
  if ( status != 0 )                                                  
300018bc:	e1500005 	cmp	r0, r5                                        
300018c0:	1a000003 	bne	300018d4 <rtems_filesystem_initialize+0x100>  
   *  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.        
   */                                                                 
}                                                                     
300018c4:	e28dd01c 	add	sp, sp, #28                                   
300018c8:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
    rtems_fatal_error_occurred( 0xABCD0001 );                         
300018cc:	e59f0028 	ldr	r0, [pc, #40]	; 300018fc <rtems_filesystem_initialize+0x128><== NOT EXECUTED
300018d0:	eb000f7c 	bl	300056c8 <rtems_fatal_error_occurred>          <== NOT EXECUTED
   *        created that way by the IMFS.                             
   */                                                                 
                                                                      
  status = mkdir( "/dev", 0777);                                      
  if ( status != 0 )                                                  
    rtems_fatal_error_occurred( 0xABCD0003 );                         
300018d4:	e59f0024 	ldr	r0, [pc, #36]	; 30001900 <rtems_filesystem_initialize+0x12c><== NOT EXECUTED
300018d8:	eb000f7a 	bl	300056c8 <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 );                         
300018dc:	e59f0020 	ldr	r0, [pc, #32]	; 30001904 <rtems_filesystem_initialize+0x130><== NOT EXECUTED
300018e0:	eb000f78 	bl	300056c8 <rtems_fatal_error_occurred>          <== NOT EXECUTED
300018e4:	3001901c 	.word	0x3001901c                                  
300018e8:	30018080 	.word	0x30018080                                  
300018ec:	30018e2c 	.word	0x30018e2c                                  
300018f0:	30018904 	.word	0x30018904                                  
300018f4:	30018908 	.word	0x30018908                                  
300018f8:	000001ff 	.word	0x000001ff                                  
300018fc:	abcd0001 	.word	0xabcd0001                                  
30001900:	abcd0003 	.word	0xabcd0003                                  
30001904:	abcd0002 	.word	0xabcd0002                                  
                                                                      
30027330 <rtems_filesystem_nodes_equal>:                              
);                                                                    
                                                                      
bool rtems_filesystem_nodes_equal(                                    
  const rtems_filesystem_location_info_t   *loc1,                     
  const rtems_filesystem_location_info_t   *loc2                      
){                                                                    
30027330:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
30027334:	e5910000 	ldr	r0, [r1]                                      <== NOT EXECUTED
  return ( loc1->node_access == loc2->node_access );                  
}                                                                     
30027338:	e1530000 	cmp	r3, r0                                        <== NOT EXECUTED
3002733c:	13a00000 	movne	r0, #0                                      <== NOT EXECUTED
30027340:	03a00001 	moveq	r0, #1                                      <== NOT EXECUTED
30027344:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
3000168c <rtems_io_lookup_name>:                                      
                                                                      
rtems_status_code rtems_io_lookup_name(                               
  const char           *name,                                         
  rtems_driver_name_t  *device_info                                   
)                                                                     
{                                                                     
3000168c:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     <== NOT EXECUTED
30001690:	e24dd018 	sub	sp, sp, #24                                   <== NOT EXECUTED
30001694:	e1a06001 	mov	r6, r1                                        <== NOT EXECUTED
30001698:	e1a05000 	mov	r5, r0                                        <== 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 );
3000169c:	eb003090 	bl	3000d8e4 <strlen>                              <== NOT EXECUTED
300016a0:	e28d4004 	add	r4, sp, #4                                    <== NOT EXECUTED
300016a4:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
300016a8:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
300016ac:	e1a03004 	mov	r3, r4                                        <== NOT EXECUTED
300016b0:	e3a0c001 	mov	ip, #1                                        <== NOT EXECUTED
300016b4:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
300016b8:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
300016bc:	eb0000fb 	bl	30001ab0 <rtems_filesystem_evaluate_path>      <== NOT EXECUTED
  the_jnode = loc.node_access;                                        
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
300016c0:	e59d2010 	ldr	r2, [sp, #16]                                 <== 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 );
300016c4:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
  the_jnode = loc.node_access;                                        
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
300016c8:	e5923010 	ldr	r3, [r2, #16]                                 <== NOT EXECUTED
  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 );
  the_jnode = loc.node_access;                                        
300016cc:	e59d8004 	ldr	r8, [sp, #4]                                  <== NOT EXECUTED
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
300016d0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300016d4:	0a000013 	beq	30001728 <rtems_io_lookup_name+0x9c>          <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
300016d8:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
300016dc:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
300016e0:	e12fff13 	bx	r3                                             <== NOT EXECUTED
                                                                      
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
300016e4:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
300016e8:	03500002 	cmpeq	r0, #2                                      <== NOT EXECUTED
300016ec:	03a07000 	moveq	r7, #0                                      <== NOT EXECUTED
300016f0:	13a07001 	movne	r7, #1                                      <== NOT EXECUTED
300016f4:	0a000015 	beq	30001750 <rtems_io_lookup_name+0xc4>          <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
300016f8:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
300016fc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30001700:	0a000025 	beq	3000179c <rtems_io_lookup_name+0x110>         <== NOT EXECUTED
30001704:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
30001708:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
3000170c:	0a000022 	beq	3000179c <rtems_io_lookup_name+0x110>         <== NOT EXECUTED
30001710:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
30001714:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30001718:	e12fff13 	bx	r3                                             <== NOT EXECUTED
3000171c:	e3a0000d 	mov	r0, #13                                       <== NOT EXECUTED
  device_info->minor              = the_jnode->info.device.minor;     
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
30001720:	e28dd018 	add	sp, sp, #24                                   <== NOT EXECUTED
30001724:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== 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 );                                
30001728:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
3000172c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30001730:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
30001734:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
30001738:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
3000173c:	eb002c77 	bl	3000c920 <__errno>                             <== NOT EXECUTED
30001740:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
30001744:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30001748:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
3000174c:	eafffff3 	b	30001720 <rtems_io_lookup_name+0x94>            <== NOT EXECUTED
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
    rtems_filesystem_freenode( &loc );                                
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
30001750:	e5865000 	str	r5, [r6]                                      <== NOT EXECUTED
  device_info->device_name_length = strlen( name );                   
30001754:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
30001758:	eb003061 	bl	3000d8e4 <strlen>                              <== NOT EXECUTED
3000175c:	e5860004 	str	r0, [r6, #4]                                  <== NOT EXECUTED
  device_info->major              = the_jnode->info.device.major;     
30001760:	e5982050 	ldr	r2, [r8, #80]	; 0x50                          <== NOT EXECUTED
  device_info->minor              = the_jnode->info.device.minor;     
                                                                      
  rtems_filesystem_freenode( &loc );                                  
30001764:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
  device_info->device_name_length = strlen( name );                   
  device_info->major              = the_jnode->info.device.major;     
30001768:	e5862008 	str	r2, [r6, #8]                                  <== NOT EXECUTED
  device_info->minor              = the_jnode->info.device.minor;     
3000176c:	e5982054 	ldr	r2, [r8, #84]	; 0x54                          <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
30001770:	e3530000 	cmp	r3, #0                                        <== 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;     
30001774:	e586200c 	str	r2, [r6, #12]                                 <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
30001778:	0a000009 	beq	300017a4 <rtems_io_lookup_name+0x118>         <== NOT EXECUTED
3000177c:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
30001780:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30001784:	0a000006 	beq	300017a4 <rtems_io_lookup_name+0x118>         <== NOT EXECUTED
30001788:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
3000178c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30001790:	e12fff13 	bx	r3                                             <== NOT EXECUTED
30001794:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
30001798:	eaffffe0 	b	30001720 <rtems_io_lookup_name+0x94>            <== NOT EXECUTED
3000179c:	e3a0000d 	mov	r0, #13                                       <== NOT EXECUTED
300017a0:	eaffffde 	b	30001720 <rtems_io_lookup_name+0x94>            <== NOT EXECUTED
300017a4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
300017a8:	eaffffdc 	b	30001720 <rtems_io_lookup_name+0x94>            <== NOT EXECUTED
                                                                      
30007398 <rtems_io_register_driver>:                                  
  rtems_device_major_number        *registered_major                  
)                                                                     
{                                                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
30007398:	e59fc144 	ldr	ip, [pc, #324]	; 300074e4 <rtems_io_register_driver+0x14c>
  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;      
3000739c:	e59f3144 	ldr	r3, [pc, #324]	; 300074e8 <rtems_io_register_driver+0x150>
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
300073a0:	e59cc000 	ldr	ip, [ip]                                      
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                  
)                                                                     
{                                                                     
300073a4:	e92d4010 	push	{r4, lr}                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
300073a8:	e35c0000 	cmp	ip, #0                                        
rtems_status_code rtems_io_register_driver(                           
  rtems_device_major_number         major,                            
  const rtems_driver_address_table *driver_table,                     
  rtems_device_major_number        *registered_major                  
)                                                                     
{                                                                     
300073ac:	e1a04000 	mov	r4, r0                                        
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
300073b0:	e5930000 	ldr	r0, [r3]                                      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
300073b4:	13a00012 	movne	r0, #18                                     
300073b8:	18bd8010 	popne	{r4, pc}                                    
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( registered_major == NULL )                                     
300073bc:	e3520000 	cmp	r2, #0                                        
300073c0:	0a00003c 	beq	300074b8 <rtems_io_register_driver+0x120>     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
                                                                      
  if ( driver_table == NULL )                                         
300073c4:	e3510000 	cmp	r1, #0                                        
                                                                      
  if ( registered_major == NULL )                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
300073c8:	e5820000 	str	r0, [r2]                                      
                                                                      
  if ( driver_table == NULL )                                         
300073cc:	0a000039 	beq	300074b8 <rtems_io_register_driver+0x120>     
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
300073d0:	e591c000 	ldr	ip, [r1]                                      
300073d4:	e35c0000 	cmp	ip, #0                                        
300073d8:	0a000033 	beq	300074ac <rtems_io_register_driver+0x114>     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
300073dc:	e1500004 	cmp	r0, r4                                        
300073e0:	93a0000a 	movls	r0, #10                                     
300073e4:	98bd8010 	popls	{r4, pc}                                    
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
300073e8:	e59f00fc 	ldr	r0, [pc, #252]	; 300074ec <rtems_io_register_driver+0x154>
300073ec:	e590c000 	ldr	ip, [r0]                                      
300073f0:	e28cc001 	add	ip, ip, #1                                    
300073f4:	e580c000 	str	ip, [r0]                                      
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( major == 0 ) {                                                 
300073f8:	e3540000 	cmp	r4, #0                                        
300073fc:	1a000020 	bne	30007484 <rtems_io_register_driver+0xec>      
                                                                      
static rtems_status_code rtems_io_obtain_major_number(                
  rtems_device_major_number *major                                    
)                                                                     
{                                                                     
  rtems_device_major_number n = _IO_Number_of_drivers;                
30007400:	e593e000 	ldr	lr, [r3]                                      
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
30007404:	e35e0000 	cmp	lr, #0                                        
30007408:	0a00002c 	beq	300074c0 <rtems_io_register_driver+0x128>     
3000740c:	e59f30dc 	ldr	r3, [pc, #220]	; 300074f0 <rtems_io_register_driver+0x158>
30007410:	e593c000 	ldr	ip, [r3]                                      
30007414:	e1a0300c 	mov	r3, ip                                        
30007418:	ea000003 	b	3000742c <rtems_io_register_driver+0x94>        
3000741c:	e2844001 	add	r4, r4, #1                                    
30007420:	e15e0004 	cmp	lr, r4                                        
30007424:	e2833018 	add	r3, r3, #24                                   
30007428:	9a000005 	bls	30007444 <rtems_io_register_driver+0xac>      
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
3000742c:	e5930000 	ldr	r0, [r3]                                      
30007430:	e3500000 	cmp	r0, #0                                        
30007434:	1afffff8 	bne	3000741c <rtems_io_register_driver+0x84>      
30007438:	e5930004 	ldr	r0, [r3, #4]                                  
3000743c:	e3500000 	cmp	r0, #0                                        
30007440:	1afffff5 	bne	3000741c <rtems_io_register_driver+0x84>      
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
30007444:	e15e0004 	cmp	lr, r4                                        
30007448:	10843084 	addne	r3, r4, r4, lsl #1                          
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
3000744c:	e5824000 	str	r4, [r2]                                      
                                                                      
  if ( m != n )                                                       
30007450:	108cc183 	addne	ip, ip, r3, lsl #3                          
30007454:	0a00001a 	beq	300074c4 <rtems_io_register_driver+0x12c>     
    }                                                                 
                                                                      
    *registered_major = major;                                        
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
30007458:	e1a0e001 	mov	lr, r1                                        
3000745c:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
30007460:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
30007464:	e89e0003 	ldm	lr, {r0, r1}                                  
30007468:	e88c0003 	stm	ip, {r0, r1}                                  
                                                                      
  _Thread_Enable_dispatch();                                          
3000746c:	eb0006a1 	bl	30008ef8 <_Thread_Enable_dispatch>             
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
30007470:	e3a01000 	mov	r1, #0                                        
30007474:	e1a00004 	mov	r0, r4                                        
30007478:	e1a02001 	mov	r2, r1                                        
}                                                                     
3000747c:	e8bd4010 	pop	{r4, lr}                                      
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
30007480:	ea00218f 	b	3000fac4 <rtems_io_initialize>                  
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
30007484:	e59f3064 	ldr	r3, [pc, #100]	; 300074f0 <rtems_io_register_driver+0x158>
30007488:	e084c084 	add	ip, r4, r4, lsl #1                            
3000748c:	e5933000 	ldr	r3, [r3]                                      
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
30007490:	e793018c 	ldr	r0, [r3, ip, lsl #3]                          
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
30007494:	e083c18c 	add	ip, r3, ip, lsl #3                            
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
30007498:	e3500000 	cmp	r0, #0                                        
3000749c:	0a00000b 	beq	300074d0 <rtems_io_register_driver+0x138>     
    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();                                      
300074a0:	eb000694 	bl	30008ef8 <_Thread_Enable_dispatch>             
300074a4:	e3a0000c 	mov	r0, #12                                       
      return RTEMS_RESOURCE_IN_USE;                                   
300074a8:	e8bd8010 	pop	{r4, pc}                                      
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
300074ac:	e591c004 	ldr	ip, [r1, #4]                                  
300074b0:	e35c0000 	cmp	ip, #0                                        
300074b4:	1affffc8 	bne	300073dc <rtems_io_register_driver+0x44>      
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
300074b8:	e3a00009 	mov	r0, #9                                        
}                                                                     
300074bc:	e8bd8010 	pop	{r4, pc}                                      
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
300074c0:	e5824000 	str	r4, [r2]                                      <== NOT EXECUTED
                                                                      
  if ( major == 0 ) {                                                 
    rtems_status_code sc = rtems_io_obtain_major_number( registered_major );
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
      _Thread_Enable_dispatch();                                      
300074c4:	eb00068b 	bl	30008ef8 <_Thread_Enable_dispatch>             
300074c8:	e3a00005 	mov	r0, #5                                        
      return sc;                                                      
300074cc:	e8bd8010 	pop	{r4, pc}                                      
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
300074d0:	e59c3004 	ldr	r3, [ip, #4]                                  
300074d4:	e3530000 	cmp	r3, #0                                        
300074d8:	1afffff0 	bne	300074a0 <rtems_io_register_driver+0x108>     
    if ( !rtems_io_is_empty_table( table ) ) {                        
      _Thread_Enable_dispatch();                                      
      return RTEMS_RESOURCE_IN_USE;                                   
    }                                                                 
                                                                      
    *registered_major = major;                                        
300074dc:	e5824000 	str	r4, [r2]                                      
300074e0:	eaffffdc 	b	30007458 <rtems_io_register_driver+0xc0>        
300074e4:	3001ff7c 	.word	0x3001ff7c                                  
300074e8:	30020164 	.word	0x30020164                                  
300074ec:	3001feec 	.word	0x3001feec                                  
300074f0:	30020168 	.word	0x30020168                                  
                                                                      
30001c18 <rtems_libio_init>:                                          
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
{                                                                     
30001c18:	e92d4010 	push	{r4, lr}                                     
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
30001c1c:	e59f40b4 	ldr	r4, [pc, #180]	; 30001cd8 <rtems_libio_init+0xc0>
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
{                                                                     
30001c20:	e24dd004 	sub	sp, sp, #4                                    
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
30001c24:	e5940000 	ldr	r0, [r4]                                      
30001c28:	e3500000 	cmp	r0, #0                                        
30001c2c:	0a000016 	beq	30001c8c <rtems_libio_init+0x74>              
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
30001c30:	e3a01040 	mov	r1, #64	; 0x40                                
30001c34:	eb001f1a 	bl	300098a4 <calloc>                              
30001c38:	e59f309c 	ldr	r3, [pc, #156]	; 30001cdc <rtems_libio_init+0xc4>
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
30001c3c:	e3500000 	cmp	r0, #0                                        
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
30001c40:	e5830000 	str	r0, [r3]                                      
30001c44:	e1a02000 	mov	r2, r0                                        
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
30001c48:	0a000020 	beq	30001cd0 <rtems_libio_init+0xb8>              
            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++)         
30001c4c:	e5941000 	ldr	r1, [r4]                                      
        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;            
30001c50:	e59f3088 	ldr	r3, [pc, #136]	; 30001ce0 <rtems_libio_init+0xc8>
	for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)         
30001c54:	e3510001 	cmp	r1, #1                                        
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
30001c58:	e5830000 	str	r0, [r3]                                      
	for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)         
30001c5c:	9a000008 	bls	30001c84 <rtems_libio_init+0x6c>              
30001c60:	e2803040 	add	r3, r0, #64	; 0x40                            
30001c64:	e3a02001 	mov	r2, #1                                        
		iop->data1 = iop + 1;                                               
30001c68:	e2822001 	add	r2, r2, #1                                    
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
	for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)         
30001c6c:	e1520001 	cmp	r2, r1                                        
		iop->data1 = iop + 1;                                               
30001c70:	e503300c 	str	r3, [r3, #-12]                                
30001c74:	e2833040 	add	r3, r3, #64	; 0x40                            
                                                    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++)         
30001c78:	1afffffa 	bne	30001c68 <rtems_libio_init+0x50>              
30001c7c:	e2422001 	sub	r2, r2, #1                                    
30001c80:	e0802302 	add	r2, r0, r2, lsl #6                            
		iop->data1 = iop + 1;                                               
	iop->data1 = NULL;                                                   
30001c84:	e3a03000 	mov	r3, #0                                        
30001c88:	e5823034 	str	r3, [r2, #52]	; 0x34                          
  /*                                                                  
   *  Create the binary semaphore used to provide mutual exclusion    
   *  on the IOP Table.                                               
   */                                                                 
                                                                      
  rc = rtems_semaphore_create(                                        
30001c8c:	e59fc050 	ldr	ip, [pc, #80]	; 30001ce4 <rtems_libio_init+0xcc>
30001c90:	e59f0050 	ldr	r0, [pc, #80]	; 30001ce8 <rtems_libio_init+0xd0>
30001c94:	e3a01001 	mov	r1, #1                                        
30001c98:	e3a02054 	mov	r2, #84	; 0x54                                
30001c9c:	e3a03000 	mov	r3, #0                                        
30001ca0:	e58dc000 	str	ip, [sp]                                      
30001ca4:	eb000c4d 	bl	30004de0 <rtems_semaphore_create>              
    1,                                                                
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
30001ca8:	e3500000 	cmp	r0, #0                                        
30001cac:	1a000006 	bne	30001ccc <rtems_libio_init+0xb4>              
                                                                      
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
30001cb0:	e59f3034 	ldr	r3, [pc, #52]	; 30001cec <rtems_libio_init+0xd4>
30001cb4:	e5933000 	ldr	r3, [r3]                                      
30001cb8:	e3530000 	cmp	r3, #0                                        
     (* rtems_fs_init_helper)();                                      
30001cbc:	11a0e00f 	movne	lr, pc                                      
30001cc0:	112fff13 	bxne	r3                                           
}                                                                     
30001cc4:	e28dd004 	add	sp, sp, #4                                    
30001cc8:	e8bd8010 	pop	{r4, pc}                                      
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
    rtems_fatal_error_occurred( rc );                                 
30001ccc:	eb000e7d 	bl	300056c8 <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);              
30001cd0:	e280001a 	add	r0, r0, #26                                   <== NOT EXECUTED
30001cd4:	eb000e7b 	bl	300056c8 <rtems_fatal_error_occurred>          <== NOT EXECUTED
30001cd8:	30018e24 	.word	0x30018e24                                  
30001cdc:	30019950 	.word	0x30019950                                  
30001ce0:	30019954 	.word	0x30019954                                  
30001ce4:	30019958 	.word	0x30019958                                  
30001ce8:	4c42494f 	.word	0x4c42494f                                  
30001cec:	30018e20 	.word	0x30018e20                                  
                                                                      
30026ad4 <rtems_libio_set_private_env>:                               
		rtems_filesystem_freenode( &env->root_directory);                   
		free(env);                                                          
	}                                                                    
}                                                                     
                                                                      
rtems_status_code rtems_libio_set_private_env(void) {                 
30026ad4:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  rtems_status_code 					sc;                                          
  rtems_id          					task_id;                                     
  rtems_filesystem_location_info_t		loc;                              
                                                                      
  sc=rtems_task_ident(RTEMS_SELF,0,&task_id);                         
30026ad8:	e3a00000 	mov	r0, #0                                        
		rtems_filesystem_freenode( &env->root_directory);                   
		free(env);                                                          
	}                                                                    
}                                                                     
                                                                      
rtems_status_code rtems_libio_set_private_env(void) {                 
30026adc:	e24dd01c 	sub	sp, sp, #28                                   
  rtems_status_code 					sc;                                          
  rtems_id          					task_id;                                     
  rtems_filesystem_location_info_t		loc;                              
                                                                      
  sc=rtems_task_ident(RTEMS_SELF,0,&task_id);                         
30026ae0:	e1a01000 	mov	r1, r0                                        
30026ae4:	e28d2018 	add	r2, sp, #24                                   
30026ae8:	eb0005be 	bl	300281e8 <rtems_task_ident>                    
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
30026aec:	e2508000 	subs	r8, r0, #0                                   
30026af0:	1a00002e 	bne	30026bb0 <rtems_libio_set_private_env+0xdc>   
                                                                      
  /* Only for the first time a malloc is necesary */                  
  if (rtems_current_user_env==&rtems_global_user_env) {               
30026af4:	e59f60fc 	ldr	r6, [pc, #252]	; 30026bf8 <rtems_libio_set_private_env+0x124>
30026af8:	e59f30fc 	ldr	r3, [pc, #252]	; 30026bfc <rtems_libio_set_private_env+0x128>
30026afc:	e5964000 	ldr	r4, [r6]                                      
30026b00:	e1540003 	cmp	r4, r3                                        
30026b04:	0a00002c 	beq	30026bbc <rtems_libio_set_private_env+0xe8>   
     return sc;                                                       
   }                                                                  
   rtems_current_user_env = tmp;                                      
  };                                                                  
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
30026b08:	e59f10ec 	ldr	r1, [pc, #236]	; 30026bfc <rtems_libio_set_private_env+0x128>
30026b0c:	e3a02048 	mov	r2, #72	; 0x48                                
30026b10:	e1a00004 	mov	r0, r4                                        
30026b14:	eb0067b1 	bl	300409e0 <memcpy>                              
  rtems_current_user_env->task_id=task_id;         /* mark the local values*/
                                                                      
  /* get a clean root */                                              
  rtems_filesystem_root    = THE_ROOT_FS_LOC;                         
30026b18:	e59f30e0 	ldr	r3, [pc, #224]	; 30026c00 <rtems_libio_set_private_env+0x12c>
   }                                                                  
   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*/
30026b1c:	e1a0c004 	mov	ip, r4                                        
                                                                      
  /* get a clean root */                                              
  rtems_filesystem_root    = THE_ROOT_FS_LOC;                         
30026b20:	e593e000 	ldr	lr, [r3]                                      
   }                                                                  
   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*/
30026b24:	e59d3018 	ldr	r3, [sp, #24]                                 
                                                                      
  /* get a clean root */                                              
  rtems_filesystem_root    = THE_ROOT_FS_LOC;                         
30026b28:	e28ee01c 	add	lr, lr, #28                                   
   }                                                                  
   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*/
30026b2c:	e48c3018 	str	r3, [ip], #24                                 
                                                                      
  /* get a clean root */                                              
  rtems_filesystem_root    = THE_ROOT_FS_LOC;                         
30026b30:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
30026b34:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
30026b38:	e59e3000 	ldr	r3, [lr]                                      
   * 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);                 
30026b3c:	e3a05000 	mov	r5, #0                                        
30026b40:	e28d4004 	add	r4, sp, #4                                    
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
  rtems_current_user_env->task_id=task_id;         /* mark the local values*/
                                                                      
  /* get a clean root */                                              
  rtems_filesystem_root    = THE_ROOT_FS_LOC;                         
30026b44:	e58c3000 	str	r3, [ip]                                      
   * 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);                 
30026b48:	e3a01001 	mov	r1, #1                                        
30026b4c:	e1a03004 	mov	r3, r4                                        
30026b50:	e1a02005 	mov	r2, r5                                        
30026b54:	e59f00a8 	ldr	r0, [pc, #168]	; 30026c04 <rtems_libio_set_private_env+0x130>
30026b58:	e58d5000 	str	r5, [sp]                                      
30026b5c:	ebff780e 	bl	30004b9c <rtems_filesystem_evaluate_path>      
  rtems_filesystem_root    = loc;                                     
30026b60:	e596c000 	ldr	ip, [r6]                                      
30026b64:	e1a07004 	mov	r7, r4                                        
30026b68:	e28cc018 	add	ip, ip, #24                                   
30026b6c:	e8b7000f 	ldm	r7!, {r0, r1, r2, r3}                         
30026b70:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
30026b74:	e5973000 	ldr	r3, [r7]                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
30026b78:	e3a01001 	mov	r1, #1                                        
   * what we are trying to do here is forking off                     
   * clones.                                                          
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root    = loc;                                     
30026b7c:	e58c3000 	str	r3, [ip]                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
30026b80:	e1a02005 	mov	r2, r5                                        
30026b84:	e1a03004 	mov	r3, r4                                        
30026b88:	e59f0074 	ldr	r0, [pc, #116]	; 30026c04 <rtems_libio_set_private_env+0x130>
30026b8c:	e58d5000 	str	r5, [sp]                                      
30026b90:	ebff7801 	bl	30004b9c <rtems_filesystem_evaluate_path>      
  rtems_filesystem_current = loc;                                     
30026b94:	e8b4000f 	ldm	r4!, {r0, r1, r2, r3}                         
30026b98:	e596c000 	ldr	ip, [r6]                                      
30026b9c:	e1a08005 	mov	r8, r5                                        
30026ba0:	e28cc004 	add	ip, ip, #4                                    
30026ba4:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
30026ba8:	e5973000 	ldr	r3, [r7]                                      
30026bac:	e58c3000 	str	r3, [ip]                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
30026bb0:	e1a00008 	mov	r0, r8                                        
30026bb4:	e28dd01c 	add	sp, sp, #28                                   
30026bb8:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
  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));          
30026bbc:	e3a00048 	mov	r0, #72	; 0x48                                
30026bc0:	ebff79c0 	bl	300052c8 <malloc>                              
   if (!tmp)                                                          
30026bc4:	e2504000 	subs	r4, r0, #0                                   
30026bc8:	03a0801a 	moveq	r8, #26                                     
30026bcc:	0afffff7 	beq	30026bb0 <rtems_libio_set_private_env+0xdc>   
                                                                      
#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„±
30026bd0:	e1a00008 	mov	r0, r8                                        
30026bd4:	e1a01006 	mov	r1, r6                                        
30026bd8:	e59f2028 	ldr	r2, [pc, #40]	; 30026c08 <rtems_libio_set_private_env+0x134>
30026bdc:	eb000686 	bl	300285fc <rtems_task_variable_add>             
   if (sc != RTEMS_SUCCESSFUL) {                                      
30026be0:	e2508000 	subs	r8, r0, #0                                   
	  * not initialized yet                                              
	  */                                                                 
     free(tmp);                                                       
     return sc;                                                       
   }                                                                  
   rtems_current_user_env = tmp;                                      
30026be4:	05864000 	streq	r4, [r6]                                    
#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„±
   if (sc != RTEMS_SUCCESSFUL) {                                      
30026be8:	0affffc6 	beq	30026b08 <rtems_libio_set_private_env+0x34>   
	 /* don't use free_user_env because the pathlocs are                 
	  * not initialized yet                                              
	  */                                                                 
     free(tmp);                                                       
30026bec:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
30026bf0:	ebff781a 	bl	30004c60 <free>                                <== NOT EXECUTED
     return sc;                                                       
30026bf4:	eaffffed 	b	30026bb0 <rtems_libio_set_private_env+0xdc>     <== NOT EXECUTED
30026bf8:	30061b08 	.word	0x30061b08                                  
30026bfc:	30065a9c 	.word	0x30065a9c                                  
30026c00:	30065a84 	.word	0x30065a84                                  
30026c04:	30061508 	.word	0x30061508                                  
30026c08:	300269c0 	.word	0x300269c0                                  
                                                                      
30026a24 <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) {   
30026a24:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
30026a28:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
30026a2c:	e24dd008 	sub	sp, sp, #8                                    <== 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);                 
30026a30:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
30026a34:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
30026a38:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
30026a3c:	eb0005e9 	bl	300281e8 <rtems_task_ident>                    <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
30026a40:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
30026a44:	1a00000d 	bne	30026a80 <rtems_libio_share_private_env+0x5c> <== NOT EXECUTED
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
30026a48:	e59f4078 	ldr	r4, [pc, #120]	; 30026ac8 <rtems_libio_share_private_env+0xa4><== NOT EXECUTED
30026a4c:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
30026a50:	e5946000 	ldr	r6, [r4]                                      <== NOT EXECUTED
30026a54:	e5962000 	ldr	r2, [r6]                                      <== NOT EXECUTED
30026a58:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
30026a5c:	0a00000a 	beq	30026a8c <rtems_libio_share_private_env+0x68> <== 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,
30026a60:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
30026a64:	e59f105c 	ldr	r1, [pc, #92]	; 30026ac8 <rtems_libio_share_private_env+0xa4><== NOT EXECUTED
30026a68:	e28d2004 	add	r2, sp, #4                                    <== NOT EXECUTED
30026a6c:	eb000735 	bl	30028748 <rtems_task_variable_get>             <== NOT EXECUTED
		                       (void*)&shared_user_env       );             
  if (sc != RTEMS_SUCCESSFUL)                                         
30026a70:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
30026a74:	0a00000b 	beq	30026aa8 <rtems_libio_share_private_env+0x84> <== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
                                                                      
bailout:                                                              
  /* fallback to the global env */                                    
  rtems_current_user_env = &rtems_global_user_env;                    
30026a78:	e59f204c 	ldr	r2, [pc, #76]	; 30026acc <rtems_libio_share_private_env+0xa8><== NOT EXECUTED
30026a7c:	e5842000 	str	r2, [r4]                                      <== NOT EXECUTED
  return sc;                                                          
}                                                                     
30026a80:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
30026a84:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
30026a88:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== 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);
30026a8c:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
30026a90:	eb000706 	bl	300286b0 <rtems_task_variable_delete>          <== NOT EXECUTED
   if (sc != RTEMS_SUCCESSFUL) return sc;                             
30026a94:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
30026a98:	1afffff8 	bne	30026a80 <rtems_libio_share_private_env+0x5c> <== NOT EXECUTED
   free_user_env(tmp);                                                
30026a9c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
30026aa0:	ebffffc6 	bl	300269c0 <free_user_env>                       <== NOT EXECUTED
30026aa4:	eaffffed 	b	30026a60 <rtems_libio_share_private_env+0x3c>   <== 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);
30026aa8:	e59f1018 	ldr	r1, [pc, #24]	; 30026ac8 <rtems_libio_share_private_env+0xa4><== NOT EXECUTED
30026aac:	e59f201c 	ldr	r2, [pc, #28]	; 30026ad0 <rtems_libio_share_private_env+0xac><== NOT EXECUTED
30026ab0:	eb0006d1 	bl	300285fc <rtems_task_variable_add>             <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
30026ab4:	e2503000 	subs	r3, r0, #0                                   <== NOT EXECUTED
30026ab8:	1affffee 	bne	30026a78 <rtems_libio_share_private_env+0x54> <== NOT EXECUTED
    goto bailout;                                                     
                                                                      
  /* the current_user_env is the same pointer that remote env */      
  rtems_current_user_env = shared_user_env;                           
30026abc:	e59d2004 	ldr	r2, [sp, #4]                                  <== NOT EXECUTED
30026ac0:	e5842000 	str	r2, [r4]                                      <== NOT EXECUTED
  /* increase the reference count */                                  
#ifdef HAVE_USERENV_REFCNT                                            
  rtems_current_user_env->refcnt++;                                   
#endif                                                                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
30026ac4:	eaffffed 	b	30026a80 <rtems_libio_share_private_env+0x5c>   <== NOT EXECUTED
30026ac8:	30061b08 	.word	0x30061b08                                  
30026acc:	30065a9c 	.word	0x30065a9c                                  
30026ad0:	300269c0 	.word	0x300269c0                                  
                                                                      
300053c4 <rtems_malloc_statistics_at_free>:                           
 *  size and thus we skip updating the statistics.                    
 */                                                                   
static void rtems_malloc_statistics_at_free(                          
  void *pointer                                                       
)                                                                     
{                                                                     
300053c4:	e92d4800 	push	{fp, lr}                                     <== NOT EXECUTED
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
300053c8:	e59f3040 	ldr	r3, [pc, #64]	; 30005410 <rtems_malloc_statistics_at_free+0x4c><== NOT EXECUTED
 *  size and thus we skip updating the statistics.                    
 */                                                                   
static void rtems_malloc_statistics_at_free(                          
  void *pointer                                                       
)                                                                     
{                                                                     
300053cc:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
300053d0:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
300053d4:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
300053d8:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
300053dc:	eb00157a 	bl	3000a9cc <_Protected_heap_Get_block_size>      <== NOT EXECUTED
300053e0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
300053e4:	0a000007 	beq	30005408 <rtems_malloc_statistics_at_free+0x44><== NOT EXECUTED
    MSBUMP(lifetime_freed, size);                                     
300053e8:	e59f3024 	ldr	r3, [pc, #36]	; 30005414 <rtems_malloc_statistics_at_free+0x50><== NOT EXECUTED
300053ec:	e59d0000 	ldr	r0, [sp]                                      <== NOT EXECUTED
300053f0:	e283c024 	add	ip, r3, #36	; 0x24                            <== NOT EXECUTED
300053f4:	e89c1800 	ldm	ip, {fp, ip}                                  <== NOT EXECUTED
300053f8:	e09b1000 	adds	r1, fp, r0                                   <== NOT EXECUTED
300053fc:	e2ac2000 	adc	r2, ip, #0                                    <== NOT EXECUTED
30005400:	e5831024 	str	r1, [r3, #36]	; 0x24                          <== NOT EXECUTED
30005404:	e5832028 	str	r2, [r3, #40]	; 0x28                          <== NOT EXECUTED
  }                                                                   
}                                                                     
30005408:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
3000540c:	e8bd8800 	pop	{fp, pc}                                      <== NOT EXECUTED
30005410:	300617dc 	.word	0x300617dc                                  
30005414:	30065a58 	.word	0x30065a58                                  
                                                                      
30005418 <rtems_malloc_statistics_at_malloc>:                         
}                                                                     
                                                                      
static void rtems_malloc_statistics_at_malloc(                        
  void *pointer                                                       
)                                                                     
{                                                                     
30005418:	e92d4810 	push	{r4, fp, lr}                                 <== NOT EXECUTED
  uintptr_t actual_size = 0;                                          
  uint32_t current_depth;                                             
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
3000541c:	e2501000 	subs	r1, r0, #0                                   <== NOT EXECUTED
}                                                                     
                                                                      
static void rtems_malloc_statistics_at_malloc(                        
  void *pointer                                                       
)                                                                     
{                                                                     
30005420:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
  uintptr_t actual_size = 0;                                          
  uint32_t current_depth;                                             
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
30005424:	0a000013 	beq	30005478 <rtems_malloc_statistics_at_malloc+0x60><== NOT EXECUTED
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
30005428:	e59f3050 	ldr	r3, [pc, #80]	; 30005480 <rtems_malloc_statistics_at_malloc+0x68><== NOT EXECUTED
                                                                      
static void rtems_malloc_statistics_at_malloc(                        
  void *pointer                                                       
)                                                                     
{                                                                     
  uintptr_t actual_size = 0;                                          
3000542c:	e28d2004 	add	r2, sp, #4                                    <== NOT EXECUTED
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
30005430:	e5930000 	ldr	r0, [r3]                                      <== NOT EXECUTED
                                                                      
static void rtems_malloc_statistics_at_malloc(                        
  void *pointer                                                       
)                                                                     
{                                                                     
  uintptr_t actual_size = 0;                                          
30005434:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
30005438:	e5223004 	str	r3, [r2, #-4]!                                <== NOT EXECUTED
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
3000543c:	e1a0200d 	mov	r2, sp                                        <== NOT EXECUTED
30005440:	eb001561 	bl	3000a9cc <_Protected_heap_Get_block_size>      <== NOT EXECUTED
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
30005444:	e59f3038 	ldr	r3, [pc, #56]	; 30005484 <rtems_malloc_statistics_at_malloc+0x6c><== NOT EXECUTED
30005448:	e59d4000 	ldr	r4, [sp]                                      <== NOT EXECUTED
3000544c:	e283c01c 	add	ip, r3, #28                                   <== NOT EXECUTED
30005450:	e89c1800 	ldm	ip, {fp, ip}                                  <== NOT EXECUTED
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
30005454:	e5930024 	ldr	r0, [r3, #36]	; 0x24                          <== NOT EXECUTED
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
30005458:	e09b1004 	adds	r1, fp, r4                                   <== NOT EXECUTED
3000545c:	e2ac2000 	adc	r2, ip, #0                                    <== NOT EXECUTED
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
  if (current_depth > s->max_depth)                                   
30005460:	e593c018 	ldr	ip, [r3, #24]                                 <== NOT EXECUTED
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
30005464:	e0600001 	rsb	r0, r0, r1                                    <== NOT EXECUTED
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
30005468:	e583101c 	str	r1, [r3, #28]                                 <== NOT EXECUTED
3000546c:	e5832020 	str	r2, [r3, #32]                                 <== NOT EXECUTED
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
  if (current_depth > s->max_depth)                                   
30005470:	e150000c 	cmp	r0, ip                                        <== NOT EXECUTED
      s->max_depth = current_depth;                                   
30005474:	85830018 	strhi	r0, [r3, #24]                               <== NOT EXECUTED
}                                                                     
30005478:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
3000547c:	e8bd8810 	pop	{r4, fp, pc}                                  <== NOT EXECUTED
30005480:	300617dc 	.word	0x300617dc                                  
30005484:	30065a58 	.word	0x30065a58                                  
                                                                      
30005488 <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));
30005488:	e59f1038 	ldr	r1, [pc, #56]	; 300054c8 <rtems_malloc_statistics_initialize+0x40><== NOT EXECUTED
3000548c:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
30005490:	e1a03001 	mov	r3, r1                                        <== NOT EXECUTED
30005494:	e4832004 	str	r2, [r3], #4                                  <== NOT EXECUTED
30005498:	e2833004 	add	r3, r3, #4                                    <== NOT EXECUTED
3000549c:	e4832004 	str	r2, [r3], #4                                  <== NOT EXECUTED
300054a0:	e4832004 	str	r2, [r3], #4                                  <== NOT EXECUTED
300054a4:	e4832004 	str	r2, [r3], #4                                  <== NOT EXECUTED
300054a8:	e4832004 	str	r2, [r3], #4                                  <== NOT EXECUTED
300054ac:	e4832004 	str	r2, [r3], #4                                  <== NOT EXECUTED
300054b0:	e4832004 	str	r2, [r3], #4                                  <== NOT EXECUTED
300054b4:	e4832004 	str	r2, [r3], #4                                  <== NOT EXECUTED
300054b8:	e4832004 	str	r2, [r3], #4                                  <== NOT EXECUTED
300054bc:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
300054c0:	e5812004 	str	r2, [r1, #4]                                  <== NOT EXECUTED
}                                                                     
300054c4:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
300054c8:	30065a58 	.word	0x30065a58                                  
                                                                      
30006c1c <rtems_panic>:                                               
                                                                      
void rtems_panic(                                                     
    const char *printf_format,                                        
    ...                                                               
  )                                                                   
{                                                                     
30006c1c:	e92d000f 	push	{r0, r1, r2, r3}                             <== NOT EXECUTED
30006c20:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
30006c24:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
    va_list arglist;                                                  
                                                                      
    va_start(arglist, printf_format);                                 
30006c28:	e28d300c 	add	r3, sp, #12                                   <== NOT EXECUTED
    (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);   
30006c2c:	e1a02003 	mov	r2, r3                                        <== NOT EXECUTED
30006c30:	e59d1008 	ldr	r1, [sp, #8]                                  <== NOT EXECUTED
30006c34:	e3a00202 	mov	r0, #536870912	; 0x20000000                   <== NOT EXECUTED
    ...                                                               
  )                                                                   
{                                                                     
    va_list arglist;                                                  
                                                                      
    va_start(arglist, printf_format);                                 
30006c38:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
    (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);   
30006c3c:	ebffff8d 	bl	30006a78 <rtems_verror>                        <== NOT EXECUTED
    va_end(arglist);                                                  
}                                                                     
30006c40:	e28dd004 	add	sp, sp, #4                                    <== NOT EXECUTED
30006c44:	e49de004 	pop	{lr}		; (ldr lr, [sp], #4)                    <== NOT EXECUTED
30006c48:	e28dd010 	add	sp, sp, #16                                   <== NOT EXECUTED
30006c4c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      
3000b004 <rtems_pipe_initialize>:                                     
                                                                      
/*                                                                    
 * Initialization of FIFO/pipe module.                                
 */                                                                   
void rtems_pipe_initialize (void)                                     
{                                                                     
3000b004:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  if (!rtems_pipe_configured)                                         
3000b008:	e59f3054 	ldr	r3, [pc, #84]	; 3000b064 <rtems_pipe_initialize+0x60>
                                                                      
/*                                                                    
 * Initialization of FIFO/pipe module.                                
 */                                                                   
void rtems_pipe_initialize (void)                                     
{                                                                     
3000b00c:	e24dd004 	sub	sp, sp, #4                                    
  if (!rtems_pipe_configured)                                         
3000b010:	e5d33000 	ldrb	r3, [r3]                                     
3000b014:	e3530000 	cmp	r3, #0                                        
3000b018:	0a000003 	beq	3000b02c <rtems_pipe_initialize+0x28>         
    return;                                                           
                                                                      
  if (rtems_pipe_semaphore)                                           
3000b01c:	e59fc044 	ldr	ip, [pc, #68]	; 3000b068 <rtems_pipe_initialize+0x64><== NOT EXECUTED
3000b020:	e59c3000 	ldr	r3, [ip]                                      <== NOT EXECUTED
3000b024:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
3000b028:	0a000001 	beq	3000b034 <rtems_pipe_initialize+0x30>         <== NOT EXECUTED
    rtems_fatal_error_occurred (sc);                                  
                                                                      
  rtems_interval now;                                                 
  now = rtems_clock_get_ticks_since_boot();                           
  rtems_pipe_no = now;                                                
}                                                                     
3000b02c:	e28dd004 	add	sp, sp, #4                                    
3000b030:	e8bd8000 	pop	{pc}                                          
                                                                      
  if (rtems_pipe_semaphore)                                           
    return;                                                           
                                                                      
  rtems_status_code sc;                                               
  sc = rtems_semaphore_create(                                        
3000b034:	e59f0030 	ldr	r0, [pc, #48]	; 3000b06c <rtems_pipe_initialize+0x68><== NOT EXECUTED
3000b038:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
3000b03c:	e3a02054 	mov	r2, #84	; 0x54                                <== NOT EXECUTED
3000b040:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
3000b044:	ebffe765 	bl	30004de0 <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)                                         
3000b048:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
3000b04c:	1a000003 	bne	3000b060 <rtems_pipe_initialize+0x5c>         <== NOT EXECUTED
    rtems_fatal_error_occurred (sc);                                  
                                                                      
  rtems_interval now;                                                 
  now = rtems_clock_get_ticks_since_boot();                           
3000b050:	ebffe659 	bl	300049bc <rtems_clock_get_ticks_since_boot>    <== NOT EXECUTED
  rtems_pipe_no = now;                                                
3000b054:	e59f3014 	ldr	r3, [pc, #20]	; 3000b070 <rtems_pipe_initialize+0x6c><== NOT EXECUTED
3000b058:	e1c300b0 	strh	r0, [r3]                                     <== NOT EXECUTED
3000b05c:	eafffff2 	b	3000b02c <rtems_pipe_initialize+0x28>           <== 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);                                  
3000b060:	ebffe998 	bl	300056c8 <rtems_fatal_error_occurred>          <== NOT EXECUTED
3000b064:	3001959c 	.word	0x3001959c                                  
3000b068:	300196cc 	.word	0x300196cc                                  
3000b06c:	50495045 	.word	0x50495045                                  
3000b070:	300196d2 	.word	0x300196d2                                  
                                                                      
30003250 <rtems_stack_checker_is_blown>:                              
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
30003250:	e92d4830 	push	{r4, r5, fp, lr}                             
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
30003254:	e59f4078 	ldr	r4, [pc, #120]	; 300032d4 <rtems_stack_checker_is_blown+0x84>
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
30003258:	e28db00c 	add	fp, sp, #12                                   
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
3000325c:	e5943000 	ldr	r3, [r4]                                      
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
30003260:	e59300c4 	ldr	r0, [r3, #196]	; 0xc4                         
30003264:	e15b0000 	cmp	fp, r0                                        
30003268:	33a05000 	movcc	r5, #0                                      
3000326c:	3a000004 	bcc	30003284 <rtems_stack_checker_is_blown+0x34>  
}                                                                     
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
30003270:	e59350c0 	ldr	r5, [r3, #192]	; 0xc0                         
30003274:	e0805005 	add	r5, r0, r5                                    
30003278:	e15b0005 	cmp	fp, r5                                        
3000327c:	83a05000 	movhi	r5, #0                                      
30003280:	93a05001 	movls	r5, #1                                      
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
30003284:	e59f304c 	ldr	r3, [pc, #76]	; 300032d8 <rtems_stack_checker_is_blown+0x88>
30003288:	e5933000 	ldr	r3, [r3]                                      
3000328c:	e3530000 	cmp	r3, #0                                        
30003290:	03a01001 	moveq	r1, #1                                      
30003294:	0a000005 	beq	300032b0 <rtems_stack_checker_is_blown+0x60>  
    pattern_ok = (!memcmp(                                            
30003298:	e59f103c 	ldr	r1, [pc, #60]	; 300032dc <rtems_stack_checker_is_blown+0x8c>
3000329c:	e2800008 	add	r0, r0, #8                                    
300032a0:	e3a02010 	mov	r2, #16                                       
300032a4:	eb00f5a3 	bl	30040938 <memcmp>                              
300032a8:	e2701001 	rsbs	r1, r0, #1                                   
300032ac:	33a01000 	movcc	r1, #0                                      
  }                                                                   
                                                                      
  /*                                                                  
   * The Stack Pointer and the Pattern Area are OK so return false.   
   */                                                                 
  if ( sp_ok && pattern_ok )                                          
300032b0:	e3550000 	cmp	r5, #0                                        
300032b4:	0a000002 	beq	300032c4 <rtems_stack_checker_is_blown+0x74>  
300032b8:	e3510000 	cmp	r1, #0                                        
300032bc:	13a00000 	movne	r0, #0                                      
300032c0:	18bd8830 	popne	{r4, r5, fp, pc}                            
    return false;                                                     
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  Stack_check_report_blown_task( _Thread_Executing, pattern_ok );     
300032c4:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
300032c8:	ebffffb3 	bl	3000319c <Stack_check_report_blown_task>       <== NOT EXECUTED
300032cc:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
  return true;                                                        
}                                                                     
300032d0:	e8bd8830 	pop	{r4, r5, fp, pc}                              <== NOT EXECUTED
300032d4:	30065c80 	.word	0x30065c80                                  
300032d8:	30062d4c 	.word	0x30062d4c                                  
300032dc:	30065a28 	.word	0x30065a28                                  
                                                                      
3000318c <rtems_stack_checker_report_usage>:                          
                                                                      
void rtems_stack_checker_report_usage( void )                         
{                                                                     
  rtems_stack_checker_report_usage_with_plugin( NULL, printk_plugin );
3000318c:	e59f1004 	ldr	r1, [pc, #4]	; 30003198 <rtems_stack_checker_report_usage+0xc><== NOT EXECUTED
30003190:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
30003194:	eaffffe3 	b	30003128 <rtems_stack_checker_report_usage_with_plugin><== NOT EXECUTED
30003198:	30005e80 	.word	0x30005e80                                  
                                                                      
30003128 <rtems_stack_checker_report_usage_with_plugin>:              
                                                                      
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
30003128:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
  print_context = context;                                            
3000312c:	e59f4048 	ldr	r4, [pc, #72]	; 3000317c <rtems_stack_checker_report_usage_with_plugin+0x54><== NOT EXECUTED
                                                                      
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
30003130:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
30003134:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
  print_context = context;                                            
  print_handler = print;                                              
30003138:	e5841004 	str	r1, [r4, #4]                                  <== NOT EXECUTED
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
  print_context = context;                                            
3000313c:	e5840008 	str	r0, [r4, #8]                                  <== NOT EXECUTED
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
30003140:	e59f1038 	ldr	r1, [pc, #56]	; 30003180 <rtems_stack_checker_report_usage_with_plugin+0x58><== NOT EXECUTED
30003144:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30003148:	e12fff15 	bx	r5                                             <== NOT EXECUTED
  (*print)( context,                                                  
3000314c:	e59f1030 	ldr	r1, [pc, #48]	; 30003184 <rtems_stack_checker_report_usage_with_plugin+0x5c><== NOT EXECUTED
30003150:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
30003154:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30003158:	e12fff15 	bx	r5                                             <== 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 );   
3000315c:	e59f0024 	ldr	r0, [pc, #36]	; 30003188 <rtems_stack_checker_report_usage_with_plugin+0x60><== NOT EXECUTED
30003160:	eb001be0 	bl	3000a0e8 <rtems_iterate_over_all_threads>      <== NOT EXECUTED
                                                                      
  /* dump interrupt stack info if any */                              
  Stack_check_Dump_threads_usage((Thread_Control *) -1);              
30003164:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30003168:	ebffff9d 	bl	30002fe4 <Stack_check_Dump_threads_usage>      <== NOT EXECUTED
                                                                      
  print_context = NULL;                                               
3000316c:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
  print_handler = NULL;                                               
30003170:	e5843004 	str	r3, [r4, #4]                                  <== 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;                                               
30003174:	e5843008 	str	r3, [r4, #8]                                  <== NOT EXECUTED
  print_handler = NULL;                                               
                                                                      
}                                                                     
30003178:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
3000317c:	30062d4c 	.word	0x30062d4c                                  
30003180:	3005a964 	.word	0x3005a964                                  
30003184:	3005a97c 	.word	0x3005a97c                                  
30003188:	30002fe4 	.word	0x30002fe4                                  
                                                                      
300032e0 <rtems_stack_checker_switch_extension>:                      
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
300032e0:	e92d4810 	push	{r4, fp, lr}                                 
  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;
300032e4:	e59030c4 	ldr	r3, [r0, #196]	; 0xc4                         
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
300032e8:	e28db008 	add	fp, sp, #8                                    
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
300032ec:	e15b0003 	cmp	fp, r3                                        
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
300032f0:	e1a04000 	mov	r4, r0                                        
  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;
300032f4:	e2830008 	add	r0, r3, #8                                    
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
300032f8:	3a000003 	bcc	3000330c <rtems_stack_checker_switch_extension+0x2c>
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
  Stack_Control *the_stack = &running->Start.Initial_stack;           
300032fc:	e59420c0 	ldr	r2, [r4, #192]	; 0xc0                         
30003300:	e0833002 	add	r3, r3, r2                                    
30003304:	e15b0003 	cmp	fp, r3                                        
30003308:	9a000007 	bls	3000332c <rtems_stack_checker_switch_extension+0x4c>
  /*                                                                  
   *  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,                                     
3000330c:	e59f1034 	ldr	r1, [pc, #52]	; 30003348 <rtems_stack_checker_switch_extension+0x68><== NOT EXECUTED
30003310:	e3a02010 	mov	r2, #16                                       <== NOT EXECUTED
30003314:	eb00f587 	bl	30040938 <memcmp>                              <== NOT EXECUTED
30003318:	e2701001 	rsbs	r1, r0, #1                                   <== NOT EXECUTED
3000331c:	33a01000 	movcc	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 );             
30003320:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
  }                                                                   
}                                                                     
30003324:	e8bd4810 	pop	{r4, fp, lr}                                  <== NOT EXECUTED
                                                                      
  pattern_ok = (!memcmp( pattern,                                     
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
    Stack_check_report_blown_task( running, pattern_ok );             
30003328:	eaffff9b 	b	3000319c <Stack_check_report_blown_task>        <== NOT EXECUTED
  /*                                                                  
   *  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,                                     
3000332c:	e59f1014 	ldr	r1, [pc, #20]	; 30003348 <rtems_stack_checker_switch_extension+0x68>
30003330:	e3a02010 	mov	r2, #16                                       
30003334:	eb00f57f 	bl	30040938 <memcmp>                              
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
30003338:	e3500000 	cmp	r0, #0                                        
3000333c:	13a01000 	movne	r1, #0                                      
30003340:	1afffff6 	bne	30003320 <rtems_stack_checker_switch_extension+0x40>
30003344:	e8bd8810 	pop	{r4, fp, pc}                                  
30003348:	30065a28 	.word	0x30065a28                                  
                                                                      
3001b7a8 <rtems_string_to_pointer>:                                   
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
3001b7a8:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
3001b7ac:	e2515000 	subs	r5, r1, #0                                   
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
3001b7b0:	e1a04000 	mov	r4, r0                                        
3001b7b4:	e24dd004 	sub	sp, sp, #4                                    
3001b7b8:	e1a06002 	mov	r6, r2                                        
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
3001b7bc:	03a00009 	moveq	r0, #9                                      
3001b7c0:	0a000013 	beq	3001b814 <rtems_string_to_pointer+0x6c>       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
3001b7c4:	eb008854 	bl	3003d91c <__errno>                             
3001b7c8:	e3a03000 	mov	r3, #0                                        
3001b7cc:	e5803000 	str	r3, [r0]                                      
  *n    = 0;                                                          
3001b7d0:	e5853000 	str	r3, [r5]                                      
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
3001b7d4:	e1a00004 	mov	r0, r4                                        
3001b7d8:	e1a0100d 	mov	r1, sp                                        
3001b7dc:	e3a02010 	mov	r2, #16                                       
3001b7e0:	eb00a7e3 	bl	30045774 <strtoul>                             
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
3001b7e4:	e3560000 	cmp	r6, #0                                        
    *endptr = end;                                                    
3001b7e8:	159d3000 	ldrne	r3, [sp]                                    
3001b7ec:	059d3000 	ldreq	r3, [sp]                                    
3001b7f0:	15863000 	strne	r3, [r6]                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
3001b7f4:	e1530004 	cmp	r3, r4                                        
  *n    = 0;                                                          
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
3001b7f8:	e1a07000 	mov	r7, r0                                        
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
3001b7fc:	03a0000b 	moveq	r0, #11                                     
3001b800:	0a000003 	beq	3001b814 <rtems_string_to_pointer+0x6c>       
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
3001b804:	e3770001 	cmn	r7, #1                                        
3001b808:	0a000003 	beq	3001b81c <rtems_string_to_pointer+0x74>       
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
3001b80c:	e5857000 	str	r7, [r5]                                      
3001b810:	e3a00000 	mov	r0, #0                                        
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
3001b814:	e28dd004 	add	sp, sp, #4                                    
3001b818:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
3001b81c:	eb00883e 	bl	3003d91c <__errno>                             <== NOT EXECUTED
3001b820:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
3001b824:	e3530022 	cmp	r3, #34	; 0x22                                <== NOT EXECUTED
3001b828:	03a0000a 	moveq	r0, #10                                     <== NOT EXECUTED
3001b82c:	1afffff6 	bne	3001b80c <rtems_string_to_pointer+0x64>       <== NOT EXECUTED
3001b830:	eafffff7 	b	3001b814 <rtems_string_to_pointer+0x6c>         <== NOT EXECUTED
                                                                      
30003f40 <rtems_termios_baud_to_index>:                               
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
30003f40:	e3500009 	cmp	r0, #9                                        
30003f44:	012fff1e 	bxeq	lr                                           
30003f48:	da000010 	ble	30003f90 <rtems_termios_baud_to_index+0x50>   
30003f4c:	e350000e 	cmp	r0, #14                                       <== NOT EXECUTED
30003f50:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
30003f54:	da000018 	ble	30003fbc <rtems_termios_baud_to_index+0x7c>   <== NOT EXECUTED
30003f58:	e59f30d0 	ldr	r3, [pc, #208]	; 30004030 <rtems_termios_baud_to_index+0xf0><== NOT EXECUTED
30003f5c:	e1500003 	cmp	r0, r3                                        <== 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;                          
30003f60:	03a00011 	moveq	r0, #17                                     <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
30003f64:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
30003f68:	da000026 	ble	30004008 <rtems_termios_baud_to_index+0xc8>   <== NOT EXECUTED
30003f6c:	e59f30c0 	ldr	r3, [pc, #192]	; 30004034 <rtems_termios_baud_to_index+0xf4><== NOT EXECUTED
30003f70:	e1500003 	cmp	r0, r3                                        <== 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;                          
30003f74:	03a00012 	moveq	r0, #18                                     <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
30003f78:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
30003f7c:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
30003f80:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
30003f84:	1a00001d 	bne	30004000 <rtems_termios_baud_to_index+0xc0>   <== 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;                          
30003f88:	e3a00013 	mov	r0, #19                                       <== NOT EXECUTED
    case B460800:   baud_index = 19;  break;                          
30003f8c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
30003f90:	e3500004 	cmp	r0, #4                                        
30003f94:	012fff1e 	bxeq	lr                                           
30003f98:	ca000010 	bgt	30003fe0 <rtems_termios_baud_to_index+0xa0>   
30003f9c:	e3500001 	cmp	r0, #1                                        
30003fa0:	012fff1e 	bxeq	lr                                           
30003fa4:	da00001e 	ble	30004024 <rtems_termios_baud_to_index+0xe4>   
30003fa8:	e3500002 	cmp	r0, #2                                        <== NOT EXECUTED
30003fac:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
30003fb0:	e3500003 	cmp	r0, #3                                        <== NOT EXECUTED
30003fb4:	1a000011 	bne	30004000 <rtems_termios_baud_to_index+0xc0>   <== NOT EXECUTED
30003fb8:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
30003fbc:	e350000b 	cmp	r0, #11                                       <== NOT EXECUTED
30003fc0:	012fff1e 	bxeq	lr                                           <== 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;                          
30003fc4:	b3a0000a 	movlt	r0, #10                                     <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
30003fc8:	b12fff1e 	bxlt	lr                                           <== NOT EXECUTED
30003fcc:	e350000c 	cmp	r0, #12                                       <== NOT EXECUTED
30003fd0:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
30003fd4:	e350000d 	cmp	r0, #13                                       <== NOT EXECUTED
30003fd8:	1a000008 	bne	30004000 <rtems_termios_baud_to_index+0xc0>   <== NOT EXECUTED
30003fdc:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
30003fe0:	e3500006 	cmp	r0, #6                                        <== NOT EXECUTED
30003fe4:	012fff1e 	bxeq	lr                                           <== 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;                          
30003fe8:	b3a00005 	movlt	r0, #5                                      <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
30003fec:	b12fff1e 	bxlt	lr                                           <== NOT EXECUTED
30003ff0:	e3500007 	cmp	r0, #7                                        <== NOT EXECUTED
30003ff4:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
30003ff8:	e3500008 	cmp	r0, #8                                        <== NOT EXECUTED
30003ffc:	012fff1e 	bxeq	lr                                           <== 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;                          
30004000:	e3e00000 	mvn	r0, #0                                        
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
30004004:	e12fff1e 	bx	lr                                             
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
30004008:	e350000f 	cmp	r0, #15                                       <== NOT EXECUTED
3000400c:	012fff1e 	bxeq	lr                                           <== NOT EXECUTED
30004010:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
30004014:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
30004018:	1afffff8 	bne	30004000 <rtems_termios_baud_to_index+0xc0>   <== 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;                          
3000401c:	e3a00010 	mov	r0, #16                                       <== NOT EXECUTED
    case B57600:    baud_index = 16;  break;                          
30004020:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
30004024:	e3500000 	cmp	r0, #0                                        
30004028:	012fff1e 	bxeq	lr                                           
3000402c:	eafffff3 	b	30004000 <rtems_termios_baud_to_index+0xc0>     
30004030:	00001002 	.word	0x00001002                                  
30004034:	00001003 	.word	0x00001003                                  
                                                                      
30002958 <rtems_termios_bufsize>:                                     
  int cbufsize,                                                       
  int raw_input,                                                      
  int raw_output                                                      
)                                                                     
{                                                                     
  rtems_termios_cbufsize        = cbufsize;                           
30002958:	e59f3008 	ldr	r3, [pc, #8]	; 30002968 <rtems_termios_bufsize+0x10><== NOT EXECUTED
3000295c:	e8830007 	stm	r3, {r0, r1, r2}                              <== NOT EXECUTED
  rtems_termios_raw_input_size  = raw_input;                          
  rtems_termios_raw_output_size = raw_output;                         
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
30002960:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
30002964:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
30002968:	30019008 	.word	0x30019008                                  
                                                                      
30003ee8 <rtems_termios_close>:                                       
	}                                                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
30003ee8:	e92d4070 	push	{r4, r5, r6, lr}                             
	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);
30003eec:	e59f51b0 	ldr	r5, [pc, #432]	; 300040a4 <rtems_termios_close+0x1bc>
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
	rtems_libio_open_close_args_t *args = arg;                           
	struct rtems_termios_tty *tty = args->iop->data1;                    
30003ef0:	e5903000 	ldr	r3, [r0]                                      
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
30003ef4:	e3a01000 	mov	r1, #0                                        
	}                                                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
30003ef8:	e1a06000 	mov	r6, r0                                        
	rtems_libio_open_close_args_t *args = arg;                           
	struct rtems_termios_tty *tty = args->iop->data1;                    
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
30003efc:	e1a02001 	mov	r2, r1                                        
30003f00:	e5950000 	ldr	r0, [r5]                                      
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
	rtems_libio_open_close_args_t *args = arg;                           
	struct rtems_termios_tty *tty = args->iop->data1;                    
30003f04:	e5934034 	ldr	r4, [r3, #52]	; 0x34                          
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
30003f08:	eb00044f 	bl	3000504c <rtems_semaphore_obtain>              
	if (sc != RTEMS_SUCCESSFUL)                                          
30003f0c:	e3500000 	cmp	r0, #0                                        
30003f10:	1a00005f 	bne	30004094 <rtems_termios_close+0x1ac>          
		rtems_fatal_error_occurred (sc);                                    
	if (--tty->refcount == 0) {                                          
30003f14:	e5943008 	ldr	r3, [r4, #8]                                  
30003f18:	e2433001 	sub	r3, r3, #1                                    
30003f1c:	e3530000 	cmp	r3, #0                                        
30003f20:	e5843008 	str	r3, [r4, #8]                                  
30003f24:	1a00002f 	bne	30003fe8 <rtems_termios_close+0x100>          
                if (rtems_termios_linesw[tty->t_line].l_close != NULL) {
30003f28:	e59420cc 	ldr	r2, [r4, #204]	; 0xcc                         
30003f2c:	e59f3174 	ldr	r3, [pc, #372]	; 300040a8 <rtems_termios_close+0x1c0>
30003f30:	e0833282 	add	r3, r3, r2, lsl #5                            
30003f34:	e5931004 	ldr	r1, [r3, #4]                                  
30003f38:	e3510000 	cmp	r1, #0                                        
30003f3c:	0a000040 	beq	30004044 <rtems_termios_close+0x15c>          
			/*                                                                 
			 * call discipline-specific close                                  
			 */                                                                
			sc = rtems_termios_linesw[tty->t_line].l_close(tty);               
30003f40:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
30003f44:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30003f48:	e12fff11 	bx	r1                                             <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
			}                                                                  
		        drainOutput (tty);                                          
		}                                                                   
                                                                      
		if (tty->device.outputUsesInterrupts                                
30003f4c:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         <== NOT EXECUTED
30003f50:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
30003f54:	0a000044 	beq	3000406c <rtems_termios_close+0x184>          <== NOT EXECUTED
                                  tty->txTaskId,                      
				  TERMIOS_TX_TERMINATE_EVENT);                                    
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
		}                                                                   
		if (tty->device.lastClose)                                          
30003f58:	e594309c 	ldr	r3, [r4, #156]	; 0x9c                         
30003f5c:	e3530000 	cmp	r3, #0                                        
			 (*tty->device.lastClose)(tty->major, tty->minor, arg);            
30003f60:	11a02006 	movne	r2, r6                                      
30003f64:	1594000c 	ldrne	r0, [r4, #12]                               
30003f68:	15941010 	ldrne	r1, [r4, #16]                               
30003f6c:	11a0e00f 	movne	lr, pc                                      
30003f70:	112fff13 	bxne	r3                                           
		if (tty->forw == NULL) {                                            
30003f74:	e5943000 	ldr	r3, [r4]                                      
30003f78:	e3530000 	cmp	r3, #0                                        
30003f7c:	0a000020 	beq	30004004 <rtems_termios_close+0x11c>          
			if ( rtems_termios_ttyTail != NULL ) {                             
				rtems_termios_ttyTail->forw = NULL;                               
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
30003f80:	e5942004 	ldr	r2, [r4, #4]                                  
30003f84:	e5832004 	str	r2, [r3, #4]                                  
		}                                                                   
		if (tty->back == NULL) {                                            
30003f88:	e5942004 	ldr	r2, [r4, #4]                                  
30003f8c:	e3520000 	cmp	r2, #0                                        
			if ( rtems_termios_ttyHead != NULL ) {                             
				rtems_termios_ttyHead->back = NULL;                               
			}                                                                  
		}                                                                   
		else {                                                              
			tty->back->forw = tty->forw;                                       
30003f90:	15823000 	strne	r3, [r2]                                    
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
30003f94:	0a000025 	beq	30004030 <rtems_termios_close+0x148>          
			}                                                                  
		}                                                                   
		else {                                                              
			tty->back->forw = tty->forw;                                       
		}                                                                   
		rtems_semaphore_delete (tty->isem);                                 
30003f98:	e5940014 	ldr	r0, [r4, #20]                                 
30003f9c:	eb000401 	bl	30004fa8 <rtems_semaphore_delete>              
		rtems_semaphore_delete (tty->osem);                                 
30003fa0:	e5940018 	ldr	r0, [r4, #24]                                 
30003fa4:	eb0003ff 	bl	30004fa8 <rtems_semaphore_delete>              
		rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                  
30003fa8:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         
30003fac:	eb0003fd 	bl	30004fa8 <rtems_semaphore_delete>              
		if ((tty->device.pollRead == NULL) ||                               
30003fb0:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         
30003fb4:	e3530000 	cmp	r3, #0                                        
30003fb8:	0a00000e 	beq	30003ff8 <rtems_termios_close+0x110>          
		    (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))      
30003fbc:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
30003fc0:	e3530002 	cmp	r3, #2                                        
30003fc4:	0a00000b 	beq	30003ff8 <rtems_termios_close+0x110>          
			rtems_semaphore_delete (tty->rawInBuf.Semaphore);                  
		free (tty->rawInBuf.theBuf);                                        
30003fc8:	e5940058 	ldr	r0, [r4, #88]	; 0x58                          
30003fcc:	ebfff6e8 	bl	30001b74 <free>                                
		free (tty->rawOutBuf.theBuf);                                       
30003fd0:	e594007c 	ldr	r0, [r4, #124]	; 0x7c                         
30003fd4:	ebfff6e6 	bl	30001b74 <free>                                
		free (tty->cbuf);                                                   
30003fd8:	e594001c 	ldr	r0, [r4, #28]                                 
30003fdc:	ebfff6e4 	bl	30001b74 <free>                                
		free (tty);                                                         
30003fe0:	e1a00004 	mov	r0, r4                                        
30003fe4:	ebfff6e2 	bl	30001b74 <free>                                
	}                                                                    
	rtems_semaphore_release (rtems_termios_ttyMutex);                    
30003fe8:	e5950000 	ldr	r0, [r5]                                      
30003fec:	eb00045e 	bl	3000516c <rtems_semaphore_release>             
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
30003ff0:	e3a00000 	mov	r0, #0                                        
30003ff4:	e8bd8070 	pop	{r4, r5, r6, pc}                              
		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);                  
30003ff8:	e5940068 	ldr	r0, [r4, #104]	; 0x68                         <== NOT EXECUTED
30003ffc:	eb0003e9 	bl	30004fa8 <rtems_semaphore_delete>              <== NOT EXECUTED
30004000:	eafffff0 	b	30003fc8 <rtems_termios_close+0xe0>             <== 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;                                 
30004004:	e5942004 	ldr	r2, [r4, #4]                                  
30004008:	e59f109c 	ldr	r1, [pc, #156]	; 300040ac <rtems_termios_close+0x1c4>
			if ( rtems_termios_ttyTail != NULL ) {                             
3000400c:	e3520000 	cmp	r2, #0                                        
				rtems_fatal_error_occurred (sc);                                  
		}                                                                   
		if (tty->device.lastClose)                                          
			 (*tty->device.lastClose)(tty->major, tty->minor, arg);            
		if (tty->forw == NULL) {                                            
			rtems_termios_ttyTail = tty->back;                                 
30004010:	e5812000 	str	r2, [r1]                                      
			if ( rtems_termios_ttyTail != NULL ) {                             
30004014:	0a00001f 	beq	30004098 <rtems_termios_close+0x1b0>          
				rtems_termios_ttyTail->forw = NULL;                               
30004018:	e5823000 	str	r3, [r2]                                      <== NOT EXECUTED
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
3000401c:	e5942004 	ldr	r2, [r4, #4]                                  <== NOT EXECUTED
30004020:	e5943000 	ldr	r3, [r4]                                      <== NOT EXECUTED
30004024:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
			if ( rtems_termios_ttyHead != NULL ) {                             
				rtems_termios_ttyHead->back = NULL;                               
			}                                                                  
		}                                                                   
		else {                                                              
			tty->back->forw = tty->forw;                                       
30004028:	15823000 	strne	r3, [r2]                                    <== NOT EXECUTED
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
3000402c:	1affffd9 	bne	30003f98 <rtems_termios_close+0xb0>           <== NOT EXECUTED
			rtems_termios_ttyHead = tty->forw;                                 
30004030:	e59f1078 	ldr	r1, [pc, #120]	; 300040b0 <rtems_termios_close+0x1c8>
			if ( rtems_termios_ttyHead != NULL ) {                             
30004034:	e3530000 	cmp	r3, #0                                        
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
			rtems_termios_ttyHead = tty->forw;                                 
30004038:	e5813000 	str	r3, [r1]                                      
			if ( rtems_termios_ttyHead != NULL ) {                             
				rtems_termios_ttyHead->back = NULL;                               
3000403c:	15832004 	strne	r2, [r3, #4]                                
30004040:	eaffffd4 	b	30003f98 <rtems_termios_close+0xb0>             
		}                                                                   
		else {                                                              
			/*                                                                 
			 * default: just flush output buffer                               
			 */                                                                
			sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
30004044:	e5940018 	ldr	r0, [r4, #24]                                 
30004048:	e1a02001 	mov	r2, r1                                        
3000404c:	eb0003fe 	bl	3000504c <rtems_semaphore_obtain>              
			if (sc != RTEMS_SUCCESSFUL) {                                      
30004050:	e3500000 	cmp	r0, #0                                        
30004054:	1a00000e 	bne	30004094 <rtems_termios_close+0x1ac>          
				rtems_fatal_error_occurred (sc);                                  
			}                                                                  
		        drainOutput (tty);                                          
30004058:	e1a00004 	mov	r0, r4                                        
3000405c:	ebfffdaa 	bl	3000370c <drainOutput>                         
		}                                                                   
                                                                      
		if (tty->device.outputUsesInterrupts                                
30004060:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
30004064:	e3530002 	cmp	r3, #2                                        
30004068:	1affffba 	bne	30003f58 <rtems_termios_close+0x70>           
		    == TERMIOS_TASK_DRIVEN) {                                       
			/*                                                                 
			 * send "terminate" to I/O tasks                                   
			 */                                                                
			sc = rtems_event_send(                                             
3000406c:	e59400c4 	ldr	r0, [r4, #196]	; 0xc4                         <== NOT EXECUTED
30004070:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
30004074:	eb0002ce 	bl	30004bb4 <rtems_event_send>                    <== NOT EXECUTED
                                  tty->rxTaskId,                      
				  TERMIOS_RX_TERMINATE_EVENT);                                    
			if (sc != RTEMS_SUCCESSFUL)                                        
30004078:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
3000407c:	1a000004 	bne	30004094 <rtems_termios_close+0x1ac>          <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
			sc = rtems_event_send(                                             
30004080:	e59400c8 	ldr	r0, [r4, #200]	; 0xc8                         <== NOT EXECUTED
30004084:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
30004088:	eb0002c9 	bl	30004bb4 <rtems_event_send>                    <== NOT EXECUTED
                                  tty->txTaskId,                      
				  TERMIOS_TX_TERMINATE_EVENT);                                    
			if (sc != RTEMS_SUCCESSFUL)                                        
3000408c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
30004090:	0affffb0 	beq	30003f58 <rtems_termios_close+0x70>           <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
30004094:	eb00058b 	bl	300056c8 <rtems_fatal_error_occurred>          <== NOT EXECUTED
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
		}                                                                   
		if (tty->back == NULL) {                                            
			rtems_termios_ttyHead = tty->forw;                                 
30004098:	e59f3010 	ldr	r3, [pc, #16]	; 300040b0 <rtems_termios_close+0x1c8>
3000409c:	e5832000 	str	r2, [r3]                                      
300040a0:	eaffffbc 	b	30003f98 <rtems_termios_close+0xb0>             
300040a4:	300199a0 	.word	0x300199a0                                  
300040a8:	300195c0 	.word	0x300195c0                                  
300040ac:	300199a4 	.word	0x300199a4                                  
300040b0:	300199a8 	.word	0x300199a8                                  
                                                                      
30002b88 <rtems_termios_dequeue_characters>:                          
	rtems_status_code sc;                                                
                                                                      
	/*                                                                   
	 * sum up character count already sent                               
	 */                                                                  
	tty->t_dqlen += len;                                                 
30002b88:	e590c090 	ldr	ip, [r0, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
30002b8c:	e59020b4 	ldr	r2, [r0, #180]	; 0xb4                         <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	/*                                                                   
	 * sum up character count already sent                               
	 */                                                                  
	tty->t_dqlen += len;                                                 
30002b90:	e08c1001 	add	r1, ip, r1                                    <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
30002b94:	e3520002 	cmp	r2, #2                                        <== NOT EXECUTED
 * for each transmitted character.                                    
 * It returns number of characters left to transmit                   
 */                                                                   
int                                                                   
rtems_termios_dequeue_characters (void *ttyp, int len)                
{                                                                     
30002b98:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	/*                                                                   
	 * sum up character count already sent                               
	 */                                                                  
	tty->t_dqlen += len;                                                 
30002b9c:	e5801090 	str	r1, [r0, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
30002ba0:	0a00000b 	beq	30002bd4 <rtems_termios_dequeue_characters+0x4c><== 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 ) {                                  
30002ba4:	e59030cc 	ldr	r3, [r0, #204]	; 0xcc                         <== NOT EXECUTED
30002ba8:	e3530005 	cmp	r3, #5                                        <== NOT EXECUTED
30002bac:	0a000001 	beq	30002bb8 <rtems_termios_dequeue_characters+0x30><== NOT EXECUTED
		return 0; /* nothing to output in IRQ... */                         
	}                                                                    
	else {                                                               
		return rtems_termios_refill_transmitter(tty);                       
	}                                                                    
}                                                                     
30002bb0:	e49de004 	pop	{lr}		; (ldr lr, [sp], #4)                    <== 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);                       
30002bb4:	eaffff6f 	b	30002978 <rtems_termios_refill_transmitter>     <== NOT EXECUTED
	}                                                                    
	else if (tty->t_line == PPPDISC ) {                                  
		/*                                                                  
		 * call any line discipline start function                          
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_start != NULL) {            
30002bb8:	e59f302c 	ldr	r3, [pc, #44]	; 30002bec <rtems_termios_dequeue_characters+0x64><== NOT EXECUTED
30002bbc:	e59330b4 	ldr	r3, [r3, #180]	; 0xb4                         <== NOT EXECUTED
30002bc0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
			rtems_termios_linesw[tty->t_line].l_start(tty);                    
30002bc4:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
30002bc8:	112fff13 	bxne	r3                                           <== NOT EXECUTED
		return 0; /* nothing to output in IRQ... */                         
	}                                                                    
	else {                                                               
		return rtems_termios_refill_transmitter(tty);                       
	}                                                                    
}                                                                     
30002bcc:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
30002bd0:	e49df004 	pop	{pc}		; (ldr pc, [sp], #4)                    <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
		/*                                                                  
		 * send wake up to transmitter task                                 
		 */                                                                 
		sc = rtems_event_send(tty->txTaskId,                                
30002bd4:	e59000c8 	ldr	r0, [r0, #200]	; 0xc8                         <== NOT EXECUTED
30002bd8:	e1a01002 	mov	r1, r2                                        <== NOT EXECUTED
30002bdc:	eb0007f4 	bl	30004bb4 <rtems_event_send>                    <== NOT EXECUTED
				      TERMIOS_TX_START_EVENT);                                    
		if (sc != RTEMS_SUCCESSFUL)                                         
30002be0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
30002be4:	0afffff8 	beq	30002bcc <rtems_termios_dequeue_characters+0x44><== NOT EXECUTED
			rtems_fatal_error_occurred (sc);                                   
30002be8:	eb000ab6 	bl	300056c8 <rtems_fatal_error_occurred>          <== NOT EXECUTED
30002bec:	300195c0 	.word	0x300195c0                                  
                                                                      
30002bf0 <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) 
{                                                                     
30002bf0:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         <== 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) {              
30002bf4:	e59030cc 	ldr	r3, [r0, #204]	; 0xcc                         <== NOT EXECUTED
30002bf8:	e59f82e8 	ldr	r8, [pc, #744]	; 30002ee8 <rtems_termios_enqueue_raw_characters+0x2f8><== 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) 
{                                                                     
30002bfc:	e24dd00c 	sub	sp, sp, #12                                   <== 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) {              
30002c00:	e0883283 	add	r3, r8, r3, lsl #5                            <== NOT EXECUTED
30002c04:	e5936010 	ldr	r6, [r3, #16]                                 <== 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) 
{                                                                     
30002c08:	e1a04000 	mov	r4, r0                                        <== 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) {              
30002c0c:	e3560000 	cmp	r6, #0                                        <== 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) 
{                                                                     
30002c10:	e1a05001 	mov	r5, r1                                        <== NOT EXECUTED
30002c14:	e1a07002 	mov	r7, 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) {              
30002c18:	0a00001e 	beq	30002c98 <rtems_termios_enqueue_raw_characters+0xa8><== NOT EXECUTED
	  while (len--) {                                                    
30002c1c:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
30002c20:	0a00000b 	beq	30002c54 <rtems_termios_enqueue_raw_characters+0x64><== NOT EXECUTED
30002c24:	e3a0a000 	mov	sl, #0                                        <== NOT EXECUTED
30002c28:	ea000002 	b	30002c38 <rtems_termios_enqueue_raw_characters+0x48><== NOT EXECUTED
30002c2c:	e59430cc 	ldr	r3, [r4, #204]	; 0xcc                         <== NOT EXECUTED
30002c30:	e0883283 	add	r3, r8, r3, lsl #5                            <== NOT EXECUTED
30002c34:	e5936010 	ldr	r6, [r3, #16]                                 <== NOT EXECUTED
	    c = *buf++;                                                      
	    rtems_termios_linesw[tty->t_line].l_rint(c,tty);                 
30002c38:	e7d5000a 	ldrb	r0, [r5, sl]                                 <== NOT EXECUTED
30002c3c:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
30002c40:	e28aa001 	add	sl, sl, #1                                    <== NOT EXECUTED
30002c44:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30002c48:	e12fff16 	bx	r6                                             <== 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--) {                                                    
30002c4c:	e157000a 	cmp	r7, sl                                        <== NOT EXECUTED
30002c50:	1afffff5 	bne	30002c2c <rtems_termios_enqueue_raw_characters+0x3c><== NOT EXECUTED
	  }                                                                  
                                                                      
	  /*                                                                 
	   * check to see if rcv wakeup callback was set                     
	   */                                                                
	  if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
30002c54:	e59490e4 	ldr	r9, [r4, #228]	; 0xe4                         <== NOT EXECUTED
30002c58:	e3590000 	cmp	r9, #0                                        <== NOT EXECUTED
30002c5c:	1a00000b 	bne	30002c90 <rtems_termios_enqueue_raw_characters+0xa0><== NOT EXECUTED
30002c60:	e59430dc 	ldr	r3, [r4, #220]	; 0xdc                         <== NOT EXECUTED
30002c64:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30002c68:	0a000008 	beq	30002c90 <rtems_termios_enqueue_raw_characters+0xa0><== NOT EXECUTED
	    (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
30002c6c:	e2840030 	add	r0, r4, #48	; 0x30                            <== NOT EXECUTED
30002c70:	e59410e0 	ldr	r1, [r4, #224]	; 0xe0                         <== NOT EXECUTED
30002c74:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30002c78:	e12fff13 	bx	r3                                             <== NOT EXECUTED
	    tty->tty_rcvwakeup = 1;                                          
30002c7c:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
30002c80:	e58430e4 	str	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
	return dropped;                                                      
}                                                                     
30002c84:	e1a00009 	mov	r0, r9                                        <== NOT EXECUTED
30002c88:	e28dd00c 	add	sp, sp, #12                                   <== NOT EXECUTED
30002c8c:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
	return dropped;                                                      
30002c90:	e3a09000 	mov	r9, #0                                        <== NOT EXECUTED
30002c94:	eafffffa 	b	30002c84 <rtems_termios_enqueue_raw_characters+0x94><== 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,                              
30002c98:	e280304a 	add	r3, r0, #74	; 0x4a                            <== NOT EXECUTED
30002c9c:	e58d3008 	str	r3, [sp, #8]                                  <== 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);      
30002ca0:	e2803030 	add	r3, r0, #48	; 0x30                            <== NOT EXECUTED
30002ca4:	e58d3004 	str	r3, [sp, #4]                                  <== NOT EXECUTED
30002ca8:	e1a0b006 	mov	fp, r6                                        <== NOT EXECUTED
30002cac:	e58d6000 	str	r6, [sp]                                      <== NOT EXECUTED
30002cb0:	ea000034 	b	30002d88 <rtems_termios_enqueue_raw_characters+0x198><== NOT EXECUTED
	      /* reenable interrupts */                                      
	      rtems_interrupt_enable(level);                                 
	    }                                                                
	  }                                                                  
	  else {                                                             
		newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;            
30002cb4:	e5940060 	ldr	r0, [r4, #96]	; 0x60                          <== NOT EXECUTED
30002cb8:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== NOT EXECUTED
30002cbc:	e2800001 	add	r0, r0, #1                                    <== NOT EXECUTED
30002cc0:	eb004ccd 	bl	30015ffc <__umodsi3>                           <== NOT EXECUTED
30002cc4:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
30002cc8:	e10f9000 	mrs	r9, CPSR                                      <== NOT EXECUTED
30002ccc:	e3893080 	orr	r3, r9, #128	; 0x80                           <== NOT EXECUTED
30002cd0:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
		/* if chars_in_buffer > highwater                */                 
		rtems_interrupt_disable(level);                                     
		if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)           
30002cd4:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
30002cd8:	e5940064 	ldr	r0, [r4, #100]	; 0x64                         <== NOT EXECUTED
30002cdc:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== NOT EXECUTED
30002ce0:	e0630000 	rsb	r0, r3, r0                                    <== NOT EXECUTED
30002ce4:	e0800008 	add	r0, r0, r8                                    <== NOT EXECUTED
30002ce8:	eb004cc3 	bl	30015ffc <__umodsi3>                           <== NOT EXECUTED
		      % tty->rawInBuf.Size)                                         
		     > tty->highwater) &&                                           
30002cec:	e59430c0 	ldr	r3, [r4, #192]	; 0xc0                         <== NOT EXECUTED
30002cf0:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
30002cf4:	9a00000e 	bls	30002d34 <rtems_termios_enqueue_raw_characters+0x144><== NOT EXECUTED
		    !(tty->flow_ctrl & FL_IREQXOF)) {                               
30002cf8:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== 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)           
30002cfc:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
30002d00:	1a00000b 	bne	30002d34 <rtems_termios_enqueue_raw_characters+0x144><== NOT EXECUTED
		      % tty->rawInBuf.Size)                                         
		     > tty->highwater) &&                                           
		    !(tty->flow_ctrl & FL_IREQXOF)) {                               
		  /* incoming data stream should be stopped */                      
		  tty->flow_ctrl |= FL_IREQXOF;                                     
30002d04:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		  if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                    
30002d08:	e59f31dc 	ldr	r3, [pc, #476]	; 30002eec <rtems_termios_enqueue_raw_characters+0x2fc><== NOT EXECUTED
		if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)           
		      % tty->rawInBuf.Size)                                         
		     > tty->highwater) &&                                           
		    !(tty->flow_ctrl & FL_IREQXOF)) {                               
		  /* incoming data stream should be stopped */                      
		  tty->flow_ctrl |= FL_IREQXOF;                                     
30002d0c:	e3822001 	orr	r2, r2, #1                                    <== NOT EXECUTED
30002d10:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		  if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                    
30002d14:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
30002d18:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
30002d1c:	e3530b01 	cmp	r3, #1024	; 0x400                             <== NOT EXECUTED
30002d20:	0a000057 	beq	30002e84 <rtems_termios_enqueue_raw_characters+0x294><== NOT EXECUTED
		      (*tty->device.write)(tty->minor,                              
			 (void *)&(tty->termios.c_cc[VSTOP]),                              
			 1);                                                               
		    }                                                               
		  }                                                                 
		  else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF))               
30002d24:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
30002d28:	e2033f41 	and	r3, r3, #260	; 0x104                          <== NOT EXECUTED
30002d2c:	e3530c01 	cmp	r3, #256	; 0x100                              <== NOT EXECUTED
30002d30:	0a000062 	beq	30002ec0 <rtems_termios_enqueue_raw_characters+0x2d0><== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
30002d34:	e129f009 	msr	CPSR_fc, r9                                   <== NOT EXECUTED
		  }                                                                 
		}                                                                   
		/* reenable interrupts */                                           
		rtems_interrupt_enable(level);                                      
                                                                      
		if (newTail == tty->rawInBuf.Head) {                                
30002d38:	e594305c 	ldr	r3, [r4, #92]	; 0x5c                          <== NOT EXECUTED
30002d3c:	e1530008 	cmp	r3, r8                                        <== NOT EXECUTED
30002d40:	0a00002d 	beq	30002dfc <rtems_termios_enqueue_raw_characters+0x20c><== NOT EXECUTED
		        dropped++;                                                  
		}                                                                   
		else {                                                              
		        tty->rawInBuf.theBuf[newTail] = c;                          
30002d44:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          <== NOT EXECUTED
30002d48:	e7c3a008 	strb	sl, [r3, r8]                                 <== 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 )) {  
30002d4c:	e59430e4 	ldr	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
		if (newTail == tty->rawInBuf.Head) {                                
		        dropped++;                                                  
		}                                                                   
		else {                                                              
		        tty->rawInBuf.theBuf[newTail] = c;                          
		        tty->rawInBuf.Tail = newTail;                               
30002d50:	e5848060 	str	r8, [r4, #96]	; 0x60                          <== NOT EXECUTED
                                                                      
			/*                                                                 
			 * check to see if rcv wakeup callback was set                     
			 */                                                                
			if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
30002d54:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30002d58:	1a000008 	bne	30002d80 <rtems_termios_enqueue_raw_characters+0x190><== NOT EXECUTED
30002d5c:	e59430dc 	ldr	r3, [r4, #220]	; 0xdc                         <== NOT EXECUTED
30002d60:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30002d64:	0a000005 	beq	30002d80 <rtems_termios_enqueue_raw_characters+0x190><== NOT EXECUTED
			  (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
30002d68:	e59d0004 	ldr	r0, [sp, #4]                                  <== NOT EXECUTED
30002d6c:	e59410e0 	ldr	r1, [r4, #224]	; 0xe0                         <== NOT EXECUTED
30002d70:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30002d74:	e12fff13 	bx	r3                                             <== NOT EXECUTED
			  tty->tty_rcvwakeup = 1;                                          
30002d78:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
30002d7c:	e58430e4 	str	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
30002d80:	e2866001 	add	r6, r6, #1                                    <== NOT EXECUTED
30002d84:	e2477001 	sub	r7, r7, #1                                    <== NOT EXECUTED
	    tty->tty_rcvwakeup = 1;                                          
    	  }                                                              
	  return 0;                                                          
	}                                                                    
                                                                      
	while (len--) {                                                      
30002d88:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
30002d8c:	0a00002d 	beq	30002e48 <rtems_termios_enqueue_raw_characters+0x258><== NOT EXECUTED
	  c = *buf++;                                                        
	  /* FIXME: implement IXANY: any character restarts output */        
	  /* if incoming XON/XOFF controls outgoing stream: */               
	  if (tty->flow_ctrl & FL_MDXON) {                                   
30002d90:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
    	  }                                                              
	  return 0;                                                          
	}                                                                    
                                                                      
	while (len--) {                                                      
	  c = *buf++;                                                        
30002d94:	e7d5a006 	ldrb	sl, [r5, r6]                                 <== NOT EXECUTED
	  /* FIXME: implement IXANY: any character restarts output */        
	  /* if incoming XON/XOFF controls outgoing stream: */               
	  if (tty->flow_ctrl & FL_MDXON) {                                   
30002d98:	e3130c02 	tst	r3, #512	; 0x200                              <== NOT EXECUTED
30002d9c:	0a000005 	beq	30002db8 <rtems_termios_enqueue_raw_characters+0x1c8><== NOT EXECUTED
	    /* if received char is V_STOP and V_START (both are equal value) */
	    if (c == tty->termios.c_cc[VSTOP]) {                             
30002da0:	e5d4304a 	ldrb	r3, [r4, #74]	; 0x4a                         <== NOT EXECUTED
30002da4:	e153000a 	cmp	r3, sl                                        <== NOT EXECUTED
30002da8:	0a000017 	beq	30002e0c <rtems_termios_enqueue_raw_characters+0x21c><== NOT EXECUTED
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
	      }                                                              
	      flow_rcv = true;                                               
	    }                                                                
	    else if (c == tty->termios.c_cc[VSTART]) {                       
30002dac:	e5d43049 	ldrb	r3, [r4, #73]	; 0x49                         <== NOT EXECUTED
30002db0:	e153000a 	cmp	r3, sl                                        <== NOT EXECUTED
30002db4:	0a00001e 	beq	30002e34 <rtems_termios_enqueue_raw_characters+0x244><== NOT EXECUTED
	      /* restart output  */                                          
	      tty->flow_ctrl &= ~FL_ORCVXOF;                                 
	      flow_rcv = true;                                               
	    }                                                                
	  }                                                                  
	  if (flow_rcv) {                                                    
30002db8:	e35b0000 	cmp	fp, #0                                        <== NOT EXECUTED
30002dbc:	0affffbc 	beq	30002cb4 <rtems_termios_enqueue_raw_characters+0xc4><== NOT EXECUTED
	    /* restart output according to FL_ORCVXOF flag */                
	    if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {    
30002dc0:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
30002dc4:	e2033030 	and	r3, r3, #48	; 0x30                            <== NOT EXECUTED
30002dc8:	e3530020 	cmp	r3, #32                                       <== NOT EXECUTED
30002dcc:	1affffeb 	bne	30002d80 <rtems_termios_enqueue_raw_characters+0x190><== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
30002dd0:	e10f8000 	mrs	r8, CPSR                                      <== NOT EXECUTED
30002dd4:	e3883080 	orr	r3, r8, #128	; 0x80                           <== NOT EXECUTED
30002dd8:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
	      /* disable interrupts    */                                    
	      rtems_interrupt_disable(level);                                
	      tty->flow_ctrl &= ~FL_OSTOP;                                   
30002ddc:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
30002de0:	e5942094 	ldr	r2, [r4, #148]	; 0x94                         <== 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;                                   
30002de4:	e3c33020 	bic	r3, r3, #32                                   <== NOT EXECUTED
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
30002de8:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
	  if (flow_rcv) {                                                    
	    /* restart output according to FL_ORCVXOF flag */                
	    if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {    
	      /* disable interrupts    */                                    
	      rtems_interrupt_disable(level);                                
	      tty->flow_ctrl &= ~FL_OSTOP;                                   
30002dec:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
30002df0:	1a00001b 	bne	30002e64 <rtems_termios_enqueue_raw_characters+0x274><== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
30002df4:	e129f008 	msr	CPSR_fc, r8                                   <== NOT EXECUTED
30002df8:	eaffffe0 	b	30002d80 <rtems_termios_enqueue_raw_characters+0x190><== NOT EXECUTED
		}                                                                   
		/* reenable interrupts */                                           
		rtems_interrupt_enable(level);                                      
                                                                      
		if (newTail == tty->rawInBuf.Head) {                                
		        dropped++;                                                  
30002dfc:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
30002e00:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
30002e04:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
30002e08:	eaffffdc 	b	30002d80 <rtems_termios_enqueue_raw_characters+0x190><== 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]) {                          
30002e0c:	e5d42049 	ldrb	r2, [r4, #73]	; 0x49                         <== NOT EXECUTED
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
	return dropped;                                                      
30002e10:	e3a0b001 	mov	fp, #1                                        <== 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]) {                          
30002e14:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
		/* received VSTOP and VSTART==VSTOP? */                             
		/* then toggle "stop output" status  */                             
		tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;                       
30002e18:	059430b8 	ldreq	r3, [r4, #184]	; 0xb8                       <== NOT EXECUTED
	      }                                                              
	      else {                                                         
		/* VSTOP received (other code than VSTART) */                       
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
30002e1c:	159430b8 	ldrne	r3, [r4, #184]	; 0xb8                       <== 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;                       
30002e20:	02233010 	eoreq	r3, r3, #16                                 <== NOT EXECUTED
	      }                                                              
	      else {                                                         
		/* VSTOP received (other code than VSTART) */                       
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
30002e24:	13833010 	orrne	r3, r3, #16                                 <== 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;                       
30002e28:	058430b8 	streq	r3, [r4, #184]	; 0xb8                       <== NOT EXECUTED
	      }                                                              
	      else {                                                         
		/* VSTOP received (other code than VSTART) */                       
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
30002e2c:	158430b8 	strne	r3, [r4, #184]	; 0xb8                       <== NOT EXECUTED
30002e30:	eaffffe2 	b	30002dc0 <rtems_termios_enqueue_raw_characters+0x1d0><== NOT EXECUTED
	      flow_rcv = true;                                               
	    }                                                                
	    else if (c == tty->termios.c_cc[VSTART]) {                       
	      /* VSTART received */                                          
	      /* restart output  */                                          
	      tty->flow_ctrl &= ~FL_ORCVXOF;                                 
30002e34:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
	return dropped;                                                      
30002e38:	e3a0b001 	mov	fp, #1                                        <== NOT EXECUTED
	      flow_rcv = true;                                               
	    }                                                                
	    else if (c == tty->termios.c_cc[VSTART]) {                       
	      /* VSTART received */                                          
	      /* restart output  */                                          
	      tty->flow_ctrl &= ~FL_ORCVXOF;                                 
30002e3c:	e3c33010 	bic	r3, r3, #16                                   <== NOT EXECUTED
30002e40:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
30002e44:	eaffffdd 	b	30002dc0 <rtems_termios_enqueue_raw_characters+0x1d0><== NOT EXECUTED
			  tty->tty_rcvwakeup = 1;                                          
			}                                                                  
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
30002e48:	e5943078 	ldr	r3, [r4, #120]	; 0x78                         <== NOT EXECUTED
30002e4c:	e59d9000 	ldr	r9, [sp]                                      <== NOT EXECUTED
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
30002e50:	e5940068 	ldr	r0, [r4, #104]	; 0x68                         <== NOT EXECUTED
			  tty->tty_rcvwakeup = 1;                                          
			}                                                                  
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
30002e54:	e0833009 	add	r3, r3, r9                                    <== NOT EXECUTED
30002e58:	e5843078 	str	r3, [r4, #120]	; 0x78                         <== NOT EXECUTED
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
30002e5c:	eb0008c2 	bl	3000516c <rtems_semaphore_release>             <== NOT EXECUTED
	return dropped;                                                      
30002e60:	eaffff87 	b	30002c84 <rtems_termios_enqueue_raw_characters+0x94><== NOT EXECUTED
	      tty->flow_ctrl &= ~FL_OSTOP;                                   
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
	      /* if chars available, call write function... */               
		(*tty->device.write)(tty->minor,                                    
		     &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);               
30002e64:	e5943084 	ldr	r3, [r4, #132]	; 0x84                         <== 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,                                    
30002e68:	e594107c 	ldr	r1, [r4, #124]	; 0x7c                         <== NOT EXECUTED
30002e6c:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
30002e70:	e0811003 	add	r1, r1, r3                                    <== NOT EXECUTED
30002e74:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
30002e78:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30002e7c:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         <== NOT EXECUTED
30002e80:	eaffffdb 	b	30002df4 <rtems_termios_enqueue_raw_characters+0x204><== 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) ||                              
30002e84:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
30002e88:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
30002e8c:	1a000002 	bne	30002e9c <rtems_termios_enqueue_raw_characters+0x2ac><== NOT EXECUTED
			(tty->rawOutBufState == rob_idle)) {                               
30002e90:	e5943094 	ldr	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
30002e94:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30002e98:	1affffa5 	bne	30002d34 <rtems_termios_enqueue_raw_characters+0x144><== NOT EXECUTED
		      /* if tx is stopped due to XOFF or out of data */             
		      /*    call write function here                 */             
		      tty->flow_ctrl |= FL_ISNTXOF;                                 
30002e9c:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		      (*tty->device.write)(tty->minor,                              
30002ea0:	e5940010 	ldr	r0, [r4, #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;                                 
30002ea4:	e3833002 	orr	r3, r3, #2                                    <== NOT EXECUTED
30002ea8:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		      (*tty->device.write)(tty->minor,                              
30002eac:	e59d1008 	ldr	r1, [sp, #8]                                  <== NOT EXECUTED
30002eb0:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
30002eb4:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30002eb8:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         <== NOT EXECUTED
30002ebc:	eaffff9c 	b	30002d34 <rtems_termios_enqueue_raw_characters+0x144><== NOT EXECUTED
			 1);                                                               
		    }                                                               
		  }                                                                 
		  else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF))               
			   ==                (FL_MDRTS             ) ) {                   
		    tty->flow_ctrl |= FL_IRTSOFF;                                   
30002ec0:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		    /* deactivate RTS line */                                       
		    if (tty->device.stopRemoteTx != NULL) {                         
30002ec4:	e59430ac 	ldr	r3, [r4, #172]	; 0xac                         <== NOT EXECUTED
			 1);                                                               
		    }                                                               
		  }                                                                 
		  else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF))               
			   ==                (FL_MDRTS             ) ) {                   
		    tty->flow_ctrl |= FL_IRTSOFF;                                   
30002ec8:	e3822004 	orr	r2, r2, #4                                    <== NOT EXECUTED
		    /* deactivate RTS line */                                       
		    if (tty->device.stopRemoteTx != NULL) {                         
30002ecc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
			 1);                                                               
		    }                                                               
		  }                                                                 
		  else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF))               
			   ==                (FL_MDRTS             ) ) {                   
		    tty->flow_ctrl |= FL_IRTSOFF;                                   
30002ed0:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		    /* deactivate RTS line */                                       
		    if (tty->device.stopRemoteTx != NULL) {                         
30002ed4:	0affff96 	beq	30002d34 <rtems_termios_enqueue_raw_characters+0x144><== NOT EXECUTED
		      tty->device.stopRemoteTx(tty->minor);                         
30002ed8:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
30002edc:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30002ee0:	e12fff13 	bx	r3                                             <== NOT EXECUTED
30002ee4:	eaffff92 	b	30002d34 <rtems_termios_enqueue_raw_characters+0x144><== NOT EXECUTED
30002ee8:	300195c0 	.word	0x300195c0                                  
30002eec:	00000402 	.word	0x00000402                                  
                                                                      
30002910 <rtems_termios_initialize>:                                  
struct rtems_termios_tty *rtems_termios_ttyTail;                      
rtems_id rtems_termios_ttyMutex;                                      
                                                                      
void                                                                  
rtems_termios_initialize (void)                                       
{                                                                     
30002910:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * Create the mutex semaphore for the tty list                      
   */                                                                 
  if (!rtems_termios_ttyMutex) {                                      
30002914:	e59fc034 	ldr	ip, [pc, #52]	; 30002950 <rtems_termios_initialize+0x40>
struct rtems_termios_tty *rtems_termios_ttyTail;                      
rtems_id rtems_termios_ttyMutex;                                      
                                                                      
void                                                                  
rtems_termios_initialize (void)                                       
{                                                                     
30002918:	e24dd004 	sub	sp, sp, #4                                    
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * Create the mutex semaphore for the tty list                      
   */                                                                 
  if (!rtems_termios_ttyMutex) {                                      
3000291c:	e59c3000 	ldr	r3, [ip]                                      
30002920:	e3530000 	cmp	r3, #0                                        
30002924:	0a000001 	beq	30002930 <rtems_termios_initialize+0x20>      
      RTEMS_NO_PRIORITY,                                              
      &rtems_termios_ttyMutex);                                       
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
  }                                                                   
}                                                                     
30002928:	e28dd004 	add	sp, sp, #4                                    
3000292c:	e8bd8000 	pop	{pc}                                          
                                                                      
  /*                                                                  
   * Create the mutex semaphore for the tty list                      
   */                                                                 
  if (!rtems_termios_ttyMutex) {                                      
    sc = rtems_semaphore_create (                                     
30002930:	e59f001c 	ldr	r0, [pc, #28]	; 30002954 <rtems_termios_initialize+0x44>
30002934:	e3a01001 	mov	r1, #1                                        
30002938:	e3a02054 	mov	r2, #84	; 0x54                                
3000293c:	e58dc000 	str	ip, [sp]                                      
30002940:	eb000926 	bl	30004de0 <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)                                       
30002944:	e3500000 	cmp	r0, #0                                        
30002948:	0afffff6 	beq	30002928 <rtems_termios_initialize+0x18>      
      rtems_fatal_error_occurred (sc);                                
3000294c:	eb000b5d 	bl	300056c8 <rtems_fatal_error_occurred>          <== NOT EXECUTED
30002950:	300199a0 	.word	0x300199a0                                  
30002954:	54526d69 	.word	0x54526d69                                  
                                                                      
30003b18 <rtems_termios_ioctl>:                                       
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
	rtems_libio_ioctl_args_t *args = arg;                                
	struct rtems_termios_tty *tty = args->iop->data1;                    
30003b18:	e5903000 	ldr	r3, [r0]                                      
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
30003b1c:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
	rtems_libio_ioctl_args_t *args = arg;                                
	struct rtems_termios_tty *tty = args->iop->data1;                    
	struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer; 
	rtems_status_code sc;                                                
                                                                      
 	args->ioctl_return = 0;                                             
30003b20:	e3a01000 	mov	r1, #0                                        
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
	rtems_libio_ioctl_args_t *args = arg;                                
	struct rtems_termios_tty *tty = args->iop->data1;                    
30003b24:	e5935034 	ldr	r5, [r3, #52]	; 0x34                          
	struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer; 
	rtems_status_code sc;                                                
                                                                      
 	args->ioctl_return = 0;                                             
30003b28:	e580100c 	str	r1, [r0, #12]                                 
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
30003b2c:	e1a04000 	mov	r4, r0                                        
	struct rtems_termios_tty *tty = args->iop->data1;                    
	struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer; 
	rtems_status_code sc;                                                
                                                                      
 	args->ioctl_return = 0;                                             
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
30003b30:	e1a02001 	mov	r2, r1                                        
30003b34:	e5950018 	ldr	r0, [r5, #24]                                 
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; 
30003b38:	e5947008 	ldr	r7, [r4, #8]                                  
	rtems_status_code sc;                                                
                                                                      
 	args->ioctl_return = 0;                                             
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
30003b3c:	eb000542 	bl	3000504c <rtems_semaphore_obtain>              
	if (sc != RTEMS_SUCCESSFUL) {                                        
30003b40:	e2506000 	subs	r6, r0, #0                                   
30003b44:	1a00000e 	bne	30003b84 <rtems_termios_ioctl+0x6c>           
		args->ioctl_return = sc;                                            
		return sc;                                                          
	}                                                                    
	switch (args->command) {                                             
30003b48:	e5943004 	ldr	r3, [r4, #4]                                  
30003b4c:	e3530004 	cmp	r3, #4                                        
30003b50:	0a000006 	beq	30003b70 <rtems_termios_ioctl+0x58>           
30003b54:	8a00000d 	bhi	30003b90 <rtems_termios_ioctl+0x78>           
30003b58:	e3530002 	cmp	r3, #2                                        
30003b5c:	0a00001e 	beq	30003bdc <rtems_termios_ioctl+0xc4>           
30003b60:	9a000085 	bls	30003d7c <rtems_termios_ioctl+0x264>          
		if (tty->device.setAttributes)                                      
			(*tty->device.setAttributes)(tty->minor, &tty->termios);           
		break;                                                              
                                                                      
	case RTEMS_IO_TCDRAIN:                                               
		drainOutput (tty);                                                  
30003b64:	e1a00005 	mov	r0, r5                                        
30003b68:	ebfffee7 	bl	3000370c <drainOutput>                         
		break;                                                              
30003b6c:	ea000002 	b	30003b7c <rtems_termios_ioctl+0x64>             
	case RTEMS_IO_SNDWAKEUP:                                             
		tty->tty_snd = *wakeup;                                             
		break;                                                              
                                                                      
	case RTEMS_IO_RCVWAKEUP:                                             
		tty->tty_rcv = *wakeup;                                             
30003b70:	e897000c 	ldm	r7, {r2, r3}                                  <== NOT EXECUTED
30003b74:	e58520dc 	str	r2, [r5, #220]	; 0xdc                         <== NOT EXECUTED
30003b78:	e58530e0 	str	r3, [r5, #224]	; 0xe0                         <== NOT EXECUTED
		/* Half guess that this is the right operation */                   
		*(int *)args->buffer = tty->ccount - tty->cindex + rawnc;           
		}                                                                   
		break;                                                              
	}                                                                    
	rtems_semaphore_release (tty->osem);                                 
30003b7c:	e5950018 	ldr	r0, [r5, #24]                                 
30003b80:	eb000579 	bl	3000516c <rtems_semaphore_release>             
	args->ioctl_return = sc;                                             
30003b84:	e584600c 	str	r6, [r4, #12]                                 
	return sc;                                                           
}                                                                     
30003b88:	e1a00006 	mov	r0, r6                                        
30003b8c:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
	if (sc != RTEMS_SUCCESSFUL) {                                        
		args->ioctl_return = sc;                                            
		return sc;                                                          
	}                                                                    
	switch (args->command) {                                             
30003b90:	e59f2340 	ldr	r2, [pc, #832]	; 30003ed8 <rtems_termios_ioctl+0x3c0><== NOT EXECUTED
30003b94:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
30003b98:	0a00006b 	beq	30003d4c <rtems_termios_ioctl+0x234>          <== NOT EXECUTED
30003b9c:	8a000082 	bhi	30003dac <rtems_termios_ioctl+0x294>          <== NOT EXECUTED
30003ba0:	e3530005 	cmp	r3, #5                                        <== NOT EXECUTED
30003ba4:	0a0000a1 	beq	30003e30 <rtems_termios_ioctl+0x318>          <== NOT EXECUTED
	default:                                                             
		if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {            
30003ba8:	e59520cc 	ldr	r2, [r5, #204]	; 0xcc                         <== NOT EXECUTED
30003bac:	e59f3328 	ldr	r3, [pc, #808]	; 30003edc <rtems_termios_ioctl+0x3c4><== NOT EXECUTED
30003bb0:	e0833282 	add	r3, r3, r2, lsl #5                            <== NOT EXECUTED
30003bb4:	e5933018 	ldr	r3, [r3, #24]                                 <== NOT EXECUTED
30003bb8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30003bbc:	03a0600a 	moveq	r6, #10                                     <== NOT EXECUTED
30003bc0:	0affffed 	beq	30003b7c <rtems_termios_ioctl+0x64>           <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);          
30003bc4:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
30003bc8:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
30003bcc:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30003bd0:	e12fff13 	bx	r3                                             <== NOT EXECUTED
30003bd4:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
30003bd8:	eaffffe7 	b	30003b7c <rtems_termios_ioctl+0x64>             <== 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;                     
30003bdc:	e594e008 	ldr	lr, [r4, #8]                                  
30003be0:	e2857030 	add	r7, r5, #48	; 0x30                            
30003be4:	e1a0c007 	mov	ip, r7                                        
30003be8:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
30003bec:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
30003bf0:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
30003bf4:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
  /*                                                                  
   * check for flow control options to be switched off                
   */                                                                 
                                                                      
  /* check for outgoing XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXON) &&                                 
30003bf8:	e59520b8 	ldr	r2, [r5, #184]	; 0xb8                         
	case RTEMS_IO_GET_ATTRIBUTES:                                        
		*(struct termios *)args->buffer = tty->termios;                     
		break;                                                              
                                                                      
	case RTEMS_IO_SET_ATTRIBUTES:                                        
		tty->termios = *(struct termios *)args->buffer;                     
30003bfc:	e59e3000 	ldr	r3, [lr]                                      
  /*                                                                  
   * check for flow control options to be switched off                
   */                                                                 
                                                                      
  /* check for outgoing XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXON) &&                                 
30003c00:	e3120c02 	tst	r2, #512	; 0x200                              
	case RTEMS_IO_GET_ATTRIBUTES:                                        
		*(struct termios *)args->buffer = tty->termios;                     
		break;                                                              
                                                                      
	case RTEMS_IO_SET_ATTRIBUTES:                                        
		tty->termios = *(struct termios *)args->buffer;                     
30003c04:	e58c3000 	str	r3, [ip]                                      
  /*                                                                  
   * check for flow control options to be switched off                
   */                                                                 
                                                                      
  /* check for outgoing XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXON) &&                                 
30003c08:	0a000012 	beq	30003c58 <rtems_termios_ioctl+0x140>          
30003c0c:	e5953030 	ldr	r3, [r5, #48]	; 0x30                          
30003c10:	e3130b01 	tst	r3, #1024	; 0x400                             
30003c14:	1a00000f 	bne	30003c58 <rtems_termios_ioctl+0x140>          
      !(tty->termios.c_iflag & IXON)) {                               
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXON | FL_ORCVXOF);                       
30003c18:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
30003c1c:	e3c33e21 	bic	r3, r3, #528	; 0x210                          <== NOT EXECUTED
30003c20:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
30003c24:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
30003c28:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
30003c2c:	0a000009 	beq	30003c58 <rtems_termios_ioctl+0x140>          <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
30003c30:	e10f8000 	mrs	r8, CPSR                                      <== NOT EXECUTED
30003c34:	e3883080 	orr	r3, r8, #128	; 0x80                           <== NOT EXECUTED
30003c38:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl &= ~FL_OSTOP;                                    
30003c3c:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
30003c40:	e5952094 	ldr	r2, [r5, #148]	; 0x94                         <== 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;                                    
30003c44:	e3c33020 	bic	r3, r3, #32                                   <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
30003c48:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl &= ~FL_OSTOP;                                    
30003c4c:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
30003c50:	1a000098 	bne	30003eb8 <rtems_termios_ioctl+0x3a0>          <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
30003c54:	e129f008 	msr	CPSR_fc, r8                                   <== NOT EXECUTED
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
    }                                                                 
  }                                                                   
  /* check for incoming XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXOF) &&                                 
30003c58:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         
30003c5c:	e3130b01 	tst	r3, #1024	; 0x400                             
30003c60:	0a000008 	beq	30003c88 <rtems_termios_ioctl+0x170>          
30003c64:	e5953030 	ldr	r3, [r5, #48]	; 0x30                          <== NOT EXECUTED
30003c68:	e3130a01 	tst	r3, #4096	; 0x1000                            <== NOT EXECUTED
30003c6c:	1a000005 	bne	30003c88 <rtems_termios_ioctl+0x170>          <== NOT EXECUTED
      !(tty->termios.c_iflag & IXOFF)) {                              
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXOF);                                    
30003c70:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
30003c74:	e3c33b01 	bic	r3, r3, #1024	; 0x400                         <== NOT EXECUTED
30003c78:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
    /* FIXME: what happens, if we had sent XOFF but not yet XON? */   
    tty->flow_ctrl &= ~(FL_ISNTXOF);                                  
30003c7c:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
30003c80:	e3c33002 	bic	r3, r3, #2                                    <== NOT EXECUTED
30003c84:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
  }                                                                   
                                                                      
  /* check for incoming RTS/CTS flow control switched off */          
  if (( tty->flow_ctrl & FL_MDRTS) &&                                 
30003c88:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         
30003c8c:	e3130c01 	tst	r3, #256	; 0x100                              
30003c90:	05952038 	ldreq	r2, [r5, #56]	; 0x38                        
30003c94:	0a000012 	beq	30003ce4 <rtems_termios_ioctl+0x1cc>          
30003c98:	e5952038 	ldr	r2, [r5, #56]	; 0x38                          <== NOT EXECUTED
30003c9c:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
30003ca0:	ba000078 	blt	30003e88 <rtems_termios_ioctl+0x370>          <== NOT EXECUTED
      !(tty->termios.c_cflag & CRTSCTS)) {                            
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
30003ca4:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
30003ca8:	e3c33c01 	bic	r3, r3, #256	; 0x100                          <== NOT EXECUTED
30003cac:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
                                                                      
    /* restart remote Tx, if it was stopped */                        
    if ((tty->flow_ctrl & FL_IRTSOFF) &&                              
30003cb0:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
30003cb4:	e3130004 	tst	r3, #4                                        <== NOT EXECUTED
30003cb8:	0a000006 	beq	30003cd8 <rtems_termios_ioctl+0x1c0>          <== NOT EXECUTED
	(tty->device.startRemoteTx != NULL)) {                               
30003cbc:	e59530b0 	ldr	r3, [r5, #176]	; 0xb0                         <== 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) &&                              
30003cc0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30003cc4:	0a000003 	beq	30003cd8 <rtems_termios_ioctl+0x1c0>          <== NOT EXECUTED
	(tty->device.startRemoteTx != NULL)) {                               
      tty->device.startRemoteTx(tty->minor);                          
30003cc8:	e5950010 	ldr	r0, [r5, #16]                                 <== NOT EXECUTED
30003ccc:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30003cd0:	e12fff13 	bx	r3                                             <== NOT EXECUTED
30003cd4:	e5952038 	ldr	r2, [r5, #56]	; 0x38                          <== NOT EXECUTED
    }                                                                 
    tty->flow_ctrl &= ~(FL_IRTSOFF);                                  
30003cd8:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
30003cdc:	e3c33004 	bic	r3, r3, #4                                    <== NOT EXECUTED
30003ce0:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== 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) {                               
30003ce4:	e3520000 	cmp	r2, #0                                        
30003ce8:	ba000066 	blt	30003e88 <rtems_termios_ioctl+0x370>          
    tty->flow_ctrl |= FL_MDRTS;                                       
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
30003cec:	e5953030 	ldr	r3, [r5, #48]	; 0x30                          
		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) {                                
30003cf0:	e595803c 	ldr	r8, [r5, #60]	; 0x3c                          
  /* check for incoming RTS/CTS flow control switched on */           
  if (tty->termios.c_cflag & CRTSCTS) {                               
    tty->flow_ctrl |= FL_MDRTS;                                       
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
30003cf4:	e3130a01 	tst	r3, #4096	; 0x1000                            
    tty->flow_ctrl |= FL_MDXOF;                                       
30003cf8:	159520b8 	ldrne	r2, [r5, #184]	; 0xb8                       
30003cfc:	13822b01 	orrne	r2, r2, #1024	; 0x400                       
30003d00:	158520b8 	strne	r2, [r5, #184]	; 0xb8                       
  }                                                                   
  /* check for outgoing XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXON) {                                  
30003d04:	e3130b01 	tst	r3, #1024	; 0x400                             
    tty->flow_ctrl |= FL_MDXON;                                       
30003d08:	159530b8 	ldrne	r3, [r5, #184]	; 0xb8                       
30003d0c:	13833c02 	orrne	r3, r3, #512	; 0x200                        
30003d10:	158530b8 	strne	r3, [r5, #184]	; 0xb8                       
		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) {                                
30003d14:	e2188002 	ands	r8, r8, #2                                   
30003d18:	0a000048 	beq	30003e40 <rtems_termios_ioctl+0x328>          
			tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                        
30003d1c:	e3a03000 	mov	r3, #0                                        
			tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                  
			tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;             
30003d20:	e5853074 	str	r3, [r5, #116]	; 0x74                         
                                                                      
		/* check for and process change in flow control options */          
		termios_set_flowctrl(tty);                                          
                                                                      
		if (tty->termios.c_lflag & ICANON) {                                
			tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                        
30003d24:	e585306c 	str	r3, [r5, #108]	; 0x6c                         
			tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                  
30003d28:	e5853070 	str	r3, [r5, #112]	; 0x70                         
				else {                                                            
					tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;                   
				}                                                                 
			}                                                                  
		}                                                                   
		if (tty->device.setAttributes)                                      
30003d2c:	e59530a8 	ldr	r3, [r5, #168]	; 0xa8                         
30003d30:	e3530000 	cmp	r3, #0                                        
30003d34:	0affff90 	beq	30003b7c <rtems_termios_ioctl+0x64>           
			(*tty->device.setAttributes)(tty->minor, &tty->termios);           
30003d38:	e1a01007 	mov	r1, r7                                        
30003d3c:	e5950010 	ldr	r0, [r5, #16]                                 
30003d40:	e1a0e00f 	mov	lr, pc                                        
30003d44:	e12fff13 	bx	r3                                             
30003d48:	eaffff8b 	b	30003b7c <rtems_termios_ioctl+0x64>             
		*(int*)(args->buffer)=tty->t_line;                                  
		break;                                                              
#endif                                                                
 	case FIONREAD:                                                      
		{                                                                   
		int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;                
30003d4c:	e5952060 	ldr	r2, [r5, #96]	; 0x60                          <== NOT EXECUTED
30003d50:	e595305c 	ldr	r3, [r5, #92]	; 0x5c                          <== NOT EXECUTED
		if ( rawnc < 0 )                                                    
			rawnc += tty->rawInBuf.Size;                                       
		/* Half guess that this is the right operation */                   
		*(int *)args->buffer = tty->ccount - tty->cindex + rawnc;           
30003d54:	e5950020 	ldr	r0, [r5, #32]                                 <== NOT EXECUTED
		break;                                                              
#endif                                                                
 	case FIONREAD:                                                      
		{                                                                   
		int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;                
		if ( rawnc < 0 )                                                    
30003d58:	e0523003 	subs	r3, r2, r3                                   <== NOT EXECUTED
			rawnc += tty->rawInBuf.Size;                                       
30003d5c:	45952064 	ldrmi	r2, [r5, #100]	; 0x64                       <== NOT EXECUTED
		/* Half guess that this is the right operation */                   
		*(int *)args->buffer = tty->ccount - tty->cindex + rawnc;           
30003d60:	e5941008 	ldr	r1, [r4, #8]                                  <== NOT EXECUTED
#endif                                                                
 	case FIONREAD:                                                      
		{                                                                   
		int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;                
		if ( rawnc < 0 )                                                    
			rawnc += tty->rawInBuf.Size;                                       
30003d64:	40833002 	addmi	r3, r3, r2                                  <== NOT EXECUTED
		/* Half guess that this is the right operation */                   
		*(int *)args->buffer = tty->ccount - tty->cindex + rawnc;           
30003d68:	e5952024 	ldr	r2, [r5, #36]	; 0x24                          <== NOT EXECUTED
30003d6c:	e0622000 	rsb	r2, r2, r0                                    <== NOT EXECUTED
30003d70:	e0823003 	add	r3, r2, r3                                    <== NOT EXECUTED
30003d74:	e5813000 	str	r3, [r1]                                      <== NOT EXECUTED
30003d78:	eaffff7f 	b	30003b7c <rtems_termios_ioctl+0x64>             <== 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) {                                             
30003d7c:	e3530001 	cmp	r3, #1                                        
30003d80:	1affff88 	bne	30003ba8 <rtems_termios_ioctl+0x90>           
			sc = RTEMS_INVALID_NUMBER;                                         
		}                                                                   
		break;                                                              
                                                                      
	case RTEMS_IO_GET_ATTRIBUTES:                                        
		*(struct termios *)args->buffer = tty->termios;                     
30003d84:	e5947008 	ldr	r7, [r4, #8]                                  
30003d88:	e285c030 	add	ip, r5, #48	; 0x30                            
30003d8c:	e1a0e007 	mov	lr, r7                                        
30003d90:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
30003d94:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
30003d98:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
30003d9c:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
30003da0:	e59c3000 	ldr	r3, [ip]                                      
30003da4:	e58e3000 	str	r3, [lr]                                      
		break;                                                              
30003da8:	eaffff73 	b	30003b7c <rtems_termios_ioctl+0x64>             
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
	if (sc != RTEMS_SUCCESSFUL) {                                        
		args->ioctl_return = sc;                                            
		return sc;                                                          
	}                                                                    
	switch (args->command) {                                             
30003dac:	e59f212c 	ldr	r2, [pc, #300]	; 30003ee0 <rtems_termios_ioctl+0x3c8><== NOT EXECUTED
30003db0:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
30003db4:	0a000019 	beq	30003e20 <rtems_termios_ioctl+0x308>          <== NOT EXECUTED
30003db8:	e2822105 	add	r2, r2, #1073741825	; 0x40000001              <== NOT EXECUTED
30003dbc:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
30003dc0:	1affff78 	bne	30003ba8 <rtems_termios_ioctl+0x90>           <== NOT EXECUTED
#if 1 /* FIXME */                                                     
	case TIOCSETD:                                                       
		/*                                                                  
		 * close old line discipline                                        
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_close != NULL) {            
30003dc4:	e59f7110 	ldr	r7, [pc, #272]	; 30003edc <rtems_termios_ioctl+0x3c4><== NOT EXECUTED
30003dc8:	e59530cc 	ldr	r3, [r5, #204]	; 0xcc                         <== NOT EXECUTED
30003dcc:	e0873283 	add	r3, r7, r3, lsl #5                            <== NOT EXECUTED
30003dd0:	e5933004 	ldr	r3, [r3, #4]                                  <== NOT EXECUTED
30003dd4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30003dd8:	0a000003 	beq	30003dec <rtems_termios_ioctl+0x2d4>          <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_close(tty);               
30003ddc:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
30003de0:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30003de4:	e12fff13 	bx	r3                                             <== NOT EXECUTED
30003de8:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
		}                                                                   
		tty->t_line=*(int*)(args->buffer);                                  
30003dec:	e5943008 	ldr	r3, [r4, #8]                                  <== NOT EXECUTED
30003df0:	e5932000 	ldr	r2, [r3]                                      <== NOT EXECUTED
		tty->t_sc = NULL; /* ensure that no more valid data */              
30003df4:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
30003df8:	e58530d0 	str	r3, [r5, #208]	; 0xd0                         <== NOT EXECUTED
		/*                                                                  
		 * open new line discipline                                         
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_open != NULL) {             
30003dfc:	e7973282 	ldr	r3, [r7, r2, lsl #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);                                  
30003e00:	e58520cc 	str	r2, [r5, #204]	; 0xcc                         <== 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) {             
30003e04:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30003e08:	0affff5b 	beq	30003b7c <rtems_termios_ioctl+0x64>           <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_open(tty);                
30003e0c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
30003e10:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30003e14:	e12fff13 	bx	r3                                             <== NOT EXECUTED
30003e18:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
30003e1c:	eaffff56 	b	30003b7c <rtems_termios_ioctl+0x64>             <== NOT EXECUTED
		}                                                                   
		break;                                                              
	case TIOCGETD:                                                       
		*(int*)(args->buffer)=tty->t_line;                                  
30003e20:	e5943008 	ldr	r3, [r4, #8]                                  <== NOT EXECUTED
30003e24:	e59520cc 	ldr	r2, [r5, #204]	; 0xcc                         <== NOT EXECUTED
30003e28:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
		break;                                                              
30003e2c:	eaffff52 	b	30003b7c <rtems_termios_ioctl+0x64>             <== NOT EXECUTED
	case RTEMS_IO_TCDRAIN:                                               
		drainOutput (tty);                                                  
		break;                                                              
                                                                      
	case RTEMS_IO_SNDWAKEUP:                                             
		tty->tty_snd = *wakeup;                                             
30003e30:	e897000c 	ldm	r7, {r2, r3}                                  <== NOT EXECUTED
30003e34:	e58520d4 	str	r2, [r5, #212]	; 0xd4                         <== NOT EXECUTED
30003e38:	e58530d8 	str	r3, [r5, #216]	; 0xd8                         <== NOT EXECUTED
		break;                                                              
30003e3c:	eaffff4e 	b	30003b7c <rtems_termios_ioctl+0x64>             <== 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;             
30003e40:	e5d5a046 	ldrb	sl, [r5, #70]	; 0x46                         <== NOT EXECUTED
30003e44:	eb0002d4 	bl	3000499c <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] *                       
30003e48:	e000009a 	mul	r0, sl, r0                                    <== NOT EXECUTED
30003e4c:	e59f1090 	ldr	r1, [pc, #144]	; 30003ee4 <rtems_termios_ioctl+0x3cc><== NOT EXECUTED
			              rtems_clock_get_ticks_per_second() / 10;             
			if (tty->termios.c_cc[VTIME]) {                                    
30003e50:	e5d52046 	ldrb	r2, [r5, #70]	; 0x46                         <== NOT EXECUTED
			tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                        
			tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                  
			tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;             
		}                                                                   
		else {                                                              
			tty->vtimeTicks = tty->termios.c_cc[VTIME] *                       
30003e54:	e083c091 	umull	ip, r3, r1, r0                              <== NOT EXECUTED
			              rtems_clock_get_ticks_per_second() / 10;             
			if (tty->termios.c_cc[VTIME]) {                                    
30003e58:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
			tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                        
			tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                  
			tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;             
		}                                                                   
		else {                                                              
			tty->vtimeTicks = tty->termios.c_cc[VTIME] *                       
30003e5c:	e1a031a3 	lsr	r3, r3, #3                                    <== NOT EXECUTED
30003e60:	e5853054 	str	r3, [r5, #84]	; 0x54                          <== NOT EXECUTED
			              rtems_clock_get_ticks_per_second() / 10;             
			if (tty->termios.c_cc[VTIME]) {                                    
30003e64:	0a00000b 	beq	30003e98 <rtems_termios_ioctl+0x380>          <== NOT EXECUTED
				tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                       
				tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;                  
				if (tty->termios.c_cc[VMIN])                                      
30003e68:	e5d52047 	ldrb	r2, [r5, #71]	; 0x47                         <== 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;                       
30003e6c:	e585806c 	str	r8, [r5, #108]	; 0x6c                         <== NOT EXECUTED
				tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;                  
				if (tty->termios.c_cc[VMIN])                                      
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
30003e70:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
30003e74:	01a02003 	moveq	r2, r3                                      <== NOT EXECUTED
30003e78:	13a02000 	movne	r2, #0                                      <== NOT EXECUTED
30003e7c:	e5852074 	str	r2, [r5, #116]	; 0x74                         <== 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;                       
				tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;                  
30003e80:	e5853070 	str	r3, [r5, #112]	; 0x70                         <== NOT EXECUTED
30003e84:	eaffffa8 	b	30003d2c <rtems_termios_ioctl+0x214>            <== NOT EXECUTED
  /*                                                                  
   * check for flow control options to be switched on                 
   */                                                                 
  /* check for incoming RTS/CTS flow control switched on */           
  if (tty->termios.c_cflag & CRTSCTS) {                               
    tty->flow_ctrl |= FL_MDRTS;                                       
30003e88:	e59530b8 	ldr	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
30003e8c:	e3833c01 	orr	r3, r3, #256	; 0x100                          <== NOT EXECUTED
30003e90:	e58530b8 	str	r3, [r5, #184]	; 0xb8                         <== NOT EXECUTED
30003e94:	eaffff94 	b	30003cec <rtems_termios_ioctl+0x1d4>            <== NOT EXECUTED
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
				else                                                              
					tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;            
			}                                                                  
			else {                                                             
				if (tty->termios.c_cc[VMIN]) {                                    
30003e98:	e5d53047 	ldrb	r3, [r5, #71]	; 0x47                         <== NOT EXECUTED
30003e9c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
					tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                      
					tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
				}                                                                 
				else {                                                            
					tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;                   
30003ea0:	03a03001 	moveq	r3, #1                                      <== NOT EXECUTED
			}                                                                  
			else {                                                             
				if (tty->termios.c_cc[VMIN]) {                                    
					tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                      
					tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
30003ea4:	15852074 	strne	r2, [r5, #116]	; 0x74                       <== NOT EXECUTED
				else                                                              
					tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;            
			}                                                                  
			else {                                                             
				if (tty->termios.c_cc[VMIN]) {                                    
					tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                      
30003ea8:	1585206c 	strne	r2, [r5, #108]	; 0x6c                       <== NOT EXECUTED
					tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                
30003eac:	15852070 	strne	r2, [r5, #112]	; 0x70                       <== NOT EXECUTED
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
				}                                                                 
				else {                                                            
					tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;                   
30003eb0:	0585306c 	streq	r3, [r5, #108]	; 0x6c                       <== NOT EXECUTED
30003eb4:	eaffff9c 	b	30003d2c <rtems_termios_ioctl+0x214>            <== NOT EXECUTED
      tty->flow_ctrl &= ~FL_OSTOP;                                    
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
	/* if chars available, call write function... */                     
	(*tty->device.write)(tty->minor,                                     
		     &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);                
30003eb8:	e5953084 	ldr	r3, [r5, #132]	; 0x84                         <== 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,                                     
30003ebc:	e595107c 	ldr	r1, [r5, #124]	; 0x7c                         <== NOT EXECUTED
30003ec0:	e5950010 	ldr	r0, [r5, #16]                                 <== NOT EXECUTED
30003ec4:	e0811003 	add	r1, r1, r3                                    <== NOT EXECUTED
30003ec8:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
30003ecc:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30003ed0:	e595f0a4 	ldr	pc, [r5, #164]	; 0xa4                         <== NOT EXECUTED
30003ed4:	eaffff5e 	b	30003c54 <rtems_termios_ioctl+0x13c>            <== NOT EXECUTED
30003ed8:	4004667f 	.word	0x4004667f                                  
30003edc:	300195c0 	.word	0x300195c0                                  
30003ee0:	4004741a 	.word	0x4004741a                                  
30003ee4:	cccccccd 	.word	0xcccccccd                                  
                                                                      
300040b4 <rtems_termios_open>:                                        
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
300040b4:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
300040b8:	e59f7460 	ldr	r7, [pc, #1120]	; 30004520 <rtems_termios_open+0x46c>
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
300040bc:	e1a06001 	mov	r6, r1                                        
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
300040c0:	e3a01000 	mov	r1, #0                                        
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
300040c4:	e24dd010 	sub	sp, sp, #16                                   
300040c8:	e1a05000 	mov	r5, r0                                        
300040cc:	e1a08002 	mov	r8, r2                                        
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
300040d0:	e5970000 	ldr	r0, [r7]                                      
300040d4:	e1a02001 	mov	r2, r1                                        
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
300040d8:	e1a09003 	mov	r9, r3                                        
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
300040dc:	eb0003da 	bl	3000504c <rtems_semaphore_obtain>              
				     RTEMS_WAIT, RTEMS_NO_TIMEOUT);                               
	if (sc != RTEMS_SUCCESSFUL)                                          
300040e0:	e250a000 	subs	sl, r0, #0                                   
300040e4:	1a000020 	bne	3000416c <rtems_termios_open+0xb8>            
		return sc;                                                          
	for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) {  
300040e8:	e59fb434 	ldr	fp, [pc, #1076]	; 30004524 <rtems_termios_open+0x470>
300040ec:	e59b4000 	ldr	r4, [fp]                                      
300040f0:	e3540000 	cmp	r4, #0                                        
300040f4:	1a000003 	bne	30004108 <rtems_termios_open+0x54>            
300040f8:	ea00002b 	b	300041ac <rtems_termios_open+0xf8>              
300040fc:	e5944000 	ldr	r4, [r4]                                      
30004100:	e3540000 	cmp	r4, #0                                        
30004104:	0a000028 	beq	300041ac <rtems_termios_open+0xf8>            
		if ((tty->major == major) && (tty->minor == minor))                 
30004108:	e594300c 	ldr	r3, [r4, #12]                                 
3000410c:	e1530005 	cmp	r3, r5                                        
30004110:	1afffff9 	bne	300040fc <rtems_termios_open+0x48>            
30004114:	e5943010 	ldr	r3, [r4, #16]                                 
30004118:	e1530006 	cmp	r3, r6                                        
3000411c:	1afffff6 	bne	300040fc <rtems_termios_open+0x48>            
		if (c++ == 'z')                                                     
			c = 'a';                                                           
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
	if (!tty->refcount++) {                                              
30004120:	e5943008 	ldr	r3, [r4, #8]                                  
		 */                                                                 
		if (c++ == 'z')                                                     
			c = 'a';                                                           
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
30004124:	e5982000 	ldr	r2, [r8]                                      
	if (!tty->refcount++) {                                              
30004128:	e3530000 	cmp	r3, #0                                        
3000412c:	e2833001 	add	r3, r3, #1                                    
		 */                                                                 
		if (c++ == 'z')                                                     
			c = 'a';                                                           
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
30004130:	e5824034 	str	r4, [r2, #52]	; 0x34                          
	if (!tty->refcount++) {                                              
30004134:	e5843008 	str	r3, [r4, #8]                                  
30004138:	1a000009 	bne	30004164 <rtems_termios_open+0xb0>            
	  if (tty->device.firstOpen)                                         
3000413c:	e5943098 	ldr	r3, [r4, #152]	; 0x98                         
30004140:	e3530000 	cmp	r3, #0                                        
		(*tty->device.firstOpen)(major, minor, arg);                        
30004144:	11a00005 	movne	r0, r5                                      
30004148:	11a01006 	movne	r1, r6                                      
3000414c:	11a02008 	movne	r2, r8                                      
30004150:	11a0e00f 	movne	lr, pc                                      
30004154:	112fff13 	bxne	r3                                           
	  /*                                                                 
	   * start I/O tasks, if needed                                      
	   */                                                                
	  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {     
30004158:	e59430b4 	ldr	r3, [r4, #180]	; 0xb4                         
3000415c:	e3530002 	cmp	r3, #2                                        
30004160:	0a000004 	beq	30004178 <rtems_termios_open+0xc4>            
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
	      rtems_fatal_error_occurred (sc);                               
	  }                                                                  
	}                                                                    
	rtems_semaphore_release (rtems_termios_ttyMutex);                    
30004164:	e5970000 	ldr	r0, [r7]                                      
30004168:	eb0003ff 	bl	3000516c <rtems_semaphore_release>             
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
3000416c:	e1a0000a 	mov	r0, sl                                        
30004170:	e28dd010 	add	sp, sp, #16                                   
30004174:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
		(*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,                             
30004178:	e59400c4 	ldr	r0, [r4, #196]	; 0xc4                         <== NOT EXECUTED
3000417c:	e59f13a4 	ldr	r1, [pc, #932]	; 30004528 <rtems_termios_open+0x474><== NOT EXECUTED
30004180:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
30004184:	eb0004c9 	bl	300054b0 <rtems_task_start>                    <== NOT EXECUTED
				  rtems_termios_rxdaemon,                                         
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
30004188:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
3000418c:	1a0000c7 	bne	300044b0 <rtems_termios_open+0x3fc>           <== NOT EXECUTED
	      rtems_fatal_error_occurred (sc);                               
                                                                      
	    sc = rtems_task_start(tty->txTaskId,                             
30004190:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
30004194:	e59400c8 	ldr	r0, [r4, #200]	; 0xc8                         <== NOT EXECUTED
30004198:	e59f138c 	ldr	r1, [pc, #908]	; 3000452c <rtems_termios_open+0x478><== NOT EXECUTED
3000419c:	eb0004c3 	bl	300054b0 <rtems_task_start>                    <== NOT EXECUTED
				  rtems_termios_txdaemon,                                         
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
300041a0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
300041a4:	0affffee 	beq	30004164 <rtems_termios_open+0xb0>            <== NOT EXECUTED
300041a8:	ea0000c0 	b	300044b0 <rtems_termios_open+0x3fc>             <== NOT EXECUTED
		static char c = 'a';                                                
                                                                      
		/*                                                                  
		 * Create a new device                                              
		 */                                                                 
		tty = calloc (1, sizeof (struct rtems_termios_tty));                
300041ac:	e3a00001 	mov	r0, #1                                        
300041b0:	e3a010e8 	mov	r1, #232	; 0xe8                               
300041b4:	eb0015ba 	bl	300098a4 <calloc>                              
		if (tty == NULL) {                                                  
300041b8:	e3500000 	cmp	r0, #0                                        
		static char c = 'a';                                                
                                                                      
		/*                                                                  
		 * Create a new device                                              
		 */                                                                 
		tty = calloc (1, sizeof (struct rtems_termios_tty));                
300041bc:	e58d0008 	str	r0, [sp, #8]                                  
300041c0:	e1a04000 	mov	r4, r0                                        
		if (tty == NULL) {                                                  
300041c4:	0a0000a5 	beq	30004460 <rtems_termios_open+0x3ac>           
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate raw input buffer                                        
		 */                                                                 
		tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                         
300041c8:	e59f1360 	ldr	r1, [pc, #864]	; 30004530 <rtems_termios_open+0x47c>
300041cc:	e59d2008 	ldr	r2, [sp, #8]                                  
300041d0:	e5913004 	ldr	r3, [r1, #4]                                  
300041d4:	e5823064 	str	r3, [r2, #100]	; 0x64                         
		tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);                 
300041d8:	e5920064 	ldr	r0, [r2, #100]	; 0x64                         
300041dc:	ebfff71f 	bl	30001e60 <malloc>                              
300041e0:	e59d3008 	ldr	r3, [sp, #8]                                  
		if (tty->rawInBuf.theBuf == NULL) {                                 
300041e4:	e3500000 	cmp	r0, #0                                        
		}                                                                   
		/*                                                                  
		 * allocate raw input buffer                                        
		 */                                                                 
		tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                         
		tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);                 
300041e8:	e5830058 	str	r0, [r3, #88]	; 0x58                          
		if (tty->rawInBuf.theBuf == NULL) {                                 
300041ec:	0a00009f 	beq	30004470 <rtems_termios_open+0x3bc>           
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate raw output buffer                                       
		 */                                                                 
		tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                       
300041f0:	e59fc338 	ldr	ip, [pc, #824]	; 30004530 <rtems_termios_open+0x47c>
300041f4:	e59de008 	ldr	lr, [sp, #8]                                  
300041f8:	e59c3008 	ldr	r3, [ip, #8]                                  
300041fc:	e58e3088 	str	r3, [lr, #136]	; 0x88                         
		tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);               
30004200:	e59e0088 	ldr	r0, [lr, #136]	; 0x88                         
30004204:	ebfff715 	bl	30001e60 <malloc>                              
30004208:	e59d1008 	ldr	r1, [sp, #8]                                  
		if (tty->rawOutBuf.theBuf == NULL) {                                
3000420c:	e3500000 	cmp	r0, #0                                        
		}                                                                   
		/*                                                                  
		 * allocate raw output buffer                                       
		 */                                                                 
		tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                       
		tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);               
30004210:	e581007c 	str	r0, [r1, #124]	; 0x7c                         
		if (tty->rawOutBuf.theBuf == NULL) {                                
		        free((void *)(tty->rawInBuf.theBuf));                       
30004214:	05910058 	ldreq	r0, [r1, #88]	; 0x58                        
		/*                                                                  
		 * allocate raw output buffer                                       
		 */                                                                 
		tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                       
		tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);               
		if (tty->rawOutBuf.theBuf == NULL) {                                
30004218:	0a00008d 	beq	30004454 <rtems_termios_open+0x3a0>           
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate cooked buffer                                           
		 */                                                                 
		tty->cbuf  = malloc (CBUFSIZE);                                     
3000421c:	e59f230c 	ldr	r2, [pc, #780]	; 30004530 <rtems_termios_open+0x47c>
30004220:	e5920000 	ldr	r0, [r2]                                      
30004224:	ebfff70d 	bl	30001e60 <malloc>                              
30004228:	e59d3008 	ldr	r3, [sp, #8]                                  
		if (tty->cbuf == NULL) {                                            
3000422c:	e3500000 	cmp	r0, #0                                        
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate cooked buffer                                           
		 */                                                                 
		tty->cbuf  = malloc (CBUFSIZE);                                     
30004230:	e583001c 	str	r0, [r3, #28]                                 
		if (tty->cbuf == NULL) {                                            
30004234:	0a000082 	beq	30004444 <rtems_termios_open+0x390>           
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
30004238:	e59de008 	ldr	lr, [sp, #8]                                  
		tty->tty_rcvwakeup  = 0;                                            
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
3000423c:	e59b2000 	ldr	r2, [fp]                                      
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * Initialize wakeup callbacks                                      
		 */                                                                 
		tty->tty_snd.sw_pfn = NULL;                                         
30004240:	e3a03000 	mov	r3, #0                                        
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
30004244:	e58e3004 	str	r3, [lr, #4]                                  
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * Initialize wakeup callbacks                                      
		 */                                                                 
		tty->tty_snd.sw_pfn = NULL;                                         
30004248:	e58e30d4 	str	r3, [lr, #212]	; 0xd4                         
		tty->tty_snd.sw_arg = NULL;                                         
3000424c:	e58e30d8 	str	r3, [lr, #216]	; 0xd8                         
		tty->tty_rcv.sw_pfn = NULL;                                         
30004250:	e58e30dc 	str	r3, [lr, #220]	; 0xdc                         
		tty->tty_rcv.sw_arg = NULL;                                         
30004254:	e58e30e0 	str	r3, [lr, #224]	; 0xe0                         
		tty->tty_rcvwakeup  = 0;                                            
30004258:	e58e30e4 	str	r3, [lr, #228]	; 0xe4                         
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
3000425c:	e1520003 	cmp	r2, r3                                        
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
30004260:	e59f32cc 	ldr	r3, [pc, #716]	; 30004534 <rtems_termios_open+0x480>
		tty->tty_rcvwakeup  = 0;                                            
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
30004264:	e58e2000 	str	r2, [lr]                                      
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
30004268:	1582e004 	strne	lr, [r2, #4]                                
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
3000426c:	e5932000 	ldr	r2, [r3]                                      
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
30004270:	e59d1008 	ldr	r1, [sp, #8]                                  
		if (rtems_termios_ttyTail == NULL)                                  
30004274:	e3520000 	cmp	r2, #0                                        
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
30004278:	e59f22b0 	ldr	r2, [pc, #688]	; 30004530 <rtems_termios_open+0x47c>
3000427c:	e59de008 	ldr	lr, [sp, #8]                                  
		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;                                       
30004280:	05831000 	streq	r1, [r3]                                    
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
30004284:	e59f02ac 	ldr	r0, [pc, #684]	; 30004538 <rtems_termios_open+0x484>
30004288:	e5d2300c 	ldrb	r3, [r2, #12]                                
3000428c:	e28ec014 	add	ip, lr, #20                                   
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
		tty->back = NULL;                                                   
		if (rtems_termios_ttyHead != NULL)                                  
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
30004290:	e58b1000 	str	r1, [fp]                                      
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
30004294:	e1830000 	orr	r0, r3, r0                                    
30004298:	e58dc000 	str	ip, [sp]                                      
3000429c:	e3a03000 	mov	r3, #0                                        
300042a0:	e3a01001 	mov	r1, #1                                        
300042a4:	e3a02054 	mov	r2, #84	; 0x54                                
			rtems_termios_ttyHead->back = tty;                                 
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
			rtems_termios_ttyTail = tty;                                       
                                                                      
		tty->minor = minor;                                                 
300042a8:	e58e6010 	str	r6, [lr, #16]                                 
		tty->major = major;                                                 
300042ac:	e58e500c 	str	r5, [lr, #12]                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
300042b0:	eb0002ca 	bl	30004de0 <rtems_semaphore_create>              
			rtems_build_name ('T', 'R', 'i', c),                               
			1,                                                                 
			RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,  
			RTEMS_NO_PRIORITY,                                                 
			&tty->isem);                                                       
		if (sc != RTEMS_SUCCESSFUL)                                         
300042b4:	e2503000 	subs	r3, r0, #0                                   
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
300042b8:	e59fb270 	ldr	fp, [pc, #624]	; 30004530 <rtems_termios_open+0x47c>
			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)                                         
300042bc:	1a00007b 	bne	300044b0 <rtems_termios_open+0x3fc>           
			rtems_fatal_error_occurred (sc);                                   
		sc = rtems_semaphore_create (                                       
300042c0:	e5db200c 	ldrb	r2, [fp, #12]                                
300042c4:	e59d1008 	ldr	r1, [sp, #8]                                  
300042c8:	e59f026c 	ldr	r0, [pc, #620]	; 3000453c <rtems_termios_open+0x488>
300042cc:	e281c018 	add	ip, r1, #24                                   
300042d0:	e1820000 	orr	r0, r2, r0                                    
300042d4:	e3a01001 	mov	r1, #1                                        
300042d8:	e3a02054 	mov	r2, #84	; 0x54                                
300042dc:	e58dc000 	str	ip, [sp]                                      
300042e0:	eb0002be 	bl	30004de0 <rtems_semaphore_create>              
			rtems_build_name ('T', 'R', 'o', c),                               
			1,                                                                 
			RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,  
			RTEMS_NO_PRIORITY,                                                 
			&tty->osem);                                                       
		if (sc != RTEMS_SUCCESSFUL)                                         
300042e4:	e2501000 	subs	r1, r0, #0                                   
300042e8:	1a000070 	bne	300044b0 <rtems_termios_open+0x3fc>           
			rtems_fatal_error_occurred (sc);                                   
		sc = rtems_semaphore_create (                                       
300042ec:	e5db300c 	ldrb	r3, [fp, #12]                                
300042f0:	e59d2008 	ldr	r2, [sp, #8]                                  
300042f4:	e59f0244 	ldr	r0, [pc, #580]	; 30004540 <rtems_termios_open+0x48c>
300042f8:	e282c08c 	add	ip, r2, #140	; 0x8c                           
300042fc:	e1830000 	orr	r0, r3, r0                                    
30004300:	e3a02020 	mov	r2, #32                                       
30004304:	e1a03001 	mov	r3, r1                                        
30004308:	e58dc000 	str	ip, [sp]                                      
3000430c:	eb0002b3 	bl	30004de0 <rtems_semaphore_create>              
			rtems_build_name ('T', 'R', 'x', c),                               
			0,                                                                 
			RTEMS_SIMPLE_BINARY_SEMAPHORE | RTEMS_FIFO,                        
			RTEMS_NO_PRIORITY,                                                 
			&tty->rawOutBuf.Semaphore);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
30004310:	e2503000 	subs	r3, r0, #0                                   
30004314:	e58d300c 	str	r3, [sp, #12]                                 
30004318:	1a000064 	bne	300044b0 <rtems_termios_open+0x3fc>           
		tty->rawOutBufState = rob_idle;                                     
                                                                      
		/*                                                                  
		 * Set callbacks                                                    
		 */                                                                 
		tty->device = *callbacks;                                           
3000431c:	e59dc008 	ldr	ip, [sp, #8]                                  
30004320:	e28ce098 	add	lr, ip, #152	; 0x98                           
30004324:	e1a0c009 	mov	ip, r9                                        
30004328:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
3000432c:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
30004330:	e89c000f 	ldm	ip, {r0, r1, r2, r3}                          
30004334:	e88e000f 	stm	lr, {r0, r1, r2, r3}                          
                                                                      
		/*                                                                  
		 * Create I/O tasks                                                 
		 */                                                                 
		if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
30004338:	e59de008 	ldr	lr, [sp, #8]                                  
			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;                                     
3000433c:	e59d100c 	ldr	r1, [sp, #12]                                 
		tty->device = *callbacks;                                           
                                                                      
		/*                                                                  
		 * Create I/O tasks                                                 
		 */                                                                 
		if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
30004340:	e59e30b4 	ldr	r3, [lr, #180]	; 0xb4                         
			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;                                     
30004344:	e58e1094 	str	r1, [lr, #148]	; 0x94                         
		tty->device = *callbacks;                                           
                                                                      
		/*                                                                  
		 * Create I/O tasks                                                 
		 */                                                                 
		if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
30004348:	e3530002 	cmp	r3, #2                                        
3000434c:	0a000058 	beq	300044b4 <rtems_termios_open+0x400>           
				   &tty->rxTaskId);                                               
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
                                                                      
		}                                                                   
		if ((tty->device.pollRead == NULL) ||                               
30004350:	e59d2008 	ldr	r2, [sp, #8]                                  
30004354:	e59230a0 	ldr	r3, [r2, #160]	; 0xa0                         
30004358:	e3530000 	cmp	r3, #0                                        
3000435c:	0a000046 	beq	3000447c <rtems_termios_open+0x3c8>           
		    (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){     
30004360:	e59230b4 	ldr	r3, [r2, #180]	; 0xb4                         
30004364:	e3530002 	cmp	r3, #2                                        
30004368:	0a000043 	beq	3000447c <rtems_termios_open+0x3c8>           
		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;                                                 
3000436c:	e59d1008 	ldr	r1, [sp, #8]                                  
		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';                                   
30004370:	e3a03000 	mov	r3, #0                                        
		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;                                                 
30004374:	e58130b8 	str	r3, [r1, #184]	; 0xb8                         
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
30004378:	e59fc1b0 	ldr	ip, [pc, #432]	; 30004530 <rtems_termios_open+0x47c>
		/* 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;                          
3000437c:	e5910064 	ldr	r0, [r1, #100]	; 0x64                         
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
30004380:	e5911064 	ldr	r1, [r1, #100]	; 0x64                         
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
30004384:	e5dc200c 	ldrb	r2, [ip, #12]                                
		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;                          
30004388:	e59de008 	ldr	lr, [sp, #8]                                  
3000438c:	e0811081 	add	r1, r1, r1, lsl #1                            
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
30004390:	e352007a 	cmp	r2, #122	; 0x7a                               
		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;                          
30004394:	e1a01121 	lsr	r1, r1, #2                                    
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
30004398:	e2822001 	add	r2, r2, #1                                    
		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;                          
3000439c:	e58e10c0 	str	r1, [lr, #192]	; 0xc0                         
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
300043a0:	e5cc200c 	strb	r2, [ip, #12]                                
		}                                                                   
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
300043a4:	e59f2198 	ldr	r2, [pc, #408]	; 30004544 <rtems_termios_open+0x490>
		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';                                   
300043a8:	e5ce304c 	strb	r3, [lr, #76]	; 0x4c                         
		}                                                                   
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
300043ac:	e58e2030 	str	r2, [lr, #48]	; 0x30                          
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
300043b0:	e59f2190 	ldr	r2, [pc, #400]	; 30004548 <rtems_termios_open+0x494>
		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';                                  
300043b4:	e5ce3051 	strb	r3, [lr, #81]	; 0x51                         
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
300043b8:	e58e2034 	str	r2, [lr, #52]	; 0x34                          
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
300043bc:	e59f2188 	ldr	r2, [pc, #392]	; 3000454c <rtems_termios_open+0x498>
		/* 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;                          
300043c0:	e1a000a0 	lsr	r0, r0, #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;                
300043c4:	e58e2038 	str	r2, [lr, #56]	; 0x38                          
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
300043c8:	e59f2180 	ldr	r2, [pc, #384]	; 30004550 <rtems_termios_open+0x49c>
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
			c = 'a';                                                           
300043cc:	01a0300c 	moveq	r3, ip                                      
		 * 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;
300043d0:	e58e203c 	str	r2, [lr, #60]	; 0x3c                          
                                                                      
		tty->termios.c_cc[VINTR] = '\003';                                  
300043d4:	e3a02003 	mov	r2, #3                                        
300043d8:	e5ce2041 	strb	r2, [lr, #65]	; 0x41                         
		tty->termios.c_cc[VQUIT] = '\034';                                  
300043dc:	e3a0201c 	mov	r2, #28                                       
300043e0:	e5ce2042 	strb	r2, [lr, #66]	; 0x42                         
		tty->termios.c_cc[VERASE] = '\177';                                 
300043e4:	e3a0207f 	mov	r2, #127	; 0x7f                               
300043e8:	e5ce2043 	strb	r2, [lr, #67]	; 0x43                         
		tty->termios.c_cc[VKILL] = '\025';                                  
300043ec:	e3a02015 	mov	r2, #21                                       
300043f0:	e5ce2044 	strb	r2, [lr, #68]	; 0x44                         
		tty->termios.c_cc[VEOF] = '\004';                                   
300043f4:	e3a02004 	mov	r2, #4                                        
300043f8:	e5ce2045 	strb	r2, [lr, #69]	; 0x45                         
		tty->termios.c_cc[VEOL] = '\000';                                   
		tty->termios.c_cc[VEOL2] = '\000';                                  
		tty->termios.c_cc[VSTART] = '\021';                                 
300043fc:	e3a02011 	mov	r2, #17                                       
30004400:	e5ce2049 	strb	r2, [lr, #73]	; 0x49                         
		tty->termios.c_cc[VSTOP] = '\023';                                  
30004404:	e3a02013 	mov	r2, #19                                       
30004408:	e5ce204a 	strb	r2, [lr, #74]	; 0x4a                         
		tty->termios.c_cc[VSUSP] = '\032';                                  
3000440c:	e3a0201a 	mov	r2, #26                                       
30004410:	e5ce204b 	strb	r2, [lr, #75]	; 0x4b                         
		tty->termios.c_cc[VREPRINT] = '\022';                               
30004414:	e3a02012 	mov	r2, #18                                       
30004418:	e5ce204d 	strb	r2, [lr, #77]	; 0x4d                         
		tty->termios.c_cc[VDISCARD] = '\017';                               
3000441c:	e3a0200f 	mov	r2, #15                                       
30004420:	e5ce204e 	strb	r2, [lr, #78]	; 0x4e                         
		tty->termios.c_cc[VWERASE] = '\027';                                
30004424:	e3a02017 	mov	r2, #23                                       
30004428:	e5ce204f 	strb	r2, [lr, #79]	; 0x4f                         
		tty->termios.c_cc[VLNEXT] = '\026';                                 
3000442c:	e3a02016 	mov	r2, #22                                       
30004430:	e5ce2050 	strb	r2, [lr, #80]	; 0x50                         
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
			c = 'a';                                                           
30004434:	0282204b 	addeq	r2, r2, #75	; 0x4b                          
		/* 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;                          
30004438:	e58e00bc 	str	r0, [lr, #188]	; 0xbc                         
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
			c = 'a';                                                           
3000443c:	05c3200c 	strbeq	r2, [r3, #12]                              
30004440:	eaffff36 	b	30004120 <rtems_termios_open+0x6c>              
		/*                                                                  
		 * allocate cooked buffer                                           
		 */                                                                 
		tty->cbuf  = malloc (CBUFSIZE);                                     
		if (tty->cbuf == NULL) {                                            
		        free((void *)(tty->rawOutBuf.theBuf));                      
30004444:	e593007c 	ldr	r0, [r3, #124]	; 0x7c                         <== NOT EXECUTED
30004448:	ebfff5c9 	bl	30001b74 <free>                                <== NOT EXECUTED
		        free((void *)(tty->rawInBuf.theBuf));                       
3000444c:	e59dc008 	ldr	ip, [sp, #8]                                  <== NOT EXECUTED
30004450:	e59c0058 	ldr	r0, [ip, #88]	; 0x58                          <== NOT EXECUTED
30004454:	ebfff5c6 	bl	30001b74 <free>                                <== NOT EXECUTED
		        free(tty);                                                  
30004458:	e59d0008 	ldr	r0, [sp, #8]                                  <== NOT EXECUTED
3000445c:	ebfff5c4 	bl	30001b74 <free>                                <== NOT EXECUTED
			rtems_semaphore_release (rtems_termios_ttyMutex);                  
30004460:	e5970000 	ldr	r0, [r7]                                      <== NOT EXECUTED
30004464:	eb000340 	bl	3000516c <rtems_semaphore_release>             <== NOT EXECUTED
30004468:	e3a0a01a 	mov	sl, #26                                       <== NOT EXECUTED
			return RTEMS_NO_MEMORY;                                            
3000446c:	eaffff3e 	b	3000416c <rtems_termios_open+0xb8>              <== 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);                                                  
30004470:	e1a00003 	mov	r0, r3                                        <== NOT EXECUTED
30004474:	ebfff5be 	bl	30001b74 <free>                                <== NOT EXECUTED
30004478:	eafffff8 	b	30004460 <rtems_termios_open+0x3ac>             <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
                                                                      
		}                                                                   
		if ((tty->device.pollRead == NULL) ||                               
		    (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){     
			sc = rtems_semaphore_create (                                      
3000447c:	e59fc0ac 	ldr	ip, [pc, #172]	; 30004530 <rtems_termios_open+0x47c><== NOT EXECUTED
30004480:	e59de008 	ldr	lr, [sp, #8]                                  <== NOT EXECUTED
30004484:	e5dc300c 	ldrb	r3, [ip, #12]                                <== NOT EXECUTED
30004488:	e59f00c4 	ldr	r0, [pc, #196]	; 30004554 <rtems_termios_open+0x4a0><== NOT EXECUTED
3000448c:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
30004490:	e1830000 	orr	r0, r3, r0                                    <== NOT EXECUTED
30004494:	e28ec068 	add	ip, lr, #104	; 0x68                           <== NOT EXECUTED
30004498:	e3a02024 	mov	r2, #36	; 0x24                                <== NOT EXECUTED
3000449c:	e1a03001 	mov	r3, r1                                        <== NOT EXECUTED
300044a0:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
300044a4:	eb00024d 	bl	30004de0 <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)                                        
300044a8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
300044ac:	0affffae 	beq	3000436c <rtems_termios_open+0x2b8>           <== NOT EXECUTED
                                                                      
	    sc = rtems_task_start(tty->txTaskId,                             
				  rtems_termios_txdaemon,                                         
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
	      rtems_fatal_error_occurred (sc);                               
300044b0:	eb000484 	bl	300056c8 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
		/*                                                                  
		 * Create I/O tasks                                                 
		 */                                                                 
		if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
			sc = rtems_task_create (                                           
300044b4:	e5db300c 	ldrb	r3, [fp, #12]                                <== NOT EXECUTED
300044b8:	e59f0098 	ldr	r0, [pc, #152]	; 30004558 <rtems_termios_open+0x4a4><== NOT EXECUTED
300044bc:	e28ec0c8 	add	ip, lr, #200	; 0xc8                           <== NOT EXECUTED
300044c0:	e59de00c 	ldr	lr, [sp, #12]                                 <== NOT EXECUTED
300044c4:	e1830000 	orr	r0, r3, r0                                    <== NOT EXECUTED
300044c8:	e3a0100a 	mov	r1, #10                                       <== NOT EXECUTED
300044cc:	e3a02b01 	mov	r2, #1024	; 0x400                             <== NOT EXECUTED
300044d0:	e3a03c05 	mov	r3, #1280	; 0x500                             <== NOT EXECUTED
300044d4:	e58de000 	str	lr, [sp]                                      <== NOT EXECUTED
300044d8:	e58dc004 	str	ip, [sp, #4]                                  <== NOT EXECUTED
300044dc:	eb00034c 	bl	30005214 <rtems_task_create>                   <== 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)                                        
300044e0:	e250e000 	subs	lr, r0, #0                                   <== NOT EXECUTED
300044e4:	1afffff1 	bne	300044b0 <rtems_termios_open+0x3fc>           <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
			sc = rtems_task_create (                                           
300044e8:	e5db300c 	ldrb	r3, [fp, #12]                                <== NOT EXECUTED
300044ec:	e59d1008 	ldr	r1, [sp, #8]                                  <== NOT EXECUTED
300044f0:	e59f0064 	ldr	r0, [pc, #100]	; 3000455c <rtems_termios_open+0x4a8><== NOT EXECUTED
300044f4:	e281c0c4 	add	ip, r1, #196	; 0xc4                           <== NOT EXECUTED
300044f8:	e1830000 	orr	r0, r3, r0                                    <== NOT EXECUTED
300044fc:	e3a01009 	mov	r1, #9                                        <== NOT EXECUTED
30004500:	e3a02b01 	mov	r2, #1024	; 0x400                             <== NOT EXECUTED
30004504:	e3a03c05 	mov	r3, #1280	; 0x500                             <== NOT EXECUTED
30004508:	e58de000 	str	lr, [sp]                                      <== NOT EXECUTED
3000450c:	e58dc004 	str	ip, [sp, #4]                                  <== NOT EXECUTED
30004510:	eb00033f 	bl	30005214 <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)                                        
30004514:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
30004518:	0affff8c 	beq	30004350 <rtems_termios_open+0x29c>           <== NOT EXECUTED
3000451c:	eaffffe3 	b	300044b0 <rtems_termios_open+0x3fc>             <== NOT EXECUTED
30004520:	300199a0 	.word	0x300199a0                                  
30004524:	300199a8 	.word	0x300199a8                                  
30004528:	300045d0 	.word	0x300045d0                                  
3000452c:	30004560 	.word	0x30004560                                  
30004530:	30019008 	.word	0x30019008                                  
30004534:	300199a4 	.word	0x300199a4                                  
30004538:	54526900 	.word	0x54526900                                  
3000453c:	54526f00 	.word	0x54526f00                                  
30004540:	54527800 	.word	0x54527800                                  
30004544:	00002502 	.word	0x00002502                                  
30004548:	00001805 	.word	0x00001805                                  
3000454c:	000008bd 	.word	0x000008bd                                  
30004550:	0000823b 	.word	0x0000823b                                  
30004554:	54527200 	.word	0x54527200                                  
30004558:	54785400 	.word	0x54785400                                  
3000455c:	52785400 	.word	0x52785400                                  
                                                                      
30002ef0 <rtems_termios_puts>:                                        
	const unsigned char *buf = _buf;                                     
	unsigned int newHead;                                                
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {            
30002ef0:	e59230b4 	ldr	r3, [r2, #180]	; 0xb4                         
 * Send characters to device-specific code                            
 */                                                                   
void                                                                  
rtems_termios_puts (                                                  
  const void *_buf, int len, struct rtems_termios_tty *tty)           
{                                                                     
30002ef4:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
	const unsigned char *buf = _buf;                                     
	unsigned int newHead;                                                
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {            
30002ef8:	e3530000 	cmp	r3, #0                                        
 * Send characters to device-specific code                            
 */                                                                   
void                                                                  
rtems_termios_puts (                                                  
  const void *_buf, int len, struct rtems_termios_tty *tty)           
{                                                                     
30002efc:	e1a04002 	mov	r4, r2                                        
30002f00:	e1a0b000 	mov	fp, r0                                        
30002f04:	e1a09001 	mov	r9, r1                                        
	const unsigned char *buf = _buf;                                     
	unsigned int newHead;                                                
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {            
30002f08:	0a000039 	beq	30002ff4 <rtems_termios_puts+0x104>           
		(*tty->device.write)(tty->minor, (void *)buf, len);                 
		return;                                                             
	}                                                                    
	newHead = tty->rawOutBuf.Head;                                       
	while (len) {                                                        
30002f0c:	e3510000 	cmp	r1, #0                                        <== NOT EXECUTED
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {            
		(*tty->device.write)(tty->minor, (void *)buf, len);                 
		return;                                                             
	}                                                                    
	newHead = tty->rawOutBuf.Head;                                       
30002f10:	e5928080 	ldr	r8, [r2, #128]	; 0x80                         <== NOT EXECUTED
	while (len) {                                                        
30002f14:	08bd8ff0 	popeq	{r4, r5, r6, r7, r8, r9, sl, fp, pc}        <== NOT EXECUTED
30002f18:	e3a0a000 	mov	sl, #0                                        <== NOT EXECUTED
		 * with interrupts enabled.                                         
		 */                                                                 
		newHead = (newHead + 1) % tty->rawOutBuf.Size;                      
		rtems_interrupt_disable (level);                                    
		while (newHead == tty->rawOutBuf.Tail) {                            
			tty->rawOutBufState = rob_wait;                                    
30002f1c:	e3a07002 	mov	r7, #2                                        <== NOT EXECUTED
		 *	len -= ncopy                                                     
		 *                                                                  
		 * To minimize latency, the memcpy should be done                   
		 * with interrupts enabled.                                         
		 */                                                                 
		newHead = (newHead + 1) % tty->rawOutBuf.Size;                      
30002f20:	e5941088 	ldr	r1, [r4, #136]	; 0x88                         <== NOT EXECUTED
30002f24:	e2880001 	add	r0, r8, #1                                    <== NOT EXECUTED
30002f28:	eb004c33 	bl	30015ffc <__umodsi3>                           <== NOT EXECUTED
30002f2c:	e1a08000 	mov	r8, r0                                        <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
30002f30:	e10f5000 	mrs	r5, CPSR                                      <== NOT EXECUTED
30002f34:	e3853080 	orr	r3, r5, #128	; 0x80                           <== NOT EXECUTED
30002f38:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
		rtems_interrupt_disable (level);                                    
		while (newHead == tty->rawOutBuf.Tail) {                            
30002f3c:	e5946084 	ldr	r6, [r4, #132]	; 0x84                         <== NOT EXECUTED
30002f40:	e1560000 	cmp	r6, r0                                        <== NOT EXECUTED
30002f44:	1a00000d 	bne	30002f80 <rtems_termios_puts+0x90>            <== NOT EXECUTED
			tty->rawOutBufState = rob_wait;                                    
30002f48:	e5847094 	str	r7, [r4, #148]	; 0x94                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
30002f4c:	e129f005 	msr	CPSR_fc, r5                                   <== NOT EXECUTED
			rtems_interrupt_enable (level);                                    
			sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,             
30002f50:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
30002f54:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         <== NOT EXECUTED
30002f58:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
30002f5c:	eb00083a 	bl	3000504c <rtems_semaphore_obtain>              <== NOT EXECUTED
							RTEMS_WAIT,                                                    
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
30002f60:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
30002f64:	1a000028 	bne	3000300c <rtems_termios_puts+0x11c>           <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
30002f68:	e10f5000 	mrs	r5, CPSR                                      <== NOT EXECUTED
30002f6c:	e3853080 	orr	r3, r5, #128	; 0x80                           <== NOT EXECUTED
30002f70:	e129f003 	msr	CPSR_fc, r3                                   <== 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) {                            
30002f74:	e5943084 	ldr	r3, [r4, #132]	; 0x84                         <== NOT EXECUTED
30002f78:	e1530006 	cmp	r3, r6                                        <== NOT EXECUTED
30002f7c:	0afffff1 	beq	30002f48 <rtems_termios_puts+0x58>            <== 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++;                
30002f80:	e5943080 	ldr	r3, [r4, #128]	; 0x80                         <== NOT EXECUTED
30002f84:	e7db100a 	ldrb	r1, [fp, sl]                                 <== NOT EXECUTED
30002f88:	e594207c 	ldr	r2, [r4, #124]	; 0x7c                         <== NOT EXECUTED
30002f8c:	e7c21003 	strb	r1, [r2, r3]                                 <== NOT EXECUTED
		tty->rawOutBuf.Head = newHead;                                      
		if (tty->rawOutBufState == rob_idle) {                              
30002f90:	e5943094 	ldr	r3, [r4, #148]	; 0x94                         <== 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;                                      
30002f94:	e5848080 	str	r8, [r4, #128]	; 0x80                         <== NOT EXECUTED
		if (tty->rawOutBufState == rob_idle) {                              
30002f98:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30002f9c:	1a000007 	bne	30002fc0 <rtems_termios_puts+0xd0>            <== NOT EXECUTED
		  /* check, whether XOFF has been received */                       
		  if (!(tty->flow_ctrl & FL_ORCVXOF)) {                             
30002fa0:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
30002fa4:	e3130010 	tst	r3, #16                                       <== NOT EXECUTED
30002fa8:	0a000009 	beq	30002fd4 <rtems_termios_puts+0xe4>            <== 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;                                     
30002fac:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
30002fb0:	e3833020 	orr	r3, r3, #32                                   <== NOT EXECUTED
30002fb4:	e58430b8 	str	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		  }                                                                 
		  tty->rawOutBufState = rob_busy;                                   
30002fb8:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
30002fbc:	e5843094 	str	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
30002fc0:	e129f005 	msr	CPSR_fc, r5                                   <== NOT EXECUTED
	if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {            
		(*tty->device.write)(tty->minor, (void *)buf, len);                 
		return;                                                             
	}                                                                    
	newHead = tty->rawOutBuf.Head;                                       
	while (len) {                                                        
30002fc4:	e2599001 	subs	r9, r9, #1                                   <== NOT EXECUTED
		    tty->flow_ctrl |= FL_OSTOP;                                     
		  }                                                                 
		  tty->rawOutBufState = rob_busy;                                   
		}                                                                   
		rtems_interrupt_enable (level);                                     
		len--;                                                              
30002fc8:	e28aa001 	add	sl, sl, #1                                    <== NOT EXECUTED
	if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {            
		(*tty->device.write)(tty->minor, (void *)buf, len);                 
		return;                                                             
	}                                                                    
	newHead = tty->rawOutBuf.Head;                                       
	while (len) {                                                        
30002fcc:	1affffd3 	bne	30002f20 <rtems_termios_puts+0x30>            <== NOT EXECUTED
30002fd0:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== 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,                                
			(char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);            
30002fd4:	e5943084 	ldr	r3, [r4, #132]	; 0x84                         <== 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,                                
30002fd8:	e594107c 	ldr	r1, [r4, #124]	; 0x7c                         <== NOT EXECUTED
30002fdc:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
30002fe0:	e0811003 	add	r1, r1, r3                                    <== NOT EXECUTED
30002fe4:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
30002fe8:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30002fec:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         <== NOT EXECUTED
30002ff0:	eafffff0 	b	30002fb8 <rtems_termios_puts+0xc8>              <== 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);                 
30002ff4:	e1a01000 	mov	r1, r0                                        
30002ff8:	e1a02009 	mov	r2, r9                                        
30002ffc:	e5940010 	ldr	r0, [r4, #16]                                 
30003000:	e1a0e00f 	mov	lr, pc                                        
30003004:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         
		return;                                                             
30003008:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
			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);                                  
3000300c:	eb0009ad 	bl	300056c8 <rtems_fatal_error_occurred>          <== NOT EXECUTED
                                                                      
30003788 <rtems_termios_read>:                                        
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
30003788:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         <== NOT EXECUTED
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
3000378c:	e5903000 	ldr	r3, [r0]                                      <== NOT EXECUTED
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
30003790:	e1a0a000 	mov	sl, r0                                        <== NOT EXECUTED
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
30003794:	e5934034 	ldr	r4, [r3, #52]	; 0x34                          <== 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);
30003798:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
rtems_termios_read (void *arg)                                        
{                                                                     
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
	uint32_t   count = args->count;                                      
	char      *buffer = args->buffer;                                    
3000379c:	e59a300c 	ldr	r3, [sl, #12]                                 <== NOT EXECUTED
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
300037a0:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
	struct rtems_termios_tty *tty = args->iop->data1;                    
	uint32_t   count = args->count;                                      
	char      *buffer = args->buffer;                                    
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
300037a4:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
300037a8:	e5940014 	ldr	r0, [r4, #20]                                 <== 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;                    
	uint32_t   count = args->count;                                      
300037ac:	e59a7010 	ldr	r7, [sl, #16]                                 <== NOT EXECUTED
	char      *buffer = args->buffer;                                    
300037b0:	e58d3000 	str	r3, [sp]                                      <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
300037b4:	eb000624 	bl	3000504c <rtems_semaphore_obtain>              <== NOT EXECUTED
	if (sc != RTEMS_SUCCESSFUL)                                          
300037b8:	e250b000 	subs	fp, r0, #0                                   <== NOT EXECUTED
300037bc:	1a00000e 	bne	300037fc <rtems_termios_read+0x74>            <== NOT EXECUTED
		return sc;                                                          
	if (rtems_termios_linesw[tty->t_line].l_read != NULL) {              
300037c0:	e59420cc 	ldr	r2, [r4, #204]	; 0xcc                         <== NOT EXECUTED
300037c4:	e59f3340 	ldr	r3, [pc, #832]	; 30003b0c <rtems_termios_read+0x384><== NOT EXECUTED
300037c8:	e0833282 	add	r3, r3, r2, lsl #5                            <== NOT EXECUTED
300037cc:	e5933008 	ldr	r3, [r3, #8]                                  <== NOT EXECUTED
300037d0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300037d4:	0a00000b 	beq	30003808 <rtems_termios_read+0x80>            <== NOT EXECUTED
		sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);            
300037d8:	e1a0100a 	mov	r1, sl                                        <== NOT EXECUTED
300037dc:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
300037e0:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
300037e4:	e12fff13 	bx	r3                                             <== NOT EXECUTED
		tty->tty_rcvwakeup = 0;                                             
300037e8:	e3a03000 	mov	r3, #0                                        <== 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);            
300037ec:	e1a0b000 	mov	fp, r0                                        <== NOT EXECUTED
		tty->tty_rcvwakeup = 0;                                             
300037f0:	e58430e4 	str	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
		rtems_semaphore_release (tty->isem);                                
300037f4:	e5940014 	ldr	r0, [r4, #20]                                 <== NOT EXECUTED
300037f8:	eb00065b 	bl	3000516c <rtems_semaphore_release>             <== NOT EXECUTED
	}                                                                    
	args->bytes_moved = args->count - count;                             
	tty->tty_rcvwakeup = 0;                                              
	rtems_semaphore_release (tty->isem);                                 
	return sc;                                                           
}                                                                     
300037fc:	e1a0000b 	mov	r0, fp                                        <== NOT EXECUTED
30003800:	e28dd008 	add	sp, sp, #8                                    <== NOT EXECUTED
30003804:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== 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) {                                    
30003808:	e5942024 	ldr	r2, [r4, #36]	; 0x24                          <== NOT EXECUTED
3000380c:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
30003810:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
30003814:	0a00001a 	beq	30003884 <rtems_termios_read+0xfc>            <== NOT EXECUTED
		else                                                                
			sc = fillBufferQueue (tty);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			tty->cindex = tty->ccount = 0;                                     
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
30003818:	e3570000 	cmp	r7, #0                                        <== NOT EXECUTED
3000381c:	0a000010 	beq	30003864 <rtems_termios_read+0xdc>            <== NOT EXECUTED
30003820:	e5943024 	ldr	r3, [r4, #36]	; 0x24                          <== NOT EXECUTED
30003824:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
30003828:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
3000382c:	aa00000c 	bge	30003864 <rtems_termios_read+0xdc>            <== NOT EXECUTED
		*buffer++ = tty->cbuf[tty->cindex++];                               
30003830:	e59d2000 	ldr	r2, [sp]                                      <== NOT EXECUTED
30003834:	e0631002 	rsb	r1, r3, r2                                    <== NOT EXECUTED
30003838:	ea000002 	b	30003848 <rtems_termios_read+0xc0>              <== NOT EXECUTED
		else                                                                
			sc = fillBufferQueue (tty);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			tty->cindex = tty->ccount = 0;                                     
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
3000383c:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
30003840:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
30003844:	da000006 	ble	30003864 <rtems_termios_read+0xdc>            <== NOT EXECUTED
		*buffer++ = tty->cbuf[tty->cindex++];                               
30003848:	e594201c 	ldr	r2, [r4, #28]                                 <== NOT EXECUTED
		else                                                                
			sc = fillBufferQueue (tty);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			tty->cindex = tty->ccount = 0;                                     
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
3000384c:	e2577001 	subs	r7, r7, #1                                   <== NOT EXECUTED
		*buffer++ = tty->cbuf[tty->cindex++];                               
30003850:	e7d22003 	ldrb	r2, [r2, r3]                                 <== NOT EXECUTED
30003854:	e7c12003 	strb	r2, [r1, r3]                                 <== NOT EXECUTED
30003858:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
3000385c:	e5843024 	str	r3, [r4, #36]	; 0x24                          <== NOT EXECUTED
		else                                                                
			sc = fillBufferQueue (tty);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			tty->cindex = tty->ccount = 0;                                     
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
30003860:	1afffff5 	bne	3000383c <rtems_termios_read+0xb4>            <== NOT EXECUTED
		*buffer++ = tty->cbuf[tty->cindex++];                               
		count--;                                                            
	}                                                                    
	args->bytes_moved = args->count - count;                             
30003864:	e59a3010 	ldr	r3, [sl, #16]                                 <== NOT EXECUTED
30003868:	e0677003 	rsb	r7, r7, r3                                    <== NOT EXECUTED
3000386c:	e58a7018 	str	r7, [sl, #24]                                 <== NOT EXECUTED
	tty->tty_rcvwakeup = 0;                                              
30003870:	e3a03000 	mov	r3, #0                                        <== NOT EXECUTED
30003874:	e58430e4 	str	r3, [r4, #228]	; 0xe4                         <== NOT EXECUTED
	rtems_semaphore_release (tty->isem);                                 
30003878:	e5940014 	ldr	r0, [r4, #20]                                 <== NOT EXECUTED
3000387c:	eb00063a 	bl	3000516c <rtems_semaphore_release>             <== NOT EXECUTED
	return sc;                                                           
30003880:	eaffffdd 	b	300037fc <rtems_termios_read+0x74>              <== NOT EXECUTED
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
		tty->cindex = tty->ccount = 0;                                      
		tty->read_start_column = tty->column;                               
		if (tty->device.pollRead != NULL                                    
		    && tty->device.outputUsesInterrupts == TERMIOS_POLLED)          
30003884:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         <== 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;                               
30003888:	e5942028 	ldr	r2, [r4, #40]	; 0x28                          <== NOT EXECUTED
		if (tty->device.pollRead != NULL                                    
3000388c:	e3530000 	cmp	r3, #0                                        <== 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;                               
30003890:	e584202c 	str	r2, [r4, #44]	; 0x2c                          <== NOT EXECUTED
		tty->tty_rcvwakeup = 0;                                             
		rtems_semaphore_release (tty->isem);                                
		return sc;                                                          
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
		tty->cindex = tty->ccount = 0;                                      
30003894:	e584b020 	str	fp, [r4, #32]                                 <== NOT EXECUTED
30003898:	e584b024 	str	fp, [r4, #36]	; 0x24                          <== NOT EXECUTED
		tty->read_start_column = tty->column;                               
		if (tty->device.pollRead != NULL                                    
3000389c:	0a000002 	beq	300038ac <rtems_termios_read+0x124>           <== NOT EXECUTED
		    && tty->device.outputUsesInterrupts == TERMIOS_POLLED)          
300038a0:	e59420b4 	ldr	r2, [r4, #180]	; 0xb4                         <== NOT EXECUTED
300038a4:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
300038a8:	0a00005b 	beq	30003a1c <rtems_termios_read+0x294>           <== 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,                               
300038ac:	e2842049 	add	r2, r4, #73	; 0x49                            <== 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;         
300038b0:	e5945074 	ldr	r5, [r4, #116]	; 0x74                         <== NOT EXECUTED
                                                                      
	while ( wait ) {                                                     
		/*                                                                  
		 * Process characters read from raw queue                           
		 */                                                                 
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
300038b4:	e59f6254 	ldr	r6, [pc, #596]	; 30003b10 <rtems_termios_read+0x388><== 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))                  
300038b8:	e59f9254 	ldr	r9, [pc, #596]	; 30003b14 <rtems_termios_read+0x38c><== 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,                               
300038bc:	e58d2004 	str	r2, [sp, #4]                                  <== NOT EXECUTED
300038c0:	e3a08001 	mov	r8, #1                                        <== NOT EXECUTED
                                                                      
	while ( wait ) {                                                     
		/*                                                                  
		 * Process characters read from raw queue                           
		 */                                                                 
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
300038c4:	e594205c 	ldr	r2, [r4, #92]	; 0x5c                          <== NOT EXECUTED
300038c8:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
300038cc:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
300038d0:	0a000034 	beq	300039a8 <rtems_termios_read+0x220>           <== NOT EXECUTED
300038d4:	e5963000 	ldr	r3, [r6]                                      <== NOT EXECUTED
300038d8:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
300038dc:	e2433001 	sub	r3, r3, #1                                    <== NOT EXECUTED
300038e0:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
300038e4:	aa00002f 	bge	300039a8 <rtems_termios_read+0x220>           <== NOT EXECUTED
                       (tty->ccount < (CBUFSIZE-1))) {                
			unsigned char c;                                                   
			unsigned int newHead;                                              
                                                                      
			newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;           
300038e8:	e594005c 	ldr	r0, [r4, #92]	; 0x5c                          <== NOT EXECUTED
300038ec:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== NOT EXECUTED
300038f0:	e2800001 	add	r0, r0, #1                                    <== NOT EXECUTED
300038f4:	eb0049c0 	bl	30015ffc <__umodsi3>                           <== NOT EXECUTED
			c = tty->rawInBuf.theBuf[newHead];                                 
300038f8:	e5943058 	ldr	r3, [r4, #88]	; 0x58                          <== NOT EXECUTED
300038fc:	e7d35000 	ldrb	r5, [r3, r0]                                 <== NOT EXECUTED
			tty->rawInBuf.Head = newHead;                                      
30003900:	e584005c 	str	r0, [r4, #92]	; 0x5c                          <== NOT EXECUTED
			if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)                
30003904:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
30003908:	e5942064 	ldr	r2, [r4, #100]	; 0x64                         <== NOT EXECUTED
3000390c:	e5941064 	ldr	r1, [r4, #100]	; 0x64                         <== NOT EXECUTED
30003910:	e0823003 	add	r3, r2, r3                                    <== NOT EXECUTED
30003914:	e0600003 	rsb	r0, r0, r3                                    <== NOT EXECUTED
30003918:	eb0049b7 	bl	30015ffc <__umodsi3>                           <== NOT EXECUTED
3000391c:	e59430bc 	ldr	r3, [r4, #188]	; 0xbc                         <== NOT EXECUTED
30003920:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
30003924:	2a000012 	bcs	30003974 <rtems_termios_read+0x1ec>           <== NOT EXECUTED
			    % tty->rawInBuf.Size)                                          
			   < tty->lowwater) {                                              
			  tty->flow_ctrl &= ~FL_IREQXOF;                                   
30003928:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
			  /* if tx stopped and XON should be sent... */                    
			  if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))                  
3000392c:	e59f31e0 	ldr	r3, [pc, #480]	; 30003b14 <rtems_termios_read+0x38c><== 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;                                   
30003930:	e3c22001 	bic	r2, r2, #1                                    <== NOT EXECUTED
30003934:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
			  /* if tx stopped and XON should be sent... */                    
			  if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))                  
30003938:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
3000393c:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
30003940:	e1530009 	cmp	r3, r9                                        <== NOT EXECUTED
30003944:	0a000028 	beq	300039ec <rtems_termios_read+0x264>           <== 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) {                            
30003948:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
3000394c:	e3130c01 	tst	r3, #256	; 0x100                              <== NOT EXECUTED
30003950:	0a000007 	beq	30003974 <rtems_termios_read+0x1ec>           <== NOT EXECUTED
			    tty->flow_ctrl &= ~FL_IRTSOFF;                                 
30003954:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
			    /* activate RTS line */                                        
			    if (tty->device.startRemoteTx != NULL) {                       
30003958:	e59430b0 	ldr	r3, [r4, #176]	; 0xb0                         <== 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;                                 
3000395c:	e3c22004 	bic	r2, r2, #4                                    <== NOT EXECUTED
			    /* activate RTS line */                                        
			    if (tty->device.startRemoteTx != NULL) {                       
30003960:	e3530000 	cmp	r3, #0                                        <== 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;                                 
30003964:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
			    /* activate RTS line */                                        
			    if (tty->device.startRemoteTx != NULL) {                       
			      tty->device.startRemoteTx(tty->minor);                       
30003968:	15940010 	ldrne	r0, [r4, #16]                               <== NOT EXECUTED
3000396c:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
30003970:	112fff13 	bxne	r3                                           <== NOT EXECUTED
			    }                                                              
			  }                                                                
			}                                                                  
                                                                      
			/* continue processing new character */                            
			if (tty->termios.c_lflag & ICANON) {                               
30003974:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          <== NOT EXECUTED
30003978:	e3130002 	tst	r3, #2                                        <== NOT EXECUTED
3000397c:	0a000012 	beq	300039cc <rtems_termios_read+0x244>           <== NOT EXECUTED
				if  (siproc (c, tty))                                             
30003980:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
30003984:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
30003988:	ebffff13 	bl	300035dc <siproc>                              <== NOT EXECUTED
3000398c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
					wait = 0;                                                        
			}                                                                  
			else {                                                             
				siproc (c, tty);                                                  
				if (tty->ccount >= tty->termios.c_cc[VMIN])                       
30003990:	13a08000 	movne	r8, #0                                      <== NOT EXECUTED
                                                                      
	while ( wait ) {                                                     
		/*                                                                  
		 * Process characters read from raw queue                           
		 */                                                                 
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
30003994:	e594205c 	ldr	r2, [r4, #92]	; 0x5c                          <== NOT EXECUTED
30003998:	e5943060 	ldr	r3, [r4, #96]	; 0x60                          <== NOT EXECUTED
			else {                                                             
				siproc (c, tty);                                                  
				if (tty->ccount >= tty->termios.c_cc[VMIN])                       
					wait = 0;                                                        
			}                                                                  
			timeout = tty->rawInBufSemaphoreTimeout;                           
3000399c:	e5945070 	ldr	r5, [r4, #112]	; 0x70                         <== NOT EXECUTED
                                                                      
	while ( wait ) {                                                     
		/*                                                                  
		 * Process characters read from raw queue                           
		 */                                                                 
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
300039a0:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
300039a4:	1affffca 	bne	300038d4 <rtems_termios_read+0x14c>           <== NOT EXECUTED
		}                                                                   
                                                                      
		/*                                                                  
		 * Wait for characters                                              
		 */                                                                 
		if ( wait ) {                                                       
300039a8:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
300039ac:	0affff99 	beq	30003818 <rtems_termios_read+0x90>            <== NOT EXECUTED
			sc = rtems_semaphore_obtain (tty->rawInBuf.Semaphore,              
300039b0:	e5940068 	ldr	r0, [r4, #104]	; 0x68                         <== NOT EXECUTED
300039b4:	e594106c 	ldr	r1, [r4, #108]	; 0x6c                         <== NOT EXECUTED
300039b8:	e1a02005 	mov	r2, r5                                        <== NOT EXECUTED
300039bc:	eb0005a2 	bl	3000504c <rtems_semaphore_obtain>              <== NOT EXECUTED
				tty->rawInBufSemaphoreOptions,                                    
				timeout);                                                         
			if (sc != RTEMS_SUCCESSFUL)                                        
300039c0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
300039c4:	0affffbe 	beq	300038c4 <rtems_termios_read+0x13c>           <== NOT EXECUTED
300039c8:	eaffff92 	b	30003818 <rtems_termios_read+0x90>              <== NOT EXECUTED
			if (tty->termios.c_lflag & ICANON) {                               
				if  (siproc (c, tty))                                             
					wait = 0;                                                        
			}                                                                  
			else {                                                             
				siproc (c, tty);                                                  
300039cc:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
300039d0:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
300039d4:	ebffff00 	bl	300035dc <siproc>                              <== NOT EXECUTED
				if (tty->ccount >= tty->termios.c_cc[VMIN])                       
300039d8:	e5d43047 	ldrb	r3, [r4, #71]	; 0x47                         <== NOT EXECUTED
300039dc:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
300039e0:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
300039e4:	a3a08000 	movge	r8, #0                                      <== NOT EXECUTED
300039e8:	eaffffe9 	b	30003994 <rtems_termios_read+0x20c>             <== 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))                  
300039ec:	e5943094 	ldr	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
300039f0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
300039f4:	0a000002 	beq	30003a04 <rtems_termios_read+0x27c>           <== NOT EXECUTED
			       ==                (FL_MDXON | FL_ISNTXOF))                  
			      && ((tty->rawOutBufState == rob_idle)                        
				  || (tty->flow_ctrl & FL_OSTOP))) {                              
300039f8:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== 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))                  
300039fc:	e3130020 	tst	r3, #32                                       <== NOT EXECUTED
30003a00:	0affffd0 	beq	30003948 <rtems_termios_read+0x1c0>           <== 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,                               
30003a04:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
30003a08:	e59d1004 	ldr	r1, [sp, #4]                                  <== NOT EXECUTED
30003a0c:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
30003a10:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30003a14:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         <== NOT EXECUTED
30003a18:	eaffffd5 	b	30003974 <rtems_termios_read+0x1ec>             <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
	int n;                                                               
                                                                      
	if (tty->termios.c_lflag & ICANON) {                                 
30003a1c:	e594203c 	ldr	r2, [r4, #60]	; 0x3c                          <== NOT EXECUTED
30003a20:	e3120002 	tst	r2, #2                                        <== NOT EXECUTED
30003a24:	0a00000b 	beq	30003a58 <rtems_termios_read+0x2d0>           <== NOT EXECUTED
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
30003a28:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
30003a2c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30003a30:	e12fff13 	bx	r3                                             <== NOT EXECUTED
			if (n < 0) {                                                       
30003a34:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
				rtems_task_wake_after (1);                                        
			}                                                                  
			else {                                                             
				if  (siproc (n, tty))                                             
30003a38:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
30003a3c:	e20000ff 	and	r0, r0, #255	; 0xff                           <== NOT EXECUTED
	int n;                                                               
                                                                      
	if (tty->termios.c_lflag & ICANON) {                                 
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
			if (n < 0) {                                                       
30003a40:	ba00002d 	blt	30003afc <rtems_termios_read+0x374>           <== NOT EXECUTED
				rtems_task_wake_after (1);                                        
			}                                                                  
			else {                                                             
				if  (siproc (n, tty))                                             
30003a44:	ebfffee4 	bl	300035dc <siproc>                              <== NOT EXECUTED
30003a48:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
30003a4c:	1affff71 	bne	30003818 <rtems_termios_read+0x90>            <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
	int n;                                                               
                                                                      
	if (tty->termios.c_lflag & ICANON) {                                 
30003a50:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         <== NOT EXECUTED
30003a54:	eafffff3 	b	30003a28 <rtems_termios_read+0x2a0>             <== NOT EXECUTED
			}                                                                  
		}                                                                   
	}                                                                    
	else {                                                               
		rtems_interval then, now;                                           
		then = rtems_clock_get_ticks_since_boot();                          
30003a58:	eb0003d7 	bl	300049bc <rtems_clock_get_ticks_since_boot>    <== NOT EXECUTED
30003a5c:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
30003a60:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
30003a64:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30003a68:	e594f0a0 	ldr	pc, [r4, #160]	; 0xa0                         <== NOT EXECUTED
			if (n < 0) {                                                       
30003a6c:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
30003a70:	ba00000c 	blt	30003aa8 <rtems_termios_read+0x320>           <== NOT EXECUTED
					}                                                                
				}                                                                 
				rtems_task_wake_after (1);                                        
			}                                                                  
			else {                                                             
				siproc (n, tty);                                                  
30003a74:	e20000ff 	and	r0, r0, #255	; 0xff                           <== NOT EXECUTED
30003a78:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
30003a7c:	ebfffed6 	bl	300035dc <siproc>                              <== NOT EXECUTED
				if (tty->ccount >= tty->termios.c_cc[VMIN])                       
30003a80:	e5d43047 	ldrb	r3, [r4, #71]	; 0x47                         <== NOT EXECUTED
30003a84:	e5942020 	ldr	r2, [r4, #32]                                 <== NOT EXECUTED
30003a88:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
30003a8c:	aaffff61 	bge	30003818 <rtems_termios_read+0x90>            <== NOT EXECUTED
					break;                                                           
				if (tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])          
30003a90:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30003a94:	0afffff1 	beq	30003a60 <rtems_termios_read+0x2d8>           <== NOT EXECUTED
30003a98:	e5d43046 	ldrb	r3, [r4, #70]	; 0x46                         <== NOT EXECUTED
30003a9c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30003aa0:	0affffee 	beq	30003a60 <rtems_termios_read+0x2d8>           <== NOT EXECUTED
30003aa4:	eaffffeb 	b	30003a58 <rtems_termios_read+0x2d0>             <== NOT EXECUTED
		rtems_interval then, now;                                           
		then = rtems_clock_get_ticks_since_boot();                          
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
			if (n < 0) {                                                       
				if (tty->termios.c_cc[VMIN]) {                                    
30003aa8:	e5d43047 	ldrb	r3, [r4, #71]	; 0x47                         <== NOT EXECUTED
30003aac:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30003ab0:	0a000008 	beq	30003ad8 <rtems_termios_read+0x350>           <== NOT EXECUTED
					if (tty->termios.c_cc[VTIME] && tty->ccount) {                   
30003ab4:	e5d43046 	ldrb	r3, [r4, #70]	; 0x46                         <== NOT EXECUTED
30003ab8:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30003abc:	0a000002 	beq	30003acc <rtems_termios_read+0x344>           <== NOT EXECUTED
30003ac0:	e5943020 	ldr	r3, [r4, #32]                                 <== NOT EXECUTED
30003ac4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30003ac8:	1a000005 	bne	30003ae4 <rtems_termios_read+0x35c>           <== NOT EXECUTED
					now = rtems_clock_get_ticks_since_boot();                        
					if ((now - then) > tty->vtimeTicks) {                            
						break;                                                          
					}                                                                
				}                                                                 
				rtems_task_wake_after (1);                                        
30003acc:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
30003ad0:	eb000690 	bl	30005518 <rtems_task_wake_after>               <== NOT EXECUTED
30003ad4:	eaffffe1 	b	30003a60 <rtems_termios_read+0x2d8>             <== NOT EXECUTED
							break;                                                         
						}                                                               
					}                                                                
				}                                                                 
				else {                                                            
					if (!tty->termios.c_cc[VTIME])                                   
30003ad8:	e5d43046 	ldrb	r3, [r4, #70]	; 0x46                         <== NOT EXECUTED
30003adc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30003ae0:	0affff4c 	beq	30003818 <rtems_termios_read+0x90>            <== NOT EXECUTED
						break;                                                          
					now = rtems_clock_get_ticks_since_boot();                        
30003ae4:	eb0003b4 	bl	300049bc <rtems_clock_get_ticks_since_boot>    <== NOT EXECUTED
					if ((now - then) > tty->vtimeTicks) {                            
30003ae8:	e5943054 	ldr	r3, [r4, #84]	; 0x54                          <== NOT EXECUTED
30003aec:	e0650000 	rsb	r0, r5, r0                                    <== NOT EXECUTED
30003af0:	e1500003 	cmp	r0, r3                                        <== NOT EXECUTED
30003af4:	9afffff4 	bls	30003acc <rtems_termios_read+0x344>           <== NOT EXECUTED
30003af8:	eaffff46 	b	30003818 <rtems_termios_read+0x90>              <== NOT EXECUTED
                                                                      
	if (tty->termios.c_lflag & ICANON) {                                 
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
			if (n < 0) {                                                       
				rtems_task_wake_after (1);                                        
30003afc:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
30003b00:	eb000684 	bl	30005518 <rtems_task_wake_after>               <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
	int n;                                                               
                                                                      
	if (tty->termios.c_lflag & ICANON) {                                 
30003b04:	e59430a0 	ldr	r3, [r4, #160]	; 0xa0                         <== NOT EXECUTED
30003b08:	eaffffc6 	b	30003a28 <rtems_termios_read+0x2a0>             <== NOT EXECUTED
30003b0c:	300195c0 	.word	0x300195c0                                  
30003b10:	30019008 	.word	0x30019008                                  
30003b14:	00000202 	.word	0x00000202                                  
                                                                      
30002978 <rtems_termios_refill_transmitter>:                          
	int nToSend;                                                         
	rtems_interrupt_level level;                                         
	int len;                                                             
                                                                      
	/* check for XOF/XON to send */                                      
	if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))          
30002978:	e59020b8 	ldr	r2, [r0, #184]	; 0xb8                         <== NOT EXECUTED
3000297c:	e59f31fc 	ldr	r3, [pc, #508]	; 30002b80 <rtems_termios_refill_transmitter+0x208><== 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)      
{                                                                     
30002980:	e92d4070 	push	{r4, r5, r6, lr}                             <== 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))          
30002984:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
30002988:	e59f21f4 	ldr	r2, [pc, #500]	; 30002b84 <rtems_termios_refill_transmitter+0x20c><== 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)      
{                                                                     
3000298c:	e1a04000 	mov	r4, r0                                        <== 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))          
30002990:	e1530002 	cmp	r3, r2                                        <== NOT EXECUTED
30002994:	0a000046 	beq	30002ab4 <rtems_termios_refill_transmitter+0x13c><== NOT EXECUTED
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
	  rtems_interrupt_enable(level);                                     
                                                                      
	  nToSend = 1;                                                       
	}                                                                    
	else if ((tty->flow_ctrl & (FL_IREQXOF | FL_ISNTXOF))                
30002998:	e59030b8 	ldr	r3, [r0, #184]	; 0xb8                         <== NOT EXECUTED
3000299c:	e2033003 	and	r3, r3, #3                                    <== NOT EXECUTED
300029a0:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
300029a4:	0a000054 	beq	30002afc <rtems_termios_refill_transmitter+0x184><== NOT EXECUTED
	  rtems_interrupt_enable(level);                                     
                                                                      
	  nToSend = 1;                                                       
	}                                                                    
	else {                                                               
	  if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {                
300029a8:	e5902080 	ldr	r2, [r0, #128]	; 0x80                         <== NOT EXECUTED
300029ac:	e5903084 	ldr	r3, [r0, #132]	; 0x84                         <== NOT EXECUTED
300029b0:	e1520003 	cmp	r2, r3                                        <== NOT EXECUTED
300029b4:	0a00002a 	beq	30002a64 <rtems_termios_refill_transmitter+0xec><== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
300029b8:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
300029bc:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
300029c0:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
	    return 0;                                                        
	  }                                                                  
                                                                      
	  rtems_interrupt_disable(level);                                    
	  len = tty->t_dqlen;                                                
	  tty->t_dqlen = 0;                                                  
300029c4:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
	    }                                                                
	    return 0;                                                        
	  }                                                                  
                                                                      
	  rtems_interrupt_disable(level);                                    
	  len = tty->t_dqlen;                                                
300029c8:	e5900090 	ldr	r0, [r0, #144]	; 0x90                         <== NOT EXECUTED
	  tty->t_dqlen = 0;                                                  
300029cc:	e5842090 	str	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
300029d0:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
	  rtems_interrupt_enable(level);                                     
                                                                      
	  newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;       
300029d4:	e5943084 	ldr	r3, [r4, #132]	; 0x84                         <== NOT EXECUTED
300029d8:	e5941088 	ldr	r1, [r4, #136]	; 0x88                         <== NOT EXECUTED
300029dc:	e0800003 	add	r0, r0, r3                                    <== NOT EXECUTED
300029e0:	eb004d85 	bl	30015ffc <__umodsi3>                           <== NOT EXECUTED
	  tty->rawOutBuf.Tail = newTail;                                     
	  if (tty->rawOutBufState == rob_wait) {                             
300029e4:	e5943094 	ldr	r3, [r4, #148]	; 0x94                         <== 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;       
300029e8:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
	  tty->rawOutBuf.Tail = newTail;                                     
	  if (tty->rawOutBufState == rob_wait) {                             
300029ec:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
	  len = tty->t_dqlen;                                                
	  tty->t_dqlen = 0;                                                  
	  rtems_interrupt_enable(level);                                     
                                                                      
	  newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;       
	  tty->rawOutBuf.Tail = newTail;                                     
300029f0:	e5840084 	str	r0, [r4, #132]	; 0x84                         <== NOT EXECUTED
	  if (tty->rawOutBufState == rob_wait) {                             
300029f4:	0a00002b 	beq	30002aa8 <rtems_termios_refill_transmitter+0x130><== NOT EXECUTED
	    /*                                                               
	     * wake up any pending writer task                               
	     */                                                              
	    rtems_semaphore_release (tty->rawOutBuf.Semaphore);              
	  }                                                                  
	  if (newTail == tty->rawOutBuf.Head) {                              
300029f8:	e5943080 	ldr	r3, [r4, #128]	; 0x80                         <== NOT EXECUTED
300029fc:	e1530005 	cmp	r3, r5                                        <== NOT EXECUTED
30002a00:	0a00001d 	beq	30002a7c <rtems_termios_refill_transmitter+0x104><== 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))                
30002a04:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
30002a08:	e2033e21 	and	r3, r3, #528	; 0x210                          <== NOT EXECUTED
30002a0c:	e3530e21 	cmp	r3, #528	; 0x210                              <== NOT EXECUTED
30002a10:	0a00004b 	beq	30002b44 <rtems_termios_refill_transmitter+0x1cc><== NOT EXECUTED
	  }                                                                  
	  else {                                                             
	    /*                                                               
	     * Buffer not empty, start tranmitter                            
	     */                                                              
	    if (newTail > tty->rawOutBuf.Head)                               
30002a14:	e5943080 	ldr	r3, [r4, #128]	; 0x80                         <== NOT EXECUTED
	    /* for outgoing flow control                                   */
	    if (tty->flow_ctrl & (FL_MDXON | FL_MDXOF)) {                    
		    nToSend = 1;                                                    
	    }                                                                
	    tty->rawOutBufState = rob_busy; /*apm*/                          
	    (*tty->device.write)(tty->minor,                                 
30002a18:	e594107c 	ldr	r1, [r4, #124]	; 0x7c                         <== NOT EXECUTED
	  }                                                                  
	  else {                                                             
	    /*                                                               
	     * Buffer not empty, start tranmitter                            
	     */                                                              
	    if (newTail > tty->rawOutBuf.Head)                               
30002a1c:	e1550003 	cmp	r5, r3                                        <== NOT EXECUTED
		    nToSend = tty->rawOutBuf.Size - newTail;                        
30002a20:	85946088 	ldrhi	r6, [r4, #136]	; 0x88                       <== NOT EXECUTED
	    else                                                             
		    nToSend = tty->rawOutBuf.Head - newTail;                        
30002a24:	95946080 	ldrls	r6, [r4, #128]	; 0x80                       <== 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)) {                    
30002a28:	e59430b8 	ldr	r3, [r4, #184]	; 0xb8                         <== NOT EXECUTED
	  else {                                                             
	    /*                                                               
	     * Buffer not empty, start tranmitter                            
	     */                                                              
	    if (newTail > tty->rawOutBuf.Head)                               
		    nToSend = tty->rawOutBuf.Size - newTail;                        
30002a2c:	80656006 	rsbhi	r6, r5, r6                                  <== NOT EXECUTED
	    else                                                             
		    nToSend = tty->rawOutBuf.Head - newTail;                        
30002a30:	90656006 	rsbls	r6, r5, r6                                  <== 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)) {                    
30002a34:	e3130c06 	tst	r3, #1536	; 0x600                             <== NOT EXECUTED
30002a38:	13a06001 	movne	r6, #1                                      <== NOT EXECUTED
		    nToSend = 1;                                                    
	    }                                                                
	    tty->rawOutBufState = rob_busy; /*apm*/                          
30002a3c:	e3a03001 	mov	r3, #1                                        <== NOT EXECUTED
30002a40:	e5843094 	str	r3, [r4, #148]	; 0x94                         <== NOT EXECUTED
	    (*tty->device.write)(tty->minor,                                 
30002a44:	e0811005 	add	r1, r1, r5                                    <== NOT EXECUTED
30002a48:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
30002a4c:	e1a02006 	mov	r2, r6                                        <== NOT EXECUTED
30002a50:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30002a54:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         <== NOT EXECUTED
				 &tty->rawOutBuf.theBuf[newTail],                                 
				 nToSend);                                                        
	  }                                                                  
	  tty->rawOutBuf.Tail = newTail; /*apm*/                             
30002a58:	e5845084 	str	r5, [r4, #132]	; 0x84                         <== NOT EXECUTED
	}                                                                    
	return nToSend;                                                      
}                                                                     
30002a5c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
30002a60:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
	else {                                                               
	  if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {                
	    /*                                                               
	     * buffer was empty                                              
	     */                                                              
	    if (tty->rawOutBufState == rob_wait) {                           
30002a64:	e5903094 	ldr	r3, [r0, #148]	; 0x94                         <== NOT EXECUTED
30002a68:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
30002a6c:	0a00003f 	beq	30002b70 <rtems_termios_refill_transmitter+0x1f8><== NOT EXECUTED
	      /*                                                             
	       * this should never happen...                                 
	       */                                                            
	      rtems_semaphore_release (tty->rawOutBuf.Semaphore);            
30002a70:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
				 nToSend);                                                        
	  }                                                                  
	  tty->rawOutBuf.Tail = newTail; /*apm*/                             
	}                                                                    
	return nToSend;                                                      
}                                                                     
30002a74:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
30002a78:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
	    nToSend = 0;                                                     
                                                                      
	    /*                                                               
	     * check to see if snd wakeup callback was set                   
	     */                                                              
	    if ( tty->tty_snd.sw_pfn != NULL) {                              
30002a7c:	e59430d4 	ldr	r3, [r4, #212]	; 0xd4                         <== NOT EXECUTED
	  }                                                                  
	  if (newTail == tty->rawOutBuf.Head) {                              
	    /*                                                               
	     * Buffer has become empty                                       
	     */                                                              
	    tty->rawOutBufState = rob_idle;                                  
30002a80:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
	    nToSend = 0;                                                     
                                                                      
	    /*                                                               
	     * check to see if snd wakeup callback was set                   
	     */                                                              
	    if ( tty->tty_snd.sw_pfn != NULL) {                              
30002a84:	e1530006 	cmp	r3, r6                                        <== NOT EXECUTED
	  }                                                                  
	  if (newTail == tty->rawOutBuf.Head) {                              
	    /*                                                               
	     * Buffer has become empty                                       
	     */                                                              
	    tty->rawOutBufState = rob_idle;                                  
30002a88:	e5846094 	str	r6, [r4, #148]	; 0x94                         <== NOT EXECUTED
	    nToSend = 0;                                                     
                                                                      
	    /*                                                               
	     * check to see if snd wakeup callback was set                   
	     */                                                              
	    if ( tty->tty_snd.sw_pfn != NULL) {                              
30002a8c:	01a06003 	moveq	r6, r3                                      <== NOT EXECUTED
30002a90:	0afffff0 	beq	30002a58 <rtems_termios_refill_transmitter+0xe0><== NOT EXECUTED
	      (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);    
30002a94:	e2840030 	add	r0, r4, #48	; 0x30                            <== NOT EXECUTED
30002a98:	e59410d8 	ldr	r1, [r4, #216]	; 0xd8                         <== NOT EXECUTED
30002a9c:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30002aa0:	e12fff13 	bx	r3                                             <== NOT EXECUTED
30002aa4:	eaffffeb 	b	30002a58 <rtems_termios_refill_transmitter+0xe0><== NOT EXECUTED
	  tty->rawOutBuf.Tail = newTail;                                     
	  if (tty->rawOutBufState == rob_wait) {                             
	    /*                                                               
	     * wake up any pending writer task                               
	     */                                                              
	    rtems_semaphore_release (tty->rawOutBuf.Semaphore);              
30002aa8:	e594008c 	ldr	r0, [r4, #140]	; 0x8c                         <== NOT EXECUTED
30002aac:	eb0009ae 	bl	3000516c <rtems_semaphore_release>             <== NOT EXECUTED
30002ab0:	eaffffd0 	b	300029f8 <rtems_termios_refill_transmitter+0x80><== 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,                                   
30002ab4:	e284104a 	add	r1, r4, #74	; 0x4a                            <== NOT EXECUTED
30002ab8:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
30002abc:	e5900010 	ldr	r0, [r0, #16]                                 <== NOT EXECUTED
30002ac0:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30002ac4:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
30002ac8:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
30002acc:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
30002ad0:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
			       (void *)&(tty->termios.c_cc[VSTOP]), 1);                    
                                                                      
	  rtems_interrupt_disable(level);                                    
	  tty->t_dqlen--;                                                    
30002ad4:	e5942090 	ldr	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
30002ad8:	e59410b8 	ldr	r1, [r4, #184]	; 0xb8                         <== 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--;                                                    
30002adc:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
30002ae0:	e3811002 	orr	r1, r1, #2                                    <== NOT EXECUTED
30002ae4:	e58410b8 	str	r1, [r4, #184]	; 0xb8                         <== 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--;                                                    
30002ae8:	e5842090 	str	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
30002aec:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
30002af0:	e3a06001 	mov	r6, #1                                        <== NOT EXECUTED
				 nToSend);                                                        
	  }                                                                  
	  tty->rawOutBuf.Tail = newTail; /*apm*/                             
	}                                                                    
	return nToSend;                                                      
}                                                                     
30002af4:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
30002af8:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== 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,                                   
30002afc:	e2841049 	add	r1, r4, #73	; 0x49                            <== NOT EXECUTED
30002b00:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
30002b04:	e5900010 	ldr	r0, [r0, #16]                                 <== NOT EXECUTED
30002b08:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30002b0c:	e594f0a4 	ldr	pc, [r4, #164]	; 0xa4                         <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
30002b10:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
30002b14:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
30002b18:	e129f002 	msr	CPSR_fc, r2                                   <== NOT EXECUTED
			       (void *)&(tty->termios.c_cc[VSTART]), 1);                   
                                                                      
	  rtems_interrupt_disable(level);                                    
	  tty->t_dqlen--;                                                    
30002b1c:	e5942090 	ldr	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
	  tty->flow_ctrl &= ~FL_ISNTXOF;                                     
30002b20:	e59410b8 	ldr	r1, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		 */                                                                 
	  (*tty->device.write)(tty->minor,                                   
			       (void *)&(tty->termios.c_cc[VSTART]), 1);                   
                                                                      
	  rtems_interrupt_disable(level);                                    
	  tty->t_dqlen--;                                                    
30002b24:	e2422001 	sub	r2, r2, #1                                    <== NOT EXECUTED
	  tty->flow_ctrl &= ~FL_ISNTXOF;                                     
30002b28:	e3c11002 	bic	r1, r1, #2                                    <== NOT EXECUTED
30002b2c:	e58410b8 	str	r1, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		 */                                                                 
	  (*tty->device.write)(tty->minor,                                   
			       (void *)&(tty->termios.c_cc[VSTART]), 1);                   
                                                                      
	  rtems_interrupt_disable(level);                                    
	  tty->t_dqlen--;                                                    
30002b30:	e5842090 	str	r2, [r4, #144]	; 0x90                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
30002b34:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
30002b38:	e3a06001 	mov	r6, #1                                        <== NOT EXECUTED
				 nToSend);                                                        
	  }                                                                  
	  tty->rawOutBuf.Tail = newTail; /*apm*/                             
	}                                                                    
	return nToSend;                                                      
}                                                                     
30002b3c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
30002b40:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
30002b44:	e10f3000 	mrs	r3, CPSR                                      <== NOT EXECUTED
30002b48:	e3832080 	orr	r2, r3, #128	; 0x80                           <== NOT EXECUTED
30002b4c:	e129f002 	msr	CPSR_fc, r2                                   <== 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;                                       
30002b50:	e59420b8 	ldr	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
30002b54:	e3822020 	orr	r2, r2, #32                                   <== NOT EXECUTED
30002b58:	e58420b8 	str	r2, [r4, #184]	; 0xb8                         <== NOT EXECUTED
		  tty->rawOutBufState = rob_busy; /*apm*/                           
30002b5c:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
30002b60:	e5842094 	str	r2, [r4, #148]	; 0x94                         <== NOT EXECUTED
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
30002b64:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
30002b68:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
30002b6c:	eaffffb9 	b	30002a58 <rtems_termios_refill_transmitter+0xe0><== NOT EXECUTED
	     */                                                              
	    if (tty->rawOutBufState == rob_wait) {                           
	      /*                                                             
	       * this should never happen...                                 
	       */                                                            
	      rtems_semaphore_release (tty->rawOutBuf.Semaphore);            
30002b70:	e590008c 	ldr	r0, [r0, #140]	; 0x8c                         <== NOT EXECUTED
30002b74:	eb00097c 	bl	3000516c <rtems_semaphore_release>             <== NOT EXECUTED
30002b78:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
30002b7c:	eaffffbc 	b	30002a74 <rtems_termios_refill_transmitter+0xfc><== NOT EXECUTED
30002b80:	00000403 	.word	0x00000403                                  
30002b84:	00000401 	.word	0x00000401                                  
                                                                      
300045d0 <rtems_termios_rxdaemon>:                                    
                                                                      
/*                                                                    
 * this task actually processes any receive events                    
 */                                                                   
static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument)
{                                                                     
300045d0:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         <== NOT EXECUTED
300045d4:	e24dd008 	sub	sp, sp, #8                                    <== NOT EXECUTED
300045d8:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
300045dc:	e28d7007 	add	r7, sp, #7                                    <== NOT EXECUTED
	char c_buf;                                                          
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_RX_PROC_EVENT |                        
300045e0:	e3a06000 	mov	r6, #0                                        <== NOT EXECUTED
300045e4:	e1a0300d 	mov	r3, sp                                        <== NOT EXECUTED
300045e8:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
300045ec:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
300045f0:	e3a00003 	mov	r0, #3                                        <== NOT EXECUTED
300045f4:	eb000110 	bl	30004a3c <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) {                
300045f8:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
300045fc:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
30004600:	1a000012 	bne	30004650 <rtems_termios_rxdaemon+0x80>        <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * do something                                                    
			 */                                                                
			c = tty->device.pollRead(tty->minor);                              
30004604:	e5940010 	ldr	r0, [r4, #16]                                 <== NOT EXECUTED
30004608:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
3000460c:	e594f0a0 	ldr	pc, [r4, #160]	; 0xa0                         <== NOT EXECUTED
			if (c != EOF) {                                                    
30004610:	e3700001 	cmn	r0, #1                                        <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * do something                                                    
			 */                                                                
			c = tty->device.pollRead(tty->minor);                              
30004614:	e1a03000 	mov	r3, r0                                        <== NOT EXECUTED
			if (c != EOF) {                                                    
30004618:	0afffff1 	beq	300045e4 <rtems_termios_rxdaemon+0x14>        <== NOT EXECUTED
				/*                                                                
				 * pollRead did call enqueue on its own                           
				 */                                                               
				c_buf = c;                                                        
				rtems_termios_enqueue_raw_characters (                            
3000461c:	e1a01007 	mov	r1, r7                                        <== NOT EXECUTED
30004620:	e3a02001 	mov	r2, #1                                        <== NOT EXECUTED
30004624:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
			c = tty->device.pollRead(tty->minor);                              
			if (c != EOF) {                                                    
				/*                                                                
				 * pollRead did call enqueue on its own                           
				 */                                                               
				c_buf = c;                                                        
30004628:	e5cd3007 	strb	r3, [sp, #7]                                 <== NOT EXECUTED
				rtems_termios_enqueue_raw_characters (                            
3000462c:	ebfff96f 	bl	30002bf0 <rtems_termios_enqueue_raw_characters><== NOT EXECUTED
	char c_buf;                                                          
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_RX_PROC_EVENT |                        
30004630:	e1a0300d 	mov	r3, sp                                        <== NOT EXECUTED
30004634:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
30004638:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
3000463c:	e3a00003 	mov	r0, #3                                        <== NOT EXECUTED
30004640:	eb0000fd 	bl	30004a3c <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) {                
30004644:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
30004648:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
3000464c:	0affffec 	beq	30004604 <rtems_termios_rxdaemon+0x34>        <== NOT EXECUTED
			tty->rxTaskId = 0;                                                 
30004650:	e58460c4 	str	r6, [r4, #196]	; 0xc4                         <== NOT EXECUTED
			rtems_task_delete(RTEMS_SELF);                                     
30004654:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
30004658:	eb00033b 	bl	3000534c <rtems_task_delete>                   <== NOT EXECUTED
3000465c:	eaffffe0 	b	300045e4 <rtems_termios_rxdaemon+0x14>          <== NOT EXECUTED
                                                                      
3000296c <rtems_termios_rxirq_occured>:                               
void rtems_termios_rxirq_occured(struct rtems_termios_tty *tty)       
{                                                                     
	/*                                                                   
	 * send event to rx daemon task                                      
	 */                                                                  
	rtems_event_send(tty->rxTaskId,TERMIOS_RX_PROC_EVENT);               
3000296c:	e59000c4 	ldr	r0, [r0, #196]	; 0xc4                         <== NOT EXECUTED
30002970:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
30002974:	ea00088e 	b	30004bb4 <rtems_event_send>                     <== NOT EXECUTED
                                                                      
30004560 <rtems_termios_txdaemon>:                                    
                                                                      
/*                                                                    
 * this task actually processes any transmit events                   
 */                                                                   
static rtems_task rtems_termios_txdaemon(rtems_task_argument argument)
{                                                                     
30004560:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         <== NOT EXECUTED
30004564:	e59f6060 	ldr	r6, [pc, #96]	; 300045cc <rtems_termios_txdaemon+0x6c><== NOT EXECUTED
30004568:	e24dd004 	sub	sp, sp, #4                                    <== NOT EXECUTED
3000456c:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
                                                                      
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_TX_START_EVENT |                       
30004570:	e3a07000 	mov	r7, #0                                        <== NOT EXECUTED
30004574:	e1a0300d 	mov	r3, sp                                        <== NOT EXECUTED
30004578:	e3a01002 	mov	r1, #2                                        <== NOT EXECUTED
3000457c:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
30004580:	e3a00003 	mov	r0, #3                                        <== NOT EXECUTED
30004584:	eb00012c 	bl	30004a3c <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) {                
30004588:	e59d3000 	ldr	r3, [sp]                                      <== NOT EXECUTED
		else {                                                              
			/*                                                                 
			 * call any line discipline start function                         
			 */                                                                
			if (rtems_termios_linesw[tty->t_line].l_start != NULL) {           
				rtems_termios_linesw[tty->t_line].l_start(tty);                   
3000458c:	e1a00004 	mov	r0, r4                                        <== 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) {                
30004590:	e3130001 	tst	r3, #1                                        <== NOT EXECUTED
30004594:	1a000008 	bne	300045bc <rtems_termios_txdaemon+0x5c>        <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * call any line discipline start function                         
			 */                                                                
			if (rtems_termios_linesw[tty->t_line].l_start != NULL) {           
30004598:	e59430cc 	ldr	r3, [r4, #204]	; 0xcc                         <== NOT EXECUTED
3000459c:	e0863283 	add	r3, r6, r3, lsl #5                            <== NOT EXECUTED
300045a0:	e5933014 	ldr	r3, [r3, #20]                                 <== NOT EXECUTED
300045a4:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
				rtems_termios_linesw[tty->t_line].l_start(tty);                   
300045a8:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
300045ac:	112fff13 	bxne	r3                                           <== NOT EXECUTED
			}                                                                  
			/*                                                                 
			 * try to push further characters to device                        
			 */                                                                
			rtems_termios_refill_transmitter(tty);                             
300045b0:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
300045b4:	ebfff8ef 	bl	30002978 <rtems_termios_refill_transmitter>    <== NOT EXECUTED
300045b8:	eaffffed 	b	30004574 <rtems_termios_txdaemon+0x14>          <== 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;                                                 
300045bc:	e58470c8 	str	r7, [r4, #200]	; 0xc8                         <== NOT EXECUTED
			rtems_task_delete(RTEMS_SELF);                                     
300045c0:	e1a00007 	mov	r0, r7                                        <== NOT EXECUTED
300045c4:	eb000360 	bl	3000534c <rtems_task_delete>                   <== NOT EXECUTED
300045c8:	eaffffe9 	b	30004574 <rtems_termios_txdaemon+0x14>          <== NOT EXECUTED
300045cc:	300195c0 	.word	0x300195c0                                  
                                                                      
3000363c <rtems_termios_write>:                                       
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
3000363c:	e5903000 	ldr	r3, [r0]                                      
	rtems_termios_puts (&c, 1, tty);                                     
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
30003640:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
30003644:	e5934034 	ldr	r4, [r3, #52]	; 0x34                          
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
30003648:	e3a01000 	mov	r1, #0                                        
	rtems_termios_puts (&c, 1, tty);                                     
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
3000364c:	e1a05000 	mov	r5, r0                                        
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
30003650:	e1a02001 	mov	r2, r1                                        
30003654:	e5940018 	ldr	r0, [r4, #24]                                 
30003658:	eb00067b 	bl	3000504c <rtems_semaphore_obtain>              
	if (sc != RTEMS_SUCCESSFUL)                                          
3000365c:	e2506000 	subs	r6, r0, #0                                   
30003660:	1a00000c 	bne	30003698 <rtems_termios_write+0x5c>           
		return sc;                                                          
	if (rtems_termios_linesw[tty->t_line].l_write != NULL) {             
30003664:	e59420cc 	ldr	r2, [r4, #204]	; 0xcc                         
30003668:	e59f3098 	ldr	r3, [pc, #152]	; 30003708 <rtems_termios_write+0xcc>
3000366c:	e0833282 	add	r3, r3, r2, lsl #5                            
30003670:	e593300c 	ldr	r3, [r3, #12]                                 
30003674:	e3530000 	cmp	r3, #0                                        
30003678:	0a000008 	beq	300036a0 <rtems_termios_write+0x64>           
		sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);           
3000367c:	e1a01005 	mov	r1, r5                                        <== NOT EXECUTED
30003680:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
30003684:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30003688:	e12fff13 	bx	r3                                             <== NOT EXECUTED
3000368c:	e1a06000 	mov	r6, r0                                        <== NOT EXECUTED
		rtems_semaphore_release (tty->osem);                                
30003690:	e5940018 	ldr	r0, [r4, #24]                                 <== NOT EXECUTED
30003694:	eb0006b4 	bl	3000516c <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;                                                           
}                                                                     
30003698:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
3000369c:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== 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) {                                  
300036a0:	e5943034 	ldr	r3, [r4, #52]	; 0x34                          
300036a4:	e3130001 	tst	r3, #1                                        
300036a8:	0a000011 	beq	300036f4 <rtems_termios_write+0xb8>           
		uint32_t   count = args->count;                                     
300036ac:	e5958010 	ldr	r8, [r5, #16]                                 
		char      *buffer = args->buffer;                                   
300036b0:	e595a00c 	ldr	sl, [r5, #12]                                 
		while (count--)                                                     
300036b4:	e3580000 	cmp	r8, #0                                        
300036b8:	01a03006 	moveq	r3, r6                                      
300036bc:	0a000007 	beq	300036e0 <rtems_termios_write+0xa4>           
300036c0:	e1a07006 	mov	r7, r6                                        
			oproc (*buffer++, tty);                                            
300036c4:	e7da0007 	ldrb	r0, [sl, r7]                                 
300036c8:	e1a01004 	mov	r1, r4                                        
300036cc:	e2877001 	add	r7, r7, #1                                    
300036d0:	ebfffe4e 	bl	30003010 <oproc>                               
		return sc;                                                          
	}                                                                    
	if (tty->termios.c_oflag & OPOST) {                                  
		uint32_t   count = args->count;                                     
		char      *buffer = args->buffer;                                   
		while (count--)                                                     
300036d4:	e1580007 	cmp	r8, r7                                        
300036d8:	1afffff9 	bne	300036c4 <rtems_termios_write+0x88>           
			oproc (*buffer++, tty);                                            
		args->bytes_moved = args->count;                                    
	}                                                                    
	else {                                                               
		rtems_termios_puts (args->buffer, args->count, tty);                
		args->bytes_moved = args->count;                                    
300036dc:	e5953010 	ldr	r3, [r5, #16]                                 
300036e0:	e5853018 	str	r3, [r5, #24]                                 
	}                                                                    
	rtems_semaphore_release (tty->osem);                                 
300036e4:	e5940018 	ldr	r0, [r4, #24]                                 
300036e8:	eb00069f 	bl	3000516c <rtems_semaphore_release>             
	return sc;                                                           
}                                                                     
300036ec:	e1a00006 	mov	r0, r6                                        
300036f0:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
		while (count--)                                                     
			oproc (*buffer++, tty);                                            
		args->bytes_moved = args->count;                                    
	}                                                                    
	else {                                                               
		rtems_termios_puts (args->buffer, args->count, tty);                
300036f4:	e595000c 	ldr	r0, [r5, #12]                                 <== NOT EXECUTED
300036f8:	e5951010 	ldr	r1, [r5, #16]                                 <== NOT EXECUTED
300036fc:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
30003700:	ebfffdfa 	bl	30002ef0 <rtems_termios_puts>                  <== NOT EXECUTED
30003704:	eafffff4 	b	300036dc <rtems_termios_write+0xa0>             <== NOT EXECUTED
30003708:	300195c0 	.word	0x300195c0                                  
                                                                      
30006a78 <rtems_verror>:                                              
static int rtems_verror(                                              
    rtems_error_code_t error_flag,                                    
    const char   *printf_format,                                      
    va_list      arglist                                              
)                                                                     
{                                                                     
30006a78:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             <== NOT EXECUTED
    int               local_errno = 0;                                
    int               chars_written = 0;                              
    rtems_status_code status;                                         
                                                                      
    if (error_flag & RTEMS_ERROR_PANIC)                               
30006a7c:	e2108202 	ands	r8, r0, #536870912	; 0x20000000              <== NOT EXECUTED
static int rtems_verror(                                              
    rtems_error_code_t error_flag,                                    
    const char   *printf_format,                                      
    va_list      arglist                                              
)                                                                     
{                                                                     
30006a80:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
30006a84:	e1a09001 	mov	r9, r1                                        <== NOT EXECUTED
30006a88:	e1a07002 	mov	r7, r2                                        <== NOT EXECUTED
    int               local_errno = 0;                                
    int               chars_written = 0;                              
    rtems_status_code status;                                         
                                                                      
    if (error_flag & RTEMS_ERROR_PANIC)                               
30006a8c:	0a00000c 	beq	30006ac4 <rtems_verror+0x4c>                  <== NOT EXECUTED
    {                                                                 
        if (rtems_panic_in_progress++)                                
30006a90:	e59f2160 	ldr	r2, [pc, #352]	; 30006bf8 <rtems_verror+0x180><== NOT EXECUTED
30006a94:	e5923000 	ldr	r3, [r2]                                      <== NOT EXECUTED
30006a98:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30006a9c:	e2833001 	add	r3, r3, #1                                    <== NOT EXECUTED
30006aa0:	e5823000 	str	r3, [r2]                                      <== NOT EXECUTED
30006aa4:	0a000004 	beq	30006abc <rtems_verror+0x44>                  <== NOT EXECUTED
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
30006aa8:	e59f314c 	ldr	r3, [pc, #332]	; 30006bfc <rtems_verror+0x184><== NOT EXECUTED
30006aac:	e5931000 	ldr	r1, [r3]                                      <== NOT EXECUTED
30006ab0:	e2811001 	add	r1, r1, #1                                    <== NOT EXECUTED
30006ab4:	e5831000 	str	r1, [r3]                                      <== NOT EXECUTED
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
30006ab8:	e5923000 	ldr	r3, [r2]                                      <== NOT EXECUTED
            _Thread_Disable_dispatch();       /* disable task switches */
                                                                      
        /* don't aggravate things */                                  
        if (rtems_panic_in_progress > 2)                              
30006abc:	e3530002 	cmp	r3, #2                                        <== NOT EXECUTED
30006ac0:	ca00002e 	bgt	30006b80 <rtems_verror+0x108>                 <== NOT EXECUTED
            return 0;                                                 
    }                                                                 
                                                                      
    (void) fflush(stdout);  	    /* in case stdout/stderr same */     
30006ac4:	e59f5134 	ldr	r5, [pc, #308]	; 30006c00 <rtems_verror+0x188><== NOT EXECUTED
                                                                      
    status = error_flag & ~RTEMS_ERROR_MASK;                          
30006ac8:	e3c4a207 	bic	sl, r4, #1879048192	; 0x70000000              <== NOT EXECUTED
        /* don't aggravate things */                                  
        if (rtems_panic_in_progress > 2)                              
            return 0;                                                 
    }                                                                 
                                                                      
    (void) fflush(stdout);  	    /* in case stdout/stderr same */     
30006acc:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
30006ad0:	e5930008 	ldr	r0, [r3, #8]                                  <== NOT EXECUTED
30006ad4:	eb003392 	bl	30013924 <fflush>                              <== NOT EXECUTED
                                                                      
    status = error_flag & ~RTEMS_ERROR_MASK;                          
    if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */      
30006ad8:	e2146101 	ands	r6, r4, #1073741824	; 0x40000000             <== NOT EXECUTED
30006adc:	1a000038 	bne	30006bc4 <rtems_verror+0x14c>                 <== 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);        
30006ae0:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
30006ae4:	e1a02007 	mov	r2, r7                                        <== NOT EXECUTED
30006ae8:	e1a01009 	mov	r1, r9                                        <== NOT EXECUTED
30006aec:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
30006af0:	eb004bac 	bl	300199a8 <vfprintf>                            <== NOT EXECUTED
                                                                      
    if (status)                                                       
30006af4:	e35a0000 	cmp	sl, #0                                        <== 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);        
30006af8:	e1a07000 	mov	r7, r0                                        <== NOT EXECUTED
                                                                      
    if (status)                                                       
30006afc:	1a000025 	bne	30006b98 <rtems_verror+0x120>                 <== NOT EXECUTED
        chars_written += fprintf(stderr, " (status: %s)", rtems_status_text(status));
                                                                      
    if (local_errno)                                                  
30006b00:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
30006b04:	0a00000b 	beq	30006b38 <rtems_verror+0xc0>                  <== NOT EXECUTED
    {                                                                 
      if ((local_errno > 0) && *strerror(local_errno))                
30006b08:	da000004 	ble	30006b20 <rtems_verror+0xa8>                  <== NOT EXECUTED
30006b0c:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
30006b10:	eb003754 	bl	30014868 <strerror>                            <== NOT EXECUTED
30006b14:	e5d03000 	ldrb	r3, [r0]                                     <== NOT EXECUTED
30006b18:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30006b1c:	1a00002b 	bne	30006bd0 <rtems_verror+0x158>                 <== NOT EXECUTED
        chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
      else                                                            
        chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
30006b20:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
30006b24:	e59f10d8 	ldr	r1, [pc, #216]	; 30006c04 <rtems_verror+0x18c><== NOT EXECUTED
30006b28:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
30006b2c:	e1a02006 	mov	r2, r6                                        <== NOT EXECUTED
30006b30:	eb003439 	bl	30013c1c <fprintf>                             <== NOT EXECUTED
30006b34:	e0877000 	add	r7, r7, r0                                    <== NOT EXECUTED
    }                                                                 
                                                                      
    chars_written += fprintf(stderr, "\n");                           
30006b38:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
30006b3c:	e59f10c4 	ldr	r1, [pc, #196]	; 30006c08 <rtems_verror+0x190><== NOT EXECUTED
30006b40:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
30006b44:	eb003434 	bl	30013c1c <fprintf>                             <== NOT EXECUTED
                                                                      
    (void) fflush(stderr);                                            
30006b48:	e5953000 	ldr	r3, [r5]                                      <== 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");                           
30006b4c:	e1a0a000 	mov	sl, r0                                        <== NOT EXECUTED
                                                                      
    (void) fflush(stderr);                                            
30006b50:	e593000c 	ldr	r0, [r3, #12]                                 <== NOT EXECUTED
30006b54:	eb003372 	bl	30013924 <fflush>                              <== NOT EXECUTED
                                                                      
    if (error_flag & (RTEMS_ERROR_PANIC | RTEMS_ERROR_ABORT))         
30006b58:	e3140203 	tst	r4, #805306368	; 0x30000000                   <== 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");                           
30006b5c:	008a0007 	addeq	r0, sl, r7                                  <== NOT EXECUTED
                                                                      
    (void) fflush(stderr);                                            
                                                                      
    if (error_flag & (RTEMS_ERROR_PANIC | RTEMS_ERROR_ABORT))         
30006b60:	08bd87f0 	popeq	{r4, r5, r6, r7, r8, r9, sl, pc}            <== NOT EXECUTED
    {                                                                 
        if (error_flag & RTEMS_ERROR_PANIC)                           
30006b64:	e3580000 	cmp	r8, #0                                        <== NOT EXECUTED
30006b68:	0a000006 	beq	30006b88 <rtems_verror+0x110>                 <== NOT EXECUTED
        {                                                             
            rtems_error(0, "fatal error, exiting");                   
30006b6c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
30006b70:	e59f1094 	ldr	r1, [pc, #148]	; 30006c0c <rtems_verror+0x194><== NOT EXECUTED
30006b74:	eb000035 	bl	30006c50 <rtems_error>                         <== NOT EXECUTED
            _exit(local_errno);                                       
30006b78:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
30006b7c:	eb00030f 	bl	300077c0 <_exit>                               <== NOT EXECUTED
        }                                                             
        else                                                          
        {                                                             
            rtems_error(0, "fatal error, aborting");                  
            abort();                                                  
30006b80:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
        }                                                             
    }                                                                 
    return chars_written;                                             
}                                                                     
30006b84:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              <== NOT EXECUTED
            rtems_error(0, "fatal error, exiting");                   
            _exit(local_errno);                                       
        }                                                             
        else                                                          
        {                                                             
            rtems_error(0, "fatal error, aborting");                  
30006b88:	e59f1080 	ldr	r1, [pc, #128]	; 30006c10 <rtems_verror+0x198><== NOT EXECUTED
30006b8c:	e1a00008 	mov	r0, r8                                        <== NOT EXECUTED
30006b90:	eb00002e 	bl	30006c50 <rtems_error>                         <== NOT EXECUTED
            abort();                                                  
30006b94:	eb003266 	bl	30013534 <abort>                               <== NOT EXECUTED
    #endif                                                            
                                                                      
    chars_written += vfprintf(stderr, printf_format, arglist);        
                                                                      
    if (status)                                                       
        chars_written += fprintf(stderr, " (status: %s)", rtems_status_text(status));
30006b98:	e59f3060 	ldr	r3, [pc, #96]	; 30006c00 <rtems_verror+0x188> <== NOT EXECUTED
30006b9c:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
30006ba0:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
30006ba4:	e593a00c 	ldr	sl, [r3, #12]                                 <== NOT EXECUTED
30006ba8:	ebffffae 	bl	30006a68 <rtems_status_text>                   <== NOT EXECUTED
30006bac:	e59f1060 	ldr	r1, [pc, #96]	; 30006c14 <rtems_verror+0x19c> <== NOT EXECUTED
30006bb0:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
30006bb4:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
30006bb8:	eb003417 	bl	30013c1c <fprintf>                             <== NOT EXECUTED
30006bbc:	e0877000 	add	r7, r7, r0                                    <== NOT EXECUTED
30006bc0:	eaffffce 	b	30006b00 <rtems_verror+0x88>                    <== 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;                                          
30006bc4:	eb003263 	bl	30013558 <__errno>                             <== NOT EXECUTED
30006bc8:	e5906000 	ldr	r6, [r0]                                      <== NOT EXECUTED
30006bcc:	eaffffc3 	b	30006ae0 <rtems_verror+0x68>                    <== 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));
30006bd0:	e5953000 	ldr	r3, [r5]                                      <== NOT EXECUTED
30006bd4:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
30006bd8:	e593a00c 	ldr	sl, [r3, #12]                                 <== NOT EXECUTED
30006bdc:	eb003721 	bl	30014868 <strerror>                            <== NOT EXECUTED
30006be0:	e59f1030 	ldr	r1, [pc, #48]	; 30006c18 <rtems_verror+0x1a0> <== NOT EXECUTED
30006be4:	e1a02000 	mov	r2, r0                                        <== NOT EXECUTED
30006be8:	e1a0000a 	mov	r0, sl                                        <== NOT EXECUTED
30006bec:	eb00340a 	bl	30013c1c <fprintf>                             <== NOT EXECUTED
30006bf0:	e0877000 	add	r7, r7, r0                                    <== NOT EXECUTED
    if (status)                                                       
        chars_written += fprintf(stderr, " (status: %s)", rtems_status_text(status));
                                                                      
    if (local_errno)                                                  
    {                                                                 
      if ((local_errno > 0) && *strerror(local_errno))                
30006bf4:	eaffffcf 	b	30006b38 <rtems_verror+0xc0>                    <== NOT EXECUTED
30006bf8:	30024f1c 	.word	0x30024f1c                                  
30006bfc:	300250ac 	.word	0x300250ac                                  
30006c00:	30024558 	.word	0x30024558                                  
30006c04:	3002333c 	.word	0x3002333c                                  
30006c08:	30022e24 	.word	0x30022e24                                  
30006c0c:	30023350 	.word	0x30023350                                  
30006c10:	30023368 	.word	0x30023368                                  
30006c14:	3002331c 	.word	0x3002331c                                  
30006c18:	3002332c 	.word	0x3002332c                                  
                                                                      
30025900 <scanInt>:                                                   
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
30025900:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
30025904:	e3a06000 	mov	r6, #0                                        
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
30025908:	e59f90e8 	ldr	r9, [pc, #232]	; 300259f8 <scanInt+0xf8>      
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
3002590c:	e59f80e8 	ldr	r8, [pc, #232]	; 300259fc <scanInt+0xfc>      
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
30025910:	e59fa0e8 	ldr	sl, [pc, #232]	; 30025a00 <scanInt+0x100>     
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
30025914:	e1a04000 	mov	r4, r0                                        
30025918:	e1a0b001 	mov	fp, r1                                        
3002591c:	e3e07102 	mvn	r7, #-2147483648	; 0x80000000                 
30025920:	e1a05006 	mov	r5, r6                                        
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
30025924:	e5943004 	ldr	r3, [r4, #4]                                  
30025928:	e2433001 	sub	r3, r3, #1                                    
3002592c:	e3530000 	cmp	r3, #0                                        
30025930:	e5843004 	str	r3, [r4, #4]                                  
30025934:	ba00001d 	blt	300259b0 <scanInt+0xb0>                       
30025938:	e5943000 	ldr	r3, [r4]                                      
3002593c:	e4d30001 	ldrb	r0, [r3], #1                                 
    if (c == ':')                                                     
30025940:	e350003a 	cmp	r0, #58	; 0x3a                                
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
30025944:	e5843000 	str	r3, [r4]                                      
    if (c == ':')                                                     
30025948:	0a00001d 	beq	300259c4 <scanInt+0xc4>                       
      break;                                                          
    if (sign == 0) {                                                  
3002594c:	e3560000 	cmp	r6, #0                                        
30025950:	1a000004 	bne	30025968 <scanInt+0x68>                       
      if (c == '-') {                                                 
30025954:	e350002d 	cmp	r0, #45	; 0x2d                                
        sign = -1;                                                    
        limit++;                                                      
30025958:	02877001 	addeq	r7, r7, #1                                  
3002595c:	03e06000 	mvneq	r6, #0                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
30025960:	0affffef 	beq	30025924 <scanInt+0x24>                       
        sign = -1;                                                    
        limit++;                                                      
        continue;                                                     
30025964:	e3a06001 	mov	r6, #1                                        
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
30025968:	e5983000 	ldr	r3, [r8]                                      
3002596c:	e0833000 	add	r3, r3, r0                                    
30025970:	e5d33001 	ldrb	r3, [r3, #1]                                 
30025974:	e3130004 	tst	r3, #4                                        
30025978:	0a00001c 	beq	300259f0 <scanInt+0xf0>                       
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
3002597c:	e083279a 	umull	r2, r3, sl, r7                              
30025980:	e15501a3 	cmp	r5, r3, lsr #3                                
30025984:	8a000019 	bhi	300259f0 <scanInt+0xf0>                       
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
30025988:	e2400030 	sub	r0, r0, #48	; 0x30                            
3002598c:	11a03105 	lslne	r3, r5, #2                                  
    if ((i > (limit / 10))                                            
30025990:	0a000011 	beq	300259dc <scanInt+0xdc>                       
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
30025994:	e0835005 	add	r5, r3, r5                                    
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
30025998:	e5943004 	ldr	r3, [r4, #4]                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
3002599c:	e0805085 	add	r5, r0, r5, lsl #1                            
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
300259a0:	e2433001 	sub	r3, r3, #1                                    
300259a4:	e3530000 	cmp	r3, #0                                        
300259a8:	e5843004 	str	r3, [r4, #4]                                  
300259ac:	aaffffe1 	bge	30025938 <scanInt+0x38>                       
300259b0:	e5990000 	ldr	r0, [r9]                                      <== NOT EXECUTED
300259b4:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
300259b8:	eb0074d6 	bl	30042d18 <__srget_r>                           <== NOT EXECUTED
    if (c == ':')                                                     
300259bc:	e350003a 	cmp	r0, #58	; 0x3a                                <== NOT EXECUTED
300259c0:	1affffe1 	bne	3002594c <scanInt+0x4c>                       <== NOT EXECUTED
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
300259c4:	e3560000 	cmp	r6, #0                                        
300259c8:	0a000008 	beq	300259f0 <scanInt+0xf0>                       
    return 0;                                                         
  *val = i * sign;                                                    
300259cc:	e0030695 	mul	r3, r5, r6                                    
300259d0:	e3a00001 	mov	r0, #1                                        
300259d4:	e58b3000 	str	r3, [fp]                                      
  return 1;                                                           
300259d8:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
300259dc:	e1a03105 	lsl	r3, r5, #2                                    <== NOT EXECUTED
300259e0:	e0832005 	add	r2, r3, r5                                    <== NOT EXECUTED
300259e4:	e0472082 	sub	r2, r7, r2, lsl #1                            <== NOT EXECUTED
300259e8:	e1500002 	cmp	r0, r2                                        <== NOT EXECUTED
300259ec:	9affffe8 	bls	30025994 <scanInt+0x94>                       <== NOT EXECUTED
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
  return 1;                                                           
300259f0:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
300259f4:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          <== NOT EXECUTED
300259f8:	300622dc 	.word	0x300622dc                                  
300259fc:	300622d0 	.word	0x300622d0                                  
30025a00:	cccccccd 	.word	0xcccccccd                                  
                                                                      
30025a04 <scanString>:                                                
/*                                                                    
 * Extract a string value from the database                           
 */                                                                   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
30025a04:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
30025a08:	e1a05002 	mov	r5, r2                                        
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
30025a0c:	e5922000 	ldr	r2, [r2]                                      
/*                                                                    
 * Extract a string value from the database                           
 */                                                                   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
30025a10:	e59d7018 	ldr	r7, [sp, #24]                                 
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
30025a14:	e59f60c8 	ldr	r6, [pc, #200]	; 30025ae4 <scanString+0xe0>   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
30025a18:	e5812000 	str	r2, [r1]                                      
/*                                                                    
 * Extract a string value from the database                           
 */                                                                   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
30025a1c:	e1a04000 	mov	r4, r0                                        
30025a20:	e1a08003 	mov	r8, r3                                        
30025a24:	ea000013 	b	30025a78 <scanString+0x74>                      
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
30025a28:	e5943000 	ldr	r3, [r4]                                      
30025a2c:	e4d30001 	ldrb	r0, [r3], #1                                 
    if (c == ':') {                                                   
30025a30:	e350003a 	cmp	r0, #58	; 0x3a                                
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
30025a34:	e5843000 	str	r3, [r4]                                      
    if (c == ':') {                                                   
30025a38:	0a000018 	beq	30025aa0 <scanString+0x9c>                    
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
30025a3c:	e350000a 	cmp	r0, #10                                       
30025a40:	0a000023 	beq	30025ad4 <scanString+0xd0>                    
        if (!nlFlag)                                                  
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
30025a44:	e3700001 	cmn	r0, #1                                        
30025a48:	0a000023 	beq	30025adc <scanString+0xd8>                    
      return 0;                                                       
    if (*nleft < 2)                                                   
30025a4c:	e5983000 	ldr	r3, [r8]                                      
30025a50:	e3530001 	cmp	r3, #1                                        
30025a54:	9a000020 	bls	30025adc <scanString+0xd8>                    
      return 0;                                                       
    **bufp = c;                                                       
30025a58:	e5953000 	ldr	r3, [r5]                                      
30025a5c:	e5c30000 	strb	r0, [r3]                                     
    ++(*bufp);                                                        
30025a60:	e5952000 	ldr	r2, [r5]                                      
    --(*nleft);                                                       
30025a64:	e5983000 	ldr	r3, [r8]                                      
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
30025a68:	e2822001 	add	r2, r2, #1                                    
    --(*nleft);                                                       
30025a6c:	e2433001 	sub	r3, r3, #1                                    
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
30025a70:	e5852000 	str	r2, [r5]                                      
    --(*nleft);                                                       
30025a74:	e5883000 	str	r3, [r8]                                      
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
30025a78:	e5943004 	ldr	r3, [r4, #4]                                  
30025a7c:	e2433001 	sub	r3, r3, #1                                    
30025a80:	e3530000 	cmp	r3, #0                                        
30025a84:	e5843004 	str	r3, [r4, #4]                                  
30025a88:	aaffffe6 	bge	30025a28 <scanString+0x24>                    
30025a8c:	e5960000 	ldr	r0, [r6]                                      
30025a90:	e1a01004 	mov	r1, r4                                        
30025a94:	eb00749f 	bl	30042d18 <__srget_r>                           
    if (c == ':') {                                                   
30025a98:	e350003a 	cmp	r0, #58	; 0x3a                                
30025a9c:	1affffe6 	bne	30025a3c <scanString+0x38>                    
        if (nlFlag)                                                   
30025aa0:	e3570000 	cmp	r7, #0                                        
30025aa4:	1a00000c 	bne	30025adc <scanString+0xd8>                    
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
30025aa8:	e5953000 	ldr	r3, [r5]                                      
30025aac:	e3a02000 	mov	r2, #0                                        
30025ab0:	e5c32000 	strb	r2, [r3]                                     
  ++(*bufp);                                                          
30025ab4:	e5952000 	ldr	r2, [r5]                                      
  --(*nleft);                                                         
30025ab8:	e5983000 	ldr	r3, [r8]                                      
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
30025abc:	e2822001 	add	r2, r2, #1                                    
  --(*nleft);                                                         
30025ac0:	e2433001 	sub	r3, r3, #1                                    
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
30025ac4:	e5852000 	str	r2, [r5]                                      
  --(*nleft);                                                         
30025ac8:	e5883000 	str	r3, [r8]                                      
30025acc:	e3a00001 	mov	r0, #1                                        
  return 1;                                                           
30025ad0:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
        if (!nlFlag)                                                  
30025ad4:	e3570000 	cmp	r7, #0                                        
30025ad8:	1afffff2 	bne	30025aa8 <scanString+0xa4>                    
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
  --(*nleft);                                                         
  return 1;                                                           
30025adc:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
30025ae0:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
30025ae4:	300622dc 	.word	0x300622dc                                  
                                                                      
30025ae8 <scangr>:                                                    
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
30025ae8:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
30025aec:	e24dd014 	sub	sp, sp, #20                                   
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
30025af0:	e28d5008 	add	r5, sp, #8                                    
30025af4:	e28d4004 	add	r4, sp, #4                                    
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
30025af8:	e58d2008 	str	r2, [sp, #8]                                  
30025afc:	e58d3004 	str	r3, [sp, #4]                                  
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
30025b00:	e3a06000 	mov	r6, #0                                        
30025b04:	e1a02005 	mov	r2, r5                                        
30025b08:	e1a03004 	mov	r3, r4                                        
30025b0c:	e58d6000 	str	r6, [sp]                                      
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
30025b10:	e1a07000 	mov	r7, r0                                        
30025b14:	e1a08001 	mov	r8, r1                                        
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
30025b18:	ebffffb9 	bl	30025a04 <scanString>                          
30025b1c:	e1500006 	cmp	r0, r6                                        
30025b20:	1a000002 	bne	30025b30 <scangr+0x48>                        
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
  return 1;                                                           
30025b24:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
30025b28:	e28dd014 	add	sp, sp, #20                                   
30025b2c:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
30025b30:	e1a00007 	mov	r0, r7                                        
30025b34:	e2881004 	add	r1, r8, #4                                    
30025b38:	e1a02005 	mov	r2, r5                                        
30025b3c:	e1a03004 	mov	r3, r4                                        
30025b40:	e58d6000 	str	r6, [sp]                                      
30025b44:	ebffffae 	bl	30025a04 <scanString>                          
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
30025b48:	e1500006 	cmp	r0, r6                                        
30025b4c:	0afffff4 	beq	30025b24 <scangr+0x3c>                        
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
30025b50:	e1a00007 	mov	r0, r7                                        
30025b54:	e28d1010 	add	r1, sp, #16                                   
30025b58:	ebffff68 	bl	30025900 <scanInt>                             
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
30025b5c:	e1500006 	cmp	r0, r6                                        
30025b60:	0affffef 	beq	30025b24 <scangr+0x3c>                        
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
30025b64:	e1a03004 	mov	r3, r4                                        
30025b68:	e1a00007 	mov	r0, r7                                        
30025b6c:	e1a02005 	mov	r2, r5                                        
30025b70:	e3a04001 	mov	r4, #1                                        
30025b74:	e28d100c 	add	r1, sp, #12                                   
30025b78:	e58d4000 	str	r4, [sp]                                      
30025b7c:	ebffffa0 	bl	30025a04 <scanString>                          
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
30025b80:	e1500006 	cmp	r0, r6                                        
30025b84:	0affffe6 	beq	30025b24 <scangr+0x3c>                        
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
    return 0;                                                         
  grp->gr_gid = grgid;                                                
30025b88:	e1dd31b0 	ldrh	r3, [sp, #16]                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
30025b8c:	e59d100c 	ldr	r1, [sp, #12]                                 
  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;                                                
30025b90:	e1c830b8 	strh	r3, [r8, #8]                                 
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
30025b94:	e5d13000 	ldrb	r3, [r1]                                     
30025b98:	e1530006 	cmp	r3, r6                                        
30025b9c:	03a04017 	moveq	r4, #23                                     
30025ba0:	0a000007 	beq	30025bc4 <scangr+0xdc>                        
30025ba4:	e1a02001 	mov	r2, r1                                        
    if(*cp == ',')                                                    
30025ba8:	e353002c 	cmp	r3, #44	; 0x2c                                
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
30025bac:	e5f23001 	ldrb	r3, [r2, #1]!                                
    if(*cp == ',')                                                    
      memcount++;                                                     
30025bb0:	02844001 	addeq	r4, r4, #1                                  
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
30025bb4:	e3530000 	cmp	r3, #0                                        
30025bb8:	1afffffa 	bne	30025ba8 <scangr+0xc0>                        
30025bbc:	e1a04104 	lsl	r4, r4, #2                                    
30025bc0:	e2844013 	add	r4, r4, #19                                   
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
30025bc4:	e59d3004 	ldr	r3, [sp, #4]                                  
30025bc8:	e1530004 	cmp	r3, r4                                        
30025bcc:	3affffd4 	bcc	30025b24 <scangr+0x3c>                        
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
30025bd0:	e59d3008 	ldr	r3, [sp, #8]                                  
30025bd4:	e283300f 	add	r3, r3, #15                                   
30025bd8:	e3c3300f 	bic	r3, r3, #15                                   
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
30025bdc:	e5831000 	str	r1, [r3]                                      
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
30025be0:	e59d200c 	ldr	r2, [sp, #12]                                 
  /*                                                                  
   * 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);            
30025be4:	e588300c 	str	r3, [r8, #12]                                 
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
30025be8:	e5d23000 	ldrb	r3, [r2]                                     
30025bec:	e3530000 	cmp	r3, #0                                        
30025bf0:	03a01004 	moveq	r1, #4                                      
30025bf4:	0a00000b 	beq	30025c28 <scangr+0x140>                       
30025bf8:	e2822001 	add	r2, r2, #1                                    
30025bfc:	e3a01001 	mov	r1, #1                                        
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
30025c00:	e3a00000 	mov	r0, #0                                        
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
    if(*cp == ',') {                                                  
30025c04:	e353002c 	cmp	r3, #44	; 0x2c                                
      *cp = '\0';                                                     
30025c08:	05420001 	strbeq	r0, [r2, #-1]                              
      grp->gr_mem[memcount++] = cp + 1;                               
30025c0c:	0598300c 	ldreq	r3, [r8, #12]                               
30025c10:	07832101 	streq	r2, [r3, r1, lsl #2]                        
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
30025c14:	e4d23001 	ldrb	r3, [r2], #1                                 
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
30025c18:	02811001 	addeq	r1, r1, #1                                  
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
30025c1c:	e3530000 	cmp	r3, #0                                        
30025c20:	1afffff7 	bne	30025c04 <scangr+0x11c>                       
30025c24:	e1a01101 	lsl	r1, r1, #2                                    
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
30025c28:	e598300c 	ldr	r3, [r8, #12]                                 
30025c2c:	e3a02000 	mov	r2, #0                                        
30025c30:	e7832001 	str	r2, [r3, r1]                                  
30025c34:	e3a00001 	mov	r0, #1                                        
  return 1;                                                           
30025c38:	eaffffba 	b	30025b28 <scangr+0x40>                          
                                                                      
30025c7c <scanpw>:                                                    
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
30025c7c:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
30025c80:	e24dd014 	sub	sp, sp, #20                                   
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
30025c84:	e28d5008 	add	r5, sp, #8                                    
30025c88:	e28d4004 	add	r4, sp, #4                                    
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
30025c8c:	e58d2008 	str	r2, [sp, #8]                                  
30025c90:	e58d3004 	str	r3, [sp, #4]                                  
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
30025c94:	e3a06000 	mov	r6, #0                                        
30025c98:	e1a02005 	mov	r2, r5                                        
30025c9c:	e1a03004 	mov	r3, r4                                        
30025ca0:	e58d6000 	str	r6, [sp]                                      
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
30025ca4:	e1a07000 	mov	r7, r0                                        
30025ca8:	e1a08001 	mov	r8, r1                                        
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
30025cac:	ebffff54 	bl	30025a04 <scanString>                          
30025cb0:	e1500006 	cmp	r0, r6                                        
30025cb4:	1a000002 	bne	30025cc4 <scanpw+0x48>                        
   || !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;                                                           
30025cb8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
30025cbc:	e28dd014 	add	sp, sp, #20                                   
30025cc0:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
30025cc4:	e1a00007 	mov	r0, r7                                        
30025cc8:	e2881004 	add	r1, r8, #4                                    
30025ccc:	e1a02005 	mov	r2, r5                                        
30025cd0:	e1a03004 	mov	r3, r4                                        
30025cd4:	e58d6000 	str	r6, [sp]                                      
30025cd8:	ebffff49 	bl	30025a04 <scanString>                          
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
30025cdc:	e1500006 	cmp	r0, r6                                        
30025ce0:	0afffff4 	beq	30025cb8 <scanpw+0x3c>                        
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
30025ce4:	e1a00007 	mov	r0, r7                                        
30025ce8:	e28d1010 	add	r1, sp, #16                                   
30025cec:	ebffff03 	bl	30025900 <scanInt>                             
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
30025cf0:	e1500006 	cmp	r0, r6                                        
30025cf4:	0affffef 	beq	30025cb8 <scanpw+0x3c>                        
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   || !scanInt(fp, &pwgid)                                            
30025cf8:	e1a00007 	mov	r0, r7                                        
30025cfc:	e28d100c 	add	r1, sp, #12                                   
30025d00:	ebfffefe 	bl	30025900 <scanInt>                             
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
30025d04:	e1500006 	cmp	r0, r6                                        
30025d08:	0affffea 	beq	30025cb8 <scanpw+0x3c>                        
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   || !scanInt(fp, &pwgid)                                            
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
30025d0c:	e1a00007 	mov	r0, r7                                        
30025d10:	e288100c 	add	r1, r8, #12                                   
30025d14:	e1a02005 	mov	r2, r5                                        
30025d18:	e1a03004 	mov	r3, r4                                        
30025d1c:	e58d6000 	str	r6, [sp]                                      
30025d20:	ebffff37 	bl	30025a04 <scanString>                          
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
30025d24:	e1500006 	cmp	r0, r6                                        
30025d28:	0affffe2 	beq	30025cb8 <scanpw+0x3c>                        
   || !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)           
30025d2c:	e1a00007 	mov	r0, r7                                        
30025d30:	e2881010 	add	r1, r8, #16                                   
30025d34:	e1a02005 	mov	r2, r5                                        
30025d38:	e1a03004 	mov	r3, r4                                        
30025d3c:	e58d6000 	str	r6, [sp]                                      
30025d40:	ebffff2f 	bl	30025a04 <scanString>                          
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
30025d44:	e1500006 	cmp	r0, r6                                        
30025d48:	0affffda 	beq	30025cb8 <scanpw+0x3c>                        
   || !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)             
30025d4c:	e1a00007 	mov	r0, r7                                        
30025d50:	e2881014 	add	r1, r8, #20                                   
30025d54:	e1a02005 	mov	r2, r5                                        
30025d58:	e1a03004 	mov	r3, r4                                        
30025d5c:	e58d6000 	str	r6, [sp]                                      
30025d60:	ebffff27 	bl	30025a04 <scanString>                          
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
30025d64:	e1500006 	cmp	r0, r6                                        
30025d68:	0affffd2 	beq	30025cb8 <scanpw+0x3c>                        
   || !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))          
30025d6c:	e1a03004 	mov	r3, r4                                        
30025d70:	e1a00007 	mov	r0, r7                                        
30025d74:	e1a02005 	mov	r2, r5                                        
30025d78:	e3a04001 	mov	r4, #1                                        
30025d7c:	e2881018 	add	r1, r8, #24                                   
30025d80:	e58d4000 	str	r4, [sp]                                      
30025d84:	ebffff1e 	bl	30025a04 <scanString>                          
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
30025d88:	e1500006 	cmp	r0, r6                                        
30025d8c:	0affffc9 	beq	30025cb8 <scanpw+0x3c>                        
   || !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;                                                
  pwd->pw_gid = pwgid;                                                
30025d90:	e1dd30bc 	ldrh	r3, [sp, #12]                                
30025d94:	e1a00004 	mov	r0, r4                                        
30025d98:	e1c830ba 	strh	r3, [r8, #10]                                
   || !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;                                                
30025d9c:	e1dd31b0 	ldrh	r3, [sp, #16]                                
30025da0:	e1c830b8 	strh	r3, [r8, #8]                                 
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
30025da4:	eaffffc4 	b	30025cbc <scanpw+0x40>                          
                                                                      
300258b8 <setgid>:                                                    
                                                                      
int setgid(                                                           
  gid_t  gid                                                          
)                                                                     
{                                                                     
  _POSIX_types_Gid = gid;                                             
300258b8:	e59f300c 	ldr	r3, [pc, #12]	; 300258cc <setgid+0x14>        <== NOT EXECUTED
300258bc:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
300258c0:	e1c303b4 	strh	r0, [r3, #52]	; 0x34                         <== NOT EXECUTED
  return 0;                                                           
}                                                                     
300258c4:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
300258c8:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
300258cc:	30061b08 	.word	0x30061b08                                  
                                                                      
30025ec8 <setgrent>:                                                  
    return NULL;                                                      
  return &grent;                                                      
}                                                                     
                                                                      
void setgrent(void)                                                   
{                                                                     
30025ec8:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  init_etc_passwd_group();                                            
                                                                      
  if (group_fp != NULL)                                               
30025ecc:	e59f4020 	ldr	r4, [pc, #32]	; 30025ef4 <setgrent+0x2c>      <== NOT EXECUTED
  return &grent;                                                      
}                                                                     
                                                                      
void setgrent(void)                                                   
{                                                                     
  init_etc_passwd_group();                                            
30025ed0:	ebffffc4 	bl	30025de8 <init_etc_passwd_group>               <== NOT EXECUTED
                                                                      
  if (group_fp != NULL)                                               
30025ed4:	e5940000 	ldr	r0, [r4]                                      <== NOT EXECUTED
30025ed8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    fclose(group_fp);                                                 
30025edc:	1b005edb 	blne	3003da50 <fclose>                            <== NOT EXECUTED
  group_fp = fopen("/etc/group", "r");                                
30025ee0:	e59f0010 	ldr	r0, [pc, #16]	; 30025ef8 <setgrent+0x30>      <== NOT EXECUTED
30025ee4:	e59f1010 	ldr	r1, [pc, #16]	; 30025efc <setgrent+0x34>      <== NOT EXECUTED
30025ee8:	eb0060fb 	bl	3003e2dc <fopen>                               <== NOT EXECUTED
30025eec:	e5840000 	str	r0, [r4]                                      <== NOT EXECUTED
}                                                                     
30025ef0:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
30025ef4:	30065554 	.word	0x30065554                                  
30025ef8:	3005a5f0 	.word	0x3005a5f0                                  
30025efc:	3005fd80 	.word	0x3005fd80                                  
                                                                      
300260c0 <setpwent>:                                                  
    return NULL;                                                      
  return &pwent;                                                      
}                                                                     
                                                                      
void setpwent(void)                                                   
{                                                                     
300260c0:	e92d4010 	push	{r4, lr}                                     <== NOT EXECUTED
  init_etc_passwd_group();                                            
                                                                      
  if (passwd_fp != NULL)                                              
300260c4:	e59f4020 	ldr	r4, [pc, #32]	; 300260ec <setpwent+0x2c>      <== NOT EXECUTED
  return &pwent;                                                      
}                                                                     
                                                                      
void setpwent(void)                                                   
{                                                                     
  init_etc_passwd_group();                                            
300260c8:	ebffff46 	bl	30025de8 <init_etc_passwd_group>               <== NOT EXECUTED
                                                                      
  if (passwd_fp != NULL)                                              
300260cc:	e5940004 	ldr	r0, [r4, #4]                                  <== NOT EXECUTED
300260d0:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
    fclose(passwd_fp);                                                
300260d4:	1b005e5d 	blne	3003da50 <fclose>                            <== NOT EXECUTED
  passwd_fp = fopen("/etc/passwd", "r");                              
300260d8:	e59f0010 	ldr	r0, [pc, #16]	; 300260f0 <setpwent+0x30>      <== NOT EXECUTED
300260dc:	e59f1010 	ldr	r1, [pc, #16]	; 300260f4 <setpwent+0x34>      <== NOT EXECUTED
300260e0:	eb00607d 	bl	3003e2dc <fopen>                               <== NOT EXECUTED
300260e4:	e5840004 	str	r0, [r4, #4]                                  <== NOT EXECUTED
}                                                                     
300260e8:	e8bd8010 	pop	{r4, pc}                                      <== NOT EXECUTED
300260ec:	30065554 	.word	0x30065554                                  
300260f0:	3005a540 	.word	0x3005a540                                  
300260f4:	3005fd80 	.word	0x3005fd80                                  
                                                                      
30004d8c <setuid>:                                                    
                                                                      
int setuid(                                                           
  uid_t  uid                                                          
)                                                                     
{                                                                     
  _POSIX_types_Uid = uid;                                             
30004d8c:	e59f300c 	ldr	r3, [pc, #12]	; 30004da0 <setuid+0x14>        <== NOT EXECUTED
30004d90:	e5933000 	ldr	r3, [r3]                                      <== NOT EXECUTED
30004d94:	e1c303b2 	strh	r0, [r3, #50]	; 0x32                         <== NOT EXECUTED
  return 0;                                                           
}                                                                     
30004d98:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
30004d9c:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
30004da0:	30061b08 	.word	0x30061b08                                  
                                                                      
300035dc <siproc>:                                                    
	int i;                                                               
                                                                      
	/*                                                                   
	 * Obtain output semaphore if character will be echoed               
	 */                                                                  
	if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
300035dc:	e591203c 	ldr	r2, [r1, #60]	; 0x3c                          <== NOT EXECUTED
300035e0:	e59f3050 	ldr	r3, [pc, #80]	; 30003638 <siproc+0x5c>        <== NOT EXECUTED
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
300035e4:	e92d4030 	push	{r4, r5, lr}                                 <== NOT EXECUTED
	int i;                                                               
                                                                      
	/*                                                                   
	 * Obtain output semaphore if character will be echoed               
	 */                                                                  
	if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
300035e8:	e0023003 	and	r3, r2, r3                                    <== NOT EXECUTED
300035ec:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
300035f0:	e1a04001 	mov	r4, r1                                        <== NOT EXECUTED
300035f4:	e20050ff 	and	r5, r0, #255	; 0xff                           <== NOT EXECUTED
	int i;                                                               
                                                                      
	/*                                                                   
	 * Obtain output semaphore if character will be echoed               
	 */                                                                  
	if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
300035f8:	1a000002 	bne	30003608 <siproc+0x2c>                        <== 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);                                                 
300035fc:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
	}                                                                    
	return i;                                                            
}                                                                     
30003600:	e8bd4030 	pop	{r4, r5, lr}                                  <== 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);                                                 
30003604:	eaffff82 	b	30003414 <iproc>                                <== NOT EXECUTED
                                                                      
	/*                                                                   
	 * Obtain output semaphore if character will be echoed               
	 */                                                                  
	if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
		rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);   
30003608:	e3a01000 	mov	r1, #0                                        <== NOT EXECUTED
3000360c:	e1a02001 	mov	r2, r1                                        <== NOT EXECUTED
30003610:	e5940018 	ldr	r0, [r4, #24]                                 <== NOT EXECUTED
30003614:	eb00068c 	bl	3000504c <rtems_semaphore_obtain>              <== NOT EXECUTED
		i = iproc (c, tty);                                                 
30003618:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
3000361c:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
30003620:	ebffff7b 	bl	30003414 <iproc>                               <== NOT EXECUTED
30003624:	e1a05000 	mov	r5, r0                                        <== NOT EXECUTED
		rtems_semaphore_release (tty->osem);                                
30003628:	e5940018 	ldr	r0, [r4, #24]                                 <== NOT EXECUTED
3000362c:	eb0006ce 	bl	3000516c <rtems_semaphore_release>             <== NOT EXECUTED
	}                                                                    
	else {                                                               
		i = iproc (c, tty);                                                 
	}                                                                    
	return i;                                                            
}                                                                     
30003630:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
30003634:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
30003638:	00000e78 	.word	0x00000e78                                  
                                                                      
300060c8 <stat>:                                                      
                                                                      
int _STAT_NAME(                                                       
  const char  *path,                                                  
  struct stat *buf                                                    
)                                                                     
{                                                                     
300060c8:	e92d4070 	push	{r4, r5, r6, lr}                             
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
300060cc:	e2515000 	subs	r5, r1, #0                                   
                                                                      
int _STAT_NAME(                                                       
  const char  *path,                                                  
  struct stat *buf                                                    
)                                                                     
{                                                                     
300060d0:	e24dd018 	sub	sp, sp, #24                                   
300060d4:	e1a06000 	mov	r6, r0                                        
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
300060d8:	0a00002f 	beq	3000619c <stat+0xd4>                          
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ),      
300060dc:	eb00f888 	bl	30044304 <strlen>                              
300060e0:	e28d4004 	add	r4, sp, #4                                    
300060e4:	e1a01000 	mov	r1, r0                                        
300060e8:	e3a0c001 	mov	ip, #1                                        
300060ec:	e1a00006 	mov	r0, r6                                        
300060f0:	e3a02000 	mov	r2, #0                                        
300060f4:	e1a03004 	mov	r3, r4                                        
300060f8:	e58dc000 	str	ip, [sp]                                      
300060fc:	ebfffaa6 	bl	30004b9c <rtems_filesystem_evaluate_path>      
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
30006100:	e2501000 	subs	r1, r0, #0                                   
30006104:	1a000022 	bne	30006194 <stat+0xcc>                          
    return -1;                                                        
                                                                      
  if ( !loc.handlers->fstat_h ){                                      
30006108:	e59d300c 	ldr	r3, [sp, #12]                                 
3000610c:	e5933018 	ldr	r3, [r3, #24]                                 
30006110:	e3530000 	cmp	r3, #0                                        
30006114:	0a000013 	beq	30006168 <stat+0xa0>                          
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
30006118:	e3a02048 	mov	r2, #72	; 0x48                                
3000611c:	e1a00005 	mov	r0, r5                                        
30006120:	eb00eab5 	bl	30040bfc <memset>                              
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
30006124:	e1a01005 	mov	r1, r5                                        
30006128:	e59d300c 	ldr	r3, [sp, #12]                                 
3000612c:	e1a00004 	mov	r0, r4                                        
30006130:	e1a0e00f 	mov	lr, pc                                        
30006134:	e593f018 	ldr	pc, [r3, #24]                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
30006138:	e59d3010 	ldr	r3, [sp, #16]                                 
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
3000613c:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
30006140:	e3530000 	cmp	r3, #0                                        
30006144:	0a000004 	beq	3000615c <stat+0x94>                          
30006148:	e593301c 	ldr	r3, [r3, #28]                                 
3000614c:	e3530000 	cmp	r3, #0                                        
30006150:	11a00004 	movne	r0, r4                                      
30006154:	11a0e00f 	movne	lr, pc                                      
30006158:	112fff13 	bxne	r3                                           
                                                                      
  return status;                                                      
}                                                                     
3000615c:	e1a00005 	mov	r0, r5                                        
30006160:	e28dd018 	add	sp, sp, #24                                   
30006164:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
    return -1;                                                        
                                                                      
  if ( !loc.handlers->fstat_h ){                                      
    rtems_filesystem_freenode( &loc );                                
30006168:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
3000616c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30006170:	0a000004 	beq	30006188 <stat+0xc0>                          <== NOT EXECUTED
30006174:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
30006178:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
3000617c:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
30006180:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
30006184:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
30006188:	eb00dde3 	bl	3003d91c <__errno>                             <== NOT EXECUTED
3000618c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
30006190:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30006194:	e3e05000 	mvn	r5, #0                                        
30006198:	eaffffef 	b	3000615c <stat+0x94>                            
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
    rtems_set_errno_and_return_minus_one( EFAULT );                   
3000619c:	eb00ddde 	bl	3003d91c <__errno>                             
300061a0:	e3a0300e 	mov	r3, #14                                       
300061a4:	e5803000 	str	r3, [r0]                                      
300061a8:	e3e05000 	mvn	r5, #0                                        
300061ac:	eaffffea 	b	3000615c <stat+0x94>                            
                                                                      
300270a4 <statvfs>:                                                   
 */                                                                   
extern rtems_chain_control rtems_filesystem_mount_table_control;      
                                                                      
int                                                                   
statvfs (const char *path, struct statvfs *sb)                        
{                                                                     
300270a4:	e92d4070 	push	{r4, r5, r6, lr}                             <== NOT EXECUTED
300270a8:	e24dd018 	sub	sp, sp, #24                                   <== NOT EXECUTED
300270ac:	e1a04001 	mov	r4, r1                                        <== NOT EXECUTED
300270b0:	e1a06000 	mov	r6, r0                                        <== 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 ) )
300270b4:	eb007492 	bl	30044304 <strlen>                              <== NOT EXECUTED
300270b8:	e28d5004 	add	r5, sp, #4                                    <== NOT EXECUTED
300270bc:	e1a01000 	mov	r1, r0                                        <== NOT EXECUTED
300270c0:	e3a0c001 	mov	ip, #1                                        <== NOT EXECUTED
300270c4:	e1a00006 	mov	r0, r6                                        <== NOT EXECUTED
300270c8:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
300270cc:	e1a03005 	mov	r3, r5                                        <== NOT EXECUTED
300270d0:	e58dc000 	str	ip, [sp]                                      <== NOT EXECUTED
300270d4:	ebff76b0 	bl	30004b9c <rtems_filesystem_evaluate_path>      <== NOT EXECUTED
300270d8:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
300270dc:	1a000028 	bne	30027184 <statvfs+0xe0>                       <== NOT EXECUTED
    return -1;                                                        
                                                                      
  mt_entry      = loc.mt_entry;                                       
300270e0:	e59d3014 	ldr	r3, [sp, #20]                                 <== NOT EXECUTED
  fs_mount_root = &mt_entry->mt_fs_root;                              
300270e4:	e5932028 	ldr	r2, [r3, #40]	; 0x28                          <== NOT EXECUTED
300270e8:	e5922044 	ldr	r2, [r2, #68]	; 0x44                          <== NOT EXECUTED
300270ec:	e3520000 	cmp	r2, #0                                        <== NOT EXECUTED
300270f0:	0a000020 	beq	30027178 <statvfs+0xd4>                       <== NOT EXECUTED
                                                                      
  if ( !fs_mount_root->ops->statvfs_h )                               
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  memset (sb, 0, sizeof (struct statvfs));                            
300270f4:	e1a02004 	mov	r2, r4                                        <== NOT EXECUTED
300270f8:	e4820004 	str	r0, [r2], #4                                  <== NOT EXECUTED
300270fc:	e2822004 	add	r2, r2, #4                                    <== NOT EXECUTED
30027100:	e5840004 	str	r0, [r4, #4]                                  <== NOT EXECUTED
30027104:	e4820004 	str	r0, [r2], #4                                  <== NOT EXECUTED
30027108:	e4820004 	str	r0, [r2], #4                                  <== NOT EXECUTED
3002710c:	e4820004 	str	r0, [r2], #4                                  <== NOT EXECUTED
30027110:	e4820004 	str	r0, [r2], #4                                  <== NOT EXECUTED
30027114:	e4820004 	str	r0, [r2], #4                                  <== NOT EXECUTED
30027118:	e4820004 	str	r0, [r2], #4                                  <== NOT EXECUTED
3002711c:	e4820004 	str	r0, [r2], #4                                  <== NOT EXECUTED
30027120:	e4820004 	str	r0, [r2], #4                                  <== NOT EXECUTED
30027124:	e4820004 	str	r0, [r2], #4                                  <== NOT EXECUTED
30027128:	e4820004 	str	r0, [r2], #4                                  <== NOT EXECUTED
3002712c:	e4820004 	str	r0, [r2], #4                                  <== NOT EXECUTED
30027130:	e5820000 	str	r0, [r2]                                      <== NOT EXECUTED
                                                                      
  result = ( fs_mount_root->ops->statvfs_h )( fs_mount_root, sb );    
30027134:	e1a01004 	mov	r1, r4                                        <== NOT EXECUTED
30027138:	e283001c 	add	r0, r3, #28                                   <== NOT EXECUTED
3002713c:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          <== NOT EXECUTED
30027140:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30027144:	e593f044 	ldr	pc, [r3, #68]	; 0x44                          <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
30027148:	e59d3010 	ldr	r3, [sp, #16]                                 <== NOT EXECUTED
  if ( !fs_mount_root->ops->statvfs_h )                               
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  memset (sb, 0, sizeof (struct statvfs));                            
                                                                      
  result = ( fs_mount_root->ops->statvfs_h )( fs_mount_root, sb );    
3002714c:	e1a04000 	mov	r4, r0                                        <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
30027150:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30027154:	0a000004 	beq	3002716c <statvfs+0xc8>                       <== NOT EXECUTED
30027158:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
3002715c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30027160:	11a00005 	movne	r0, r5                                      <== NOT EXECUTED
30027164:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
30027168:	112fff13 	bxne	r3                                           <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
3002716c:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
30027170:	e28dd018 	add	sp, sp, #24                                   <== NOT EXECUTED
30027174:	e8bd8070 	pop	{r4, r5, r6, pc}                              <== 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 );                  
30027178:	eb0059e7 	bl	3003d91c <__errno>                             <== NOT EXECUTED
3002717c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
30027180:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30027184:	e3e04000 	mvn	r4, #0                                        <== NOT EXECUTED
30027188:	eafffff7 	b	3002716c <statvfs+0xc8>                         <== NOT EXECUTED
                                                                      
3002718c <symlink>:                                                   
                                                                      
int symlink(                                                          
  const char *actualpath,                                             
  const char *sympath                                                 
)                                                                     
{                                                                     
3002718c:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
30027190:	e5d13000 	ldrb	r3, [r1]                                     
                                                                      
int symlink(                                                          
  const char *actualpath,                                             
  const char *sympath                                                 
)                                                                     
{                                                                     
30027194:	e24dd018 	sub	sp, sp, #24                                   
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
30027198:	e353002f 	cmp	r3, #47	; 0x2f                                
3002719c:	1353005c 	cmpne	r3, #92	; 0x5c                              
                                                                      
int symlink(                                                          
  const char *actualpath,                                             
  const char *sympath                                                 
)                                                                     
{                                                                     
300271a0:	e1a0e001 	mov	lr, r1                                        
300271a4:	e1a05000 	mov	r5, r0                                        
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
300271a8:	13a06000 	movne	r6, #0                                      
300271ac:	03a06001 	moveq	r6, #1                                      
300271b0:	0a000001 	beq	300271bc <symlink+0x30>                       
300271b4:	e3530000 	cmp	r3, #0                                        
300271b8:	1a000029 	bne	30027264 <symlink+0xd8>                       
300271bc:	e59f30dc 	ldr	r3, [pc, #220]	; 300272a0 <symlink+0x114>     
300271c0:	e1a0400d 	mov	r4, sp                                        
300271c4:	e593c000 	ldr	ip, [r3]                                      
300271c8:	e3a06001 	mov	r6, #1                                        
300271cc:	e28cc018 	add	ip, ip, #24                                   
300271d0:	e1a07004 	mov	r7, r4                                        
300271d4:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
300271d8:	e8a7000f 	stmia	r7!, {r0, r1, r2, r3}                       
                                                                      
  if ( !loc.ops->evalformake_h ) {                                    
300271dc:	e59d300c 	ldr	r3, [sp, #12]                                 
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
300271e0:	e59c2000 	ldr	r2, [ip]                                      
                                                                      
  if ( !loc.ops->evalformake_h ) {                                    
300271e4:	e5933004 	ldr	r3, [r3, #4]                                  
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
300271e8:	e5872000 	str	r2, [r7]                                      
                                                                      
  if ( !loc.ops->evalformake_h ) {                                    
300271ec:	e3530000 	cmp	r3, #0                                        
300271f0:	0a000025 	beq	3002728c <symlink+0x100>                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->evalformake_h)( &sympath[i], &loc, &name_start );
300271f4:	e08e0006 	add	r0, lr, r6                                    
300271f8:	e1a0100d 	mov	r1, sp                                        
300271fc:	e28d2014 	add	r2, sp, #20                                   
30027200:	e1a0e00f 	mov	lr, pc                                        
30027204:	e12fff13 	bx	r3                                             
  if ( result != 0 )                                                  
30027208:	e3500000 	cmp	r0, #0                                        
3002720c:	1a000021 	bne	30027298 <symlink+0x10c>                      
    return -1;                                                        
                                                                      
  if ( !loc.ops->symlink_h ) {                                        
30027210:	e59d200c 	ldr	r2, [sp, #12]                                 
30027214:	e5923038 	ldr	r3, [r2, #56]	; 0x38                          
30027218:	e3530000 	cmp	r3, #0                                        
3002721c:	0a000015 	beq	30027278 <symlink+0xec>                       
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->symlink_h)( &loc, actualpath, name_start);      
30027220:	e1a01005 	mov	r1, r5                                        
30027224:	e1a0000d 	mov	r0, sp                                        
30027228:	e59d2014 	ldr	r2, [sp, #20]                                 
3002722c:	e1a0e00f 	mov	lr, pc                                        
30027230:	e12fff13 	bx	r3                                             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
30027234:	e59d300c 	ldr	r3, [sp, #12]                                 
  if ( !loc.ops->symlink_h ) {                                        
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->symlink_h)( &loc, actualpath, name_start);      
30027238:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
3002723c:	e3530000 	cmp	r3, #0                                        
30027240:	0a000004 	beq	30027258 <symlink+0xcc>                       
30027244:	e593301c 	ldr	r3, [r3, #28]                                 
30027248:	e3530000 	cmp	r3, #0                                        
3002724c:	11a0000d 	movne	r0, sp                                      
30027250:	11a0e00f 	movne	lr, pc                                      
30027254:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
30027258:	e1a00005 	mov	r0, r5                                        
3002725c:	e28dd018 	add	sp, sp, #24                                   
30027260:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
30027264:	e59f3034 	ldr	r3, [pc, #52]	; 300272a0 <symlink+0x114>      
30027268:	e1a0400d 	mov	r4, sp                                        
3002726c:	e593c000 	ldr	ip, [r3]                                      
30027270:	e28cc004 	add	ip, ip, #4                                    
30027274:	eaffffd5 	b	300271d0 <symlink+0x44>                         
  result = (*loc.ops->evalformake_h)( &sympath[i], &loc, &name_start );
  if ( result != 0 )                                                  
    return -1;                                                        
                                                                      
  if ( !loc.ops->symlink_h ) {                                        
    rtems_filesystem_freenode( &loc );                                
30027278:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
3002727c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30027280:	11a0000d 	movne	r0, sp                                      <== NOT EXECUTED
30027284:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
30027288:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
3002728c:	eb0059a2 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30027290:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
30027294:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30027298:	e3e05000 	mvn	r5, #0                                        
3002729c:	eaffffed 	b	30027258 <symlink+0xcc>                         
300272a0:	30061b08 	.word	0x30061b08                                  
                                                                      
30011edc <tcsetattr>:                                                 
  int             fd,                                                 
  int             opt,                                                
  struct termios *tp                                                  
)                                                                     
{                                                                     
  switch (opt) {                                                      
30011edc:	e3510000 	cmp	r1, #0                                        
int tcsetattr(                                                        
  int             fd,                                                 
  int             opt,                                                
  struct termios *tp                                                  
)                                                                     
{                                                                     
30011ee0:	e92d4030 	push	{r4, r5, lr}                                 
30011ee4:	e1a04002 	mov	r4, r2                                        
30011ee8:	e1a05000 	mov	r5, r0                                        
  switch (opt) {                                                      
30011eec:	0a00000b 	beq	30011f20 <tcsetattr+0x44>                     
30011ef0:	e3510001 	cmp	r1, #1                                        <== NOT EXECUTED
30011ef4:	0a000004 	beq	30011f0c <tcsetattr+0x30>                     <== NOT EXECUTED
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
30011ef8:	eb000fd6 	bl	30015e58 <__errno>                             <== NOT EXECUTED
30011efc:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
30011f00:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
  }                                                                   
}                                                                     
30011f04:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30011f08:	e8bd8030 	pop	{r4, r5, pc}                                  <== NOT EXECUTED
  switch (opt) {                                                      
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  case TCSADRAIN:                                                     
    if (ioctl( fd, RTEMS_IO_TCDRAIN, NULL ) < 0)                      
30011f0c:	e3a01003 	mov	r1, #3                                        <== NOT EXECUTED
30011f10:	e3a02000 	mov	r2, #0                                        <== NOT EXECUTED
30011f14:	eb000c74 	bl	300150ec <ioctl>                               <== NOT EXECUTED
30011f18:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
30011f1c:	bafffff8 	blt	30011f04 <tcsetattr+0x28>                     <== NOT EXECUTED
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
30011f20:	e1a00005 	mov	r0, r5                                        
30011f24:	e1a02004 	mov	r2, r4                                        
30011f28:	e3a01002 	mov	r1, #2                                        
  }                                                                   
}                                                                     
30011f2c:	e8bd4030 	pop	{r4, r5, lr}                                  
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
30011f30:	ea000c6d 	b	300150ec <ioctl>                                
                                                                      
3000c5e4 <unlink>:                                                    
#include <rtems/seterr.h>                                             
                                                                      
int unlink(                                                           
  const char *path                                                    
)                                                                     
{                                                                     
3000c5e4:	e92d40f0 	push	{r4, r5, r6, r7, lr}                         
3000c5e8:	e24dd02c 	sub	sp, sp, #44	; 0x2c                            
3000c5ec:	e1a05000 	mov	r5, r0                                        
                                                                      
  /*                                                                  
   * Get the node to be unlinked. Find the parent path first.         
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
3000c5f0:	ebffd4d8 	bl	30001958 <rtems_filesystem_dirname>            
                                                                      
  if ( parentpathlen == 0 )                                           
3000c5f4:	e2507000 	subs	r7, r0, #0                                   
3000c5f8:	1a000078 	bne	3000c7e0 <unlink+0x1fc>                       
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
3000c5fc:	e5d53000 	ldrb	r3, [r5]                                     
3000c600:	e353002f 	cmp	r3, #47	; 0x2f                                
3000c604:	1353005c 	cmpne	r3, #92	; 0x5c                              
3000c608:	1a000049 	bne	3000c734 <unlink+0x150>                       
3000c60c:	e59f3258 	ldr	r3, [pc, #600]	; 3000c86c <unlink+0x288>      
3000c610:	e28d4018 	add	r4, sp, #24                                   
3000c614:	e593c000 	ldr	ip, [r3]                                      
3000c618:	e3a06000 	mov	r6, #0                                        
3000c61c:	e28cc018 	add	ip, ip, #24                                   
3000c620:	e1a0e004 	mov	lr, r4                                        
3000c624:	e8bc000f 	ldm	ip!, {r0, r1, r2, r3}                         
3000c628:	e8ae000f 	stmia	lr!, {r0, r1, r2, r3}                       
3000c62c:	e59c2000 	ldr	r2, [ip]                                      
3000c630:	e58e2000 	str	r2, [lr]                                      
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
3000c634:	e28dc004 	add	ip, sp, #4                                    
3000c638:	e1a0e004 	mov	lr, r4                                        
3000c63c:	e8be000f 	ldm	lr!, {r0, r1, r2, r3}                         
3000c640:	e8ac000f 	stmia	ip!, {r0, r1, r2, r3}                       
3000c644:	e59e3000 	ldr	r3, [lr]                                      
  name = path + parentpathlen;                                        
3000c648:	e0855007 	add	r5, r5, r7                                    
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
3000c64c:	e58c3000 	str	r3, [ip]                                      
  name = path + parentpathlen;                                        
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
3000c650:	e1a00005 	mov	r0, r5                                        
3000c654:	eb0004a2 	bl	3000d8e4 <strlen>                              
3000c658:	e1a01000 	mov	r1, r0                                        
3000c65c:	e1a00005 	mov	r0, r5                                        
3000c660:	ebffd4a8 	bl	30001908 <rtems_filesystem_prefix_separators>  
3000c664:	e0857000 	add	r7, r5, r0                                    
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
3000c668:	e1a00007 	mov	r0, r7                                        
3000c66c:	eb00049c 	bl	3000d8e4 <strlen>                              
3000c670:	e28d5004 	add	r5, sp, #4                                    
3000c674:	e3a0c000 	mov	ip, #0                                        
3000c678:	e1a01000 	mov	r1, r0                                        
3000c67c:	e1a0200c 	mov	r2, ip                                        
3000c680:	e1a00007 	mov	r0, r7                                        
3000c684:	e1a03005 	mov	r3, r5                                        
3000c688:	e58dc000 	str	ip, [sp]                                      
3000c68c:	ebffd4cb 	bl	300019c0 <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
3000c690:	e3500000 	cmp	r0, #0                                        
3000c694:	1a00002e 	bne	3000c754 <unlink+0x170>                       
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
  }                                                                   
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
3000c698:	e59d2010 	ldr	r2, [sp, #16]                                 
3000c69c:	e5923010 	ldr	r3, [r2, #16]                                 
3000c6a0:	e3530000 	cmp	r3, #0                                        
3000c6a4:	0a000039 	beq	3000c790 <unlink+0x1ac>                       
    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 ) {
3000c6a8:	e1a00005 	mov	r0, r5                                        
3000c6ac:	e1a0e00f 	mov	lr, pc                                        
3000c6b0:	e12fff13 	bx	r3                                             
3000c6b4:	e3500001 	cmp	r0, #1                                        
3000c6b8:	0a000054 	beq	3000c810 <unlink+0x22c>                       
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( EISDIR );                   
  }                                                                   
                                                                      
  if ( !loc.ops->unlink_h ) {                                         
3000c6bc:	e59d2010 	ldr	r2, [sp, #16]                                 
3000c6c0:	e592300c 	ldr	r3, [r2, #12]                                 
3000c6c4:	e3530000 	cmp	r3, #0                                        
3000c6c8:	0a000030 	beq	3000c790 <unlink+0x1ac>                       
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
3000c6cc:	e1a00004 	mov	r0, r4                                        
3000c6d0:	e1a01005 	mov	r1, r5                                        
3000c6d4:	e1a0e00f 	mov	lr, pc                                        
3000c6d8:	e12fff13 	bx	r3                                             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
3000c6dc:	e59d3010 	ldr	r3, [sp, #16]                                 
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
3000c6e0:	e1a07000 	mov	r7, r0                                        
                                                                      
  rtems_filesystem_freenode( &loc );                                  
3000c6e4:	e3530000 	cmp	r3, #0                                        
3000c6e8:	0a000004 	beq	3000c700 <unlink+0x11c>                       
3000c6ec:	e593301c 	ldr	r3, [r3, #28]                                 
3000c6f0:	e3530000 	cmp	r3, #0                                        
3000c6f4:	11a00005 	movne	r0, r5                                      
3000c6f8:	11a0e00f 	movne	lr, pc                                      
3000c6fc:	112fff13 	bxne	r3                                           
  if ( free_parentloc )                                               
3000c700:	e3560000 	cmp	r6, #0                                        
3000c704:	0a000007 	beq	3000c728 <unlink+0x144>                       
    rtems_filesystem_freenode( &parentloc );                          
3000c708:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
3000c70c:	e3530000 	cmp	r3, #0                                        
3000c710:	0a000004 	beq	3000c728 <unlink+0x144>                       
3000c714:	e593301c 	ldr	r3, [r3, #28]                                 
3000c718:	e3530000 	cmp	r3, #0                                        
3000c71c:	11a00004 	movne	r0, r4                                      
3000c720:	11a0e00f 	movne	lr, pc                                      
3000c724:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
3000c728:	e1a00007 	mov	r0, r7                                        
3000c72c:	e28dd02c 	add	sp, sp, #44	; 0x2c                            
3000c730:	e8bd80f0 	pop	{r4, r5, r6, r7, pc}                          
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
3000c734:	e3530000 	cmp	r3, #0                                        
3000c738:	0affffb3 	beq	3000c60c <unlink+0x28>                        
3000c73c:	e59f3128 	ldr	r3, [pc, #296]	; 3000c86c <unlink+0x288>      
3000c740:	e28d4018 	add	r4, sp, #24                                   
3000c744:	e593c000 	ldr	ip, [r3]                                      
3000c748:	e1a06007 	mov	r6, r7                                        
3000c74c:	e28cc004 	add	ip, ip, #4                                    
3000c750:	eaffffb2 	b	3000c620 <unlink+0x3c>                          
  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 )                                             
3000c754:	e3560000 	cmp	r6, #0                                        
3000c758:	1a000001 	bne	3000c764 <unlink+0x180>                       
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
3000c75c:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
3000c760:	eafffff0 	b	3000c728 <unlink+0x144>                         <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
3000c764:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
3000c768:	e3530000 	cmp	r3, #0                                        
3000c76c:	0afffffa 	beq	3000c75c <unlink+0x178>                       
3000c770:	e593301c 	ldr	r3, [r3, #28]                                 
3000c774:	e3530000 	cmp	r3, #0                                        
3000c778:	0afffff7 	beq	3000c75c <unlink+0x178>                       
3000c77c:	e1a00004 	mov	r0, r4                                        
3000c780:	e1a0e00f 	mov	lr, pc                                        
3000c784:	e12fff13 	bx	r3                                             
3000c788:	e3e07000 	mvn	r7, #0                                        
3000c78c:	eaffffe5 	b	3000c728 <unlink+0x144>                         
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( EISDIR );                   
  }                                                                   
                                                                      
  if ( !loc.ops->unlink_h ) {                                         
    rtems_filesystem_freenode( &loc );                                
3000c790:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
3000c794:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
3000c798:	11a00005 	movne	r0, r5                                      <== NOT EXECUTED
3000c79c:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
3000c7a0:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    if ( free_parentloc )                                             
3000c7a4:	e3560000 	cmp	r6, #0                                        <== NOT EXECUTED
3000c7a8:	0a000007 	beq	3000c7cc <unlink+0x1e8>                       <== NOT EXECUTED
      rtems_filesystem_freenode( &parentloc );                        
3000c7ac:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
3000c7b0:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
3000c7b4:	0a000004 	beq	3000c7cc <unlink+0x1e8>                       <== NOT EXECUTED
3000c7b8:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
3000c7bc:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
3000c7c0:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
3000c7c4:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
3000c7c8:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
3000c7cc:	eb000053 	bl	3000c920 <__errno>                             <== NOT EXECUTED
3000c7d0:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
3000c7d4:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
3000c7d8:	e3e07000 	mvn	r7, #0                                        <== NOT EXECUTED
3000c7dc:	eaffffd1 	b	3000c728 <unlink+0x144>                         <== NOT EXECUTED
  parentpathlen = rtems_filesystem_dirname ( path );                  
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
  else {                                                              
    result = rtems_filesystem_evaluate_path( path, parentpathlen,     
3000c7e0:	e28d4018 	add	r4, sp, #24                                   
3000c7e4:	e3a0c000 	mov	ip, #0                                        
3000c7e8:	e1a00005 	mov	r0, r5                                        
3000c7ec:	e1a01007 	mov	r1, r7                                        
3000c7f0:	e3a02002 	mov	r2, #2                                        
3000c7f4:	e1a03004 	mov	r3, r4                                        
3000c7f8:	e58dc000 	str	ip, [sp]                                      
3000c7fc:	ebffd4ab 	bl	30001ab0 <rtems_filesystem_evaluate_path>      
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &parentloc,              
                                             false );                 
    if ( result != 0 )                                                
3000c800:	e3500000 	cmp	r0, #0                                        
3000c804:	1affffd4 	bne	3000c75c <unlink+0x178>                       
3000c808:	e3a06001 	mov	r6, #1                                        
3000c80c:	eaffff88 	b	3000c634 <unlink+0x50>                          
      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 );                                
3000c810:	e59d3010 	ldr	r3, [sp, #16]                                 
3000c814:	e3530000 	cmp	r3, #0                                        
3000c818:	0a000004 	beq	3000c830 <unlink+0x24c>                       
3000c81c:	e593301c 	ldr	r3, [r3, #28]                                 
3000c820:	e3530000 	cmp	r3, #0                                        
3000c824:	11a00005 	movne	r0, r5                                      
3000c828:	11a0e00f 	movne	lr, pc                                      
3000c82c:	112fff13 	bxne	r3                                           
    if ( free_parentloc )                                             
3000c830:	e3560000 	cmp	r6, #0                                        
3000c834:	0a000007 	beq	3000c858 <unlink+0x274>                       
      rtems_filesystem_freenode( &parentloc );                        
3000c838:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          <== NOT EXECUTED
3000c83c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
3000c840:	0a000004 	beq	3000c858 <unlink+0x274>                       <== NOT EXECUTED
3000c844:	e593301c 	ldr	r3, [r3, #28]                                 <== NOT EXECUTED
3000c848:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
3000c84c:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
3000c850:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
3000c854:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EISDIR );                   
3000c858:	eb000030 	bl	3000c920 <__errno>                             
3000c85c:	e3a03015 	mov	r3, #21                                       
3000c860:	e5803000 	str	r3, [r0]                                      
3000c864:	e3e07000 	mvn	r7, #0                                        
3000c868:	eaffffae 	b	3000c728 <unlink+0x144>                         
3000c86c:	3001901c 	.word	0x3001901c                                  
                                                                      
30027398 <unmount>:                                                   
 */                                                                   
                                                                      
int unmount(                                                          
  const char *path                                                    
)                                                                     
{                                                                     
30027398:	e92d4030 	push	{r4, r5, lr}                                 
3002739c:	e24dd018 	sub	sp, sp, #24                                   
300273a0:	e1a05000 	mov	r5, r0                                        
   *    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 ) )
300273a4:	eb0073d6 	bl	30044304 <strlen>                              
300273a8:	e28d4004 	add	r4, sp, #4                                    
300273ac:	e1a01000 	mov	r1, r0                                        
300273b0:	e3a0c001 	mov	ip, #1                                        
300273b4:	e1a00005 	mov	r0, r5                                        
300273b8:	e3a02000 	mov	r2, #0                                        
300273bc:	e1a03004 	mov	r3, r4                                        
300273c0:	e58dc000 	str	ip, [sp]                                      
300273c4:	ebff75f4 	bl	30004b9c <rtems_filesystem_evaluate_path>      
300273c8:	e3500000 	cmp	r0, #0                                        
300273cc:	1a000032 	bne	3002749c <unmount+0x104>                      
    return -1;                                                        
                                                                      
  mt_entry     = loc.mt_entry;                                        
300273d0:	e59d5014 	ldr	r5, [sp, #20]                                 
  fs_mount_loc = &mt_entry->mt_point_node;                            
  fs_root_loc  = &mt_entry->mt_fs_root;                               
300273d4:	e59d3004 	ldr	r3, [sp, #4]                                  
300273d8:	e595201c 	ldr	r2, [r5, #28]                                 
300273dc:	e1520003 	cmp	r2, r3                                        
300273e0:	1a000049 	bne	3002750c <unmount+0x174>                      
                                                                      
  /*                                                                  
   * Free the loc node and just use the nodes from the mt_entry .     
   */                                                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
300273e4:	e59d3010 	ldr	r3, [sp, #16]                                 
300273e8:	e3530000 	cmp	r3, #0                                        
300273ec:	0a000004 	beq	30027404 <unmount+0x6c>                       
300273f0:	e593301c 	ldr	r3, [r3, #28]                                 
300273f4:	e3530000 	cmp	r3, #0                                        
300273f8:	11a00004 	movne	r0, r4                                      
300273fc:	11a0e00f 	movne	lr, pc                                      
30027400:	112fff13 	bxne	r3                                           
                                                                      
  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;                            
30027404:	e5953014 	ldr	r3, [r5, #20]                                 
30027408:	e5933028 	ldr	r3, [r3, #40]	; 0x28                          
3002740c:	e3530000 	cmp	r3, #0                                        
30027410:	0a000052 	beq	30027560 <unmount+0x1c8>                      
  fs_root_loc  = &mt_entry->mt_fs_root;                               
30027414:	e5953028 	ldr	r3, [r5, #40]	; 0x28                          
30027418:	e593302c 	ldr	r3, [r3, #44]	; 0x2c                          
3002741c:	e3530000 	cmp	r3, #0                                        
30027420:	0a00004e 	beq	30027560 <unmount+0x1c8>                      
   *        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 )                
30027424:	e59f3148 	ldr	r3, [pc, #328]	; 30027574 <unmount+0x1dc>     
30027428:	e5933000 	ldr	r3, [r3]                                      
3002742c:	e5933014 	ldr	r3, [r3, #20]                                 
30027430:	e1530005 	cmp	r3, r5                                        
30027434:	0a00001b 	beq	300274a8 <unmount+0x110>                      
  /*                                                                  
   * Search the mount table for any mount entries referencing this    
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
30027438:	e59f1138 	ldr	r1, [pc, #312]	; 30027578 <unmount+0x1e0>     
3002743c:	e4913004 	ldr	r3, [r1], #4                                  
30027440:	e1530001 	cmp	r3, r1                                        
30027444:	0a00000a 	beq	30027474 <unmount+0xdc>                       
        !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 ) {
30027448:	e595002c 	ldr	r0, [r5, #44]	; 0x2c                          
3002744c:	e5932018 	ldr	r2, [r3, #24]                                 
30027450:	e1520000 	cmp	r2, r0                                        
30027454:	1a000003 	bne	30027468 <unmount+0xd0>                       
30027458:	ea000012 	b	300274a8 <unmount+0x110>                        <== NOT EXECUTED
3002745c:	e5932018 	ldr	r2, [r3, #24]                                 
30027460:	e1500002 	cmp	r0, r2                                        
30027464:	0a00000f 	beq	300274a8 <unmount+0x110>                      
   * 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 ) {                                 
30027468:	e5933000 	ldr	r3, [r3]                                      
  /*                                                                  
   * Search the mount table for any mount entries referencing this    
   * mount entry.                                                     
   */                                                                 
                                                                      
  for ( the_node = rtems_filesystem_mount_table_control.first;        
3002746c:	e1530001 	cmp	r3, r1                                        
30027470:	1afffff9 	bne	3002745c <unmount+0xc4>                       
   *  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 )             
30027474:	e1a00005 	mov	r0, r5                                        
30027478:	ebff76ca 	bl	30004fa8 <rtems_libio_is_open_files_in_fs>     
3002747c:	e3500001 	cmp	r0, #1                                        
30027480:	0a000008 	beq	300274a8 <unmount+0x110>                      
   * 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 )             
30027484:	e5953014 	ldr	r3, [r5, #20]                                 
30027488:	e1a00005 	mov	r0, r5                                        
3002748c:	e1a0e00f 	mov	lr, pc                                        
30027490:	e593f028 	ldr	pc, [r3, #40]	; 0x28                          
30027494:	e2504000 	subs	r4, r0, #0                                   
30027498:	0a000007 	beq	300274bc <unmount+0x124>                      
   */                                                                 
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
3002749c:	e3e00000 	mvn	r0, #0                                        
}                                                                     
300274a0:	e28dd018 	add	sp, sp, #24                                   
300274a4:	e8bd8030 	pop	{r4, r5, pc}                                  
   *  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 );                    
300274a8:	eb00591b 	bl	3003d91c <__errno>                             
300274ac:	e3a03010 	mov	r3, #16                                       
300274b0:	e5803000 	str	r3, [r0]                                      
300274b4:	e3e00000 	mvn	r0, #0                                        
300274b8:	eafffff8 	b	300274a0 <unmount+0x108>                        
   *  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){          
300274bc:	e5953028 	ldr	r3, [r5, #40]	; 0x28                          
300274c0:	e1a00005 	mov	r0, r5                                        
300274c4:	e1a0e00f 	mov	lr, pc                                        
300274c8:	e593f02c 	ldr	pc, [r3, #44]	; 0x2c                          
300274cc:	e3500000 	cmp	r0, #0                                        
300274d0:	1a00001a 	bne	30027540 <unmount+0x1a8>                      
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
300274d4:	e1a00005 	mov	r0, r5                                        
300274d8:	ebff88a8 	bl	30009780 <_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 );                          
300274dc:	e5953014 	ldr	r3, [r5, #20]                                 
300274e0:	e3530000 	cmp	r3, #0                                        
300274e4:	0a000004 	beq	300274fc <unmount+0x164>                      
300274e8:	e593301c 	ldr	r3, [r3, #28]                                 
300274ec:	e3530000 	cmp	r3, #0                                        
300274f0:	12850008 	addne	r0, r5, #8                                  
300274f4:	11a0e00f 	movne	lr, pc                                      
300274f8:	112fff13 	bxne	r3                                           
  free( mt_entry );                                                   
300274fc:	e1a00005 	mov	r0, r5                                        
30027500:	ebff75d6 	bl	30004c60 <free>                                
30027504:	e3a00000 	mov	r0, #0                                        
                                                                      
  return 0;                                                           
30027508:	eaffffe4 	b	300274a0 <unmount+0x108>                        
  /*                                                                  
   * 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 );                                
3002750c:	e59d3010 	ldr	r3, [sp, #16]                                 
30027510:	e3530000 	cmp	r3, #0                                        
30027514:	0a000004 	beq	3002752c <unmount+0x194>                      
30027518:	e593301c 	ldr	r3, [r3, #28]                                 
3002751c:	e3530000 	cmp	r3, #0                                        
30027520:	11a00004 	movne	r0, r4                                      
30027524:	11a0e00f 	movne	lr, pc                                      
30027528:	112fff13 	bxne	r3                                           
    rtems_set_errno_and_return_minus_one( EACCES );                   
3002752c:	eb0058fa 	bl	3003d91c <__errno>                             
30027530:	e3a0300d 	mov	r3, #13                                       
30027534:	e5803000 	str	r3, [r0]                                      
30027538:	e3e00000 	mvn	r0, #0                                        
3002753c:	eaffffd7 	b	300274a0 <unmount+0x108>                        
   *         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 )             
30027540:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
30027544:	e5953014 	ldr	r3, [r5, #20]                                 <== NOT EXECUTED
30027548:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
3002754c:	e593f020 	ldr	pc, [r3, #32]                                 <== NOT EXECUTED
30027550:	e3500000 	cmp	r0, #0                                        <== NOT EXECUTED
30027554:	0affffd0 	beq	3002749c <unmount+0x104>                      <== NOT EXECUTED
      rtems_fatal_error_occurred( 0 );                                
30027558:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
3002755c:	ebff87c6 	bl	3000947c <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 );                  
30027560:	eb0058ed 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30027564:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
30027568:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
3002756c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30027570:	eaffffca 	b	300274a0 <unmount+0x108>                        <== NOT EXECUTED
30027574:	30061b08 	.word	0x30061b08                                  
30027578:	30065a84 	.word	0x30065a84                                  
                                                                      
3002757c <utime>:                                                     
                                                                      
int utime(                                                            
  const char           *path,                                         
  const struct utimbuf *times                                         
)                                                                     
{                                                                     
3002757c:	e92d4070 	push	{r4, r5, r6, lr}                             
30027580:	e24dd018 	sub	sp, sp, #24                                   
30027584:	e1a05001 	mov	r5, r1                                        
30027588:	e1a06000 	mov	r6, r0                                        
  rtems_filesystem_location_info_t   temp_loc;                        
  int                                result;                          
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &temp_loc, true ) )
3002758c:	eb00735c 	bl	30044304 <strlen>                              
30027590:	e28d4004 	add	r4, sp, #4                                    
30027594:	e1a01000 	mov	r1, r0                                        
30027598:	e3a0c001 	mov	ip, #1                                        
3002759c:	e1a00006 	mov	r0, r6                                        
300275a0:	e3a02000 	mov	r2, #0                                        
300275a4:	e1a03004 	mov	r3, r4                                        
300275a8:	e58dc000 	str	ip, [sp]                                      
300275ac:	ebff757a 	bl	30004b9c <rtems_filesystem_evaluate_path>      
300275b0:	e3500000 	cmp	r0, #0                                        
300275b4:	1a00001b 	bne	30027628 <utime+0xac>                         
    return -1;                                                        
                                                                      
  if ( !temp_loc.ops->utime_h ){                                      
300275b8:	e59d2010 	ldr	r2, [sp, #16]                                 
300275bc:	e5923030 	ldr	r3, [r2, #48]	; 0x30                          
300275c0:	e3530000 	cmp	r3, #0                                        
300275c4:	0a00000f 	beq	30027608 <utime+0x8c>                         
    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 );
300275c8:	e8950006 	ldm	r5, {r1, r2}                                  
300275cc:	e1a00004 	mov	r0, r4                                        
300275d0:	e1a0e00f 	mov	lr, pc                                        
300275d4:	e12fff13 	bx	r3                                             
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
300275d8:	e59d3010 	ldr	r3, [sp, #16]                                 
  if ( !temp_loc.ops->utime_h ){                                      
    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 );
300275dc:	e1a05000 	mov	r5, r0                                        
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
300275e0:	e3530000 	cmp	r3, #0                                        
300275e4:	0a000004 	beq	300275fc <utime+0x80>                         
300275e8:	e593301c 	ldr	r3, [r3, #28]                                 
300275ec:	e3530000 	cmp	r3, #0                                        
300275f0:	11a00004 	movne	r0, r4                                      
300275f4:	11a0e00f 	movne	lr, pc                                      
300275f8:	112fff13 	bxne	r3                                           
                                                                      
  return result;                                                      
}                                                                     
300275fc:	e1a00005 	mov	r0, r5                                        
30027600:	e28dd018 	add	sp, sp, #24                                   
30027604:	e8bd8070 	pop	{r4, r5, r6, pc}                              
                                                                      
  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 );                           
30027608:	e592301c 	ldr	r3, [r2, #28]                                 <== NOT EXECUTED
3002760c:	e3530000 	cmp	r3, #0                                        <== NOT EXECUTED
30027610:	11a00004 	movne	r0, r4                                      <== NOT EXECUTED
30027614:	11a0e00f 	movne	lr, pc                                      <== NOT EXECUTED
30027618:	112fff13 	bxne	r3                                           <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
3002761c:	eb0058be 	bl	3003d91c <__errno>                             <== NOT EXECUTED
30027620:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
30027624:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30027628:	e3e05000 	mvn	r5, #0                                        
3002762c:	eafffff2 	b	300275fc <utime+0x80>                           
                                                                      
30017ae8 <write>:                                                     
)                                                                     
{                                                                     
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
30017ae8:	e59f30bc 	ldr	r3, [pc, #188]	; 30017bac <write+0xc4>        
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
30017aec:	e92d4810 	push	{r4, fp, lr}                                 
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
30017af0:	e5933000 	ldr	r3, [r3]                                      
30017af4:	e1500003 	cmp	r0, r3                                        
30017af8:	2a00001c 	bcs	30017b70 <write+0x88>                         
  iop = rtems_libio_iop( fd );                                        
30017afc:	e59f40ac 	ldr	r4, [pc, #172]	; 30017bb0 <write+0xc8>        
30017b00:	e5944000 	ldr	r4, [r4]                                      
30017b04:	e0844300 	add	r4, r4, r0, lsl #6                            
  rtems_libio_check_is_open( iop );                                   
30017b08:	e5940014 	ldr	r0, [r4, #20]                                 
30017b0c:	e3100c01 	tst	r0, #256	; 0x100                              
30017b10:	0a000016 	beq	30017b70 <write+0x88>                         
  rtems_libio_check_buffer( buffer );                                 
30017b14:	e3510000 	cmp	r1, #0                                        
30017b18:	0a000019 	beq	30017b84 <write+0x9c>                         
  rtems_libio_check_count( count );                                   
30017b1c:	e3520000 	cmp	r2, #0                                        
30017b20:	01a00002 	moveq	r0, r2                                      
30017b24:	08bd8810 	popeq	{r4, fp, pc}                                
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
30017b28:	e3100004 	tst	r0, #4                                        
30017b2c:	0a000014 	beq	30017b84 <write+0x9c>                         
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
                                                                      
  if ( !iop->handlers->write_h )                                      
30017b30:	e594303c 	ldr	r3, [r4, #60]	; 0x3c                          
30017b34:	e593300c 	ldr	r3, [r3, #12]                                 
30017b38:	e3530000 	cmp	r3, #0                                        
30017b3c:	0a000015 	beq	30017b98 <write+0xb0>                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  rc = (*iop->handlers->write_h)( iop, buffer, count );               
30017b40:	e1a00004 	mov	r0, r4                                        
30017b44:	e1a0e00f 	mov	lr, pc                                        
30017b48:	e12fff13 	bx	r3                                             
                                                                      
  if ( rc > 0 )                                                       
30017b4c:	e3500000 	cmp	r0, #0                                        
30017b50:	d8bd8810 	pople	{r4, fp, pc}                                
    iop->offset += rc;                                                
30017b54:	e284c00c 	add	ip, r4, #12                                   
30017b58:	e89c1800 	ldm	ip, {fp, ip}                                  
30017b5c:	e09b2000 	adds	r2, fp, r0                                   
30017b60:	e0ac3fc0 	adc	r3, ip, r0, asr #31                           
30017b64:	e584200c 	str	r2, [r4, #12]                                 
30017b68:	e5843010 	str	r3, [r4, #16]                                 
                                                                      
  return rc;                                                          
}                                                                     
30017b6c:	e8bd8810 	pop	{r4, fp, pc}                                  
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
30017b70:	ebffd36a 	bl	3000c920 <__errno>                             <== NOT EXECUTED
30017b74:	e3a03009 	mov	r3, #9                                        <== NOT EXECUTED
30017b78:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30017b7c:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30017b80:	e8bd8810 	pop	{r4, fp, pc}                                  <== NOT EXECUTED
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
30017b84:	ebffd365 	bl	3000c920 <__errno>                             <== NOT EXECUTED
30017b88:	e3a03016 	mov	r3, #22                                       <== NOT EXECUTED
30017b8c:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30017b90:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30017b94:	e8bd8810 	pop	{r4, fp, pc}                                  <== NOT EXECUTED
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
                                                                      
  if ( !iop->handlers->write_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
30017b98:	ebffd360 	bl	3000c920 <__errno>                             <== NOT EXECUTED
30017b9c:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
30017ba0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
30017ba4:	e3e00000 	mvn	r0, #0                                        <== NOT EXECUTED
30017ba8:	e8bd8810 	pop	{r4, fp, pc}                                  <== NOT EXECUTED
30017bac:	30018e24 	.word	0x30018e24                                  
30017bb0:	30019950 	.word	0x30019950                                  
                                                                      
3000615c <writev>:                                                    
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
3000615c:	e59f3178 	ldr	r3, [pc, #376]	; 300062dc <writev+0x180>      
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
30006160:	e92d49f0 	push	{r4, r5, r6, r7, r8, fp, lr}                 
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
30006164:	e5933000 	ldr	r3, [r3]                                      
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
30006168:	e1a05002 	mov	r5, r2                                        
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
3000616c:	e1500003 	cmp	r0, r3                                        
30006170:	2a00004d 	bcs	300062ac <writev+0x150>                       
  iop = rtems_libio_iop( fd );                                        
30006174:	e59f3164 	ldr	r3, [pc, #356]	; 300062e0 <writev+0x184>      
30006178:	e5937000 	ldr	r7, [r3]                                      
3000617c:	e0877300 	add	r7, r7, r0, lsl #6                            
  rtems_libio_check_is_open( iop );                                   
30006180:	e5973014 	ldr	r3, [r7, #20]                                 
30006184:	e3130c01 	tst	r3, #256	; 0x100                              
30006188:	0a000047 	beq	300062ac <writev+0x150>                       
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
3000618c:	e3130004 	tst	r3, #4                                        
30006190:	0a00003f 	beq	30006294 <writev+0x138>                       
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
30006194:	e3510000 	cmp	r1, #0                                        
30006198:	0a00003d 	beq	30006294 <writev+0x138>                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
3000619c:	e3520000 	cmp	r2, #0                                        
300061a0:	da00003b 	ble	30006294 <writev+0x138>                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
300061a4:	e3520b01 	cmp	r2, #1024	; 0x400                             
300061a8:	ca000039 	bgt	30006294 <writev+0x138>                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !iop->handlers->write_h )                                      
300061ac:	e597303c 	ldr	r3, [r7, #60]	; 0x3c                          
300061b0:	e593300c 	ldr	r3, [r3, #12]                                 
300061b4:	e3530000 	cmp	r3, #0                                        
300061b8:	0a000042 	beq	300062c8 <writev+0x16c>                       
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
300061bc:	e1a04001 	mov	r4, r1                                        
300061c0:	e3a01000 	mov	r1, #0                                        
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
300061c4:	e59fc118 	ldr	ip, [pc, #280]	; 300062e4 <writev+0x188>      
                                                                      
  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 );                  
300061c8:	e1a02004 	mov	r2, r4                                        
300061cc:	e3a06001 	mov	r6, #1                                        
300061d0:	e1a08001 	mov	r8, r1                                        
300061d4:	ea000000 	b	300061dc <writev+0x80>                          
   *  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++ ) {                    
300061d8:	e1a08003 	mov	r8, r3                                        
                                                                      
    if ( !iov[v].iov_base )                                           
300061dc:	e5923000 	ldr	r3, [r2]                                      
   *  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++ ) {                    
300061e0:	e2811001 	add	r1, r1, #1                                    
                                                                      
    if ( !iov[v].iov_base )                                           
300061e4:	e3530000 	cmp	r3, #0                                        
300061e8:	0a000029 	beq	30006294 <writev+0x138>                       
      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 )                                             
300061ec:	e5920004 	ldr	r0, [r2, #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++ ) {                    
300061f0:	e2822008 	add	r2, r2, #8                                    
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
300061f4:	e0883000 	add	r3, r8, r0                                    
      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 )                                             
300061f8:	e3500000 	cmp	r0, #0                                        
300061fc:	13a06000 	movne	r6, #0                                      
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
30006200:	e1580003 	cmp	r8, r3                                        
30006204:	d153000c 	cmple	r3, ip                                      
30006208:	d3a08000 	movle	r8, #0                                      
3000620c:	c3a08001 	movgt	r8, #1                                      
30006210:	ca00001f 	bgt	30006294 <writev+0x138>                       
   *  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++ ) {                    
30006214:	e1550001 	cmp	r5, r1                                        
30006218:	caffffee 	bgt	300061d8 <writev+0x7c>                        
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
3000621c:	e3560000 	cmp	r6, #0                                        
30006220:	1a00001f 	bne	300062a4 <writev+0x148>                       
30006224:	e1a08006 	mov	r8, r6                                        
30006228:	ea000002 	b	30006238 <writev+0xdc>                          
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
3000622c:	e1550006 	cmp	r5, r6                                        
30006230:	e2844008 	add	r4, r4, #8                                    
30006234:	da00001a 	ble	300062a4 <writev+0x148>                       
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
30006238:	e5942004 	ldr	r2, [r4, #4]                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
3000623c:	e2866001 	add	r6, r6, #1                                    
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
30006240:	e3520000 	cmp	r2, #0                                        
30006244:	0afffff8 	beq	3000622c <writev+0xd0>                        
      continue;                                                       
                                                                      
    bytes = (*iop->handlers->write_h)( iop, iov[v].iov_base, iov[v].iov_len );
30006248:	e5941000 	ldr	r1, [r4]                                      
3000624c:	e597303c 	ldr	r3, [r7, #60]	; 0x3c                          
30006250:	e1a00007 	mov	r0, r7                                        
30006254:	e1a0e00f 	mov	lr, pc                                        
30006258:	e593f00c 	ldr	pc, [r3, #12]                                 
                                                                      
    if ( bytes < 0 )                                                  
3000625c:	e3500000 	cmp	r0, #0                                        
30006260:	ba000016 	blt	300062c0 <writev+0x164>                       
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
30006264:	0a000006 	beq	30006284 <writev+0x128>                       
      iop->offset += bytes;                                           
30006268:	e287c00c 	add	ip, r7, #12                                   
3000626c:	e89c1800 	ldm	ip, {fp, ip}                                  
30006270:	e09b2000 	adds	r2, fp, r0                                   
30006274:	e0ac3fc0 	adc	r3, ip, r0, asr #31                           
30006278:	e587200c 	str	r2, [r7, #12]                                 
3000627c:	e5873010 	str	r3, [r7, #16]                                 
      total       += bytes;                                           
30006280:	e0888000 	add	r8, r8, r0                                    
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
30006284:	e5943004 	ldr	r3, [r4, #4]                                  
30006288:	e1500003 	cmp	r0, r3                                        
3000628c:	0affffe6 	beq	3000622c <writev+0xd0>                        
30006290:	ea000003 	b	300062a4 <writev+0x148>                         <== NOT EXECUTED
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
      rtems_set_errno_and_return_minus_one( EINVAL );                 
30006294:	eb002372 	bl	3000f064 <__errno>                             
30006298:	e3a03016 	mov	r3, #22                                       
3000629c:	e5803000 	str	r3, [r0]                                      
300062a0:	e3e08000 	mvn	r8, #0                                        
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
300062a4:	e1a00008 	mov	r0, r8                                        
300062a8:	e8bd89f0 	pop	{r4, r5, r6, r7, r8, fp, pc}                  
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
300062ac:	eb00236c 	bl	3000f064 <__errno>                             
300062b0:	e3a03009 	mov	r3, #9                                        
300062b4:	e5803000 	str	r3, [r0]                                      
300062b8:	e3e08000 	mvn	r8, #0                                        
300062bc:	eafffff8 	b	300062a4 <writev+0x148>                         
    if ( iov[v].iov_len == 0 )                                        
      continue;                                                       
                                                                      
    bytes = (*iop->handlers->write_h)( iop, iov[v].iov_base, iov[v].iov_len );
                                                                      
    if ( bytes < 0 )                                                  
300062c0:	e3e08000 	mvn	r8, #0                                        <== NOT EXECUTED
300062c4:	eafffff6 	b	300062a4 <writev+0x148>                         <== 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 );                  
300062c8:	eb002365 	bl	3000f064 <__errno>                             <== NOT EXECUTED
300062cc:	e3a03086 	mov	r3, #134	; 0x86                               <== NOT EXECUTED
300062d0:	e5803000 	str	r3, [r0]                                      <== NOT EXECUTED
300062d4:	e3e08000 	mvn	r8, #0                                        <== NOT EXECUTED
300062d8:	eafffff1 	b	300062a4 <writev+0x148>                         <== NOT EXECUTED
300062dc:	3001da3c 	.word	0x3001da3c                                  
300062e0:	3001ed3c 	.word	0x3001ed3c                                  
300062e4:	00007fff 	.word	0x00007fff